Alto text block.
More...
#include <CRNAltoTextBlock.hpp>
|
| TextBlock (const TextBlock &)=delete |
|
| TextBlock (TextBlock &&)=default |
|
virtual | ~TextBlock () override |
|
TextBlock & | operator= (const TextBlock &)=delete |
|
TextBlock & | operator= (TextBlock &&)=default |
|
Option< StringUTF8 > | GetLanguage () const |
| Returns the language of the text inside the block. More...
|
|
std::vector< TextLinePtr > | GetTextLines () const |
| Returns the list of text lines in the block. More...
|
|
size_t | GetNbTextLines () const |
| Returns the number of text lines in the block. More...
|
|
TextLine & | GetTextLine (const Id &id_) |
| Returns a text line contained in the block. More...
|
|
TextLine & | AddTextLine (const Id &id_, double x, double y, double w, double h) |
| Adds a text line in the block. More...
|
|
TextLine & | AddTextLineAfter (const Id &pred, const Id &id_, double x, double y, double w, double h) |
| Adds a text line in the block. More...
|
|
TextLine & | AddTextLineBefore (const Id &next, const Id &id_, double x, double y, double w, double h) |
| Adds a text line in the block. More...
|
|
void | RemoveTextLine (const Id &tid) |
| Removes a text line. More...
|
|
Alto text block.
- Author
- Yann LEYDIER
Definition at line 30 of file CRNAltoTextBlock.hpp.
virtual TextBlock::~TextBlock |
( |
| ) |
|
|
inlineoverridevirtual |
TextLine& TextBlock::AddTextLine |
( |
const Id & |
id_, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
w, |
|
|
double |
h |
|
) |
| |
Adds a text line in the block.
TextLine& TextBlock::AddTextLineAfter |
( |
const Id & |
pred, |
|
|
const Id & |
id_, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
w, |
|
|
double |
h |
|
) |
| |
Adds a text line in the block.
TextLine& TextBlock::AddTextLineBefore |
( |
const Id & |
next, |
|
|
const Id & |
id_, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
w, |
|
|
double |
h |
|
) |
| |
Adds a text line in the block.
Option<StringUTF8> TextBlock::GetLanguage |
( |
| ) |
const |
Returns the language of the text inside the block.
size_t TextBlock::GetNbTextLines |
( |
| ) |
const |
|
inline |
TextLine& TextBlock::GetTextLine |
( |
const Id & |
id_ | ) |
|
Returns a text line contained in the block.
std::vector<TextLinePtr> TextBlock::GetTextLines |
( |
| ) |
const |
Returns the list of text lines in the block.
void TextBlock::RemoveTextLine |
( |
const Id & |
tid | ) |
|
The documentation for this class was generated from the following file: