#include <textoutputentities.h>
Public Types | |
| typedef libs::Rectangle | BBox |
| typedef boost::shared_ptr < PageLine > | PageLinePtr |
| typedef std::vector< PageLinePtr > | PageLines |
| typedef PageLines::const_iterator | Iterator |
Public Member Functions | |
| virtual void | push_back (PageLinePtr l) |
| virtual void | sort () |
| Iterator | begin () const |
| Iterator | end () const |
| bool | empty () const |
| BBox | bbox () const |
| virtual | ~PageColumn () |
| std::string | text () const |
Protected Attributes | |
| BBox | _bbox |
| PageLines | _lines |
Class representing one column on a page.
| typedef libs::Rectangle textoutput::PageColumn::BBox |
| typedef PageLines::const_iterator textoutput::PageColumn::Iterator |
| typedef boost::shared_ptr<PageLine> textoutput::PageColumn::PageLinePtr |
| typedef std::vector<PageLinePtr> textoutput::PageColumn::PageLines |
| virtual textoutput::PageColumn::~PageColumn | ( | ) | [inline, virtual] |
| Iterator textoutput::PageColumn::begin | ( | ) | const [inline] |
Return first simple fragment iterator.
References _lines.
| bool textoutput::PageColumn::empty | ( | ) | const [inline] |
Is container empty.
References _lines.
| Iterator textoutput::PageColumn::end | ( | ) | const [inline] |
Return last simple fragment iterator.
References _lines.
| void textoutput::PageColumn::push_back | ( | PageLinePtr | l | ) | [virtual] |
| void textoutput::PageColumn::sort | ( | ) | [virtual] |
Sort lines.
| std::string textoutput::PageColumn::text | ( | ) | const [inline] |
References _lines.
BBox textoutput::PageColumn::_bbox [protected] |
Approximate bbox.
Referenced by bbox(), and push_back().
PageLines textoutput::PageColumn::_lines [protected] |
Container of all words from one line.
Referenced by begin(), empty(), end(), push_back(), and text().