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

Public Attributes

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

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 Wed May 22 2013 18:12:48 for libmwaw by doxygen 1.8.1.2