Lines Matching refs:textpage

39   CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page);  in GetTextPageForValidIndex()  local
40 return static_cast<size_t>(index) < textpage->size() ? textpage : nullptr; in GetTextPageForValidIndex()
51 auto textpage = in FPDFText_LoadPage() local
55 return FPDFTextPageFromCPDFTextPage(textpage.release()); in FPDFText_LoadPage()
68 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_CountChars() local
69 return textpage->CountChars(); in FPDFText_CountChars()
74 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetUnicode() local
75 if (!textpage) in FPDFText_GetUnicode()
78 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetUnicode()
84 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetFontSize() local
85 if (!textpage) in FPDFText_GetFontSize()
88 return textpage->GetCharFontSize(index); in FPDFText_GetFontSize()
97 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetFontInfo() local
98 if (!textpage) in FPDFText_GetFontInfo()
101 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetFontInfo()
119 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetFontWeight() local
120 if (!textpage) in FPDFText_GetFontWeight()
123 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetFontWeight()
132 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetTextRenderMode() local
133 if (!textpage) in FPDFText_GetTextRenderMode()
136 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetTextRenderMode()
151 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetFillColor() local
152 if (!textpage || !R || !G || !B || !A) in FPDFText_GetFillColor()
155 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetFillColor()
175 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetStrokeColor() local
176 if (!textpage || !R || !G || !B || !A) in FPDFText_GetStrokeColor()
179 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetStrokeColor()
195 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetCharAngle() local
196 if (!textpage) in FPDFText_GetCharAngle()
199 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetCharAngle()
222 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetCharBox() local
223 if (!textpage) in FPDFText_GetCharBox()
226 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetCharBox()
239 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetLooseCharBox() local
240 if (!textpage) in FPDFText_GetLooseCharBox()
243 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetLooseCharBox()
244 float font_size = textpage->GetCharFontSize(index); in FPDFText_GetLooseCharBox()
292 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetMatrix() local
293 if (!textpage) in FPDFText_GetMatrix()
296 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetMatrix()
306 CPDF_TextPage* textpage = GetTextPageForValidIndex(text_page, index); in FPDFText_GetCharOrigin() local
307 if (!textpage) in FPDFText_GetCharOrigin()
310 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetCharOrigin()
325 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_GetCharIndexAtPos() local
326 return textpage->GetIndexAtPos( in FPDFText_GetCharIndexAtPos()
339 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(page); in FPDFText_GetText() local
340 int char_available = textpage->CountChars() - start_index; in FPDFText_GetText()
351 WideString str = textpage->GetPageText(start_index, char_count); in FPDFText_GetText()
373 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_CountRects() local
374 return textpage->CountRects(start, count); in FPDFText_CountRects()
386 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_GetRect() local
388 bool result = textpage->GetRect(rect_index, &rect); in FPDFText_GetRect()
407 CPDF_TextPage* textpage = CPDFTextPageFromFPDFTextPage(text_page); in FPDFText_GetBoundedText() local
409 WideString str = textpage->GetTextByRect(rect); in FPDFText_GetBoundedText()