/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_dictionary.cpp | 26 CPDF_Dictionary::CPDF_Dictionary() in CPDF_Dictionary() function in CPDF_Dictionary 27 : CPDF_Dictionary(WeakPtr<ByteStringPool>()) {} in CPDF_Dictionary() 29 CPDF_Dictionary::CPDF_Dictionary(const WeakPtr<ByteStringPool>& pPool) in CPDF_Dictionary() function in CPDF_Dictionary 32 CPDF_Dictionary::~CPDF_Dictionary() { in ~CPDF_Dictionary() 42 CPDF_Object::Type CPDF_Dictionary::GetType() const { in GetType() 46 CPDF_Dictionary* CPDF_Dictionary::GetDict() { in GetDict() 50 const CPDF_Dictionary* CPDF_Dictionary::GetDict() const { in GetDict() 54 bool CPDF_Dictionary::IsDictionary() const { in IsDictionary() 58 CPDF_Dictionary* CPDF_Dictionary::AsDictionary() { in AsDictionary() 62 const CPDF_Dictionary* CPDF_Dictionary::AsDictionary() const { in AsDictionary() [all …]
|
D | cpdf_document.cpp | 34 int CountPages(CPDF_Dictionary* pPages, in CountPages() 35 std::set<CPDF_Dictionary*>* visited_pages) { in CountPages() 44 CPDF_Dictionary* pKid = pKidList->GetDictAt(i); in CountPages() 49 pdfium::ScopedSetInsertion<CPDF_Dictionary*> local_add(visited_pages, in CountPages() 121 CPDF_Dictionary* CPDF_Document::TraversePDFPages(int iPage, in TraversePDFPages() 127 CPDF_Dictionary* pPages = m_pTreeTraversal[level].first; in TraversePDFPages() 141 CPDF_Dictionary* page = nullptr; in TraversePDFPages() 146 CPDF_Dictionary* pKid = pKidList->GetDictAt(i); in TraversePDFPages() 169 CPDF_Dictionary* pageKid = TraversePDFPages(iPage, nPagesToGo, level + 1); in TraversePDFPages() 203 const CPDF_Dictionary* CPDF_Document::GetPagesDict() const { in GetPagesDict() [all …]
|
D | cpdf_document_unittest.cpp | 29 CPDF_Dictionary* CreatePageTreeNode(RetainPtr<CPDF_Array> kids, in CreatePageTreeNode() 33 CPDF_Dictionary* pageNode = pDoc->NewIndirect<CPDF_Dictionary>(); in CreatePageTreeNode() 44 RetainPtr<CPDF_Dictionary> CreateNumberedPage(size_t number) { in CreateNumberedPage() 45 auto page = pdfium::MakeRetain<CPDF_Dictionary>(); in CreateNumberedPage() 64 CPDF_Dictionary* branch1 = in CPDF_TestDocumentForPages() 71 CPDF_Dictionary* branch2 = in CPDF_TestDocumentForPages() 79 CPDF_Dictionary* branch3 = CreatePageTreeNode(std::move(fourFive), this, 2); in CPDF_TestDocumentForPages() 84 CPDF_Dictionary* branch4 = CreatePageTreeNode(std::move(justSix), this, 1); in CPDF_TestDocumentForPages() 90 CPDF_Dictionary* pagesDict = in CPDF_TestDocumentForPages() 93 m_pRootDict.Reset(NewIndirect<CPDF_Dictionary>()); in CPDF_TestDocumentForPages() [all …]
|
D | cpdf_dictionary.h | 27 class CPDF_Dictionary final : public CPDF_Object { 38 CPDF_Dictionary* GetDict() override; 39 const CPDF_Dictionary* GetDict() const override; 41 CPDF_Dictionary* AsDictionary() override; 42 const CPDF_Dictionary* AsDictionary() const override; 61 const CPDF_Dictionary* GetDictFor(const ByteString& key) const; 62 CPDF_Dictionary* GetDictFor(const ByteString& key); 117 CPDF_Dictionary(); 118 explicit CPDF_Dictionary(const WeakPtr<ByteStringPool>& pPool); 119 ~CPDF_Dictionary() override; [all …]
|
D | cpdf_document.h | 100 CPDF_Dictionary* GetRoot() const { return m_pRootDict.Get(); } in GetRoot() 101 CPDF_Dictionary* GetInfo(); 106 CPDF_Dictionary* GetPageDictionary(int iPage); 139 CPDF_Dictionary* CreateNewPage(int iPage); 157 CPDF_Dictionary* TraversePDFPages(int iPage, int* nPagesToGo, size_t level); 158 int FindPageIndex(const CPDF_Dictionary* pNode, 164 const CPDF_Dictionary* GetPagesDict() const; 165 CPDF_Dictionary* GetPagesDict(); 166 bool InsertDeletePDFPage(CPDF_Dictionary* pPages, 168 CPDF_Dictionary* pPageDict, [all …]
|
D | cpdf_security_handler.h | 23 class CPDF_Dictionary; variable 31 bool OnInit(const CPDF_Dictionary* pEncryptDict, 34 void OnCreate(CPDF_Dictionary* pEncryptDict, 38 void OnCreate(CPDF_Dictionary* pEncryptDict, 64 bool LoadDict(const CPDF_Dictionary* pEncryptDict); 65 bool LoadDict(const CPDF_Dictionary* pEncryptDict, 75 void AES256_SetPassword(CPDF_Dictionary* pEncryptDict, 78 void AES256_SetPerms(CPDF_Dictionary* pEncryptDict); 79 void OnCreateInternal(CPDF_Dictionary* pEncryptDict, 96 RetainPtr<const CPDF_Dictionary> m_pEncryptDict;
|
D | fpdf_parser_utility_unittest.cpp | 37 auto dict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 59 auto dict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 70 CPDF_Dictionary* new_dict = dict->SetNewFor<CPDF_Dictionary>("f1"); in TEST() 72 new_dict = dict->SetNewFor<CPDF_Dictionary>("f2"); in TEST() 79 new_dict = dict->SetNewFor<CPDF_Dictionary>("f3"); in TEST() 96 auto dict = doc->New<CPDF_Dictionary>(); in TEST() 99 CPDF_Dictionary* new_dict = doc->NewIndirect<CPDF_Dictionary>(); in TEST()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_structtree.h | 16 class CPDF_Dictionary; variable 24 const CPDF_Dictionary* pPageDict); 31 const CPDF_Dictionary* GetRoleMap() const { return m_pRoleMap.Get(); } in GetRoleMap() 32 const CPDF_Dictionary* GetPage() const { return m_pPage.Get(); } in GetPage() 33 const CPDF_Dictionary* GetTreeRoot() const { return m_pTreeRoot.Get(); } in GetTreeRoot() 37 std::map<const CPDF_Dictionary*, RetainPtr<CPDF_StructElement>>; 39 void LoadPageTree(const CPDF_Dictionary* pPageDict); 40 RetainPtr<CPDF_StructElement> AddPageNode(const CPDF_Dictionary* pDict, 43 bool AddTopLevelNode(const CPDF_Dictionary* pDict, 46 RetainPtr<const CPDF_Dictionary> const m_pTreeRoot; [all …]
|
D | cpdf_nametree_unittest.cpp | 28 void AddLimitsArray(CPDF_Dictionary* pNode, in AddLimitsArray() 36 void CheckLimitsArray(CPDF_Dictionary* pNode, in CheckLimitsArray() 45 void FillNameTreeDict(CPDF_Dictionary* pRootDict) { in FillNameTreeDict() 47 CPDF_Dictionary* pKid1 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 52 CPDF_Dictionary* pKid2 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 53 CPDF_Dictionary* pKid3 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 57 CPDF_Dictionary* pKid4 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 58 CPDF_Dictionary* pKid5 = pKids->AddNew<CPDF_Dictionary>(); in FillNameTreeDict() 80 auto pRootDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 106 auto pRootDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() [all …]
|
D | cpdf_viewerpreferences.cpp | 19 const CPDF_Dictionary* pDict = GetViewerPreferences(); in IsDirectionR2L() 24 const CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintScaling() 29 const CPDF_Dictionary* pDict = GetViewerPreferences(); in NumCopies() 34 CPDF_Dictionary* pDict = GetViewerPreferences(); in PrintPageRange() 39 const CPDF_Dictionary* pDict = GetViewerPreferences(); in Duplex() 45 const CPDF_Dictionary* pDict = GetViewerPreferences(); in GenericName() 56 CPDF_Dictionary* CPDF_ViewerPreferences::GetViewerPreferences() const { in GetViewerPreferences() 57 CPDF_Dictionary* pDict = m_pDoc->GetRoot(); in GetViewerPreferences()
|
D | cba_fontmap.cpp | 75 CBA_FontMap::CBA_FontMap(CPDF_Document* pDocument, CPDF_Dictionary* pAnnotDict) in CBA_FontMap() 202 const CPDF_Dictionary* pRootDict = m_pDocument->GetRoot(); in FindFontSameCharset() 206 const CPDF_Dictionary* pAcroFormDict = pRootDict->GetDictFor("AcroForm"); in FindFontSameCharset() 210 const CPDF_Dictionary* pDRDict = pAcroFormDict->GetDictFor("DR"); in FindFontSameCharset() 218 const CPDF_Dictionary* pResDict, in FindResFontSameCharset() 224 const CPDF_Dictionary* pFonts = pResDict->GetDictFor("Font"); in FindResFontSameCharset() 235 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in FindResFontSameCharset() 257 CPDF_Dictionary* pAcroFormDict = nullptr; in GetAnnotDefaultFont() 261 CPDF_Dictionary* pRootDict = m_pDocument->GetRoot(); in GetAnnotDefaultFont() 286 CPDF_Dictionary* pFontDict = nullptr; in GetAnnotDefaultFont() [all …]
|
D | cpdf_filespec_unittest.cpp | 107 auto dict_obj = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 128 auto dict_obj = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 162 auto dict_obj = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 181 auto dict_obj = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 187 auto dict_obj = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 188 dict_obj->SetNewFor<CPDF_Dictionary>("EF"); in TEST() 194 auto dict_obj = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() 195 dict_obj->SetNewFor<CPDF_Dictionary>("EF"); in TEST() 202 CPDF_Dictionary* file_dict = in TEST() 211 auto pDict = pdfium::MakeRetain<CPDF_Dictionary>(); in TEST() [all …]
|
D | cpdf_annot.h | 20 class CPDF_Dictionary; variable 67 const CPDF_Dictionary* pAnnotDict); 68 static CFX_FloatRect RectFromQuadPoints(const CPDF_Dictionary* pAnnotDict, 73 CPDF_Annot(RetainPtr<CPDF_Dictionary> pDict, CPDF_Document* pDocument); 74 CPDF_Annot(CPDF_Dictionary* pDict, CPDF_Document* pDocument); 81 const CPDF_Dictionary* GetAnnotDict() const { return m_pAnnotDict.Get(); } in GetAnnotDict() 82 CPDF_Dictionary* GetAnnotDict() { return m_pAnnotDict.Get(); } in GetAnnotDict() 113 RetainPtr<CPDF_Dictionary> const m_pAnnotDict; 128 CPDF_Stream* GetAnnotAP(CPDF_Dictionary* pAnnotDict, 133 CPDF_Stream* GetAnnotAPNoFallback(CPDF_Dictionary* pAnnotDict,
|
D | cpdf_formfield_unittest.cpp | 18 CPDF_Dictionary* root = obj_holder.NewIndirect<CPDF_Dictionary>(); in TEST() 23 CPDF_Dictionary* dict1 = obj_holder.NewIndirect<CPDF_Dictionary>(); in TEST() 29 CPDF_Dictionary* dict2 = dict1->SetNewFor<CPDF_Dictionary>("Parent"); in TEST() 33 CPDF_Dictionary* dict3 = obj_holder.NewIndirect<CPDF_Dictionary>(); in TEST()
|
D | cpdf_interactiveform.h | 25 class CPDF_Dictionary; variable 31 RetainPtr<CPDF_Font> AddNativeInteractiveFormFont(CPDF_Dictionary*& pFormDict, 66 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const; 71 CPDF_FormControl* GetControlByDict(const CPDF_Dictionary* pWidgetDict) const; 107 CPDF_Dictionary* GetFormDict() const { return m_pFormDict.Get(); } in GetFormDict() 113 void LoadField(CPDF_Dictionary* pFieldDict, int nLevel); 114 void AddTerminalField(CPDF_Dictionary* pFieldDict); 116 CPDF_Dictionary* pWidgetDict); 122 RetainPtr<CPDF_Dictionary> m_pFormDict; 124 std::map<const CPDF_Dictionary*, std::unique_ptr<CPDF_FormControl>>
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_occontext.cpp | 16 int32_t FindGroup(const CPDF_Array* pArray, const CPDF_Dictionary* pGroupDict) { in FindGroup() 27 bool HasIntent(const CPDF_Dictionary* pDict, in HasIntent() 47 CPDF_Dictionary* GetConfig(CPDF_Document* pDoc, in GetConfig() 48 const CPDF_Dictionary* pOCGDict) { in GetConfig() 50 CPDF_Dictionary* pOCProperties = pDoc->GetRoot()->GetDictFor("OCProperties"); in GetConfig() 61 CPDF_Dictionary* pConfig = pOCProperties->GetDictFor("D"); in GetConfig() 67 CPDF_Dictionary* pFind = pConfigs->GetDictAt(i); in GetConfig() 104 const CPDF_Dictionary* pOCGDict) const { in LoadOCGStateFromConfig() 105 CPDF_Dictionary* pConfig = GetConfig(m_pDocument.Get(), pOCGDict); in LoadOCGStateFromConfig() 126 CPDF_Dictionary* pUsage = pArray->GetDictAt(i); in LoadOCGStateFromConfig() [all …]
|
D | cpdf_form.h | 19 class CPDF_Dictionary; variable 29 static CPDF_Dictionary* ChooseResourcesDict(CPDF_Dictionary* pResources, 30 CPDF_Dictionary* pParentResources, 31 CPDF_Dictionary* pPageResources); 34 CPDF_Dictionary* pPageResources, 37 CPDF_Dictionary* pPageResources, 39 CPDF_Dictionary* pParentResources);
|
D | cpdf_contentmarkitem.h | 16 class CPDF_Dictionary; variable 27 const CPDF_Dictionary* GetParam() const; 28 CPDF_Dictionary* GetParam(); 32 void SetDirectDict(RetainPtr<CPDF_Dictionary> pDict); 33 void SetPropertiesHolder(CPDF_Dictionary* pHolder, 40 RetainPtr<CPDF_Dictionary> m_pPropertiesHolder; 41 RetainPtr<CPDF_Dictionary> m_pDirectDict;
|
D | cpdf_image.h | 19 class CPDF_Dictionary; variable 36 CPDF_Dictionary* GetDict() const; 38 const CPDF_Dictionary* GetOC() const { return m_pOC.Get(); } in GetOC() 57 bool StartLoadDIBBase(const CPDF_Dictionary* pFormResource, 58 CPDF_Dictionary* pPageResource, 79 void FinishInitialization(CPDF_Dictionary* pStreamDict); 80 RetainPtr<CPDF_Dictionary> InitJPEG(pdfium::span<uint8_t> src_span); 82 RetainPtr<CPDF_Dictionary> CreateXObjectImageDict(int width, int height); 91 RetainPtr<const CPDF_Dictionary> m_pOC;
|
D | cpdf_docpagedata.h | 24 class CPDF_Dictionary; variable 50 CPDF_Dictionary* pPageResources, 56 RetainPtr<CPDF_Font> GetFont(CPDF_Dictionary* pFontDict); 67 const CPDF_Dictionary* pResources); 74 const CPDF_Dictionary* pResources, 94 const CPDF_Dictionary* pResources, 98 size_t CalculateEncodingDict(int charset, CPDF_Dictionary* pBaseDict); 99 CPDF_Dictionary* ProcessbCJK( 100 CPDF_Dictionary* pBaseDict, 115 std::map<const CPDF_Dictionary*, ObservedPtr<CPDF_Font>> m_FontMap;
|
D | cpdf_occontext.h | 16 class CPDF_Dictionary; variable 27 bool CheckOCGVisible(const CPDF_Dictionary* pOCGDict) const; 35 const CPDF_Dictionary* pOCGDict) const; 36 bool LoadOCGState(const CPDF_Dictionary* pOCGDict) const; 37 bool GetOCGVisible(const CPDF_Dictionary* pOCGDict) const; 39 bool LoadOCMDState(const CPDF_Dictionary* pOCMDDict) const; 43 mutable std::map<const CPDF_Dictionary*, bool> m_OGCStateCache;
|
D | cpdf_contentmarkitem.cpp | 18 const CPDF_Dictionary* CPDF_ContentMarkItem::GetParam() const { in GetParam() 30 CPDF_Dictionary* CPDF_ContentMarkItem::GetParam() { in GetParam() 31 return const_cast<CPDF_Dictionary*>( in GetParam() 36 const CPDF_Dictionary* pDict = GetParam(); in HasMCID() 40 void CPDF_ContentMarkItem::SetDirectDict(RetainPtr<CPDF_Dictionary> pDict) { in SetDirectDict() 46 CPDF_Dictionary* pHolder, in SetPropertiesHolder()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_flatten.cpp | 52 CPDF_Dictionary* pDict, in GetContentsRect() 64 void ParserStream(CPDF_Dictionary* pPageDic, in ParserStream() 65 CPDF_Dictionary* pStream, in ParserStream() 67 std::vector<CPDF_Dictionary*>* pObjectArray) { in ParserStream() 83 CPDF_Dictionary* pPageDic, in ParserAnnots() 85 std::vector<CPDF_Dictionary*>* pObjectArray, in ParserAnnots() 97 CPDF_Dictionary* pAnnotDict = ToDictionary(pAnnot->GetDirect()); in ParserAnnots() 180 nullptr, 0, pDocument->New<CPDF_Dictionary>()); in NewIndirectContentsStream() 186 CPDF_Dictionary* pPage, in SetPageContents() 255 CPDF_Dictionary* pPageDict = pPage->GetDict(); in FPDFPage_Flatten() [all …]
|
D | fpdf_attachment.cpp | 67 CPDF_Dictionary* pRoot = pDoc->GetRoot(); in FPDFDoc_AddAttachment() 76 CPDF_Dictionary* pNames = pRoot->GetDictFor("Names"); in FPDFDoc_AddAttachment() 78 pNames = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFDoc_AddAttachment() 84 CPDF_Dictionary* pFiles = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFDoc_AddAttachment() 91 CPDF_Dictionary* pFile = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFDoc_AddAttachment() 151 CPDF_Dictionary* pParamsDict = CPDF_FileSpec(pFile).GetParamsDict(); in FPDFAttachment_HasKey() 173 CPDF_Dictionary* pParamsDict = CPDF_FileSpec(pFile).GetParamsDict(); in FPDFAttachment_SetStringValue() 196 CPDF_Dictionary* pParamsDict = CPDF_FileSpec(pFile).GetParamsDict(); in FPDFAttachment_GetStringValue() 229 auto pFileStreamDict = pdfium::MakeRetain<CPDF_Dictionary>(); in FPDFAttachment_SetFile() 230 CPDF_Dictionary* pParamsDict = in FPDFAttachment_SetFile() [all …]
|
D | cpdfsdk_helpers.h | 53 inline FPDF_ACTION FPDFActionFromCPDFDictionary(const CPDF_Dictionary* action) { in FPDFActionFromCPDFDictionary() 54 return reinterpret_cast<FPDF_ACTION>(const_cast<CPDF_Dictionary*>(action)); in FPDFActionFromCPDFDictionary() 56 inline CPDF_Dictionary* CPDFDictionaryFromFPDFAction(FPDF_ACTION action) { in CPDFDictionaryFromFPDFAction() 57 return reinterpret_cast<CPDF_Dictionary*>(action); in CPDFDictionaryFromFPDFAction() 84 const CPDF_Dictionary* bookmark) { in FPDFBookmarkFromCPDFDictionary() 86 const_cast<CPDF_Dictionary*>(bookmark)); in FPDFBookmarkFromCPDFDictionary() 88 inline CPDF_Dictionary* CPDFDictionaryFromFPDFBookmark(FPDF_BOOKMARK bookmark) { in CPDFDictionaryFromFPDFBookmark() 89 return reinterpret_cast<CPDF_Dictionary*>(bookmark); in CPDFDictionaryFromFPDFBookmark() 122 inline FPDF_LINK FPDFLinkFromCPDFDictionary(CPDF_Dictionary* link) { in FPDFLinkFromCPDFDictionary() 125 inline CPDF_Dictionary* CPDFDictionaryFromFPDFLink(FPDF_LINK link) { in CPDFDictionaryFromFPDFLink() [all …]
|