librevenge::RVNGHTMLTextZone Struct Reference

a zone to regroup footnote/endnote,... data More...

List of all members.

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
RVNGHTMLTextStreamgetNewStream ()
 returns a new stream corresponding to this zone
void deleteStream (RVNGHTMLTextStream *stream)
 delete a 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

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

Detailed Description

a zone to regroup footnote/endnote,... data


Member Enumeration Documentation

the different zone

Enumerator:
Z_Comment 
Z_EndNote 
Z_FootNote 
Z_Main 
Z_MetaData 
Z_TextBox 
Z_Unknown 
Z_NumZones 

Constructor & Destructor Documentation

constructor for basic stream


Member Function Documentation

delete a stream corresponding to this zone

bool librevenge::RVNGHTMLTextZone::isEmpty ( ) const [inline]

returns true if there is no data

Referenced by send().

std::string librevenge::RVNGHTMLTextZone::label ( int  id) const [protected]

return a label corresponding to the zone

Referenced by librevenge::RVNGHTMLTextStream::label().

RVNGHTMLTextZone librevenge::RVNGHTMLTextZone::operator= ( RVNGHTMLTextZone const &  orig) [private]

the type

the type


Friends And Related Function Documentation

friend struct RVNGHTMLTextStream [friend]

Referenced by getNewStream().


Member Data Documentation

std::vector<std::string> librevenge::RVNGHTMLTextZone::m_stringList [protected]

the list of data string

Referenced by isEmpty(), send(), and librevenge::RVNGHTMLTextStream::send().


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