a zone to regroup footnote/endnote,... data More...
Public Types | |
enum | Type { Z_Comment =0 , Z_EndNote , Z_FootNote , Z_Main , Z_MetaData , Z_TextBox , Z_Unknown , Z_NumZones = Z_Unknown+1 } |
the different zone More... |
Public Member Functions | |
RVNGHTMLTextZone (Type tp=Z_Unknown) | |
constructor for basic stream | |
Type | type () const |
the type | |
void | setType (Type tp) |
the type | |
RVNGHTMLTextStream * | getNewStream () |
returns a new stream corresponding to this zone | |
bool | isEmpty () const |
returns true if there is no data | |
void | send (std::ostream &out) const |
send the zone data |
Static Public Member Functions | |
static void | deleteStream (RVNGHTMLTextStream *stream) |
delete a stream corresponding to this zone |
Protected Member Functions | |
std::string | label (int id) const |
return a label corresponding to the zone |
Protected Attributes | |
Type | m_type |
the zone type | |
int | m_actualId |
the actual id | |
std::vector< std::string > | m_stringList |
the list of data string |
Private Member Functions | |
RVNGHTMLTextZone (RVNGHTMLTextZone const &orig) | |
RVNGHTMLTextZone | operator= (RVNGHTMLTextZone const &orig) |
Friends | |
struct | RVNGHTMLTextStream |
a zone to regroup footnote/endnote,... data
constructor for basic stream
Referenced by operator=(), and RVNGHTMLTextZone().
|
private |
|
static |
delete a stream corresponding to this zone
RVNGHTMLTextStream * librevenge::RVNGHTMLTextZone::getNewStream | ( | ) |
returns a new stream corresponding to this zone
|
inline |
returns true if there is no data
Referenced by send().
|
protected |
return a label corresponding to the zone
|
private |
|
inline |
send the zone data
|
inline |
the type
|
inline |
the type
|
friend |
Referenced by deleteStream(), getNewStream(), and RVNGHTMLTextStream.
|
mutableprotected |
the actual id
Referenced by RVNGHTMLTextZone().
|
protected |
the list of data string
Referenced by isEmpty(), RVNGHTMLTextZone(), and send().
|
protected |
the zone type
Referenced by label(), RVNGHTMLTextZone(), send(), setType(), and type().