diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/formatlinebreak.hxx | 2 | ||||
-rw-r--r-- | sw/inc/textlinebreak.hxx | 5 | ||||
-rw-r--r-- | sw/inc/unomap.hxx | 4 | ||||
-rw-r--r-- | sw/inc/unoprnms.hxx | 1 |
4 files changed, 10 insertions, 2 deletions
diff --git a/sw/inc/formatlinebreak.hxx b/sw/inc/formatlinebreak.hxx index 9e26ab11351f..c3a2b0164f86 100644 --- a/sw/inc/formatlinebreak.hxx +++ b/sw/inc/formatlinebreak.hxx @@ -70,7 +70,7 @@ public: void InvalidateLineBreak(); - css::uno::Reference<css::text::XTextRange> getAnchor(SwDoc& rDoc) const; + css::uno::Reference<css::text::XTextRange> GetAnchor() const; void SetTextLineBreak(SwTextLineBreak* pTextAttr) { m_pTextAttr = pTextAttr; } diff --git a/sw/inc/textlinebreak.hxx b/sw/inc/textlinebreak.hxx index c0853aa2bd56..33401972f60b 100644 --- a/sw/inc/textlinebreak.hxx +++ b/sw/inc/textlinebreak.hxx @@ -32,11 +32,16 @@ class SwFormatLineBreak; */ class SW_DLLPUBLIC SwTextLineBreak final : public SwTextAttr { + SwTextNode* m_pTextNode; + public: SwTextLineBreak(SwFormatLineBreak& rAttr, sal_Int32 nStart); ~SwTextLineBreak() override; + const SwTextNode& GetTextNode() const; + void SetTextNode(SwTextNode* pNew); + void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; diff --git a/sw/inc/unomap.hxx b/sw/inc/unomap.hxx index c4c166032983..413adfaf7fc3 100644 --- a/sw/inc/unomap.hxx +++ b/sw/inc/unomap.hxx @@ -125,7 +125,8 @@ struct SfxItemPropertyMapEntry; #define PROPERTY_MAP_TABLE_STYLE 100 #define PROPERTY_MAP_CELL_STYLE 101 #define PROPERTY_MAP_FIELDMARK 102 -#define PROPERTY_MAP_END 103 +#define PROPERTY_MAP_LINEBREAK 103 +#define PROPERTY_MAP_END 104 //S&E #define WID_WORDS 0 @@ -351,6 +352,7 @@ private: static const SfxItemPropertyMapEntry* GetRedlinePropertyMap(); static const SfxItemPropertyMapEntry* GetRedlinePortionPropertyMap(); static SfxItemPropertyMapEntry* GetTextDefaultPropertyMap(); + static const SfxItemPropertyMapEntry* GetLineBreakPropertyMap(); }; extern SwUnoPropertyMapProvider aSwMapProvider; diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx index 8e982a84c4ac..d82bb18a0023 100644 --- a/sw/inc/unoprnms.hxx +++ b/sw/inc/unoprnms.hxx @@ -867,6 +867,7 @@ #define UNO_NAME_RESOLVED "Resolved" #define UNO_NAME_ALLOW_OVERLAP "AllowOverlap" +#define UNO_NAME_CLEAR "Clear" #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |