Go to the documentation of this file.
94 void addTo(librevenge::RVNGPropertyList &propList)
const;
254 return c1.
compare(c2,
true) < 0;
260 static bool convertDTFormat(std::string
const &dtFormat, librevenge::RVNGPropertyListVector &propListVector);
307 void addTo(librevenge::RVNGPropertyList &propList)
const;
395 if (diffF < 0)
return true;
396 if (diffF > 0)
return false;
398 if (diff)
return (diff < 0);
401 if (diffF < 0)
return true;
402 if (diffF > 0)
return false;
WPSCell const * m_cell
Definition: WPSCell.h:388
WPSCell(WPSCell const &)=default
~WPSCell() override
destructor
Definition: WPSCell.cpp:530
WPSCell()
constructor
Definition: WPSCell.h:295
@ Top
Definition: libwps_internal.h:400
friend std::ostream & operator<<(std::ostream &o, WPSCell const &cell)
operator<<
Definition: WPSCell.cpp:545
@ BottomBit
Definition: libwps_internal.h:401
small structure to define a cell point
Definition: WPSCell.h:373
@ Right
Definition: libwps_internal.h:400
bool operator()(Point const &c1, Point const &c2) const
comparaison function
Definition: WPSCell.h:392
Compare(int dim)
Definition: WPSCell.h:369
bool isWhite() const
return true if the color is white
Definition: libwps_internal.h:350
define the font properties
Definition: WPSFont.h:37
void setPosition(Vec2i posi)
set the cell positions : 0,0 -> A1, 0,1 -> A2
Definition: WPSCell.h:340
Vec2i const & numSpannedCells() const
returns the number of spanned cells
Definition: WPSCell.h:346
std::shared_ptr< WPSListener > WPSListenerPtr
shared pointer to WPSListener
Definition: libwps_internal.h:105
Definition: WPSTable.h:157
@ Left
Definition: libwps_internal.h:400
@ TopBit
Definition: libwps_internal.h:401
#define WPS_DEBUG_MSG(M)
Definition: libwps_internal.h:134
int m_coord
the coord to compare
Definition: WPSCell.h:412
#define WPS_FALLTHROUGH
fall through attributes
Definition: libwps_internal.h:82
virtual bool send(WPSListenerPtr &listener)=0
call when a cell must be send
@ Bottom
Definition: libwps_internal.h:400
void setVerticalSet(bool verticalSet)
fixes or not the vertical size
Definition: WPSCell.h:325
@ RightBit
Definition: libwps_internal.h:401
void addTo(librevenge::RVNGPropertyList &propList) const
add to the propList
Definition: WPSCell.cpp:534
float getSize(int coord) const
Definition: WPSCell.h:383
Vec2i m_position
the cell row and column : 0,0 -> A1, 0,1 -> A2
Definition: WPSCell.h:420
Style m_style
the border style
Definition: libwps_internal.h:446
Vec2i m_numberCellSpanned
the cell spanned : by default (1,1)
Definition: WPSCell.h:422
Vec2< T > const & min() const
the minimum 2D point (in x and in y)
Definition: libwps_internal.h:725
a structure used to defined the cell position, and a format
Definition: WPSCell.h:291
a border list
Definition: libwps_internal.h:395
virtual bool sendContent(WPSListenerPtr &listener)=0
call when the content of a cell must be send
float getPos(int coord) const
Definition: WPSCell.h:377
bool m_verticalSet
true if y size is fixed
Definition: WPSCell.h:418
WPSCell & operator=(WPSCell const &)=default
a comparaison structure used retrieve the rows and the columns
Definition: WPSCell.h:368
std::ostream & operator<<(std::ostream &o, WPSCellFormat const &cell)
Definition: WPSCell.cpp:398
bool isVerticalSet() const
returns true if the vertical is fixed
Definition: WPSCell.h:320
Vec2i & position()
position accessor
Definition: WPSCell.h:330
Vec2< T > const & max() const
the maximum 2D point (in x and in y)
Definition: libwps_internal.h:730
WPSBox2f m_box
the cell bounding box (unit in point)
Definition: WPSCell.h:416
@ LeftBit
Definition: libwps_internal.h:401
int m_which
Definition: WPSCell.h:387
Vec2< T > size() const
the box size
Definition: libwps_internal.h:754
WPSBox2f const & box() const
return the bounding box
Definition: WPSCell.h:315
@ None
Definition: libwps_internal.h:397
the class to store a color
Definition: libwps_internal.h:281
Point(int wh, WPSCell const *cell)
Definition: WPSCell.h:374
void setBox(WPSBox2f const &b)
set the bounding box (units in point)
Definition: WPSCell.h:310
Vec2i const & position() const
position accessor
Definition: WPSCell.h:335
void setNumSpannedCells(Vec2i numSpanned)
sets the number of spanned cells : Vec2i(1,1) means 1 cellule
Definition: WPSCell.h:351
Generated on Wed Dec 11 2024 08:55:45 for libwps by
doxygen 1.8.20