Home
last modified time | relevance | path

Searched refs:KeyExist (Results 1 – 25 of 49) sorted by relevance

12

/external/pdfium/fpdfsdk/
Dfpdf_ext.cpp56 if (pAnnotDict->KeyExist("IT")) in CheckUnSupportAnnot()
71 if (pAnnotDict->KeyExist("FT")) in CheckUnSupportAnnot()
130 if (pRootDict->KeyExist("Collection")) { in CheckUnSupportError()
134 if (pRootDict->KeyExist("Names")) { in CheckUnSupportError()
136 if (pNameDict && pNameDict->KeyExist("EmbeddedFiles")) { in CheckUnSupportError()
140 if (pNameDict && pNameDict->KeyExist("JavaScript")) { in CheckUnSupportError()
Dfpdfppo.cpp31 if (!pDict->KeyExist("Parent") || !pDict->KeyExist("Type")) in PageDictGetInheritableTag()
45 if (pDict->KeyExist(bsSrcTag)) in PageDictGetInheritableTag()
49 if (pp->KeyExist(bsSrcTag)) in PageDictGetInheritableTag()
51 if (!pp->KeyExist("Parent")) in PageDictGetInheritableTag()
61 if (pCurPageDict->KeyExist(key)) in CopyInheritable()
330 if (pDictClone->KeyExist("Type")) { in GetNewObjId()
Dfpdf_flatten.cpp71 if (pStream->KeyExist("Rect")) in ParserStream()
73 else if (pStream->KeyExist("BBox")) in ParserStream()
257 if (pPageDict->KeyExist("CropBox")) in FPDFPage_Flatten()
267 if (pPageDict->KeyExist("ArtBox")) in FPDFPage_Flatten()
306 if (!pPageXObject->KeyExist(sKey)) { in FPDFPage_Flatten()
367 if (pAPDic->KeyExist("Rect")) in FPDFPage_Flatten()
369 else if (pAPDic->KeyExist("BBox")) in FPDFPage_Flatten()
Dfpdfedit_embeddertest.cpp49 ASSERT_TRUE(font_desc->KeyExist("Flags")); in CheckFontDescriptor()
55 ASSERT_TRUE(font_desc->KeyExist("FontBBox")); in CheckFontDescriptor()
65 EXPECT_TRUE(font_desc->KeyExist("ItalicAngle")); in CheckFontDescriptor()
66 EXPECT_TRUE(font_desc->KeyExist("Ascent")); in CheckFontDescriptor()
67 EXPECT_TRUE(font_desc->KeyExist("Descent")); in CheckFontDescriptor()
68 EXPECT_TRUE(font_desc->KeyExist("CapHeight")); in CheckFontDescriptor()
69 EXPECT_TRUE(font_desc->KeyExist("StemV")); in CheckFontDescriptor()
74 EXPECT_TRUE(font_desc->KeyExist(present)); in CheckFontDescriptor()
75 EXPECT_FALSE(font_desc->KeyExist(absent)); in CheckFontDescriptor()
735 ASSERT_TRUE(font_dict->KeyExist("FirstChar")); in TEST_F()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp89 if (pGS->KeyExist("TR2")) { in ProcessExtGS()
121 if (!pGS->KeyExist("op")) in ProcessExtGS()
131 if (pGS->KeyExist("BG2")) { in ProcessExtGS()
138 if (pGS->KeyExist("UCR2")) { in ProcessExtGS()
Dcpdf_contentmarkitem.cpp40 return pDict && pDict->KeyExist("MCID"); in HasMCID()
Dcpdf_contentmark.cpp64 if (pDict && pDict->KeyExist("MCID")) in GetMarkedContentID()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document_unittest.cpp169 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
193 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
206 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
211 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
219 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
Dcpdf_linearized_header.cpp29 if (!pDict->KeyExist(key)) in IsValidNumericDictionaryValue()
63 if (!pDict || !pDict->KeyExist("Linearized") || in Parse()
Dcpdf_crypto_handler.cpp308 (parent_dict->KeyExist(kTypeKey) || parent_dict->KeyExist(kFTKey))) { in DecryptObjectTree()
Dcpdf_document.cpp261 if (pKid->KeyExist("Kids")) { in CountPages()
442 if (!pKid->KeyExist("Kids")) { in TraversePDFPages()
524 if (!pNode->KeyExist("Kids")) { in FindPageIndex()
606 if (!pPages->KeyExist("Kids")) in RetrievePageCount()
Dcpdf_dictionary.h60 bool KeyExist(const ByteString& key) const;
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp171 if (pFontDesc->KeyExist("ItalicAngle")) { in LoadFontDescriptor()
180 if (pFontDesc->KeyExist("StemV")) { in LoadFontDescriptor()
185 if (pFontDesc->KeyExist("Ascent")) { in LoadFontDescriptor()
190 if (pFontDesc->KeyExist("Descent")) { in LoadFontDescriptor()
195 if (pFontDesc->KeyExist("CapHeight")) in LoadFontDescriptor()
329 if (!pFontDesc || !pFontDesc->KeyExist("FontFile2")) in Create()
/external/pdfium/core/fpdfdoc/
Dcpdf_interform.cpp73 if (!pFormDict->KeyExist("DR")) { in InitDict()
97 if (!pFormDict->KeyExist("DA")) in InitDict()
699 if (!pDict->KeyExist(csKey)) in GenerateNewResourceName()
955 if (pFirstKid->KeyExist("T") || pFirstKid->KeyExist("Kids")) { in LoadField()
989 if (!pFieldDict->KeyExist("FT")) { in AddTerminalField()
992 if (!pParentDict || !pParentDict->KeyExist("FT")) in AddTerminalField()
1005 if (!pFieldDict->KeyExist("T") && in AddTerminalField()
1012 if (pParent && pParent != pFieldDict && !pParent->KeyExist("FT")) { in AddTerminalField()
1013 if (pFieldDict->KeyExist("FT")) { in AddTerminalField()
1019 if (pFieldDict->KeyExist("Ff")) { in AddTerminalField()
[all …]
Dcpdf_formcontrol.cpp248 if (m_pWidgetDict->KeyExist("A")) in GetAction()
259 if (m_pWidgetDict->KeyExist("AA")) in GetAdditionalAction()
268 if (m_pWidgetDict->KeyExist("DA")) in GetDefaultAppearance()
320 if (m_pWidgetDict->KeyExist("Q")) in GetControlAlignment()
Dcpdf_action.cpp114 if (!m_pDict || !m_pDict->KeyExist("Next")) in GetSubActionsCount()
128 if (!m_pDict || !m_pDict->KeyExist("Next")) in GetSubAction()
Dcpdf_aaction.cpp48 return m_pDict && m_pDict->KeyExist(g_sAATypes[eType]); in ActionExist()
Dcpdf_annotlist.cpp107 if (pAnnotDict->KeyExist("AS")) in GenerateAP()
111 if (!pParentDict || !pParentDict->KeyExist("AS")) in GenerateAP()
Dcpdf_occontext.cpp158 if (pState->KeyExist(csFind)) in LoadOCGState()
163 if (pState && pState->KeyExist("ViewState")) in LoadOCGState()
Dcpvt_fontmap.cpp40 if (pFontList && !pFontList->KeyExist(*sSysFontAlias)) { in GetAnnotSysPDFFont()
Dcpdf_nametree.cpp122 if ((pKid->KeyExist("Names") && pKid->GetArrayFor("Names")->IsEmpty()) || in UpdateNodesAndLimitsUponDeletion()
123 (pKid->KeyExist("Kids") && pKid->GetArrayFor("Kids")->IsEmpty())) { in UpdateNodesAndLimitsUponDeletion()
Dcpdf_apsettings.cpp22 return m_pDict && m_pDict->KeyExist(csEntry); in HasMKEntry()
Dcpdf_pagelabel.cpp110 if (pLabel->KeyExist("P")) in GetLabel()
Dcpdf_annot.cpp75 if (bFallbackToNormal && !pAP->KeyExist(ap_entry)) in FPDFDOC_GetAnnotAPInternal()
95 as = (!value.IsEmpty() && pDict->KeyExist(value)) ? value : "Off"; in FPDFDOC_GetAnnotAPInternal()
Dcpdf_filespec.cpp106 if (pDict->KeyExist(key)) { in GetFileName()

12