Home
last modified time | relevance | path

Searched refs:GetDict (Results 1 – 25 of 61) sorted by relevance

123

/external/pdfium/fpdfsdk/src/formfiller/
DFFL_CBA_Fontmap.cpp104 CPDF_Dictionary* pAcroFormDict = pRootDict->GetDict("AcroForm"); in FindFontSameCharset()
107 CPDF_Dictionary * pDRDict = pAcroFormDict->GetDict("DR"); in FindFontSameCharset()
129 CPDF_Dictionary* pFonts = pResDict->GetDict("Font"); in FindResFontSameCharset()
173 CPDF_Dictionary* pAPDict = m_pAnnotDict->GetDict("AP"); in AddFontToAnnotDict()
194 CPDF_Dictionary * pStreamDict = pStream->GetDict(); in AddFontToAnnotDict()
204 CPDF_Dictionary* pStreamResList = pStreamDict->GetDict("Resources"); in AddFontToAnnotDict()
213 CPDF_Dictionary* pStreamResFontList = pStreamResList->GetDict("Font"); in AddFontToAnnotDict()
238 pAcroFormDict = pRootDict->GetDict("AcroForm"); in GetAnnotDefaultFont()
264 if (CPDF_Dictionary * pDRDict = m_pAnnotDict->GetDict("DR")) in GetAnnotDefaultFont()
265 if (CPDF_Dictionary* pDRFontDict = pDRDict->GetDict("Font")) in GetAnnotDefaultFont()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_action.cpp63 CPDF_Dictionary* pWinDict = m_pDict->GetDict(FX_BSTRC("Win")); in GetFilePath()
85 CPDF_Dictionary* pURI = pRoot->GetDict("URI"); in GetURI()
98 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetFieldsCount()
128 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetAllFields()
161 CPDF_Dictionary* pDict = m_pAction->GetDict(); in GetField()
194 return m_pDict->GetDict("Win"); in GetWinParam()
215 return m_pDict->GetDict("AN"); in GetAnnot()
217 return m_pDict->GetDict("Annotation"); in GetAnnot()
275 return CPDF_Action(pArray->GetDict(iIndex)); in GetSubAction()
297 return CPDF_Action(m_pDict->GetDict(g_sAATypes[(int)eType])); in GetAction()
[all …]
Ddoc_viewerPreferences.cpp17 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in IsDirectionR2L()
26 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in PrintScaling()
35 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in NumCopies()
45 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in PrintPageRange()
55 pDict = pDict->GetDict(FX_BSTRC("ViewerPreferences")); in Duplex()
Ddoc_utils.cpp25 pLevel = pLevel->GetDict("Parent"); in GetFullName()
282 CPDF_Dictionary* pDR = pFormDict->GetDict("DR"); in CountInterFormFonts()
286 CPDF_Dictionary* pFonts = pDR->GetDict("Font"); in CountInterFormFonts()
313 CPDF_Dictionary* pDR = pFormDict->GetDict("DR"); in GetInterFormFont()
317 CPDF_Dictionary* pFonts = pDR->GetDict("Font"); in GetInterFormFont()
352 CPDF_Dictionary* pDR = pFormDict->GetDict("DR"); in GetInterFormFont()
356 CPDF_Dictionary* pFonts = pDR->GetDict("Font"); in GetInterFormFont()
360 CPDF_Dictionary* pElement = pFonts->GetDict(csAlias); in GetInterFormFont()
374 CPDF_Dictionary* pDR = pFormDict->GetDict("DR"); in GetInterFormFont()
378 CPDF_Dictionary* pFonts = pDR->GetDict("Font"); in GetInterFormFont()
[all …]
Ddoc_formcontrol.cpp22 CPDF_Dictionary* pAP = m_pWidgetDict->GetDict("AP"); in GetOnStateName()
26 CPDF_Dictionary* pN = pAP->GetDict("N"); in GetOnStateName()
53 CPDF_Dictionary* pAP = m_pWidgetDict->GetDict("AP"); in SetOnStateName()
160 CFX_FloatRect form_bbox = pStream->GetDict()->GetRect("BBox"); in DrawControl()
161 CFX_AffineMatrix form_matrix = pStream->GetDict()->GetMatrix("Matrix"); in DrawControl()
167 …CPDF_Form form(m_pField->m_pForm->m_pDocument, m_pField->m_pForm->m_pFormDict->GetDict("DR"), pStr… in DrawControl()
194 CPDF_ApSettings mk = m_pWidgetDict->GetDict(FX_BSTRC("MK")); in GetMK()
255 return CPDF_Action(m_pWidgetDict->GetDict("A")); in GetAction()
261 return CPDF_Action(pObj->GetDict()); in GetAction()
269 return m_pWidgetDict->GetDict("AA"); in GetAdditionalAction()
[all …]
Ddoc_ap.cpp29 if (CPDF_Dictionary* pParentDict = pAnnotDict->GetDict("Parent")) { in FPDF_GenerateAP()
76 CPDF_Dictionary* pFormDict = pDoc->GetRoot()->GetDict("AcroForm"); in GetAnnotSysPDFFont()
78 if (CPDF_Dictionary * pFontList = pResDict->GetDict("Font")) { in GetAnnotSysPDFFont()
251 pFormDict = pRootDict->GetDict("AcroForm"); in GenerateWidgetAP()
277 CPDF_Dictionary* pDRDict = pAnnotDict->GetDict(FX_BSTRC("DR")); in GenerateWidgetAP()
279 pDRDict = pFormDict->GetDict(FX_BSTRC("DR")); in GenerateWidgetAP()
283 if (pDRDict && (pDRFontDict = pDRDict->GetDict("Font"))) { in GenerateWidgetAP()
284 pFontDict = pDRFontDict->GetDict(sFontName.Mid(1)); in GenerateWidgetAP()
286 pDRDict = pFormDict->GetDict(FX_BSTRC("DR")); in GenerateWidgetAP()
287 pDRFontDict = pDRDict->GetDict("Font"); in GenerateWidgetAP()
[all …]
Ddoc_ocg.cpp17 if (((CPDF_Array*)pObject)->GetDict(i) == pGroupDict) { in FPDFDOC_OCG_FindGroup()
23 if (pObject->GetDict() == pGroupDict) { in FPDFDOC_OCG_FindGroup()
52 CPDF_Dictionary *pOCProperties = pDoc->GetRoot()->GetDict(FX_BSTRC("OCProperties")); in FPDFDOC_OCG_GetConfig()
63 CPDF_Dictionary *pConfig = pOCProperties->GetDict(FX_BSTRC("D")); in FPDFDOC_OCG_GetConfig()
69 pFind = pConfigs->GetDict(i); in FPDFDOC_OCG_GetConfig()
129 CPDF_Dictionary *pUsage = pArray->GetDict(i); in LoadOCGStateFromConfig()
143 CPDF_Dictionary *pState = pUsage->GetDict(csConfig); in LoadOCGStateFromConfig()
158 CPDF_Dictionary *pUsage = pOCGDict->GetDict(FX_BSTRC("Usage")); in LoadOCGState()
160 CPDF_Dictionary *pState = pUsage->GetDict(csState); in LoadOCGState()
168 pState = pUsage->GetDict(FX_BSTRC("View")); in LoadOCGState()
[all …]
Ddoc_bookmark.cpp15 CPDF_Dictionary* pRoot = m_pDocument->GetRoot()->GetDict("Outlines"); in GetFirstChild()
19 return CPDF_Bookmark(pRoot->GetDict("First")); in GetFirstChild()
21 return CPDF_Bookmark(parent.m_pDict->GetDict("First")); in GetFirstChild()
28 CPDF_Dictionary *pNext = bookmark.m_pDict->GetDict("Next"); in GetNextSibling()
97 return CPDF_Action(m_pDict->GetDict("A")); in GetAction()
Ddoc_tagged.cpp15 CPDF_Dictionary* pMarkInfo = pCatalog->GetDict(FX_BSTRC("MarkInfo")); in IsTagged()
39 m_pTreeRoot = pCatalog->GetDict(FX_BSTRC("StructTreeRoot")); in CPDF_StructTreeImpl()
43 m_pRoleMap = m_pTreeRoot->GetDict(FX_BSTRC("RoleMap")); in CPDF_StructTreeImpl()
72 CPDF_Dictionary* pKid = pArray->GetDict(i); in LoadDocTree()
101 CPDF_Dictionary* pParentTree = m_pTreeRoot->GetDict(FX_BSTRC("ParentTree")); in LoadPageTree()
114 CPDF_Dictionary* pParent = pParentArray->GetDict(i); in LoadPageTree()
133 CPDF_Dictionary* pParent = pDict->GetDict(FX_BSTRC("P")); in AddPageNode()
327 pDict = ((CPDF_Stream*)pAttrs)->GetDict(); in FindAttrDict()
372 CPDF_Dictionary* pClassMap = m_pTree->m_pTreeRoot->GetDict(FX_BSTRC("ClassMap")); in GetAttr()
380 CPDF_Dictionary* pClassDict = pClassMap->GetDict(class_name); in GetAttr()
[all …]
Ddoc_basic.cpp77 if (pDoc->GetRoot() && pDoc->GetRoot()->GetDict(FX_BSTRC("Names"))) in CPDF_NameTree()
78 m_pRoot = pDoc->GetRoot()->GetDict(FX_BSTRC("Names"))->GetDict(category); in CPDF_NameTree()
128 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNameNode()
164 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNameNode()
190 CPDF_Dictionary* pKid = pKids->GetDict(i); in CountNames()
236 CPDF_Dictionary* pDests = pDoc->GetRoot()->GetDict(FX_BSTRC("Dests")); in LookupNamedDest()
412 CPDF_Dictionary *pEF = ((CPDF_Dictionary*)m_pObj)->GetDict(FX_BSTRC("EF")); in GetFileStream()
515 CPDF_Dictionary* pLabels = pPDFRoot->GetDict(FX_BSTRC("PageLabels")); in GetLabel()
Ddoc_annot.cpp24 CPDF_Dictionary* pAcroForm = pRoot->GetDict("AcroForm"); in CPDF_AnnotList()
40 pDict = pAnnots->GetDict(i); in CPDF_AnnotList()
85 !pOCContext->CheckOCGVisible(pAnnotDict->GetDict(FX_BSTRC("OC")))) { in DisplayPass()
179 CPDF_Dictionary* pAP = pAnnotDict->GetDict("AP"); in FPDFDOC_GetAnnotAP()
204 CPDF_Dictionary* pDict = pAnnotDict->GetDict(FX_BSTRC("Parent")); in FPDFDOC_GetAnnotAP()
286 CPDF_Dictionary* pBS = m_pAnnotDict->GetDict("BS"); in GetBorder()
382 CPDF_Dictionary* pBS = m_pAnnotDict->GetDict("BS"); in DrawBorder()
471 CPDF_Dictionary* pIRT = pAnnot->m_pAnnotDict->GetDict("IRT"); in CountIRTNotes()
487 CPDF_Dictionary* pIRT = pAnnot->m_pAnnotDict->GetDict("IRT"); in GetIRTNote()
Ddoc_form.cpp253 m_pFormDict = pRoot->GetDict("AcroForm"); in CPDF_InterForm()
263 LoadField(pFields->GetDict(i)); in CPDF_InterForm()
325 CPDF_Dictionary* pDict = pResDict->GetDict(csType); in GenerateNewResourceName()
837 CPDF_Dictionary* pAnnot = pAnnotList->GetDict(i); in CountPageControls()
857 CPDF_Dictionary* pAnnot = pAnnotList->GetDict(i); in GetPageControl()
879 CPDF_Dictionary* pAnnot = pAnnotList->GetDict(i - 1); in GetControlAtPoint()
926 pDict = pArray->GetDict(i); in CountInternalFields()
966 return pArray->GetDict(index); in GetInternalField()
982 pDict = pArray->GetDict(i); in GetInternalField()
1007 return pArray->GetDict(index); in GetInternalField()
[all …]
Ddoc_link.cpp72 CPDF_Dictionary* pAnnot = pAnnotList->GetDict(i); in LoadPageLinks()
104 return CPDF_Action(m_pDict->GetDict("A")); in GetAction()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_document.cpp44 m_pRootDict = pRootObj->GetDict(); in LoadDoc()
50 m_pInfoDict = pInfoObj->GetDict(); in LoadDoc()
64 m_pRootDict = indirectObj ? indirectObj->GetDict() : NULL; in LoadAsynDoc()
69 m_pInfoDict = indirectObj ? indirectObj->GetDict() : NULL; in LoadAsynDoc()
120 CPDF_Dictionary* pKid = pKidList->GetDict(i); in _FindPDFPage()
165 CPDF_Dictionary* pPages = pRoot->GetDict(FX_BSTRC("Pages")); in GetPage()
204 CPDF_Dictionary* pKid = pKidList->GetDict(i); in _FindPageIndex()
246 CPDF_Dictionary* pPages = pRoot->GetDict(FX_BSTRC("Pages")); in GetPageIndex()
272 CPDF_Dictionary* pKid = pKidList->GetDict(i); in _CountPages()
291 CPDF_Dictionary* pPages = pRoot->GetDict(FX_BSTRC("Pages")); in _GetPageCount()
[all …]
Dfpdf_parser_fdf.cpp82 m_pRootDict = pMainDict->GetDict(FX_BSTRC("Root")); in ParseStream()
106 CPDF_Dictionary* pDict = m_pRootDict ? m_pRootDict->GetDict(FX_BSTRC("FDF")) : NULL; in GetWin32Path()
112 return FPDF_FileSpec_GetWin32Path(m_pRootDict->GetDict(FX_BSTRC("FDF"))); in GetWin32Path()
Dfpdf_parser_parser.cpp263 SetEncryptDictionary(pEncryptObj->GetDict()); in SetEncryptHandler()
788 CPDF_Dictionary* pDict = pStream->GetDict(); in RebuildCrossRef()
794 … if (pRoot && pRoot->GetDict() && pRoot->GetDict()->GetElement(FX_BSTRC("Pages"))) { in RebuildCrossRef()
855 pTrailer = ((CPDF_Stream*)pObj)->GetDict(); in RebuildCrossRef()
1016 prev = pStream->GetDict()->GetInteger(FX_BSTRC("Prev")); in LoadCrossRefV5()
1017 FX_INT32 size = pStream->GetDict()->GetInteger(FX_BSTRC("Size")); in LoadCrossRefV5()
1023 m_pTrailer = (CPDF_Dictionary*)pStream->GetDict()->Clone(); in LoadCrossRefV5()
1029 m_Trailers.Add((CPDF_Dictionary*)pStream->GetDict()->Clone()); in LoadCrossRefV5()
1032 CPDF_Array* pArray = pStream->GetDict()->GetArray(FX_BSTRC("Index")); in LoadCrossRefV5()
1051 pArray = pStream->GetDict()->GetArray(FX_BSTRC("W")); in LoadCrossRefV5()
[all …]
Dfpdf_parser_objects.cpp138 CPDF_Dictionary* CPDF_Object::GetDict() const in GetDict() function in CPDF_Object
144 return ((CPDF_Stream*)this)->GetDict(); in GetDict()
154 return pObj->GetDict(); in GetDict()
289 if (pThis->GetDict()) in CloneInternal()
290 …am(acc.DetachData(), streamSize, (CPDF_Dictionary*)((CPDF_Object*)pThis->GetDict())->CloneInternal… in CloneInternal()
458 CPDF_Dictionary* CPDF_Array::GetDict(FX_DWORD i) const in GetDict() function in CPDF_Array
466 return ((CPDF_Stream*)p)->GetDict(); in GetDict()
691 CPDF_Dictionary* CPDF_Dictionary::GetDict(FX_BSTR key) const in GetDict() function in CPDF_Dictionary
699 return ((CPDF_Stream*)p)->GetDict(); in GetDict()
1077 (!pStream->GetDict()->KeyExist(FX_BSTRC("Filter")) || bRawAccess)) { in LoadAllData()
[all …]
/external/pdfium/fpdfsdk/src/
Dfsdk_baseannot.cpp616 return m_pAnnot->m_pAnnotDict->GetDict("AP") != NULL; in IsAppearanceValid()
624 CPDF_Dictionary* pAP = m_pAnnot->m_pAnnotDict->GetDict("AP"); in IsAppearanceValid()
787 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in SetBorderWidth()
812 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in GetBorderWidth()
827 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in SetBorderStyle()
859 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in GetBorderStyle()
889 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in SetBorderDash()
919 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in GetBorderDash()
1009 CPDF_Dictionary* pAPDict = m_pAnnot->m_pAnnotDict->GetDict("AP"); in WriteAppearance()
1027 CPDF_Dictionary* pAPTypeDict = pAPDict->GetDict(sAPType); in WriteAppearance()
[all …]
Dfpdfdoc.cpp37 return tree.GetFirstChild(bookmark).GetDict(); in FPDFBookmark_GetFirstChild()
47 return tree.GetNextSibling(bookmark).GetDict(); in FPDFBookmark_GetNextSibling()
74 return FindBookmark(tree, CPDF_Bookmark(), encodedTitle).GetDict(); in FPDFBookmark_Find()
100 return bookmark.GetAction().GetDict(); in FPDFBookmark_GetAction()
179 return pLinkList->GetLinkAtPoint(pPage, (FX_FLOAT)x, (FX_FLOAT)y).GetDict(); in FPDFLink_GetLinkAtPoint()
205 return link.GetAction().GetDict(); in FPDFLink_GetAction()
Dfpdf_flatten.cpp390 CPDF_Dictionary* pRes = pPageDict->GetDict("Resources"); in FPDFPage_Flatten()
399 CPDF_Dictionary* pPageXObject = pRes->GetDict("XObject"); in FPDFPage_Flatten()
429 CPDF_Dictionary* pNewOXbjectDic = pNewXObject->GetDict(); in FPDFPage_Flatten()
449 CPDF_Dictionary* pAnnotAP = pAnnotDic->GetDict("AP"); in FPDFPage_Flatten()
455 CPDF_Dictionary* pAPDic = pAnnotAP->GetDict("N"); in FPDFPage_Flatten()
485 CPDF_Dictionary* pAPDic = pAPStream->GetDict(); in FPDFPage_Flatten()
500 CPDF_Dictionary* pObjDic = pObj->GetDict(); in FPDFPage_Flatten()
508 CPDF_Dictionary* pXObject = pNewXORes->GetDict("XObject"); in FPDFPage_Flatten()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_pattern.cpp26 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); in CPDF_TilingPattern()
47 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); in Load()
70 CPDF_Dictionary* pDict = m_pPatternObj->GetDict(); in CPDF_ShadingPattern()
114 CPDF_Dictionary* pShadingDict = m_pShadingObj ? m_pShadingObj->GetDict() : NULL; in Load()
164 CPDF_Dictionary* pDict = pShadingStream->GetDict(); in Load()
Dfpdf_page_image.cpp95 CPDF_Dictionary* pDict = pStream->GetDict(); in LoadImageF()
99 m_pOC = pDict->GetDict(FX_BSTRC("OC")); in LoadImageF()
Dfpdf_page_parser.cpp649 CPDF_Dictionary* pList = m_pResources->GetDict(FX_BSTRC("XObject")); in Handle_ExecuteXObject()
658 CPDF_Dictionary* pList = m_pResources->GetDict(FX_BSTRC("XObject")); in Handle_ExecuteXObject()
663 CPDF_Dictionary* pList = m_pPageResources->GetDict(FX_BSTRC("XObject")); in Handle_ExecuteXObject()
688 …CFX_ByteStringC type = pXObject->GetDict() ? pXObject->GetDict()->GetConstString(FX_BSTRC("Subtype… in Handle_ExecuteXObject()
705 CPDF_Dictionary* pResources = pStream->GetDict()->GetDict(FX_BSTRC("Resources")); in AddForm()
706 CFX_AffineMatrix form_matrix = pStream->GetDict()->GetMatrix(FX_BSTRC("Matrix")); in AddForm()
708 CPDF_Array* pBBox = pStream->GetDict()->GetArray(FX_BSTRC("BBox")); in AddForm()
712 form_bbox = pStream->GetDict()->GetRect(FX_BSTRC("BBox")); in AddForm()
1187 CPDF_Dictionary* pList = m_pResources->GetDict(type); in FindResourceObj()
1194 CPDF_Dictionary* pList = m_pResources->GetDict(type); in FindResourceObj()
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Icon.cpp71 if (CPDF_Dictionary * pDict = m_pPDFStream->GetDict()) in GetImageSize()
85 if (CPDF_Dictionary * pDict = m_pPDFStream->GetDict()) in GetImageMatrix()
100 if (CPDF_Dictionary * pDict = m_pPDFStream->GetDict()) in GetImageAlias()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h80 CPDF_Dictionary* GetDict() const;
328 CPDF_Dictionary* GetDict(FX_DWORD index) const;
425 CPDF_Dictionary* GetDict(FX_BSTR key) const;
516 CPDF_Dictionary* GetDict() const in GetDict() function
589 CPDF_Dictionary* GetDict() const in GetDict() function
591 return m_pStream? m_pStream->GetDict() : NULL; in GetDict()

123