Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/
Dfpdfeditpage.cpp64 void CalcBoundingBox(CPDF_PageObject* pPageObj) { in CalcBoundingBox() argument
65 switch (pPageObj->GetType()) { in CalcBoundingBox()
70 CPDF_PathObject* pPathObj = pPageObj->AsPath(); in CalcBoundingBox()
75 CPDF_ImageObject* pImageObj = pPageObj->AsImage(); in CalcBoundingBox()
80 CPDF_ShadingObject* pShadingObj = pPageObj->AsShading(); in CalcBoundingBox()
85 CPDF_FormObject* pFormObj = pPageObj->AsForm(); in CalcBoundingBox()
172 CPDF_PageObject* pPageObj = CPDFPageObjectFromFPDFPageObject(page_obj); in FPDFPage_InsertObject() local
173 if (!pPageObj) in FPDFPage_InsertObject()
176 std::unique_ptr<CPDF_PageObject> pPageObjHolder(pPageObj); in FPDFPage_InsertObject()
180 pPageObj->SetDirty(true); in FPDFPage_InsertObject()
[all …]
Dfpdf_transformpage.cpp199 CPDF_PageObject* pPageObj = (CPDF_PageObject*)page_object; in FPDFPageObj_TransformClipPath() local
200 if (!pPageObj) in FPDFPageObj_TransformClipPath()
206 if (!pPageObj->IsShading()) in FPDFPageObj_TransformClipPath()
207 pPageObj->TransformClipPath(matrix); in FPDFPageObj_TransformClipPath()
208 pPageObj->TransformGeneralState(matrix); in FPDFPageObj_TransformClipPath()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator.cpp154 for (auto& pPageObj : m_pageObjects) { in ProcessPageObjects() local
155 if (m_pObjHolder->IsPage() && !pPageObj->IsDirty()) in ProcessPageObjects()
159 if (CPDF_ImageObject* pImageObject = pPageObj->AsImage()) in ProcessPageObjects()
161 else if (CPDF_PathObject* pPathObj = pPageObj->AsPath()) in ProcessPageObjects()
163 else if (CPDF_TextObject* pTextObj = pPageObj->AsText()) in ProcessPageObjects()
165 pPageObj->SetDirty(false); in ProcessPageObjects()
266 CPDF_PageObject* pPageObj) { in ProcessGraphics() argument
269 if (GetColor(pPageObj->m_ColorState.GetFillColor(), fillColor)) { in ProcessGraphics()
274 if (GetColor(pPageObj->m_ColorState.GetStrokeColor(), strokeColor)) { in ProcessGraphics()
278 float lineWidth = pPageObj->m_GraphState.GetLineWidth(); in ProcessGraphics()
[all …]
Dcpdf_pagecontentgenerator.h37 void ProcessGraphics(std::ostringstream* buf, CPDF_PageObject* pPageObj);
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp46 auto& pPageObj = m_pForm->GetPageObjectList()->front(); in LoadBitmap() local
47 if (!pPageObj->IsImage()) in LoadBitmap()
50 m_ImageMatrix = pPageObj->AsImage()->matrix(); in LoadBitmap()
56 pPageObj->AsImage()->GetImage()->LoadDIBSource(); in LoadBitmap()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp1328 const CPDF_PageObject* pPageObj = in ProcessPath() local
1330 if (pPageObj->m_GeneralState.GetStrokeAdjust()) in ProcessPath()
1479 bool CPDF_RenderStatus::ProcessTransparency(CPDF_PageObject* pPageObj, in ProcessTransparency() argument
1484 int blend_type = pPageObj->m_GeneralState.GetBlendType(); in ProcessTransparency()
1489 ToDictionary(pPageObj->m_GeneralState.GetSoftMask()); in ProcessTransparency()
1491 if (pPageObj->IsImage() && in ProcessTransparency()
1492 pPageObj->AsImage()->GetImage()->GetDict()->KeyExist("SMask")) { in ProcessTransparency()
1500 const CPDF_FormObject* pFormObj = pPageObj->AsForm(); in ProcessTransparency()
1510 (pPageObj->m_ClipPath.HasRef() && in ProcessTransparency()
1511 pPageObj->m_ClipPath.GetTextCount() > 0 && in ProcessTransparency()
[all …]
Dcpdf_renderstatus.h86 CPDF_PageObject* pPageObj,
90 const CPDF_PageObject* pPageObj,
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp499 for (const auto& pPageObj : *m_pPage->GetPageObjectList()) { in FindTextlineFlowOrientation()
500 if (!pPageObj->IsText()) in FindTextlineFlowOrientation()
503 int32_t minH = std::max(static_cast<int32_t>(pPageObj->m_Left), 0); in FindTextlineFlowOrientation()
505 std::min(static_cast<int32_t>(pPageObj->m_Right), nPageWidth); in FindTextlineFlowOrientation()
506 int32_t minV = std::max(static_cast<int32_t>(pPageObj->m_Bottom), 0); in FindTextlineFlowOrientation()
507 int32_t maxV = std::min(static_cast<int32_t>(pPageObj->m_Top), nPageHeight); in FindTextlineFlowOrientation()
522 fLineHeight = pPageObj->m_Top - pPageObj->m_Bottom; in FindTextlineFlowOrientation()
589 if (CPDF_PageObject* pPageObj = it->get()) { in ProcessFormObject() local
590 if (pPageObj->IsText()) in ProcessFormObject()
591 ProcessTextObject(pPageObj->AsText(), curFormMatrix, pObjectList, it); in ProcessFormObject()
[all …]
/external/pdfium/fxjs/
Dcjs_document.cpp1253 for (auto& pPageObj : *page.GetPageObjectList()) { in getPageNthWord()
1254 if (pPageObj->IsText()) { in getPageNthWord()
1255 CPDF_TextObject* pTextObj = pPageObj->AsText(); in getPageNthWord()
1301 for (auto& pPageObj : *page.GetPageObjectList()) { in getPageNumWords()
1302 if (pPageObj->IsText()) in getPageNumWords()
1303 nWords += CountWords(pPageObj->AsText()); in getPageNumWords()