Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcpdf_apsettings.cpp16 CPDF_ApSettings::CPDF_ApSettings(CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_ApSettings()
23 return m_pDict && m_pDict->KeyExist(csEntry); in HasMKEntry()
27 return m_pDict ? m_pDict->GetIntegerFor("R") : 0; in GetRotation()
33 if (!m_pDict) in GetColor()
36 CPDF_Array* pEntry = m_pDict->GetArrayFor(csEntry); in GetColor()
70 if (!m_pDict) in GetOriginalColor()
73 CPDF_Array* pEntry = m_pDict->GetArrayFor(csEntry); in GetOriginalColor()
84 if (!m_pDict) in GetOriginalColor()
87 CPDF_Array* pEntry = m_pDict->GetArrayFor(csEntry); in GetOriginalColor()
110 return m_pDict ? m_pDict->GetUnicodeTextFor(csEntry) : WideString(); in GetCaption()
[all …]
Dcpdf_action.cpp27 CPDF_Action::CPDF_Action(const CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_Action()
34 if (!m_pDict) in GetType()
38 const CPDF_Object* pType = m_pDict->GetObjectFor("Type"); in GetType()
45 ByteString csType = m_pDict->GetStringFor("S"); in GetType()
61 const CPDF_Object* pDest = m_pDict->GetDirectObjectFor("D"); in GetDest()
81 const CPDF_Object* pFile = m_pDict->GetDirectObjectFor(pdfium::stream::kF); in GetFilePath()
88 const CPDF_Dictionary* pWinDict = m_pDict->GetDictFor("Win"); in GetFilePath()
101 ByteString csURI = m_pDict->GetStringFor("URI"); in GetURI()
116 return m_pDict->GetBooleanFor("H", true); in GetHideStatus()
120 return m_pDict->GetStringFor("N"); in GetNamedAction()
[all …]
Dcpdf_iconfit.cpp19 CPDF_IconFit::CPDF_IconFit(const CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_IconFit()
26 if (!m_pDict) in GetScaleMethod()
29 ByteString csSW = m_pDict->GetStringFor("SW", "A"); in GetScaleMethod()
40 return !m_pDict || m_pDict->GetStringFor("S", "P") != "A"; in IsProportionalScale()
46 if (!m_pDict) in GetIconBottomLeftPosition()
49 const CPDF_Array* pA = m_pDict->GetArrayFor("A"); in GetIconBottomLeftPosition()
62 return m_pDict && m_pDict->GetBooleanFor("FB", false); in GetFittingBounds()
66 if (!m_pDict) in GetIconPosition()
69 const CPDF_Array* pA = m_pDict->GetArrayFor("A"); in GetIconPosition()
Dcpdf_formfield.cpp98 : m_pForm(pForm), m_pDict(pDict) { in CPDF_FormField()
106 GetFieldAttr(m_pDict.Get(), pdfium::form_fields::kFT); in InitFieldFlags()
144 return GetFullNameForDict(m_pDict.Get()); in GetFullName()
195 bool bHasRV = !!GetFieldAttr(m_pDict.Get(), "RV"); in ResetField()
208 m_pDict->SetFor(pdfium::form_fields::kV, std::move(pClone)); in ResetField()
210 m_pDict->SetFor("RV", pDV->Clone()); in ResetField()
213 m_pDict->RemoveFor(pdfium::form_fields::kV); in ResetField()
214 m_pDict->RemoveFor("RV"); in ResetField()
265 CPDF_Object* pObj = GetFieldAttr(m_pDict.Get(), pdfium::form_fields::kAA); in GetAdditionalAction()
271 GetFieldAttr(m_pDict.Get(), pdfium::form_fields::kTU); in GetAlternateName()
[all …]
Dcpdf_bookmark.cpp23 CPDF_Bookmark::CPDF_Bookmark(const CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_Bookmark()
28 if (!m_pDict) in GetTitle()
31 const CPDF_String* pString = ToString(m_pDict->GetDirectObjectFor("Title")); in GetTitle()
49 if (!m_pDict) in GetDest()
52 const CPDF_Object* pDest = m_pDict->GetDirectObjectFor("Dest"); in GetDest()
66 return CPDF_Action(m_pDict ? m_pDict->GetDictFor("A") : nullptr); in GetAction()
Dcpdf_aaction.cpp44 CPDF_AAction::CPDF_AAction(const CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_AAction()
51 return m_pDict && m_pDict->KeyExist(kAATypes[eType]); in ActionExist()
55 return CPDF_Action(m_pDict ? m_pDict->GetDictFor(kAATypes[eType]) : nullptr); in GetAction()
Dcpdf_link.cpp15 CPDF_Link::CPDF_Link(CPDF_Dictionary* pDict) : m_pDict(pDict) {} in CPDF_Link()
22 return m_pDict->GetRectFor("Rect"); in GetRect()
26 CPDF_Object* pDest = m_pDict->GetDirectObjectFor("Dest"); in GetDest()
40 return CPDF_Action(m_pDict->GetDictFor("A")); in GetAction()
Dcpdf_structelement.h34 RetainPtr<const CPDF_Dictionary> m_pDict; // For Element. variable
47 const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict()
66 RetainPtr<const CPDF_Dictionary> const m_pDict; variable
Dcpdf_structelement.cpp46 m_pDict(pDict), in CPDF_StructElement()
47 m_Type(GetStructElementType(m_pTree.Get(), m_pDict.Get())) { in CPDF_StructElement()
48 LoadKids(m_pDict.Get()); in CPDF_StructElement()
142 pKid->m_pDict.Reset(pKidDict); in LoadKid()
Dcpdf_link.h24 CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict()
30 RetainPtr<CPDF_Dictionary> m_pDict;
Dcpdf_bookmark.h25 const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict()
32 RetainPtr<const CPDF_Dictionary> m_pDict;
Dcpdf_aaction.h49 const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict()
54 RetainPtr<const CPDF_Dictionary> const m_pDict;
Dcpdf_action.h49 const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict()
73 RetainPtr<const CPDF_Dictionary> const m_pDict; variable
Dcpdf_formfield.h87 CPDF_Dictionary* GetFieldDict() const { return m_pDict.Get(); } in GetFieldDict()
139 CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict()
186 RetainPtr<CPDF_Dictionary> const m_pDict; variable
Dcpdf_iconfit.h31 RetainPtr<const CPDF_Dictionary> const m_pDict;
Dcpdf_apsettings.h83 RetainPtr<CPDF_Dictionary> const m_pDict;
Dcpdf_structtree.cpp110 if (kid.m_Type == CPDF_StructKid::kElement && kid.m_pDict == pDict) { in AddPageNode()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_stream.cpp38 : m_pDict(std::move(pDict)) { in CPDF_Stream()
44 if (m_pDict && m_pDict->GetObjNum() == kInvalidObjNum) in ~CPDF_Stream()
45 m_pDict.Leak(); // lowercase release, release ownership. in ~CPDF_Stream()
53 return m_pDict.Get(); in GetDict()
57 return m_pDict.Get(); in GetDict()
74 m_pDict = std::move(pDict); in InitStream()
85 m_pDict = std::move(pDict); in InitStreamFromFile()
86 m_pDict->SetNewFor<CPDF_Number>("Length", static_cast<int>(m_dwSize)); in InitStreamFromFile()
114 m_pDict->RemoveFor("Filter"); in SetDataAndRemoveFilter()
115 m_pDict->RemoveFor(pdfium::stream::kDecodeParms); in SetDataAndRemoveFilter()
[all …]
Dcpdf_flateencoder.cpp34 ASSERT(!m_pDict); in CPDF_FlateEncoder()
40 m_pDict.Reset(pStream->GetDict()); in CPDF_FlateEncoder()
54 ASSERT(!m_pDict); in CPDF_FlateEncoder()
61 ASSERT(!m_pDict); in CloneDict()
65 m_pClonedDict = ToDictionary(m_pDict->Clone()); in CloneDict()
67 m_pDict.Reset(); in CloneDict()
71 ASSERT(!m_pDict); in GetClonedDict()
77 ASSERT(!m_pDict); in GetDict()
81 return m_pDict.Get(); in GetDict()
Dcpdf_flateencoder.h43 RetainPtr<const CPDF_Dictionary> m_pDict; variable
Dcpdf_stream.h77 RetainPtr<CPDF_Dictionary> m_pDict; variable
/external/pdfium/core/fpdfapi/page/
Dcpdf_dib.cpp147 m_pDict.Reset(pStream->GetDict()); in Load()
148 if (!m_pDict) in Load()
152 m_Width = m_pDict->GetIntegerFor("Width"); in Load()
153 m_Height = m_pDict->GetIntegerFor("Height"); in Load()
247 m_pDict.Reset(pStream->GetDict()); in StartLoadDIBBase()
251 m_Width = m_pDict->GetIntegerFor("Width"); in StartLoadDIBBase()
252 m_Height = m_pDict->GetIntegerFor("Height"); in StartLoadDIBBase()
371 m_bpc_orig = m_pDict->GetIntegerFor("BitsPerComponent"); in LoadColorInfo()
375 if (m_pDict->GetIntegerFor("ImageMask")) in LoadColorInfo()
378 if (m_bImageMask || !m_pDict->KeyExist("ColorSpace")) { in LoadColorInfo()
[all …]
Dcpdf_pageobjectholder.cpp41 m_pDict(pDict), in CPDF_PageObjectHolder()
43 ASSERT(m_pDict); in CPDF_PageObjectHolder()
86 CPDF_Dictionary* pGroup = m_pDict->GetDictFor("Group"); in LoadTransparencyInfo()
Dcpdf_pageobjectholder.h69 CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict()
113 RetainPtr<CPDF_Dictionary> const m_pDict; variable
Dcpdf_dib.h131 RetainPtr<const CPDF_Dictionary> m_pDict; variable