Home
last modified time | relevance | path

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

12

/external/pdfium/fpdfsdk/
Dfpdf_ext.cpp56 if (pAnnotDict->KeyExist("IT")) in CheckUnSupportAnnot()
71 if (pAnnotDict->KeyExist("FT")) in CheckUnSupportAnnot()
132 if (pRootDict->KeyExist("Collection")) { in CheckUnSupportError()
136 if (pRootDict->KeyExist("Names")) { in CheckUnSupportError()
138 if (pNameDict && pNameDict->KeyExist("EmbeddedFiles")) { in CheckUnSupportError()
142 if (pNameDict && pNameDict->KeyExist("JavaScript")) { in CheckUnSupportError()
Dfpdfedit_embeddertest.cpp466 ASSERT_TRUE(font_dict->KeyExist("FirstChar")); in TEST_F()
467 ASSERT_TRUE(font_dict->KeyExist("LastChar")); in TEST_F()
470 ASSERT_TRUE(font_dict->KeyExist("Widths")); in TEST_F()
476 ASSERT_TRUE(font_dict->KeyExist("FontDescriptor")); in TEST_F()
483 ASSERT_TRUE(font_desc->KeyExist("Flags")); in TEST_F()
487 ASSERT_TRUE(font_desc->KeyExist("FontBBox")); in TEST_F()
489 EXPECT_TRUE(font_desc->KeyExist("ItalicAngle")); in TEST_F()
490 EXPECT_TRUE(font_desc->KeyExist("Ascent")); in TEST_F()
491 EXPECT_TRUE(font_desc->KeyExist("Descent")); in TEST_F()
492 EXPECT_TRUE(font_desc->KeyExist("CapHeight")); in TEST_F()
[all …]
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()
324 if (pDictClone->KeyExist("Type")) { in GetNewObjId()
Dfpdf_flatten.cpp75 if (pStream->KeyExist("Rect")) in ParserStream()
77 else if (pStream->KeyExist("BBox")) in ParserStream()
264 if (pPageDict->KeyExist("CropBox")) in FPDFPage_Flatten()
274 if (pPageDict->KeyExist("ArtBox")) in FPDFPage_Flatten()
315 if (!pPageXObject->KeyExist(key)) in FPDFPage_Flatten()
375 if (pAPDic->KeyExist("Rect")) in FPDFPage_Flatten()
377 else if (pAPDic->KeyExist("BBox")) in FPDFPage_Flatten()
Dfpdfeditpage.cpp56 if (!pPage || !pPage->m_pFormDict || !pPage->m_pFormDict->KeyExist("Type")) in IsPageObject()
139 if (pDict->KeyExist("Rotate")) { in FPDFPage_GetRotation()
143 if (!pDict->KeyExist("Parent")) in FPDFPage_GetRotation()
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp99 if (pGS->KeyExist("TR2")) { in ProcessExtGS()
129 if (!pGS->KeyExist("op")) in ProcessExtGS()
139 if (pGS->KeyExist("BG2")) { in ProcessExtGS()
146 if (pGS->KeyExist("UCR2")) { in ProcessExtGS()
Dcpdf_contentmarkitem.cpp40 return pDict && pDict->KeyExist("MCID"); in HasMCID()
Dcpdf_contentmark.cpp102 if (pDict && pDict->KeyExist("MCID")) in GetMCID()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document_unittest.cpp144 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
169 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
182 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
187 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
195 ASSERT_TRUE(page->KeyExist("PageNumbering")); in TEST_F()
Dcpdf_linearized_header.cpp24 if (!pDict->KeyExist(key)) in IsValidNumericDictionaryValue()
41 if (!pDict || !pDict->KeyExist("Linearized") || in CreateForObject()
Dcpdf_stream.cpp126 return m_pDict && m_pDict->KeyExist("Filter"); in HasFilter()
Dcpdf_document.cpp260 if (pKid->KeyExist("Kids")) { in CountPages()
434 if (!pKid->KeyExist("Kids")) { in TraversePDFPages()
523 if (!pNode->KeyExist("Kids")) { in FindPageIndex()
605 if (!pPages->KeyExist("Kids")) in RetrievePageCount()
Dcpdf_dictionary.h61 bool KeyExist(const CFX_ByteString& key) const;
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp167 if (pFontDesc->KeyExist("ItalicAngle")) { in LoadFontDescriptor()
176 if (pFontDesc->KeyExist("StemV")) { in LoadFontDescriptor()
181 if (pFontDesc->KeyExist("Ascent")) { in LoadFontDescriptor()
186 if (pFontDesc->KeyExist("Descent")) { in LoadFontDescriptor()
191 if (pFontDesc->KeyExist("CapHeight")) in LoadFontDescriptor()
324 if (!pFontDesc || !pFontDesc->KeyExist("FontFile2")) in Create()
/external/pdfium/core/fpdfdoc/
Dcpdf_filespec.cpp93 if (pDict->KeyExist("DOS")) { in GetFileName()
96 } else if (pDict->KeyExist("Mac")) { in GetFileName()
99 } else if (pDict->KeyExist("Unix")) { in GetFileName()
Dcpdf_formcontrol.cpp250 if (m_pWidgetDict->KeyExist("A")) in GetAction()
264 if (m_pWidgetDict->KeyExist("AA")) in GetAdditionalAction()
273 if (m_pWidgetDict->KeyExist("DA")) in GetDefaultAppearance()
324 if (m_pWidgetDict->KeyExist("Q")) in GetControlAlignment()
Dcpdf_interform.cpp71 if (!pFormDict->KeyExist("DR")) { in InitDict()
99 if (!pFormDict->KeyExist("DA")) in InitDict()
730 if (!pDict->KeyExist(csKey)) in GenerateNewResourceName()
1045 if (pFirstKid->KeyExist("T") || pFirstKid->KeyExist("Kids")) { in LoadField()
1079 if (!pFieldDict->KeyExist("FT")) { in AddTerminalField()
1082 if (!pParentDict || !pParentDict->KeyExist("FT")) in AddTerminalField()
1095 if (!pFieldDict->KeyExist("T") && in AddTerminalField()
1102 if (pParent && pParent != pFieldDict && !pParent->KeyExist("FT")) { in AddTerminalField()
1103 if (pFieldDict->KeyExist("FT")) { in AddTerminalField()
1109 if (pFieldDict->KeyExist("Ff")) { in AddTerminalField()
[all …]
Dcpdf_action.cpp112 if (!m_pDict || !m_pDict->KeyExist("Next")) in GetSubActionsCount()
126 if (!m_pDict || !m_pDict->KeyExist("Next")) in GetSubAction()
Dcpdf_aaction.cpp18 return m_pDict && m_pDict->KeyExist(g_sAATypes[eType]); in ActionExist()
Dcpdf_occontext.cpp158 if (pState->KeyExist(csFind)) in LoadOCGState()
163 if (pState && pState->KeyExist("ViewState")) in LoadOCGState()
Dcpdf_annot.cpp39 if (pAnnotDict->KeyExist("AP")) in ShouldGenerateAPForAnnotation()
171 if (!pAP->KeyExist(ap_entry)) in FPDFDOC_GetAnnotAP()
188 if (value.IsEmpty() || !pDict->KeyExist(value)) in FPDFDOC_GetAnnotAP()
Dcpvt_fontmap.cpp42 if (pFontList && !pFontList->KeyExist(sSysFontAlias)) { in GetAnnotSysPDFFont()
Dcpvt_generateap.cpp116 if (pBSDict->KeyExist("W")) in GenerateWidgetAP()
191 if (!pStreamResFontList->KeyExist(sFontName)) { in GenerateWidgetAP()
442 if (!pStreamResFontList->KeyExist(sFontName)) { in GenerateWidgetAP()
468 if (pBorderStyleDict->KeyExist("W")) in GetBorderWidth()
556 pAnnotDict.KeyExist("CA") ? pAnnotDict.GetNumberFor("CA") : 1; in GenerateExtGStateDict()
700 if (!pAnnotDict->KeyExist("AS")) { in FPDF_GenerateAP()
702 if (pParentDict->KeyExist("AS")) { in FPDF_GenerateAP()
Dcpdf_apsettings.cpp18 return m_pDict && m_pDict->KeyExist(csEntry); in HasMKEntry()
Dcpdf_pagelabel.cpp106 if (pLabel->KeyExist("P")) in GetLabel()

12