/external/pdfium/fpdfsdk/ |
D | fpdf_editpage.cpp | 71 void CalcBoundingBox(CPDF_PageObject* pPageObj) { in CalcBoundingBox() argument 72 switch (pPageObj->GetType()) { in CalcBoundingBox() 77 CPDF_PathObject* pPathObj = pPageObj->AsPath(); in CalcBoundingBox() 82 CPDF_ImageObject* pImageObj = pPageObj->AsImage(); in CalcBoundingBox() 87 CPDF_ShadingObject* pShadingObj = pPageObj->AsShading(); in CalcBoundingBox() 92 CPDF_FormObject* pFormObj = pPageObj->AsForm(); in CalcBoundingBox() 132 bool PageObjectContainsMark(CPDF_PageObject* pPageObj, in PageObjectContainsMark() argument 136 return pMarkItem && pPageObj->m_ContentMarks.ContainsItem(pMarkItem); in PageObjectContainsMark() 140 auto* pPageObj = CPDFPageObjectFromFPDFPageObject(page_object); in CPDFFormObjectFromFPDFPageObject() local 141 return pPageObj ? pPageObj->AsForm() : nullptr; in CPDFFormObjectFromFPDFPageObject() [all …]
|
D | fpdf_transformpage.cpp | 297 CPDF_PageObject* pPageObj = CPDFPageObjectFromFPDFPageObject(page_object); in FPDFPageObj_TransformClipPath() local 298 if (!pPageObj) in FPDFPageObj_TransformClipPath() 305 if (!pPageObj->IsShading()) in FPDFPageObj_TransformClipPath() 306 pPageObj->TransformClipPath(matrix); in FPDFPageObj_TransformClipPath() 307 pPageObj->TransformGeneralState(matrix); in FPDFPageObj_TransformClipPath() 312 CPDF_PageObject* pPageObj = CPDFPageObjectFromFPDFPageObject(page_object); in FPDFPageObj_GetClipPath() local 313 if (!pPageObj) in FPDFPageObj_GetClipPath() 316 return FPDFClipPathFromCPDFClipPath(&pPageObj->m_ClipPath); in FPDFPageObj_GetClipPath()
|
D | fpdf_edit_embeddertest.cpp | 2200 auto* pPageObj = CPDFPageObjectFromFPDFPageObject(form); in TEST_F() local 2201 CPDF_FormObject* pFormObj = pPageObj->AsForm(); in TEST_F()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator.cpp | 83 for (auto& pPageObj : m_pageObjects) { in GenerateModifiedStreams() local 84 if (pPageObj->IsDirty()) in GenerateModifiedStreams() 85 all_dirty_streams.insert(pPageObj->GetContentStream()); in GenerateModifiedStreams() 115 for (auto& pPageObj : m_pageObjects) { in GenerateModifiedStreams() local 116 int stream_index = pPageObj->GetContentStream(); in GenerateModifiedStreams() 124 buf, pPageObj.Get(), current_content_marks[stream_index]); in GenerateModifiedStreams() 125 ProcessPageObject(buf, pPageObj.Get()); in GenerateModifiedStreams() 212 for (auto& pPageObj : m_pageObjects) { in ProcessPageObjects() local 213 if (m_pObjHolder->IsPage() && !pPageObj->IsDirty()) in ProcessPageObjects() 217 content_marks = ProcessContentMarks(buf, pPageObj.Get(), content_marks); in ProcessPageObjects() [all …]
|
D | cpdf_pagecontentgenerator.h | 39 void ProcessPageObject(std::ostringstream* buf, CPDF_PageObject* pPageObj); 42 void ProcessGraphics(std::ostringstream* buf, CPDF_PageObject* pPageObj); 49 const CPDF_PageObject* pPageObj,
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_pageobjectholder.cpp | 107 std::unique_ptr<CPDF_PageObject> pPageObj) { in AppendPageObject() argument 108 m_PageObjectList.push_back(std::move(pPageObj)); in AppendPageObject() 111 bool CPDF_PageObjectHolder::RemovePageObject(CPDF_PageObject* pPageObj) { in RemovePageObject() argument 112 pdfium::FakeUniquePtr<CPDF_PageObject> p(pPageObj); in RemovePageObject() 122 int32_t content_stream = pPageObj->GetContentStream(); in RemovePageObject()
|
D | cpdf_tilingpattern.cpp | 32 std::unique_ptr<CPDF_Form> CPDF_TilingPattern::Load(CPDF_PageObject* pPageObj) { in Load() argument 49 allStates.m_GeneralState = pPageObj->m_GeneralState; in Load()
|
D | cpdf_pageobjectholder.h | 72 void AppendPageObject(std::unique_ptr<CPDF_PageObject> pPageObj); 73 bool RemovePageObject(CPDF_PageObject* pPageObj);
|
D | cpdf_tilingpattern.h | 31 std::unique_ptr<CPDF_Form> Load(CPDF_PageObject* pPageObj);
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.cpp | 430 const CPDF_PageObject* pPageObj = in ProcessPath() local 432 if (pPageObj->m_GeneralState.GetStrokeAdjust()) in ProcessPath() 565 bool CPDF_RenderStatus::ClipPattern(const CPDF_PageObject* pPageObj, in ClipPattern() argument 568 if (pPageObj->IsPath()) in ClipPattern() 569 return SelectClipPath(pPageObj->AsPath(), mtObj2Device, bStroke); in ClipPattern() 570 if (pPageObj->IsImage()) { in ClipPattern() 571 m_pDevice->SetClip_Rect(pPageObj->GetTransformedBBox(mtObj2Device)); in ClipPattern() 596 bool CPDF_RenderStatus::ProcessTransparency(CPDF_PageObject* pPageObj, in ProcessTransparency() argument 601 BlendMode blend_type = pPageObj->m_GeneralState.GetBlendType(); in ProcessTransparency() 603 ToDictionary(pPageObj->m_GeneralState.GetSoftMask()); in ProcessTransparency() [all …]
|
D | cpdf_renderstatus.h | 108 CPDF_PageObject* pPageObj, 112 const CPDF_PageObject* pPageObj, 145 bool ClipPattern(const CPDF_PageObject* pPageObj,
|
/external/pdfium/core/fpdftext/ |
D | cpdf_textpage.cpp | 524 for (const auto& pPageObj : *m_pPage) { in FindTextlineFlowOrientation() 525 if (!pPageObj->IsText()) in FindTextlineFlowOrientation() 528 int32_t minH = std::max(static_cast<int32_t>(pPageObj->GetRect().left), 0); in FindTextlineFlowOrientation() 530 std::min(static_cast<int32_t>(pPageObj->GetRect().right), nPageWidth); in FindTextlineFlowOrientation() 532 std::max(static_cast<int32_t>(pPageObj->GetRect().bottom), 0); in FindTextlineFlowOrientation() 534 std::min(static_cast<int32_t>(pPageObj->GetRect().top), nPageHeight); in FindTextlineFlowOrientation() 549 fLineHeight = pPageObj->GetRect().Height(); in FindTextlineFlowOrientation() 609 CPDF_PageObject* pPageObj = it->get(); in ProcessFormObject() local 610 if (!pPageObj) in ProcessFormObject() 613 if (pPageObj->IsText()) in ProcessFormObject() [all …]
|
/external/pdfium/fxjs/ |
D | cjs_document.cpp | 1248 for (auto& pPageObj : *page) { in getPageNthWord() 1249 if (pPageObj->IsText()) { in getPageNthWord() 1250 CPDF_TextObject* pTextObj = pPageObj->AsText(); in getPageNthWord() 1297 for (auto& pPageObj : *page) { in getPageNumWords() 1298 if (pPageObj->IsText()) in getPageNumWords() 1299 nWords += pPageObj->AsText()->CountWords(); in getPageNumWords()
|