80 void addTo(librevenge::RVNGPropertyList &propList)
const;
214 return c1.
compare(c2,
true) < 0;
220 static bool convertDTFormat(std::string
const &dtFormat, librevenge::RVNGPropertyListVector &propListVector);
256 void addTo(librevenge::RVNGPropertyList &propList)
const;
341 if (diffF < 0)
return true;
342 if (diffF > 0)
return false;
344 if (diff)
return (diff < 0);
347 if (diffF < 0)
return true;
348 if (diffF > 0)
return false;
void addTo(librevenge::RVNGPropertyList &propList) const
add to the propList
Definition: WPSCell.cpp:497
void setBox(Box2f const &b)
set the bounding box (units in point)
Definition: WPSCell.h:259
a border list
Definition: libwps_internal.h:216
a comparaison structure used retrieve the rows and the columns
Definition: WPSCell.h:316
Point(int wh, WPSCell const *cell)
Definition: WPSCell.h:322
Vec2< T > const & min() const
the minimum 2D point (in x and in y)
Definition: libwps_internal.h:504
Vec2i m_numberCellSpanned
the cell spanned : by default (1,1)
Definition: WPSCell.h:368
virtual ~WPSCell()
destructor
Definition: WPSCell.h:253
define the font properties
Definition: WPSFont.h:37
WPSCell()
constructor
Definition: WPSCell.h:251
void setVerticalSet(bool verticalSet)
fixes or not the vertical size
Definition: WPSCell.h:274
float getSize(int coord) const
Definition: WPSCell.h:329
Vec2i const & numSpannedCells() const
returns the number of spanned cells
Definition: WPSCell.h:295
a structure used to defined the cell position, and a format
Definition: WPSCell.h:246
void setNumSpannedCells(Vec2i numSpanned)
sets the number of spanned cells : Vec2i(1,1) means 1 cellule
Definition: WPSCell.h:300
bool isVerticalSet() const
returns true if the vertical is fixed
Definition: WPSCell.h:269
shared_ptr< WPSListener > WPSListenerPtr
shared pointer to WPSListener
Definition: libwps_internal.h:98
Box2f m_box
the cell bounding box (unit in point)
Definition: WPSCell.h:362
int m_coord
the coord to compare
Definition: WPSCell.h:358
Vec2i const & position() const
position accessor
Definition: WPSCell.h:284
Vec2< T > const & max() const
the maximum 2D point (in x and in y)
Definition: libwps_internal.h:509
Compare(int dim)
Definition: WPSCell.h:318
bool operator()(Point const &c1, Point const &c2) const
comparaison function
Definition: WPSCell.h:338
small structure to define a cell point
Definition: WPSCell.h:320
float getPos(int coord) const
Definition: WPSCell.h:323
virtual bool sendContent(WPSListenerPtr &listener)=0
call when the content of a cell must be send
Box2f const & box() const
return the bounding box
Definition: WPSCell.h:264
void setPosition(Vec2i posi)
set the cell positions : 0,0 -> A1, 0,1 -> A2
Definition: WPSCell.h:289
Vec2i m_position
the cell row and column : 0,0 -> A1, 0,1 -> A2
Definition: WPSCell.h:366
WPSCell const * m_cell
Definition: WPSCell.h:334
virtual bool send(WPSListenerPtr &listener)=0
call when a cell must be send
int m_which
Definition: WPSCell.h:333
Definition: WPSTable.h:39
bool m_verticalSet
true if y size is fixed
Definition: WPSCell.h:364
Vec2< T > size() const
the box size
Definition: libwps_internal.h:534
friend std::ostream & operator<<(std::ostream &o, WPSCell const &cell)
operator<<
Definition: WPSCell.cpp:508
Vec2i & position()
position accessor
Definition: WPSCell.h:279