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());
200 static_assert( std::is_trivially_copyable< SwRect >::value );
SwNodeOffset min(const SwNodeOffset &a, const SwNodeOffset &b)
bool OverStepBottom(tools::Long) const
void Right(const tools::Long nRight)
tools::Long GetRightDistance(tools::Long) const
SwRect & Union(const SwRect &rRect)
void setWidth(tools::Long nWidth)
SvStream & WriteInt32(sal_Int32 nInt32)
void SubLeft(const tools::Long nSub)
void Left(const tools::Long nLeft)
tools::Long Right() const
tools::Long Height() const
Of course Writer needs its own rectangles.
void SetRightAndWidth(tools::Long nRight, tools::Long nNew)
void SetTopAndHeight(tools::Long nTop, tools::Long nNew)
void AddTop(const tools::Long nAdd)
SwRect & Intersection_(const SwRect &rRect)
tools::Long Right_() const
constexpr tools::Long Width() const
tools::Long Bottom() const
bool OverStepRight(tools::Long) const
SwRect & Intersection(const SwRect &rRect)
void Width(tools::Long nNew)
constexpr tools::Long getHeight() const
bool OverStepLeft(tools::Long) const
void SetLeftAndWidth(tools::Long nLeft, tools::Long nNew)
const Size & SSize() const
void AddBottom(const tools::Long nAdd)
tools::Long Height_() const
void AddHeight(const tools::Long nAdd)
void AddWidth(const tools::Long nAdd)
tools::Long Left_() const
void AddRight(const tools::Long nAdd)
void SetPosX(const tools::Long nNew)
void SetUpperLeftCorner(const Point &rNew)
tools::Long GetTopDistance(tools::Long) const
void AddLeft(const tools::Long nAdd)
void Bottom(const tools::Long nBottom)
void SubTop(const tools::Long nSub)
void SetUpperRightCorner(const Point &rNew)
tools::Long Width_() const
tools::Long GetBottomDistance(tools::Long) const
constexpr tools::Long Height() const
void SetLowerLeftCorner(const Point &rNew)
bool OverStepTop(tools::Long) const
tools::Long AdjustWidth(tools::Long n)
void Top(const tools::Long nTop)
tools::Long Bottom_() const
SvStream & WriteChar(char nChar)
tools::Long AdjustHeight(tools::Long n)
void SetPosY(const tools::Long nNew)
void setHeight(tools::Long nHeight)
void SetBottomAndHeight(tools::Long nBottom, tools::Long nNew)
struct _xmlTextWriter * xmlTextWriterPtr
constexpr tools::Long getWidth() const
tools::Long GetLeftDistance(tools::Long) const
tools::Long Width() const
void Height(tools::Long nNew)
bool Overlaps(const SwRect &rRect) const
void dumpAsXmlAttributes(xmlTextWriterPtr writer) const
SvStream & WriteSwRect(SvStream &rStream, const SwRect &rRect)