MSKGraphInternal::Table Struct Reference

Internal: the table of a MSKGraph. More...

Inheritance diagram for MSKGraphInternal::Table:
MSKGraphInternal::Zone

Classes

struct  Cell
 the cell content More...
 

Public Member Functions

 Table (Zone const &z)
 constructor More...
 
 Table ()
 empty constructor More...
 
virtual Type type () const
 return the type More...
 
Cell const * getCell (Vec2i const &pos) const
 try to find a cell More...
 
virtual void print (std::ostream &o) const
 operator<< More...
 
- Public Member Functions inherited from MSKGraphInternal::Zone
 Zone ()
 constructor More...
 
virtual ~Zone ()
 destructor More...
 
virtual bool getBinaryData (MWAWInputStreamPtr, WPXBinaryData &res, std::string &pictType) const
 return a binary data (if known) More...
 
virtual float needExtraBorderWidth () const
 return the extra border space ( if needed) More...
 
virtual void fillFramePropertyList (WPXPropertyList &) const
 add frame parameters to propList (if needed ) More...
 
Box2f getLocalBox () const
 return the box More...
 
MWAWPosition getPosition (MWAWPosition::AnchorTo rel) const
 

Public Attributes

int m_numRows
 the number of rows More...
 
int m_numCols
 the number of columns More...
 
std::vector< int > m_rowsDim
 the rows dimensions More...
 
std::vector< int > m_colsDim
 
MWAWFont m_font
 the default font More...
 
std::vector< Cellm_cellsList
 the list of cell More...
 
- Public Attributes inherited from MSKGraphInternal::Zone
int m_subType
 the type More...
 
int m_zoneId
 the zone id More...
 
MWAWEntry m_pos
 the file position More...
 
long m_dataPos
 the data begin position More...
 
int m_fileId
 the file id More...
 
long m_ids [3]
 the zones id (main, previous, next) More...
 
int m_page
 the page More...
 
Vec2f m_decal
 the local position More...
 
Box2f m_box
 local bdbox More...
 
int m_line
 the line position(v1) More...
 
int m_lineType
 the line type (v2) : 0= dotted, 1=half, 2=1, 3=2pt?, 4:4pt More...
 
int m_lineWidth
 the line width (v3, ...) More...
 
MWAWColor m_lineColor
 the line color More...
 
Pattern m_linePattern
 the line pattern More...
 
int m_lineFlags
 the line flag More...
 
MWAWColor m_surfaceColor
 the 2D surface color More...
 
Pattern m_surfacePattern
 the line pattern More...
 
int m_order
 the picture order More...
 
std::string m_extra
 extra data More...
 
bool m_isSent
 true if the zone is send More...
 

Additional Inherited Members

- Public Types inherited from MSKGraphInternal::Zone
enum  Type {
  Unknown, Basic, Group, Pict,
  Text, Textv4, Bitmap, TableZone,
  OLE
}
 

Detailed Description

Internal: the table of a MSKGraph.

Constructor & Destructor Documentation

MSKGraphInternal::Table::Table ( Zone const &  z)
inline

constructor

MSKGraphInternal::Table::Table ( )
inline

empty constructor

Member Function Documentation

Cell const* MSKGraphInternal::Table::getCell ( Vec2i const &  pos) const
inline

try to find a cell

Referenced by MSKGraph::sendTable().

virtual void MSKGraphInternal::Table::print ( std::ostream &  o) const
inlinevirtual

operator<<

Reimplemented from MSKGraphInternal::Zone.

virtual Type MSKGraphInternal::Table::type ( ) const
inlinevirtual

return the type

Reimplemented from MSKGraphInternal::Zone.

Member Data Documentation

std::vector<Cell> MSKGraphInternal::Table::m_cellsList

the list of cell

Referenced by getCell(), and MSKGraph::readTable().

std::vector<int> MSKGraphInternal::Table::m_colsDim
MWAWFont MSKGraphInternal::Table::m_font

the default font

int MSKGraphInternal::Table::m_numCols

the number of columns

Referenced by MSKGraph::getEntryPicture(), print(), and MSKGraph::readTable().

int MSKGraphInternal::Table::m_numRows

the number of rows

Referenced by MSKGraph::getEntryPicture(), print(), and MSKGraph::readTable().

std::vector<int> MSKGraphInternal::Table::m_rowsDim

the rows dimensions

Referenced by MSKGraph::readTable(), and MSKGraph::sendTable().


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

Generated on Sat Oct 19 2013 18:39:55 for libmwaw by doxygen 1.8.5