Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfdoc/
Dcpdf_action.cpp34 ByteString type = m_pDict->GetStringFor("S"); in GetDest()
55 ByteString csType = m_pDict->GetStringFor("S"); in GetType()
67 ByteString type = m_pDict->GetStringFor("S"); in GetFilePath()
80 return WideString::FromLocal(pWinDict->GetStringFor("F").AsStringView()); in GetFilePath()
90 if (m_pDict->GetStringFor("S") != "URI") in GetURI()
93 csURI = m_pDict->GetStringFor("URI"); in GetURI()
99 csURI = pURI->GetStringFor("Base") + csURI; in GetURI()
Dcpdf_occontext.cpp108 bool bState = pConfig->GetStringFor("BaseState", "ON") != "OFF"; in LoadOCGStateFromConfig()
129 if (pUsage->GetStringFor("Event", "View") != csConfig) in LoadOCGStateFromConfig()
143 bState = pState->GetStringFor(csFind) != "OFF"; in LoadOCGStateFromConfig()
159 return pState->GetStringFor(csFind) != "OFF"; in LoadOCGState()
164 return pState->GetStringFor("ViewState") != "OFF"; in LoadOCGState()
244 ByteString csP = pOCMDDict->GetStringFor("P", "AnyOn"); in LoadOCMDState()
282 ByteString csType = pOCGDict->GetStringFor("Type", "OCG"); in CheckOCGVisible()
Dcpdf_viewerpreferences.cpp19 return pDict ? pDict->GetStringFor("Direction") == "R2L" : false; in IsDirectionR2L()
24 return pDict ? pDict->GetStringFor("PrintScaling") != "None" : true; in PrintScaling()
39 return pDict ? pDict->GetStringFor("Duplex") : ByteString("None"); in Duplex()
Dcpdf_structelement.cpp35 m_Type(pDict->GetStringFor("S")), in CPDF_StructElement()
36 m_Title(pDict->GetStringFor("T")) { in CPDF_StructElement()
38 ByteString mapped = pTree->GetRoleMap()->GetStringFor(m_Type); in CPDF_StructElement()
104 ByteString type = pKidDict->GetStringFor("Type"); in LoadKid()
Dcpdf_filespec.cpp98 WideString::FromLocal(pDict->GetStringFor("F").AsStringView()); in GetFileName()
100 if (pDict->GetStringFor("FS") == "URL") in GetFileName()
108 WideString::FromLocal(pDict->GetStringFor(key).AsStringView()); in GetFileName()
132 size_t end = pDict->GetStringFor("FS") == "URL" ? 2 : FX_ArraySize(keys); in GetFileStream()
Dcpdf_actionfields.cpp26 ByteString csType = pDict->GetStringFor("S"); in GetFieldsCount()
53 ByteString csType = pDict->GetStringFor("S"); in GetAllFields()
83 ByteString csType = pDict->GetStringFor("S"); in GetField()
Dcpdf_formcontrol.cpp65 ByteString csAS = m_pWidgetDict->GetStringFor("AS", "Off"); in SetOnStateName()
133 ByteString csAS = m_pWidgetDict->GetStringFor("AS"); in IsChecked()
153 ByteString csOldAS = m_pWidgetDict->GetStringFor("AS", "Off"); in CheckControl()
193 ByteString csH = m_pWidgetDict->GetStringFor("H", "I"); in GetHighlightingMode()
269 return CPDF_DefaultAppearance(m_pWidgetDict->GetStringFor("DA")); in GetDefaultAppearance()
Dcpdf_iconfit.cpp23 ByteString csSW = m_pDict->GetStringFor("SW", "A"); in GetScaleMethod()
34 return m_pDict ? m_pDict->GetStringFor("S", "P") != "A" : true; in IsProportionalScale()
Dcpdf_annotlist.cpp47 pAnnotDict->SetNewFor<CPDF_String>("T", pParentDict->GetStringFor("T"), in CreatePopupAnnot()
79 if (!pAnnotDict || pAnnotDict->GetStringFor("Subtype") != "Widget") in GenerateAP()
114 pAnnotDict->SetNewFor<CPDF_String>("AS", pParentDict->GetStringFor("AS"), in GenerateAP()
137 const ByteString subtype = pDict->GetStringFor("Subtype"); in CPDF_AnnotList()
Dcpdf_interform.cpp45 const ByteString csBValue = pFieldDict.GetStringFor("V"); in GetFieldValue()
120 if (pElement->GetStringFor("Type") == "Font") in GetFont()
148 if (pElement->GetStringFor("Type") != "Font") in GetNativeFont()
187 if (pElement->GetStringFor("Type") != "Font") in FindFont()
224 if (pElement->GetStringFor("Type") != "Font") in FindFont()
894 return CPDF_DefaultAppearance(m_pFormDict->GetStringFor("DA")); in GetDefaultAppearance()
983 if (pAnnot && pAnnot->GetStringFor("Subtype") == "Widget") in FixPageFields()
1006 pFieldDict->GetStringFor("Subtype") == "Widget") { in AddTerminalField()
1046 if (pKid->GetStringFor("Subtype") != "Widget") in AddTerminalField()
1052 if (pFieldDict->GetStringFor("Subtype") == "Widget") in AddTerminalField()
[all …]
Dcpdf_annot.cpp88 ByteString as = pAnnotDict->GetStringFor("AS"); in FPDFDOC_GetAnnotAPInternal()
90 ByteString value = pAnnotDict->GetStringFor("V"); in FPDFDOC_GetAnnotAPInternal()
93 value = pParentDict ? pParentDict->GetStringFor("V") : ByteString(); in FPDFDOC_GetAnnotAPInternal()
118 m_nSubtype = StringToAnnotSubtype(m_pAnnotDict->GetStringFor("Subtype")); in Init()
449 ByteString style = pBS->GetStringFor("S"); in DrawBorder()
Dcpdf_action.h50 ByteString GetNamedAction() const { return m_pDict->GetStringFor("N"); } in GetNamedAction()
Dcpdf_linklist.cpp64 bool add_link = (pAnnot && pAnnot->GetStringFor("Subtype") == "Link"); in LoadPageLinks()
/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp43 EXPECT_EQ("FontDescriptor", font_desc->GetStringFor("Type")); in CheckFontDescriptor()
44 EXPECT_EQ(font_dict->GetStringFor("BaseFont"), in CheckFontDescriptor()
45 font_desc->GetStringFor("FontName")); in CheckFontDescriptor()
732 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
733 EXPECT_EQ("Type1", font_dict->GetStringFor("Subtype")); in TEST_F()
734 EXPECT_EQ("Times New Roman Bold", font_dict->GetStringFor("BaseFont")); in TEST_F()
761 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
762 EXPECT_EQ("TrueType", font_dict->GetStringFor("Subtype")); in TEST_F()
763 EXPECT_EQ("Courier New", font_dict->GetStringFor("BaseFont")); in TEST_F()
792 EXPECT_EQ("Font", font_dict->GetStringFor("Type")); in TEST_F()
[all …]
Dcpdfsdk_baannot.cpp141 ByteString str = m_pAnnot->GetAnnotDict()->GetStringFor("M"); in GetModifiedDate()
164 return m_pAnnot->GetAnnotDict()->GetStringFor("AS"); in GetAppState()
228 ByteString sBorderStyle = pBSDict->GetStringFor("S", "S"); in GetBorderStyle()
Dfpdf_ext.cpp57 cbString = pAnnotDict->GetStringFor("IT"); in CheckUnSupportAnnot()
72 cbString = pAnnotDict->GetStringFor("FT"); in CheckUnSupportAnnot()
Dfpdfppo.cpp167 ByteString cbRootType = pNewRoot->GetStringFor("Type", ""); in PDFDocInit()
180 ByteString cbPageType = pNewPages->GetStringFor("Type", ""); in PDFDocInit()
331 ByteString strType = pDictClone->GetStringFor("Type"); in GetNewObjId()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp45 ByteString okey = pEncrypt->GetStringFor("O"); in CalcEncryptKey()
157 ByteString cipher_name = pDefFilter->GetStringFor("CFM"); in LoadCryptInfo()
179 ByteString stmf_name = pEncryptDict->GetStringFor("StmF"); in LoadDict()
180 ByteString strf_name = pEncryptDict->GetStringFor("StrF"); in LoadDict()
198 stmf_name = pEncryptDict->GetStringFor("StmF"); in LoadDict()
199 strf_name = pEncryptDict->GetStringFor("StrF"); in LoadDict()
313 ByteString okey = m_pEncryptDict->GetStringFor("O"); in AES256_CheckPassword()
317 ByteString ukey = m_pEncryptDict->GetStringFor("U"); in AES256_CheckPassword()
352 ByteString ekey = m_pEncryptDict->GetStringFor(bOwner ? "OE" : "UE"); in AES256_CheckPassword()
365 ByteString perms = m_pEncryptDict->GetStringFor("Perms"); in AES256_CheckPassword()
[all …]
Dcpdf_dictionary.h45 ByteString GetStringFor(const ByteString& key) const;
46 ByteString GetStringFor(const ByteString& key,
Dcpdf_page_object_avail.cpp16 object->GetDict()->GetStringFor("Type") == "Page"; in ExcludeObject()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp223 EXPECT_EQ("Font", fontDict->GetStringFor("Type")); in TEST_F()
224 EXPECT_EQ("Type1", fontDict->GetStringFor("Subtype")); in TEST_F()
225 EXPECT_EQ("Times-Roman", fontDict->GetStringFor("BaseFont")); in TEST_F()
281 EXPECT_EQ("Font", fontDict->GetStringFor("Type")); in TEST_F()
282 EXPECT_EQ("TrueType", fontDict->GetStringFor("Subtype")); in TEST_F()
283 EXPECT_EQ("Helvetica", fontDict->GetStringFor("BaseFont")); in TEST_F()
287 EXPECT_EQ("FontDescriptor", fontDesc->GetStringFor("Type")); in TEST_F()
288 EXPECT_EQ("Helvetica", fontDesc->GetStringFor("FontName")); in TEST_F()
/external/pdfium/fpdfsdk/formfiller/
Dcba_fontmap.cpp88 if (m_pAnnotDict->GetStringFor("Subtype") != "Widget") in FindFontSameCharset()
131 if (pElement->GetStringFor("Type") != "Font") in FindResFontSameCharset()
198 const bool bWidget = (m_pAnnotDict->GetStringFor("Subtype") == "Widget"); in GetAnnotDefaultFont()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp322 ByteString type = pFontDict->GetStringFor("Subtype"); in Create()
325 ByteString tag = pFontDict->GetStringFor("BaseFont").Left(4); in Create()
345 pFont->m_BaseFont = pFontDict->GetStringFor("BaseFont"); in Create()
397 ByteString bsEncoding = pDict->GetStringFor("BaseEncoding"); in LoadPDFEncoding()
Dcpdf_cidfont.cpp336 if (m_pFontDict->GetStringFor("Subtype") == "TrueType") { in Load()
349 m_BaseFont = pCIDFontDict->GetStringFor("BaseFont"); in Load()
365 ByteString subtype = pCIDFontDict->GetStringFor("Subtype"); in Load()
389 pCIDInfo->GetStringFor("Ordering").AsStringView()); in Load()
843 m_BaseFont = m_pFontDict->GetStringFor("BaseFont"); in LoadGB2312()
/external/pdfium/core/fpdfapi/page/
Dcpdf_pageobjectholder.cpp83 if (pGroup->GetStringFor("S") != "Transparency") { in LoadTransInfo()

12