summaryrefslogtreecommitdiff
path: root/sw/inc/unomap.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-03-02 09:38:14 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-03-02 10:36:12 +0100
commit1a240807f2c051ff9a63d713625404a024d7c221 (patch)
tree05ebf0969a011658e5cb99c318e8e227df91886a /sw/inc/unomap.hxx
parent46cf4096b794b11fee2bf75975f1083a38d889ec (diff)
sw clearing breaks: add UNO API to insert this with custom clear / char props
- if (character) properties are specified when the text content itself is inserted, then format the anchor ("dummy") character like that - add the ability to specify a clear type (none/left/right/all) on the line break object itself before insertion Change-Id: I219a1031e53c2e0368ff329d45b7e3fff0934038 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130818 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/inc/unomap.hxx')
-rw-r--r--sw/inc/unomap.hxx4
1 files changed, 3 insertions, 1 deletions
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;