22#include <libxml/xmlwriter.h>
29 m_Point( rRect.
Left(), rRect.
Top() )
180 (void)xmlTextWriterWriteFormatAttribute(writer, BAD_CAST(
"left"),
"%li",
Left());
181 (void)xmlTextWriterWriteFormatAttribute(writer, BAD_CAST(
"top"),
"%li",
Top());
182 (void)xmlTextWriterWriteFormatAttribute(writer, BAD_CAST(
"width"),
"%li",
Width());
183 (void)xmlTextWriterWriteFormatAttribute(writer, BAD_CAST(
"height"),
"%li",
Height());
184 (void)xmlTextWriterWriteFormatAttribute(writer, BAD_CAST(
"bottom"),
"%li",
Bottom());
185 (void)xmlTextWriterWriteFormatAttribute(writer, BAD_CAST(
"right"),
"%li",
Right());
200static_assert( std::is_trivially_copyable< SwRect >::value );
constexpr tools::Long Y() const
void setX(tools::Long nX)
void setY(tools::Long nY)
constexpr tools::Long X() const
constexpr tools::Long getX() const
constexpr tools::Long getY() const
constexpr tools::Long getHeight() const
constexpr tools::Long Height() const
tools::Long AdjustHeight(tools::Long n)
constexpr tools::Long getWidth() const
void setWidth(tools::Long nWidth)
tools::Long AdjustWidth(tools::Long n)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
SvStream & WriteInt32(sal_Int32 nInt32)
SvStream & WriteChar(char nChar)
Of course Writer needs its own rectangles.
void SubLeft(const tools::Long nSub)
SwRect & Intersection(const SwRect &rRect)
tools::Long Bottom() const
tools::Long Right_() const
void SubTop(const tools::Long nSub)
void Height(tools::Long nNew)
tools::Long Right() const
tools::Long GetBottomDistance(tools::Long) const
void SetBottomAndHeight(tools::Long nBottom, tools::Long nNew)
SwRect & Union(const SwRect &rRect)
void dumpAsXmlAttributes(xmlTextWriterPtr writer) const
void Top(const tools::Long nTop)
tools::Long Height_() const
tools::Long Left_() const
void SetTopAndHeight(tools::Long nTop, tools::Long nNew)
void SetRightAndWidth(tools::Long nRight, tools::Long nNew)
tools::Long Width_() const
void Right(const tools::Long nRight)
void Bottom(const tools::Long nBottom)
tools::Long GetRightDistance(tools::Long) const
bool OverStepBottom(tools::Long) const
void SetPosX(const tools::Long nNew)
SwRect & Intersection_(const SwRect &rRect)
void SetLeftAndWidth(tools::Long nLeft, tools::Long nNew)
const Size & SSize() const
void AddLeft(const tools::Long nAdd)
bool OverStepLeft(tools::Long) const
void SetLowerLeftCorner(const Point &rNew)
bool OverStepRight(tools::Long) const
void AddBottom(const tools::Long nAdd)
tools::Long GetTopDistance(tools::Long) const
tools::Long GetLeftDistance(tools::Long) const
void AddRight(const tools::Long nAdd)
void SetUpperRightCorner(const Point &rNew)
void AddHeight(const tools::Long nAdd)
bool Overlaps(const SwRect &rRect) const
void AddTop(const tools::Long nAdd)
bool OverStepTop(tools::Long) const
void AddWidth(const tools::Long nAdd)
void SetUpperLeftCorner(const Point &rNew)
tools::Long Bottom_() const
tools::Long Width() const
void SetPosY(const tools::Long nNew)
void Left(const tools::Long nLeft)
tools::Long Height() const
void Width(tools::Long nNew)
struct _xmlTextWriter * xmlTextWriterPtr
SwNodeOffset min(const SwNodeOffset &a, const SwNodeOffset &b)
SvStream & WriteSwRect(SvStream &rStream, const SwRect &rRect)