/external/pdfium/core/fpdfdoc/ |
D | cpdf_apsettings.cpp | 16 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 …]
|
D | cpdf_action.cpp | 27 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 …]
|
D | cpdf_iconfit.cpp | 19 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()
|
D | cpdf_formfield.cpp | 98 : 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 …]
|
D | cpdf_bookmark.cpp | 23 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()
|
D | cpdf_aaction.cpp | 44 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()
|
D | cpdf_link.cpp | 15 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()
|
D | cpdf_structelement.h | 34 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
|
D | cpdf_structelement.cpp | 46 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()
|
D | cpdf_link.h | 24 CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict() 30 RetainPtr<CPDF_Dictionary> m_pDict;
|
D | cpdf_bookmark.h | 25 const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict() 32 RetainPtr<const CPDF_Dictionary> m_pDict;
|
D | cpdf_aaction.h | 49 const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict() 54 RetainPtr<const CPDF_Dictionary> const m_pDict;
|
D | cpdf_action.h | 49 const CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict() 73 RetainPtr<const CPDF_Dictionary> const m_pDict; variable
|
D | cpdf_formfield.h | 87 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
|
D | cpdf_iconfit.h | 31 RetainPtr<const CPDF_Dictionary> const m_pDict;
|
D | cpdf_apsettings.h | 83 RetainPtr<CPDF_Dictionary> const m_pDict;
|
D | cpdf_structtree.cpp | 110 if (kid.m_Type == CPDF_StructKid::kElement && kid.m_pDict == pDict) { in AddPageNode()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_stream.cpp | 38 : 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 …]
|
D | cpdf_flateencoder.cpp | 34 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()
|
D | cpdf_flateencoder.h | 43 RetainPtr<const CPDF_Dictionary> m_pDict; variable
|
D | cpdf_stream.h | 77 RetainPtr<CPDF_Dictionary> m_pDict; variable
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_dib.cpp | 147 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 …]
|
D | cpdf_pageobjectholder.cpp | 41 m_pDict(pDict), in CPDF_PageObjectHolder() 43 ASSERT(m_pDict); in CPDF_PageObjectHolder() 86 CPDF_Dictionary* pGroup = m_pDict->GetDictFor("Group"); in LoadTransparencyInfo()
|
D | cpdf_pageobjectholder.h | 69 CPDF_Dictionary* GetDict() const { return m_pDict.Get(); } in GetDict() 113 RetainPtr<CPDF_Dictionary> const m_pDict; variable
|
D | cpdf_dib.h | 131 RetainPtr<const CPDF_Dictionary> m_pDict; variable
|