Home
last modified time | relevance | path

Searched refs:pPageObj (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfpdfeditpage.cpp145 CPDF_PageObject* pPageObj = (CPDF_PageObject*)page_obj; in FPDFPage_InsertObject() local
146 if(pPageObj == NULL) in FPDFPage_InsertObject()
150 pPage->InsertObject(LastPersition, pPageObj); in FPDFPage_InsertObject()
151 switch(pPageObj->m_Type) in FPDFPage_InsertObject()
155 CPDF_PathObject* pPathObj = (CPDF_PathObject*)pPageObj; in FPDFPage_InsertObject()
167 CPDF_ImageObject* pImageObj = (CPDF_ImageObject*)pPageObj; in FPDFPage_InsertObject()
173 CPDF_ShadingObject* pShadingObj = (CPDF_ShadingObject*)pPageObj; in FPDFPage_InsertObject()
179 CPDF_FormObject* pFormObj = (CPDF_FormObject*)pPageObj; in FPDFPage_InsertObject()
227 CPDF_PageObject* pPageObj = (CPDF_PageObject*)pageObject; in FPDFPageObj_HasTransparency() local
229 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in FPDFPageObj_HasTransparency()
[all …]
Dfpdf_transformpage.cpp189 CPDF_PageObject* pPageObj = (CPDF_PageObject*)page_object; in FPDFPageObj_TransformClipPath() local
190 if(pPageObj == NULL) in FPDFPageObj_TransformClipPath()
195 if(pPageObj->m_Type != PDFPAGE_SHADING) in FPDFPageObj_TransformClipPath()
196 pPageObj->TransformClipPath(matrix); in FPDFPageObj_TransformClipPath()
197 pPageObj->TransformGeneralState(matrix); in FPDFPageObj_TransformClipPath()
/external/pdfium/core/src/reflow/
Dreflowedpage.cpp90 CPDF_PageObject* pPageObj = NULL; in RetainPageObjsMemberShip() local
92 pPageObj = m_pPDFPage->GetNextObject(pos); in RetainPageObjsMemberShip()
93 MarkPageObjMemberShip(pPageObj, NULL); in RetainPageObjsMemberShip()
94 pPageObj = NULL; in RetainPageObjsMemberShip()
114 CPDF_PageObject* pPageObj = NULL; in MarkPageObjMemberShip() local
116 pPageObj = pFormObj->m_pForm->GetNextObject(pos); in MarkPageObjMemberShip()
117 MarkPageObjMemberShip(pPageObj, pPageInfo); in MarkPageObjMemberShip()
118 pPageObj = NULL; in MarkPageObjMemberShip()
126 CPDF_PageObject* pPageObj = NULL; in ReleasePageObjsMemberShip() local
130 m_pPageInfos->GetNextAssoc(pos, (void*&)pPageObj, (void*&)pPageInfo); in ReleasePageObjsMemberShip()
Dreflowedpage.h139 CRF_PageInfo(CPDF_PageObject* pPageObj, CRF_PageInfo* pParent = NULL)
140 : m_pPageObj(pPageObj) , m_pParent(pParent) in m_pPageObj() argument
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_content.cpp43 CPDF_PageObject* pPageObj = (CPDF_PageObject*)m_pageObjects[i]; in GenerateContent() local
44 if (!pPageObj || pPageObj->m_Type != PDFPAGE_IMAGE) { in GenerateContent()
47 ProcessImage(buf, (CPDF_ImageObject*)pPageObj); in GenerateContent()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp717 FX_BOOL CPDF_RenderStatus::ProcessTransparency(const CPDF_PageObject* pPageObj, const CFX_AffineMat… in ProcessTransparency() argument
719 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in ProcessTransparency()
726 if (pPageObj->m_Type == PDFPAGE_IMAGE && in ProcessTransparency()
727 ((CPDF_ImageObject*)pPageObj)->m_pImage->GetDict()->KeyExist(FX_BSTRC("SMask"))) { in ProcessTransparency()
735 if (pPageObj->m_Type == PDFPAGE_FORM) { in ProcessTransparency()
736 CPDF_FormObject* pFormObj = (CPDF_FormObject*)pPageObj; in ProcessTransparency()
748 if (pPageObj->m_ClipPath.NotNull() && pPageObj->m_ClipPath.GetTextCount() && in ProcessTransparency()
752 …if ((m_Options.m_Flags & RENDER_OVERPRINT) && pPageObj->m_Type == PDFPAGE_IMAGE && pGeneralState &… in ProcessTransparency()
759 pDocument = ((CPDF_ImageObject*)pPageObj)->m_pImage->GetDocument(); in ProcessTransparency()
762 …CPDF_Object* pCSObj = ((CPDF_ImageObject*)pPageObj)->m_pImage->GetStream()->GetDict()->GetElementV… in ProcessTransparency()
[all …]
Dfpdf_render_pattern.cpp843 void CPDF_RenderStatus::DrawShadingPattern(CPDF_ShadingPattern* pattern, CPDF_PageObject* pPageObj,… in DrawShadingPattern() argument
849 if (pPageObj->m_Type == PDFPAGE_PATH) { in DrawShadingPattern()
850 if (!SelectClipPath((CPDF_PathObject*)pPageObj, pObj2Device, bStroke)) { in DrawShadingPattern()
854 } else if (pPageObj->m_Type == PDFPAGE_IMAGE) { in DrawShadingPattern()
855 FX_RECT rect = pPageObj->GetBBox(pObj2Device); in DrawShadingPattern()
861 if (GetObjectClippedRect(pPageObj, pObj2Device, FALSE, rect)) { in DrawShadingPattern()
868 int alpha = pPageObj->m_GeneralState.GetAlpha(bStroke); in DrawShadingPattern()
917 void CPDF_RenderStatus::DrawTilingPattern(CPDF_TilingPattern* pPattern, CPDF_PageObject* pPageObj, … in DrawTilingPattern() argument
923 if (pPageObj->m_Type == PDFPAGE_PATH) { in DrawTilingPattern()
924 if (!SelectClipPath((CPDF_PathObject*)pPageObj, pObj2Device, bStroke)) { in DrawTilingPattern()
[all …]
Dfpdf_render_text.cpp313 CPDF_PageObject *pPageObj = m_pForm->GetObjectAt(m_pForm->GetFirstObjectPosition()); in LoadBitmap() local
314 if (pPageObj->m_Type == PDFPAGE_IMAGE) { in LoadBitmap()
315 CPDF_ImageObject* pImage = (CPDF_ImageObject*)pPageObj; in LoadBitmap()
326 if (pPageObj->m_Type == PDFPAGE_INLINES) { in LoadBitmap()
327 CPDF_InlineImages *pInlines = (CPDF_InlineImages *)pPageObj; in LoadBitmap()
Drender_int.h126 …void DrawTilingPattern(CPDF_TilingPattern* pPattern, CPDF_PageObject* pPageObj, const CFX_Affine…
127 …void DrawShadingPattern(CPDF_ShadingPattern* pPattern, CPDF_PageObject* pPageObj, const CFX_Affi…
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp982 CPDF_PageObject* pPageObj = NULL; in FindTextlineFlowDirection() local
989 pPageObj = m_pPage->GetNextObject(pos); in FindTextlineFlowDirection()
990 if(NULL == pPageObj) { in FindTextlineFlowDirection()
993 if(PDFPAGE_TEXT != pPageObj->m_Type) { in FindTextlineFlowDirection()
996 FX_INT32 minH = (FX_INT32)pPageObj->m_Left < 0 ? 0 : (FX_INT32)pPageObj->m_Left; in FindTextlineFlowDirection()
997 …FX_INT32 maxH = (FX_INT32)pPageObj->m_Right > nPageWidth ? nPageWidth : (FX_INT32)pPageObj->m_Righ… in FindTextlineFlowDirection()
998 FX_INT32 minV = (FX_INT32)pPageObj->m_Bottom < 0 ? 0 : (FX_INT32)pPageObj->m_Bottom; in FindTextlineFlowDirection()
999 … FX_INT32 maxV = (FX_INT32)pPageObj->m_Top > nPageHeight ? nPageHeight : (FX_INT32)pPageObj->m_Top; in FindTextlineFlowDirection()
1006 fLineHeight = pPageObj->m_Top - pPageObj->m_Bottom; in FindTextlineFlowDirection()
1008 pPageObj = NULL; in FindTextlineFlowDirection()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_tagged.cpp275 CPDF_Object* pPageObj = pKidDict->GetElement(FX_BSTRC("Pg")); in LoadKid() local
276 if (pPageObj && pPageObj->GetType() == PDFOBJ_REFERENCE) { in LoadKid()
277 PageObjNum = ((CPDF_Reference*)pPageObj)->GetRefObjNum(); in LoadKid()
/external/pdfium/fpdfsdk/src/javascript/
DDocument.cpp1662 if (CPDF_PageObject* pPageObj = page.GetNextObject(pos)) in getPageNthWord() local
1664 if (pPageObj->m_Type == PDFPAGE_TEXT) in getPageNthWord()
1666 int nObjWords = CountWords((CPDF_TextObject*)pPageObj); in getPageNthWord()
1670 swRet = GetObjWordStr((CPDF_TextObject*)pPageObj, nWordNo - nWords); in getPageNthWord()
1730 if (CPDF_PageObject* pPageObj = page.GetNextObject(pos)) in getPageNumWords() local
1732 if (pPageObj->m_Type == PDFPAGE_TEXT) in getPageNumWords()
1734 CPDF_TextObject* pTextObj = (CPDF_TextObject*)pPageObj; in getPageNumWords()