ClarisWksGraphInternal::Group Struct Reference

Internal: class which stores a group of graphics, ... More...

Inheritance diagram for ClarisWksGraphInternal::Group:
ClarisWksStruct::DSET

Classes

struct  LinkedZones
 a small class of Group used to store a list a set of text zone More...
 

Public Member Functions

 Group (ClarisWksStruct::DSET const &dset=ClarisWksStruct::DSET())
 constructor More...
 
bool isLinked (int id) const
 check if we need to send the frame is linked to another frmae More...
 
bool addFrameName (int id, int subId, MWAWGraphicStyle &style) const
 add the frame name if needed More...
 
- Public Member Functions inherited from ClarisWksStruct::DSET
 DSET ()
 constructor More...
 
virtual ~DSET ()
 virtual destructor More...
 
bool okChildId (int zoneId) const
 test is a child id is valid More...
 

Public Attributes

std::vector< shared_ptr< Zone > > m_zones
 the list of child zones More...
 
Vec2i m_headerDim
 the header dimension ( if defined ) More...
 
bool m_hasMainZone
 a flag to know if this zone contains or no the call to zone 1 More...
 
Box2f m_box
 the group bdbox ( if known ) More...
 
int m_page
 the group page ( if known ) More...
 
int m_totalNumber
 the number of zone to send More...
 
std::vector< size_t > m_blockToSendList
 the list of block to send More...
 
std::map< int, LinkedZonesm_idLinkedZonesMap
 a map zone id to the list of zones More...
 
- Public Attributes inherited from ClarisWksStruct::DSET
long m_size
 the size of the DSET header More...
 
long m_numData
 the number of header More...
 
long m_dataSz
 the data size More...
 
long m_headerSz
 the header size More...
 
Type m_type
 the document type More...
 
int m_fileType
 the type ( 0: text, -1: graphic, ...) More...
 
int m_id
 the identificator More...
 
std::set< int > m_fathersList
 the list of fathers More...
 
std::set< int > m_validedChildList
 the list of verified child More...
 
int m_beginSelection
 the begin of selection ( at least in text header) More...
 
int m_endSelection
 the end of selection ( at least in text header) More...
 
int m_textType
 the text type (header/footer,footnote, ...) More...
 
int m_flags [4]
 some unknown flag More...
 
std::vector< Childm_childs
 the list of child zone More...
 
std::vector< int > m_otherChilds
 the list of other child More...
 
bool m_parsed
 a flag to know if the entry is sent or not to the listener More...
 
int m_internal
 an internal variable used to do some computation More...
 

Friends

std::ostream & operator<< (std::ostream &o, Group const &doc)
 operator<< More...
 

Additional Inherited Members

- Public Types inherited from ClarisWksStruct::DSET
enum  Type {
  T_Main =0, T_Header, T_Footer, T_Frame,
  T_Footnote, T_Table, T_Slide, T_Unknown
}
 the document type More...
 

Detailed Description

Internal: class which stores a group of graphics, ...

Constructor & Destructor Documentation

ClarisWksGraphInternal::Group::Group ( ClarisWksStruct::DSET const &  dset = ClarisWksStruct::DSET())
inline

constructor

Member Function Documentation

bool ClarisWksGraphInternal::Group::addFrameName ( int  id,
int  subId,
MWAWGraphicStyle style 
) const
inline

add the frame name if needed

Referenced by ClarisWksGraph::sendGroupChild().

bool ClarisWksGraphInternal::Group::isLinked ( int  id) const
inline

check if we need to send the frame is linked to another frmae

Referenced by addFrameName(), ClarisWksGraph::canSendAsGraphic(), ClarisWksGraph::sendGroup(), and ClarisWksGraph::sendGroupChild().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Group const &  doc 
)
friend

operator<<

Member Data Documentation

std::vector<size_t> ClarisWksGraphInternal::Group::m_blockToSendList
Box2f ClarisWksGraphInternal::Group::m_box

the group bdbox ( if known )

Referenced by ClarisWksGraph::sendGroup(), and ClarisWksGraph::updateInformation().

bool ClarisWksGraphInternal::Group::m_hasMainZone

a flag to know if this zone contains or no the call to zone 1

Referenced by ClarisWksGraph::sendGroup(), and ClarisWksGraph::updateInformation().

Vec2i ClarisWksGraphInternal::Group::m_headerDim

the header dimension ( if defined )

Referenced by ClarisWksGraph::readGroupUnknown(), and ClarisWksGraph::updateInformation().

std::map<int, LinkedZones> ClarisWksGraphInternal::Group::m_idLinkedZonesMap

a map zone id to the list of zones

Referenced by addFrameName(), isLinked(), and ClarisWksGraph::updateInformation().

int ClarisWksGraphInternal::Group::m_page
int ClarisWksGraphInternal::Group::m_totalNumber

the number of zone to send

Referenced by ClarisWksGraph::sendGroup(), and ClarisWksGraph::updateInformation().


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

Generated on Fri Jul 25 2014 13:24:37 for libmwaw by doxygen 1.8.7