Home
last modified time | relevance | path

Searched refs:pPageDict (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfpdf_flatten.cpp321 CPDF_Dictionary* pPageDict = pPage->m_pFormDict; in FPDFPage_Flatten() local
323 if (!pDocument || !pPageDict) { in FPDFPage_Flatten()
331 iRet = ParserAnnots(pDocument, pPageDict, &RectArray, &ObjectArray, nFlag); in FPDFPage_Flatten()
337 CPDF_Rect rcOriginalMB = pPageDict->GetRect("MediaBox"); in FPDFPage_Flatten()
339 if (pPageDict->KeyExist("CropBox")) in FPDFPage_Flatten()
340 rcOriginalMB = pPageDict->GetRect("CropBox"); in FPDFPage_Flatten()
355 if (pPageDict->KeyExist("ArtBox")) in FPDFPage_Flatten()
356 rcOriginalCB = pPageDict->GetRect("ArtBox"); in FPDFPage_Flatten()
366 pPageDict->SetAt("MediaBox", pMediaBox); in FPDFPage_Flatten()
375 pPageDict->SetAt("ArtBox", pCropBox); in FPDFPage_Flatten()
[all …]
Dfpdfeditpage.cpp74 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(page_index); in FPDFPage_New() local
75 if (!pPageDict) in FPDFPage_New()
83 pPageDict->SetAt("MediaBox", pMediaBoxArray); in FPDFPage_New()
84 pPageDict->SetAt("Rotate", new CPDF_Number(0)); in FPDFPage_New()
85 pPageDict->SetAt("Resources", new CPDF_Dictionary); in FPDFPage_New()
90 pPage->LoadPDFPage(pPageDict); in FPDFPage_New()
93 pPage->Load(pDoc, pPageDict); in FPDFPage_New()
Dfpdf_transformpage.cpp19 CPDF_Dictionary* pPageDict = page->m_pFormDict; in SetBoundingBox() local
25 pPageDict->SetAt(key, pBoundingBoxArray); in SetBoundingBox()
34 CPDF_Dictionary* pPageDict = page->m_pFormDict; in GetBoundingBox() local
35 CPDF_Array* pArray = pPageDict->GetArray(key); in GetBoundingBox()
Dfpdfformfill.cpp729 CPDF_Dictionary* pPageDict = pPDFPage->m_pFormDict; in FORM_DoPageAAction() local
730 CPDF_AAction aa = pPageDict->GetDict("AA"); in FORM_DoPageAAction()
Dfsdk_baseform.cpp2081 if (CPDF_Dictionary* pPageDict = pControlDict->GetDict("P")) { local
2082 int nPageIndex = pDocument->GetPageIndex(pPageDict->GetObjNum());
2128 if (CPDF_Dictionary* pPageDict = pDocument->GetPage(i)) { local
2129 if (CPDF_Array* pAnnots = pPageDict->GetArray("Annots")) {
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_content.cpp38 CPDF_Dictionary* pPageDict = m_pPage->m_pFormDict; in GenerateContent() local
47 pPageDict ? pPageDict->GetElementValue("Contents") : NULL; in GenerateContent()
49 pPageDict->RemoveAt("Contents"); in GenerateContent()
54 pPageDict->SetAtReference("Contents", m_pDocument, pStream->GetObjNum()); in GenerateContent()
Dfpdf_edit_doc.cpp1067 CPDF_Dictionary* pPageDict, in InsertNewPage() argument
1087 pPagesList->Add(pPageDict, pDoc); in InsertNewPage()
1089 pPageDict->SetAtReference("Parent", pDoc, pPages->GetObjNum()); in InsertNewPage()
1093 if (InsertDeletePDFPage(pDoc, pPages, iPage, pPageDict, TRUE, stack) < 0) { in InsertNewPage()
1097 pageList.InsertAt(iPage, pPageDict->GetObjNum()); in InsertNewPage()
1139 CPDF_Object* FPDFAPI_GetPageAttr(CPDF_Dictionary* pPageDict,
1141 void FPDFAPI_FlatPageAttr(CPDF_Dictionary* pPageDict, in FPDFAPI_FlatPageAttr() argument
1143 if (pPageDict->KeyExist(name)) { in FPDFAPI_FlatPageAttr()
1146 CPDF_Object* pObj = FPDFAPI_GetPageAttr(pPageDict, name); in FPDFAPI_FlatPageAttr()
1148 pPageDict->SetAt(name, pObj->Clone()); in FPDFAPI_FlatPageAttr()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_document.cpp303 CPDF_Dictionary* pPageDict = GetPage(i); in IsContentUsedElsewhere() local
304 if (pPageDict == pThisPageDict) { in IsContentUsedElsewhere()
308 pPageDict ? pPageDict->GetElement("Contents") : NULL; in IsContentUsedElsewhere()
Dfpdf_parser_parser.cpp4351 CPDF_Dictionary* pPageDict = m_pDocument->GetPage(iPage); in CheckPageAnnots() local
4352 if (!pPageDict) { in CheckPageAnnots()
4355 CPDF_Object* pAnnots = pPageDict->GetElement("Annots"); in CheckPageAnnots()
4588 CPDF_Object* pPageDict = ParseIndirectObjectAt(0, dwObjNum, m_pDocument); in GetPage() local
4589 if (!pPageDict) { in GetPage()
4592 if (!m_pDocument->InsertIndirectObject(dwObjNum, pPageDict)) in GetPage()
4594 return pPageDict->GetDict(); in GetPage()
/external/pdfium/core/src/fpdfdoc/
Ddoc_tagged.cpp19 const CPDF_Dictionary* pPageDict) { in LoadPage() argument
24 pTree->LoadPageTree(pPageDict); in LoadPage()
74 void CPDF_StructTreeImpl::LoadPageTree(const CPDF_Dictionary* pPageDict) { in LoadPageTree() argument
75 m_pPage = pPageDict; in LoadPageTree()
102 int parents_id = pPageDict->GetInteger("StructParents", -1); in LoadPageTree()
Dtagged_int.h26 void LoadPageTree(const CPDF_Dictionary* pPageDict);
Ddoc_formcontrol.cpp292 CPDF_Dictionary* pPageDict = m_pWidgetDict->GetDict("P"); in GetDefaultControlFont() local
293 pObj = FPDF_GetFieldAttr(pPageDict, "Resources"); in GetDefaultControlFont()
Ddoc_form.cpp909 CPDF_Dictionary* pPageDict = pPage->m_pFormDict; in FixPageFields() local
910 if (!pPageDict) { in FixPageFields()
913 CPDF_Array* pAnnots = pPageDict->GetArray("Annots"); in FixPageFields()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp793 CPDF_Dictionary* pPageDict, in Load() argument
796 m_pFormDict = pPageDict; in Load()
801 if (!pPageDict) { in Load()
882 CPDF_Object* FPDFAPI_GetPageAttr(CPDF_Dictionary* pPageDict, in FPDFAPI_GetPageAttr() argument
886 CPDF_Object* pObj = pPageDict->GetElementValue(name); in FPDFAPI_GetPageAttr()
890 CPDF_Dictionary* pParent = pPageDict->GetDict("Parent"); in FPDFAPI_GetPageAttr()
891 if (!pParent || pParent == pPageDict) { in FPDFAPI_GetPageAttr()
894 pPageDict = pParent; in FPDFAPI_GetPageAttr()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_tagged.h22 const CPDF_Dictionary* pPageDict);
/external/pdfium/core/include/fpdfapi/
Dfpdf_page.h106 CPDF_Dictionary* pPageDict,
Dfpdf_parser.h181 FX_BOOL IsContentUsedElsewhere(FX_DWORD objnum, CPDF_Dictionary* pPageDict);
/external/pdfium/fpdfsdk/src/javascript/
DDocument.cpp1375 CPDF_Dictionary* pPageDict = pDocument->GetPage(nPageNo); in getPageNthWord() local
1376 if (!pPageDict) in getPageNthWord()
1380 page.Load(pDocument, pPageDict); in getPageNthWord()
1440 CPDF_Dictionary* pPageDict = pDocument->GetPage(nPageNo); in getPageNumWords() local
1441 if (!pPageDict) in getPageNumWords()
1445 page.Load(pDocument, pPageDict); in getPageNumWords()