Home
last modified time | relevance | path

Searched refs:textpage (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfpdftext_embeddertest.cpp36 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page); in TEST_F() local
37 EXPECT_NE(nullptr, textpage); in TEST_F()
44 EXPECT_EQ(sizeof(expected), FPDFText_GetText(textpage, 0, 128, fixed_buffer)); in TEST_F()
48 EXPECT_EQ(sizeof(expected) - 1, FPDFText_CountChars(textpage)); in TEST_F()
50 EXPECT_EQ(expected[i], FPDFText_GetUnicode(textpage, i)) << " at " << i; in TEST_F()
53 EXPECT_EQ(12.0, FPDFText_GetFontSize(textpage, 0)); in TEST_F()
54 EXPECT_EQ(16.0, FPDFText_GetFontSize(textpage, 15)); in TEST_F()
60 FPDFText_GetCharBox(textpage, 4, &left, &right, &bottom, &top); in TEST_F()
67 textpage, 42.0, 50.0, 1.0, 1.0)); in TEST_F()
69 textpage, 0.0, 0.0, 1.0, 1.0)); in TEST_F()
[all …]
Dfpdftext.cpp20 IPDF_TextPage* textpage=NULL; in FPDFText_LoadPage() local
22 textpage=IPDF_TextPage::CreateTextPage((CPDF_Page*)page,viewRef.IsDirectionR2L()); in FPDFText_LoadPage()
23 textpage->ParseTextPage(); in FPDFText_LoadPage()
24 return textpage; in FPDFText_LoadPage()
29 IPDF_TextPage* textpage=(IPDF_TextPage*)text_page; in FPDFText_ClosePage() local
30 delete textpage; in FPDFText_ClosePage()
37 IPDF_TextPage* textpage=(IPDF_TextPage*)text_page; in FPDFText_CountChars() local
38 return textpage->CountChars(); in FPDFText_CountChars()
43 IPDF_TextPage* textpage=(IPDF_TextPage*)text_page; in FPDFText_GetUnicode() local
45 if (index<0 || index>=textpage->CountChars()) return 0; in FPDFText_GetUnicode()
[all …]