XML Alto layout element.
More...
#include <CRNAltoLayout.hpp>
|
| Layout (const Layout &)=delete |
|
| Layout (Layout &&)=default |
|
virtual | ~Layout () override |
|
Layout & | operator= (const Layout &)=delete |
|
Layout & | operator= (Layout &&)=default |
|
std::vector< Id > | GetStyles () const |
| Returns the list of style references. More...
|
|
void | AddStyle (const Id &styleid) |
| Adds a reference to a style. More...
|
|
void | RemoveStyle (const Id &styleid) |
| Removes a reference to a style. More...
|
|
Page & | GetPage (const Id &pid) |
| Returns a page. More...
|
|
std::vector< PagePtr > | GetPages () const |
| Returns the list of all pages. More...
|
|
Page & | AddPage (const Id &id_, int image_number, Option< int > width_=Option< int >(), Option< int > height_=Option< int >(), Option< Page::Position > pos=Option< Page::Position >()) |
| Adds a page. More...
|
|
Page & | AddPageAfter (const Id &pred, const Id &id_, int image_number, Option< int > width_=Option< int >(), Option< int > height_=Option< int >(), Option< Page::Position > pos=Option< Page::Position >()) |
| Adds a page after another. More...
|
|
Page & | AddPageBefore (const Id &next, const Id &id_, int image_number, Option< int > width_=Option< int >(), Option< int > height_=Option< int >(), Option< Page::Position > pos=Option< Page::Position >()) |
| Adds a page before another. More...
|
|
void | RemovePage (const Id &pid) |
| Removes a page. More...
|
|
XML Alto layout element.
- Author
- Yann LEYDIER
Definition at line 30 of file CRNAltoLayout.hpp.
Layout::Layout |
( |
const Layout & |
| ) |
|
|
delete |
virtual Layout::~Layout |
( |
| ) |
|
|
inlineoverridevirtual |
Page& Layout::AddPage |
( |
const Id & |
id_, |
|
|
int |
image_number, |
|
|
Option< int > |
width_ = Option< int >() , |
|
|
Option< int > |
height_ = Option< int >() , |
|
|
Option< Page::Position > |
pos = Option< Page::Position >() |
|
) |
| |
Page& Layout::AddPageAfter |
( |
const Id & |
pred, |
|
|
const Id & |
id_, |
|
|
int |
image_number, |
|
|
Option< int > |
width_ = Option< int >() , |
|
|
Option< int > |
height_ = Option< int >() , |
|
|
Option< Page::Position > |
pos = Option< Page::Position >() |
|
) |
| |
Adds a page after another.
Page& Layout::AddPageBefore |
( |
const Id & |
next, |
|
|
const Id & |
id_, |
|
|
int |
image_number, |
|
|
Option< int > |
width_ = Option< int >() , |
|
|
Option< int > |
height_ = Option< int >() , |
|
|
Option< Page::Position > |
pos = Option< Page::Position >() |
|
) |
| |
Adds a page before another.
void Layout::AddStyle |
( |
const Id & |
styleid | ) |
|
Adds a reference to a style.
Page& Layout::GetPage |
( |
const Id & |
pid | ) |
|
std::vector<PagePtr> Layout::GetPages |
( |
| ) |
const |
Returns the list of all pages.
std::vector<Id> Layout::GetStyles |
( |
| ) |
const |
Returns the list of style references.
void Layout::RemovePage |
( |
const Id & |
pid | ) |
|
void Layout::RemoveStyle |
( |
const Id & |
styleid | ) |
|
Removes a reference to a style.
The documentation for this class was generated from the following file: