22#include <libxml/xmlwriter.h>
37 ,
sw::BroadcastingModify()
38 , m_pTextAttr(nullptr)
51 assert(SfxPoolItem::operator==(rAttr));
62 if (rHint.
GetId() != SfxHintId::SwLegacyModify)
65 CallSwClientNotify(rHint);
83 return uno::Reference<text::XTextRange>();
89 uno::Reference<text::XTextRange> xRet
96 (void)xmlTextWriterStartElement(pWriter, BAD_CAST(
"SwFormatLineBreak"));
97 (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST(
"ptr"),
"%p",
this);
98 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST(
"value"),
100 (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST(
"m_pTextAttr"),
"%p",
m_pTextAttr);
104 (void)xmlTextWriterEndElement(pWriter);
109 , m_pTextNode(nullptr)
119 (void)xmlTextWriterStartElement(pWriter, BAD_CAST(
"SwTextLineBreak"));
122 (void)xmlTextWriterStartElement(pWriter, BAD_CAST(
"m_pTextNode"));
123 (void)xmlTextWriterWriteAttribute(
124 pWriter, BAD_CAST(
"index"),
126 (void)xmlTextWriterEndElement(pWriter);
130 (void)xmlTextWriterEndElement(pWriter);
virtual sal_uInt16 GetEnumValue() const override
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
SwNodeOffset GetIndex() const
PaM is Point and Mark: a selection of the document model.
const SwPosition * GetMark() const
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
const SwPosition * End() const
const SwPosition * Start() const
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
sal_Int32 GetStart() const
void SetHasDummyChar(const bool bFlag)
~SwTextLineBreak() override
void SetTextNode(SwTextNode *pNew)
SwTextLineBreak(SwFormatLineBreak &rAttr, sal_Int32 nStart)
void dumpAsXml(xmlTextWriterPtr pWriter) const override
const SwTextNode & GetTextNode() const
SwTextNode is a paragraph in the document model.
struct _xmlTextWriter * xmlTextWriterPtr
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_REMOVE_UNO_OBJECT(181)
constexpr TypedWhichId< SwFormatLineBreak > RES_TXTATR_LINEBREAK(61)
Dialog to specify the properties of date form field.
void AdjustContent(sal_Int32 nDelta)
Adjust content index, only valid to call this if the position points to a SwContentNode subclass.