Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp97 if (pGS->KeyExist("TR2")) { in ProcessExtGS()
130 if (!pGS->KeyExist("op")) in ProcessExtGS()
140 if (pGS->KeyExist("BG2")) { in ProcessExtGS()
148 if (pGS->KeyExist("UCR2")) { in ProcessExtGS()
Dcpdf_contentmarkitem.cpp37 return pDict && pDict->KeyExist("MCID"); in HasMCID()
Dcpdf_occontext.cpp159 if (pState->KeyExist(csFind)) in LoadOCGState()
164 if (pState && pState->KeyExist("ViewState")) in LoadOCGState()
Dcpdf_contentmarks.cpp131 if (pDict && pDict->KeyExist("MCID")) in GetMarkedContentID()
/external/pdfium/fpdfsdk/
Dfpdf_flatten.cpp71 if (pStream->KeyExist("Rect")) in ParserStream()
73 else if (pStream->KeyExist("BBox")) in ParserStream()
269 if (pPageDict->KeyExist(pdfium::page_object::kCropBox)) in FPDFPage_Flatten()
276 if (pPageDict->KeyExist(pdfium::page_object::kCropBox)) in FPDFPage_Flatten()
308 if (!pPageXObject->KeyExist(sKey)) { in FPDFPage_Flatten()
371 if (pAPDict->KeyExist("Rect")) in FPDFPage_Flatten()
373 else if (pAPDict->KeyExist("BBox")) in FPDFPage_Flatten()
Dfpdf_ppo.cpp144 if (!pDict->KeyExist(pdfium::page_object::kParent) || in PageDictGetInheritableTag()
145 !pDict->KeyExist(pdfium::page_object::kType)) { in PageDictGetInheritableTag()
161 if (pDict->KeyExist(bsSrcTag)) in PageDictGetInheritableTag()
165 if (pp->KeyExist(bsSrcTag)) in PageDictGetInheritableTag()
167 if (!pp->KeyExist(pdfium::page_object::kParent)) in PageDictGetInheritableTag()
185 if (pPageDict->KeyExist(pdfium::page_object::kCropBox)) in GetCropBox()
193 if (pDestPageDict->KeyExist(key)) in CopyInheritable()
419 if (pDictClone->KeyExist("Type")) { in GetNewObjId()
Dcpdfsdk_helpers.cpp331 if (pRootDict->KeyExist("Collection")) { in ReportUnsupportedFeatures()
335 if (pRootDict->KeyExist("Names")) { in ReportUnsupportedFeatures()
337 if (pNameDict && pNameDict->KeyExist("EmbeddedFiles")) { in ReportUnsupportedFeatures()
341 if (pNameDict && pNameDict->KeyExist("JavaScript")) { in ReportUnsupportedFeatures()
Dfpdf_thumbnail.cpp26 if (!page_dict->KeyExist("Type")) in CPDFStreamForThumbnailFromPage()
Dfpdf_edit_embeddertest.cpp54 ASSERT_TRUE(font_desc->KeyExist("Flags")); in CheckFontDescriptor()
60 ASSERT_TRUE(font_desc->KeyExist("FontBBox")); in CheckFontDescriptor()
70 EXPECT_TRUE(font_desc->KeyExist("ItalicAngle")); in CheckFontDescriptor()
71 EXPECT_TRUE(font_desc->KeyExist("Ascent")); in CheckFontDescriptor()
72 EXPECT_TRUE(font_desc->KeyExist("Descent")); in CheckFontDescriptor()
73 EXPECT_TRUE(font_desc->KeyExist("CapHeight")); in CheckFontDescriptor()
74 EXPECT_TRUE(font_desc->KeyExist("StemV")); in CheckFontDescriptor()
79 EXPECT_TRUE(font_desc->KeyExist(present)); in CheckFontDescriptor()
80 EXPECT_FALSE(font_desc->KeyExist(absent)); in CheckFontDescriptor()
2434 ASSERT_TRUE(font_dict->KeyExist("FirstChar")); in TEST_F()
[all …]
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp165 if (pFontDesc->KeyExist("ItalicAngle")) { in LoadFontDescriptor()
174 if (pFontDesc->KeyExist("StemV")) { in LoadFontDescriptor()
179 if (pFontDesc->KeyExist("Ascent")) { in LoadFontDescriptor()
184 if (pFontDesc->KeyExist("Descent")) { in LoadFontDescriptor()
189 if (pFontDesc->KeyExist("CapHeight")) in LoadFontDescriptor()
323 if (!pFontDesc || !pFontDesc->KeyExist("FontFile2")) in Create()
Dcpdf_truetypefont.cpp99 bool bToUnicode = m_pFontDict->KeyExist("ToUnicode"); in LoadGlyphMap()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document_unittest.cpp176 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
200 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
213 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
218 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
226 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
Dcpdf_linearized_header.cpp30 if (!pDict->KeyExist(key)) in IsValidNumericDictionaryValue()
63 if (!pDict || !pDict->KeyExist("Linearized") || in Parse()
Dcpdf_document.cpp47 if (pKid->KeyExist("Kids")) { in CountPages()
156 if (!pKid->KeyExist("Kids")) { in TraversePDFPages()
251 if (!pNode->KeyExist("Kids")) { in FindPageIndex()
333 if (!pPages->KeyExist("Kids")) in RetrievePageCount()
Dcpdf_crypto_handler.cpp296 (parent_dict->KeyExist(kTypeKey) || in DecryptObjectTree()
297 parent_dict->KeyExist(pdfium::form_fields::kFT))) { in DecryptObjectTree()
/external/pdfium/core/fpdfdoc/
Dcpdf_formcontrol.cpp178 if (m_pWidgetDict->KeyExist("A")) in GetAction()
189 if (m_pWidgetDict->KeyExist("AA")) in GetAdditionalAction()
198 if (m_pWidgetDict->KeyExist("DA")) in GetDefaultAppearance()
260 if (m_pWidgetDict->KeyExist("Q")) in GetControlAlignment()
Dcpdf_interactiveform.cpp68 if (!pDict->KeyExist(csKey)) in GenerateNewFontResourceName()
91 if (!pFormDict->KeyExist("DR")) { in InitDict()
117 if (!pFormDict->KeyExist("DA")) in InitDict()
863 if (pFirstKid->KeyExist(pdfium::form_fields::kT) || in LoadField()
864 pFirstKid->KeyExist(pdfium::form_fields::kKids)) { in LoadField()
894 if (!pFieldDict->KeyExist(pdfium::form_fields::kFT)) { in AddTerminalField()
898 if (!pParentDict || !pParentDict->KeyExist(pdfium::form_fields::kFT)) in AddTerminalField()
911 if (!pFieldDict->KeyExist(pdfium::form_fields::kT) && in AddTerminalField()
919 !pParent->KeyExist(pdfium::form_fields::kFT)) { in AddTerminalField()
920 if (pFieldDict->KeyExist(pdfium::form_fields::kFT)) { in AddTerminalField()
[all …]
Dcpdf_action.cpp164 if (!m_pDict || !m_pDict->KeyExist("Next")) in GetSubActionsCount()
177 if (!m_pDict || !m_pDict->KeyExist("Next")) in GetSubAction()
Dcpdf_aaction.cpp51 return m_pDict && m_pDict->KeyExist(kAATypes[eType]); in ActionExist()
Dcpvt_fontmap.cpp45 !pFontList->KeyExist(*sSysFontAlias)) { in GetAnnotSysPDFFont()
Dcpdf_pagelabel.cpp110 if (pLabel->KeyExist("P")) in GetLabel()
Dcpdf_annotlist.cpp158 if (pAnnotDict->KeyExist(pdfium::annotation::kAS)) in GenerateAP()
163 if (!pParentDict || !pParentDict->KeyExist(pdfium::annotation::kAS)) in GenerateAP()
Dcpdf_apsettings.cpp23 return m_pDict && m_pDict->KeyExist(csEntry); in HasMKEntry()
Dcpdf_nametree.cpp122 if ((pKid->KeyExist("Names") && pKid->GetArrayFor("Names")->IsEmpty()) || in UpdateNodesAndLimitsUponDeletion()
123 (pKid->KeyExist("Kids") && pKid->GetArrayFor("Kids")->IsEmpty())) { in UpdateNodesAndLimitsUponDeletion()
Dcpdf_annot.cpp70 if (bFallbackToNormal && !pAP->KeyExist(ap_entry)) in GetAnnotAPInternal()
90 as = (!value.IsEmpty() && pDict->KeyExist(value)) ? value : "Off"; in GetAnnotAPInternal()

12