36class POPPLER_CPP_EXPORT text_box
41 text_box(text_box &&)
noexcept;
42 text_box &operator=(text_box &&)
noexcept;
68 bool has_space_after()
const;
95 writing_mode_enum get_wmode(
int i = 0)
const;
107 double get_font_size()
const;
129 std::string get_font_name(
int i = 0)
const;
132 explicit text_box(text_box_data *data);
134 std::unique_ptr<text_box_data> m_data;
138class document_private;
140class page_transition;
142class POPPLER_CPP_EXPORT page :
public poppler::noncopyable
156 search_previous_result
167 orientation_enum orientation()
const;
168 double duration()
const;
176 ustring text(
const rectf &r, text_layout_enum layout_mode)
const;
196 std::vector<text_box> text_list()
const;
202 enum text_list_option_enum
204 text_list_include_font = 1
213 std::vector<text_box> text_list(
int opt_flag)
const;
216 page(document_private *doc,
int index);
219 friend class page_private;
220 friend class document;
A transition between two pages in a PDF document.
Definition poppler-page-transition.h:33
A page in a PDF document.
Definition poppler-page.h:143
text_layout_enum
A layout of the text of a page.
Definition poppler-page.h:159
@ non_raw_non_physical_layout
Definition poppler-page.h:162
search_direction_enum
The direction/action to follow when performing a text search.
Definition poppler-page.h:153
orientation_enum
The possible orientation of a page.
Definition poppler-page.h:146
Definition poppler-page.h:37
writing_mode_enum
Get a writing mode for the i-th glyph.
Definition poppler-page.h:86
int rotation() const
Definition poppler-page.cpp:328
rectf char_bbox(size_t i) const
Get a bbox for the i-th glyph.
Definition poppler-page.cpp:333
bool has_font_info() const
Definition poppler-page.cpp:346
Definition poppler-global.h:101
Single namespace containing all the classes and functions of poppler-cpp.
Definition poppler-destination.h:27
page_box_enum
A possible box of a page in a PDF document.
Definition poppler-global.h:67
@ crop_box
The "crop" box.
Definition poppler-global.h:69
case_sensitivity_enum
The case sensitivity.
Definition poppler-global.h:88
rotation_enum
The case sensitivity.
Definition poppler-global.h:59
@ rotate_0
A rotation of 0 degrees clockwise.
Definition poppler-global.h:60
rectangle< double > rectf
A rectangle with float (double) dimensions and coordinates.
Definition poppler-rectangle.h:60