Home
last modified time | relevance | path

Searched refs:CPDF_StructElement (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_structelement.cpp29 CPDF_StructElement::CPDF_StructElement(CPDF_StructTree* pTree, in CPDF_StructElement() function in CPDF_StructElement
30 CPDF_StructElement* pParent, in CPDF_StructElement()
45 CPDF_StructElement::~CPDF_StructElement() = default;
47 size_t CPDF_StructElement::CountKids() const { in CountKids()
51 CPDF_StructElement* CPDF_StructElement::GetKidIfElement(size_t index) const { in GetKidIfElement()
57 void CPDF_StructElement::LoadKids(CPDF_Dictionary* pDict) { in LoadKids()
81 void CPDF_StructElement::LoadKid(uint32_t PageObjNum, in LoadKid()
135 pdfium::MakeRetain<CPDF_StructElement>(m_pTree.Get(), this, pKidDict); in LoadKid()
Dcpdf_structelement.h19 class CPDF_StructElement; variable
30 RetainPtr<CPDF_StructElement> m_pElement; // For Element.
37 class CPDF_StructElement : public Retainable {
47 CPDF_StructElement* GetKidIfElement(size_t index) const;
51 CPDF_StructElement(CPDF_StructTree* pTree,
52 CPDF_StructElement* pParent,
54 ~CPDF_StructElement() override;
60 UnownedPtr<CPDF_StructElement> const m_pParent;
Dcpdf_structtree.h19 class CPDF_StructElement; variable
31 CPDF_StructElement* GetTopElement(size_t i) const { return m_Kids[i].Get(); } in GetTopElement()
38 RetainPtr<CPDF_StructElement> AddPageNode(
40 std::map<CPDF_Dictionary*, RetainPtr<CPDF_StructElement>>* map,
43 const RetainPtr<CPDF_StructElement>& pElement);
48 std::vector<RetainPtr<CPDF_StructElement>> m_Kids;
Dcpdf_structtree.cpp77 std::map<CPDF_Dictionary*, RetainPtr<CPDF_StructElement>> element_map; in LoadPageTree()
84 RetainPtr<CPDF_StructElement> CPDF_StructTree::AddPageNode( in AddPageNode()
86 std::map<CPDF_Dictionary*, RetainPtr<CPDF_StructElement>>* map, in AddPageNode()
96 auto pElement = pdfium::MakeRetain<CPDF_StructElement>(this, nullptr, pDict); in AddPageNode()
105 RetainPtr<CPDF_StructElement> pParentElement = in AddPageNode()
121 const RetainPtr<CPDF_StructElement>& pElement) { in AddTopLevelNode()
/external/pdfium/fpdfsdk/
Dfpdf_structtree.cpp21 CPDF_StructElement* ToStructTreeElement(FPDF_STRUCTELEMENT struct_element) { in ToStructTreeElement()
22 return static_cast<CPDF_StructElement*>(struct_element); in ToStructTreeElement()
79 CPDF_StructElement* elem = ToStructTreeElement(struct_element); in FPDF_StructElement_GetAltText()
88 CPDF_StructElement* elem = ToStructTreeElement(struct_element); in FPDF_StructElement_GetMarkedContentID()
98 CPDF_StructElement* elem = ToStructTreeElement(struct_element); in FPDF_StructElement_GetType()
107 CPDF_StructElement* elem = ToStructTreeElement(struct_element); in FPDF_StructElement_GetTitle()
115 CPDF_StructElement* elem = ToStructTreeElement(struct_element); in FPDF_StructElement_CountChildren()
126 CPDF_StructElement* elem = ToStructTreeElement(struct_element); in FPDF_StructElement_GetChildAtIndex()