textoutput::PageColumn Struct Reference

#include <textoutputentities.h>

List of all members.

Public Types

typedef libs::Rectangle BBox
typedef boost::shared_ptr
< PageLine
PageLinePtr
typedef std::vector< PageLinePtrPageLines
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

Detailed Description

Class representing one column on a page.


Member Typedef Documentation

typedef libs::Rectangle textoutput::PageColumn::BBox
typedef PageLines::const_iterator textoutput::PageColumn::Iterator
typedef boost::shared_ptr<PageLine> textoutput::PageColumn::PageLinePtr

Constructor & Destructor Documentation

virtual textoutput::PageColumn::~PageColumn (  )  [inline, virtual]

Member Function Documentation

BBox textoutput::PageColumn::bbox (  )  const [inline]

Return apporximate bbox.

References _bbox.

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]

Insert line into this column.

References _bbox, and _lines.

void textoutput::PageColumn::sort (  )  [virtual]

Sort lines.

std::string textoutput::PageColumn::text (  )  const [inline]

References _lines.


Member Data Documentation

Approximate bbox.

Referenced by bbox(), and push_back().

Container of all words from one line.

Referenced by begin(), empty(), end(), push_back(), and text().


The documentation for this struct was generated from the following files: