Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/
Dfpdfeditpage.cpp135 CPDF_PageObject* pPageObj = (CPDF_PageObject*)page_obj; in FPDFPage_InsertObject() local
136 if (!pPageObj) in FPDFPage_InsertObject()
140 pPage->InsertObject(LastPersition, pPageObj); in FPDFPage_InsertObject()
141 switch (pPageObj->m_Type) { in FPDFPage_InsertObject()
143 CPDF_PathObject* pPathObj = (CPDF_PathObject*)pPageObj; in FPDFPage_InsertObject()
153 CPDF_ImageObject* pImageObj = (CPDF_ImageObject*)pPageObj; in FPDFPage_InsertObject()
158 CPDF_ShadingObject* pShadingObj = (CPDF_ShadingObject*)pPageObj; in FPDFPage_InsertObject()
163 CPDF_FormObject* pFormObj = (CPDF_FormObject*)pPageObj; in FPDFPage_InsertObject()
203 CPDF_PageObject* pPageObj = (CPDF_PageObject*)pageObject; in FPDFPageObj_HasTransparency() local
205 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in FPDFPageObj_HasTransparency()
[all …]
Dfpdf_transformpage.cpp195 CPDF_PageObject* pPageObj = (CPDF_PageObject*)page_object; in FPDFPageObj_TransformClipPath() local
196 if (!pPageObj) in FPDFPageObj_TransformClipPath()
203 if (pPageObj->m_Type != PDFPAGE_SHADING) in FPDFPageObj_TransformClipPath()
204 pPageObj->TransformClipPath(matrix); in FPDFPageObj_TransformClipPath()
205 pPageObj->TransformGeneralState(matrix); in FPDFPageObj_TransformClipPath()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_content.cpp40 CPDF_PageObject* pPageObj = m_pageObjects[i]; in GenerateContent() local
41 if (!pPageObj || pPageObj->m_Type != PDFPAGE_IMAGE) { in GenerateContent()
44 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, in ProcessTransparency() argument
719 const CPDF_GeneralStateData* pGeneralState = pPageObj->m_GeneralState; in ProcessTransparency()
728 if (pPageObj->m_Type == PDFPAGE_IMAGE && in ProcessTransparency()
729 ((CPDF_ImageObject*)pPageObj)->m_pImage->GetDict()->KeyExist("SMask")) { in ProcessTransparency()
737 if (pPageObj->m_Type == PDFPAGE_FORM) { in ProcessTransparency()
738 CPDF_FormObject* pFormObj = (CPDF_FormObject*)pPageObj; in ProcessTransparency()
751 if (pPageObj->m_ClipPath.NotNull() && pPageObj->m_ClipPath.GetTextCount() && in ProcessTransparency()
757 pPageObj->m_Type == PDFPAGE_IMAGE && pGeneralState && in ProcessTransparency()
765 pDocument = ((CPDF_ImageObject*)pPageObj)->m_pImage->GetDocument(); in ProcessTransparency()
768 CPDF_Object* pCSObj = ((CPDF_ImageObject*)pPageObj) in ProcessTransparency()
[all …]
Dfpdf_render_pattern.cpp915 CPDF_PageObject* pPageObj, in DrawShadingPattern() argument
922 if (pPageObj->m_Type == PDFPAGE_PATH) { in DrawShadingPattern()
923 if (!SelectClipPath((CPDF_PathObject*)pPageObj, pObj2Device, bStroke)) { in DrawShadingPattern()
927 } else if (pPageObj->m_Type == PDFPAGE_IMAGE) { in DrawShadingPattern()
928 FX_RECT rect = pPageObj->GetBBox(pObj2Device); in DrawShadingPattern()
934 if (GetObjectClippedRect(pPageObj, pObj2Device, FALSE, rect)) { in DrawShadingPattern()
941 int alpha = pPageObj->m_GeneralState.GetAlpha(bStroke); in DrawShadingPattern()
997 CPDF_PageObject* pPageObj, in DrawTilingPattern() argument
1004 if (pPageObj->m_Type == PDFPAGE_PATH) { in DrawTilingPattern()
1005 if (!SelectClipPath((CPDF_PathObject*)pPageObj, pObj2Device, bStroke)) { in DrawTilingPattern()
[all …]
Dfpdf_render_text.cpp320 CPDF_PageObject* pPageObj = in LoadBitmap() local
322 if (pPageObj->m_Type == PDFPAGE_IMAGE) { in LoadBitmap()
323 CPDF_ImageObject* pImage = (CPDF_ImageObject*)pPageObj; in LoadBitmap()
Drender_int.h171 CPDF_PageObject* pPageObj,
175 CPDF_PageObject* pPageObj,
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp817 CPDF_PageObject* pPageObj = NULL; in FindTextlineFlowDirection() local
824 pPageObj = m_pPage->GetNextObject(pos); in FindTextlineFlowDirection()
825 if (NULL == pPageObj) { in FindTextlineFlowDirection()
828 if (PDFPAGE_TEXT != pPageObj->m_Type) { in FindTextlineFlowDirection()
832 (int32_t)pPageObj->m_Left < 0 ? 0 : (int32_t)pPageObj->m_Left; in FindTextlineFlowDirection()
833 int32_t maxH = (int32_t)pPageObj->m_Right > nPageWidth in FindTextlineFlowDirection()
835 : (int32_t)pPageObj->m_Right; in FindTextlineFlowDirection()
837 (int32_t)pPageObj->m_Bottom < 0 ? 0 : (int32_t)pPageObj->m_Bottom; in FindTextlineFlowDirection()
838 int32_t maxV = (int32_t)pPageObj->m_Top > nPageHeight in FindTextlineFlowDirection()
840 : (int32_t)pPageObj->m_Top; in FindTextlineFlowDirection()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
DDocument.cpp1391 if (CPDF_PageObject* pPageObj = page.GetNextObject(pos)) { in getPageNthWord() local
1392 if (pPageObj->m_Type == PDFPAGE_TEXT) { in getPageNthWord()
1393 int nObjWords = CountWords((CPDF_TextObject*)pPageObj); in getPageNthWord()
1396 swRet = GetObjWordStr((CPDF_TextObject*)pPageObj, nWordNo - nWords); in getPageNthWord()
1454 if (CPDF_PageObject* pPageObj = page.GetNextObject(pos)) { in getPageNumWords() local
1455 if (pPageObj->m_Type == PDFPAGE_TEXT) { in getPageNumWords()
1456 CPDF_TextObject* pTextObj = (CPDF_TextObject*)pPageObj; in getPageNumWords()