Home
last modified time | relevance | path

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

/external/pdfium/public/
Dfpdf_text.h42 FPDF_EXPORT void FPDF_CALLCONV FPDFText_ClosePage(FPDF_TEXTPAGE text_page);
60 FPDF_EXPORT int FPDF_CALLCONV FPDFText_CountChars(FPDF_TEXTPAGE text_page);
75 FPDFText_GetUnicode(FPDF_TEXTPAGE text_page, int index);
88 FPDF_EXPORT double FPDF_CALLCONV FPDFText_GetFontSize(FPDF_TEXTPAGE text_page,
111 FPDFText_GetFontInfo(FPDF_TEXTPAGE text_page,
129 FPDF_EXPORT int FPDF_CALLCONV FPDFText_GetFontWeight(FPDF_TEXTPAGE text_page,
146 FPDFText_GetTextRenderMode(FPDF_TEXTPAGE text_page, int index);
168 FPDFText_GetFillColor(FPDF_TEXTPAGE text_page,
195 FPDFText_GetStrokeColor(FPDF_TEXTPAGE text_page,
214 FPDF_EXPORT float FPDF_CALLCONV FPDFText_GetCharAngle(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);
Dfpdf_edit.h1187 FPDF_TEXTPAGE text_page,
/external/pdfium/fpdfsdk/
Dfpdf_text.cpp35 CPDF_TextPage* GetTextPageForValidIndex(FPDF_TEXTPAGE text_page, int index) { in GetTextPageForValidIndex() argument
36 if (!text_page || index < 0) in GetTextPageForValidIndex()
39 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in GetTextPageForValidIndex()
58 FPDF_EXPORT void FPDF_CALLCONV FPDFText_ClosePage(FPDF_TEXTPAGE text_page) { in FPDFText_ClosePage() argument
61 CPDFTextPageFromFPDFTextPage(text_page)); in FPDFText_ClosePage()
64 FPDF_EXPORT int FPDF_CALLCONV FPDFText_CountChars(FPDF_TEXTPAGE text_page) { in FPDFText_CountChars() argument
65 if (!text_page) in FPDFText_CountChars()
68 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_CountChars()
73 FPDFText_GetUnicode(FPDF_TEXTPAGE text_page, int index) { in FPDFText_GetUnicode() argument
74 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetUnicode()
[all …]
Dfpdf_searchex.cpp13 FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex) { in FPDFText_GetCharIndexFromTextIndex() argument
14 if (!text_page) in FPDFText_GetCharIndexFromTextIndex()
16 return CPDFTextPageFromFPDFTextPage(text_page)->CharIndexFromTextIndex( in FPDFText_GetCharIndexFromTextIndex()
21 FPDFText_GetTextIndexFromCharIndex(FPDF_TEXTPAGE text_page, int nCharIndex) { in FPDFText_GetTextIndexFromCharIndex() argument
22 if (!text_page) in FPDFText_GetTextIndexFromCharIndex()
24 return CPDFTextPageFromFPDFTextPage(text_page)->TextIndexFromCharIndex( in FPDFText_GetTextIndexFromCharIndex()
Dfpdf_text_embeddertest.cpp700 FPDF_TEXTPAGE text_page = FPDFText_LoadPage(page); in TEST_F() local
701 ASSERT_TRUE(text_page); in TEST_F()
703 FPDF_PAGELINK page_link = FPDFLink_LoadWebLinks(text_page); in TEST_F()
739 FPDFText_ClosePage(text_page); in TEST_F()
1167 FPDF_TEXTPAGE text_page = FPDFText_LoadPage(page); in TEST_F() local
1168 ASSERT_TRUE(text_page); in TEST_F()
1179 unsigned long size = FPDFTextObj_GetText(text_object, text_page, nullptr, 0); in TEST_F()
1184 FPDFTextObj_GetText(text_object, text_page, buffer.data(), size)); in TEST_F()
1188 ASSERT_EQ(0U, FPDFTextObj_GetText(nullptr, text_page, nullptr, 0)); in TEST_F()
1197 FPDFTextObj_GetText(text_object, text_page, buffer.data(), buffer.size()); in TEST_F()
[all …]
Dfpdf_edittext.cpp558 FPDF_TEXTPAGE text_page, in FPDFTextObj_GetText() argument
565 CPDF_TextPage* pTextPage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFTextObj_GetText()
/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/testing/fuzzers/
Dpdfium_fuzzer_helper.cc217 ScopedFPDFTextPage text_page(FPDFText_LoadPage(page.get())); in RenderPage() local
/external/pdfium/samples/
Dpdfium_test.cc713 ScopedFPDFTextPage text_page(FPDFText_LoadPage(page)); in RenderPage() local