Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfapi/page/
Dcpdf_occontext.cpp109 bool bState = pConfig->GetStringFor("BaseState", "ON") != "OFF"; in LoadOCGStateFromConfig()
130 if (pUsage->GetStringFor("Event", "View") != csConfig) in LoadOCGStateFromConfig()
144 bState = pState->GetStringFor(csFind) != "OFF"; in LoadOCGStateFromConfig()
160 return pState->GetStringFor(csFind) != "OFF"; in LoadOCGState()
165 return pState->GetStringFor("ViewState") != "OFF"; in LoadOCGState()
245 ByteString csP = pOCMDDict->GetStringFor("P", "AnyOn"); in LoadOCMDState()
283 ByteString csType = pOCGDict->GetStringFor("Type", "OCG"); in CheckOCGVisible()
/external/pdfium/core/fpdfdoc/
Dcpdf_viewerpreferences.cpp20 return pDict && pDict->GetStringFor("Direction") == "R2L"; in IsDirectionR2L()
25 return !pDict || pDict->GetStringFor("PrintScaling") != "None"; in PrintScaling()
40 return pDict ? pDict->GetStringFor("Duplex") : ByteString("None"); in Duplex()
Dcpdf_action.cpp45 ByteString csType = m_pDict->GetStringFor("S"); in GetType()
93 pWinDict->GetStringFor(pdfium::stream::kF).AsStringView()); in GetFilePath()
101 ByteString csURI = m_pDict->GetStringFor("URI"); in GetURI()
120 return m_pDict->GetStringFor("N"); in GetNamedAction()
132 ByteString csType = m_pDict->GetStringFor("S"); in GetAllFields()
Dcpdf_structelement.cpp24 ByteString type = pDict->GetStringFor("S"); in GetStructElementType()
26 ByteString mapped = pTree->GetRoleMap()->GetStringFor(type); in GetStructElementType()
118 ByteString type = pKidDict->GetStringFor("Type"); in LoadKid()
Dcpdf_iconfit.cpp29 ByteString csSW = m_pDict->GetStringFor("SW", "A"); in GetScaleMethod()
40 return !m_pDict || m_pDict->GetStringFor("S", "P") != "A"; in IsProportionalScale()
Dcpdf_formcontrol.cpp90 ByteString csAS = m_pWidgetDict->GetStringFor("AS"); in IsChecked()
109 ByteString csOldAS = m_pWidgetDict->GetStringFor("AS", "Off"); in CheckControl()
123 ByteString csH = m_pWidgetDict->GetStringFor("H", "I"); in GetHighlightingMode()
199 return CPDF_DefaultAppearance(m_pWidgetDict->GetStringFor("DA")); in GetDefaultAppearance()
Dcpdf_annotlist.cpp94 pParentDict->GetStringFor(pdfium::form_fields::kT), false); in CreatePopupAnnot()
127 pAnnotDict->GetStringFor(pdfium::annotation::kSubtype) != "Widget") { in GenerateAP()
168 pParentDict->GetStringFor(pdfium::annotation::kAS), false); in GenerateAP()
188 pDict->GetStringFor(pdfium::annotation::kSubtype); in CPDF_AnnotList()
Dcpdf_interactiveform.cpp137 if (!pElement || pElement->GetStringFor("Type") != "Font") in GetFont()
165 if (!pElement || pElement->GetStringFor("Type") != "Font") in GetNativeFont()
207 if (pElement->GetStringFor("Type") != "Font") in FindFont()
243 if (!pElement || pElement->GetStringFor("Type") != "Font") in FindFont()
805 return CPDF_DefaultAppearance(m_pFormDict->GetStringFor("DA")); in GetDefaultAppearance()
888 if (pAnnot && pAnnot->GetStringFor("Subtype") == "Widget") in FixPageFields()
912 pFieldDict->GetStringFor("Subtype") == "Widget") { in AddTerminalField()
955 if (pKid->GetStringFor("Subtype") != "Widget") in AddTerminalField()
961 if (pFieldDict->GetStringFor("Subtype") == "Widget") in AddTerminalField()
1004 pFieldDict->GetStringFor(pdfium::form_fields::kV).IsEmpty()) { in CheckRequiredFields()
[all …]
Dcpdf_annot.cpp83 ByteString as = pAnnotDict->GetStringFor(pdfium::annotation::kAS); in GetAnnotAPInternal()
85 ByteString value = pAnnotDict->GetStringFor("V"); in GetAnnotAPInternal()
88 value = pParentDict ? pParentDict->GetStringFor("V") : ByteString(); in GetAnnotAPInternal()
114 m_pAnnotDict->GetStringFor(pdfium::annotation::kSubtype)); in Init()
484 ByteString style = pBS->GetStringFor("S"); in DrawBorder()
Dcpdf_filespec.cpp110 if (pDict->GetStringFor("FS") == "URL") in GetFileName()
142 size_t end = pDict->GetStringFor("FS") == "URL" ? 2 : FX_ArraySize(kKeys); in GetFileStream()
Dcpdf_icon.cpp38 return pDict->GetStringFor("Name"); in GetImageAlias()
Dcba_fontmap.cpp199 if (m_pAnnotDict->GetStringFor(pdfium::annotation::kSubtype) != "Widget") in FindFontSameCharset()
236 if (!pElement || pElement->GetStringFor("Type") != "Font") in FindResFontSameCharset()
259 (m_pAnnotDict->GetStringFor(pdfium::annotation::kSubtype) == "Widget"); in GetAnnotDefaultFont()
Dcpdf_linklist.cpp65 bool add_link = (pAnnot && pAnnot->GetStringFor("Subtype") == "Link"); in LoadPageLinks()
Dcpdf_pagelabel.cpp113 ByteString bsNumberingStyle = pLabel->GetStringFor("S", ByteString()); in GetLabel()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp50 ByteString okey = pEncrypt->GetStringFor("O"); in CalcEncryptKey()
218 if (m_pEncryptDict && m_pEncryptDict->GetStringFor("Filter") == "Standard") { in GetPermissions()
262 ByteString cipher_name = pDefFilter->GetStringFor("CFM"); in LoadCryptInfo()
287 ByteString stmf_name = pEncryptDict->GetStringFor("StmF"); in LoadDict()
288 ByteString strf_name = pEncryptDict->GetStringFor("StrF"); in LoadDict()
306 stmf_name = pEncryptDict->GetStringFor("StmF"); in LoadDict()
307 strf_name = pEncryptDict->GetStringFor("StrF"); in LoadDict()
324 ByteString okey = m_pEncryptDict->GetStringFor("O"); in AES256_CheckPassword()
328 ByteString ukey = m_pEncryptDict->GetStringFor("U"); in AES256_CheckPassword()
360 ByteString ekey = m_pEncryptDict->GetStringFor(bOwner ? "OE" : "UE"); in AES256_CheckPassword()
[all …]
Dcpdf_page_object_avail.cpp16 object->GetDict()->GetStringFor("Type") == "Page"; in ExcludeObject()
Dcpdf_dictionary.h53 ByteString GetStringFor(const ByteString& key) const;
54 ByteString GetStringFor(const ByteString& key,
Dcpdf_stream.cpp27 return dict && dict->GetStringFor("Type") == "Metadata" && in IsMetaDataStreamDictionary()
28 dict->GetStringFor("Subtype") == "XML"; in IsMetaDataStreamDictionary()
Dcpdf_object_stream.cpp31 if (stream_dict->GetStringFor("Type") != "ObjStm") in IsObjectsStreamObject()
/external/pdfium/fpdfsdk/
Dfpdf_annot_unittest.cpp76 ByteString type = stream_dict->GetStringFor(pdfium::annotation::kType); in TEST_F()
78 ByteString sub_type = stream_dict->GetStringFor(pdfium::annotation::kSubtype); in TEST_F()
128 ByteString type = gs_dict->GetStringFor(pdfium::annotation::kType); in TEST_F()
133 ByteString blend_mode = gs_dict->GetStringFor("BM"); in TEST_F()
Dfpdf_edit_embeddertest.cpp48 EXPECT_EQ("FontDescriptor", font_desc->GetStringFor("Type")); in CheckFontDescriptor()
49 EXPECT_EQ(font_dict->GetStringFor("BaseFont"), in CheckFontDescriptor()
50 font_desc->GetStringFor("FontName")); in CheckFontDescriptor()
2431 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
2432 EXPECT_EQ("Type1", font_dict->GetStringFor("Subtype")); in TEST_F()
2433 EXPECT_EQ("TimesNewRomanPS-BoldMT", font_dict->GetStringFor("BaseFont")); in TEST_F()
2460 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
2461 EXPECT_EQ("TrueType", font_dict->GetStringFor("Subtype")); in TEST_F()
2462 EXPECT_EQ("CourierNewPSMT", font_dict->GetStringFor("BaseFont")); in TEST_F()
2490 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
[all …]
Dcpdfsdk_baannot.cpp111 return GetAnnotDict()->GetStringFor(pdfium::annotation::kAS); in GetAppState()
170 ByteString sBorderStyle = pBSDict->GetStringFor("S", "S"); in GetBorderStyle()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp304 EXPECT_EQ("Font", fontDict->GetStringFor("Type")); in TEST_F()
305 EXPECT_EQ("Type1", fontDict->GetStringFor("Subtype")); in TEST_F()
306 EXPECT_EQ("Times-Roman", fontDict->GetStringFor("BaseFont")); in TEST_F()
366 EXPECT_EQ("Font", fontDict->GetStringFor("Type")); in TEST_F()
367 EXPECT_EQ("TrueType", fontDict->GetStringFor("Subtype")); in TEST_F()
368 EXPECT_EQ("Helvetica", fontDict->GetStringFor("BaseFont")); in TEST_F()
372 EXPECT_EQ("FontDescriptor", fontDesc->GetStringFor("Type")); in TEST_F()
373 EXPECT_EQ("Helvetica", fontDesc->GetStringFor("FontName")); in TEST_F()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cidfont.cpp327 if (m_pFontDict->GetStringFor("Subtype") == "TrueType") { in Load()
340 m_BaseFontName = pCIDFontDict->GetStringFor("BaseFont"); in Load()
353 ByteString subtype = pCIDFontDict->GetStringFor("Subtype"); in Load()
378 pCIDInfo->GetStringFor("Ordering").AsStringView()); in Load()
820 m_BaseFontName = m_pFontDict->GetStringFor("BaseFont"); in LoadGB2312()
Dcpdf_font.cpp51 m_BaseFontName(pFontDict->GetStringFor("BaseFont")) {} in CPDF_Font()
315 ByteString type = pFontDict->GetStringFor("Subtype"); in Create()
318 ByteString tag = pFontDict->GetStringFor("BaseFont").First(4); in Create()

12