Searched defs:struct_tree (Results 1 - 2 of 2) sorted by relevance

/external/pdfium/fpdfsdk/
H A Dfpdf_structtree_embeddertest.cpp17 FPDF_STRUCTTREE struct_tree = FPDF_StructTree_GetForPage(page); local
18 ASSERT_TRUE(struct_tree);
19 ASSERT_EQ(1, FPDF_StructTree_CountChildren(struct_tree));
21 FPDF_STRUCTELEMENT element = FPDF_StructTree_GetChildAtIndex(struct_tree, -1);
23 element = FPDF_StructTree_GetChildAtIndex(struct_tree, 1);
25 element = FPDF_StructTree_GetChildAtIndex(struct_tree, 0);
68 FPDF_StructTree_Close(struct_tree);
H A Dfpdf_structtree.cpp16 IPDF_StructTree* ToStructTree(FPDF_STRUCTTREE struct_tree) { argument
17 return reinterpret_cast<IPDF_StructTree*>(struct_tree);
34 DLLEXPORT void STDCALL FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree) { argument
35 std::unique_ptr<IPDF_StructTree>(ToStructTree(struct_tree));
39 FPDF_StructTree_CountChildren(FPDF_STRUCTTREE struct_tree) { argument
40 IPDF_StructTree* tree = ToStructTree(struct_tree);
45 FPDF_StructTree_GetChildAtIndex(FPDF_STRUCTTREE struct_tree, int index) { argument
46 IPDF_StructTree* tree = ToStructTree(struct_tree);

Completed in 114 milliseconds