Home
last modified time | relevance | path

Searched refs:text_page (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdftext.cpp34 CPDF_TextPage* CPDFTextPageFromFPDFTextPage(FPDF_TEXTPAGE text_page) { in CPDFTextPageFromFPDFTextPage() argument
35 return static_cast<CPDF_TextPage*>(text_page); in CPDFTextPageFromFPDFTextPage()
68 FPDF_EXPORT void FPDF_CALLCONV FPDFText_ClosePage(FPDF_TEXTPAGE text_page) { in FPDFText_ClosePage() argument
69 delete CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_ClosePage()
72 FPDF_EXPORT int FPDF_CALLCONV FPDFText_CountChars(FPDF_TEXTPAGE text_page) { in FPDFText_CountChars() argument
73 if (!text_page) in FPDFText_CountChars()
76 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_CountChars()
81 FPDFText_GetUnicode(FPDF_TEXTPAGE text_page, int index) { in FPDFText_GetUnicode() argument
82 if (!text_page) in FPDFText_GetUnicode()
85 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_GetUnicode()
[all …]
Dfpdf_searchex.cpp12 FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex) { in FPDFText_GetCharIndexFromTextIndex() argument
13 if (!text_page) in FPDFText_GetCharIndexFromTextIndex()
15 return static_cast<CPDF_TextPage*>(text_page) in FPDFText_GetCharIndexFromTextIndex()
20 FPDFText_GetTextIndexFromCharIndex(FPDF_TEXTPAGE text_page, int nCharIndex) { in FPDFText_GetTextIndexFromCharIndex() argument
21 if (!text_page) in FPDFText_GetTextIndexFromCharIndex()
23 return static_cast<CPDF_TextPage*>(text_page)->TextIndexFromCharIndex( in FPDFText_GetTextIndexFromCharIndex()
/external/pdfium/public/
Dfpdf_text.h41 FPDF_EXPORT void FPDF_CALLCONV FPDFText_ClosePage(FPDF_TEXTPAGE text_page);
59 FPDF_EXPORT int FPDF_CALLCONV FPDFText_CountChars(FPDF_TEXTPAGE text_page);
74 FPDFText_GetUnicode(FPDF_TEXTPAGE text_page, int index);
87 FPDF_EXPORT double FPDF_CALLCONV FPDFText_GetFontSize(FPDF_TEXTPAGE text_page,
111 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFText_GetCharBox(FPDF_TEXTPAGE text_page,
134 FPDFText_GetCharOrigin(FPDF_TEXTPAGE text_page,
158 FPDFText_GetCharIndexAtPos(FPDF_TEXTPAGE text_page,
181 FPDF_EXPORT int FPDF_CALLCONV FPDFText_GetText(FPDF_TEXTPAGE text_page,
204 FPDF_EXPORT int FPDF_CALLCONV FPDFText_CountRects(FPDF_TEXTPAGE text_page,
230 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFText_GetRect(FPDF_TEXTPAGE text_page,
[all …]
Dfpdf_searchex.h24 FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex);
33 FPDFText_GetTextIndexFromCharIndex(FPDF_TEXTPAGE text_page, int nCharIndex);
/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser_embeddertest.cpp48 FPDF_TEXTPAGE text_page = FPDFText_LoadPage(page); in TEST_F() local
49 EXPECT_NE(nullptr, text_page); in TEST_F()
51 EXPECT_LT(0, FPDFText_CountChars(text_page)); in TEST_F()
53 FPDFText_ClosePage(text_page); in TEST_F()
69 FPDF_TEXTPAGE text_page = FPDFText_LoadPage(page); in TEST_F() local
70 EXPECT_NE(nullptr, text_page); in TEST_F()
72 EXPECT_LT(0, FPDFText_CountChars(text_page)); in TEST_F()
73 FPDFText_ClosePage(text_page); in TEST_F()
/external/pdfium/samples/
Dpdfium_test.cc1246 std::unique_ptr<void, FPDFTextPageDeleter> text_page(FPDFText_LoadPage(page)); in RenderPage() local