diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-07-26 08:21:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-07-27 13:39:36 +0200 |
commit | bdc4f593b3dbc5e9e21fa0a732f8986b029c5c06 (patch) | |
tree | 4e0f97ff805b4c00641e9822b3a011fc3528d7e4 /sw/inc | |
parent | 8c0ab5555c373a2aeb44b71d04ae80c67e704ec8 (diff) |
sw content controls, plain text: add insert UI
- handle the plain text case in SwWrtShell::InsertContentControl()
- expose this as a new .uno:InsertPlainTextContentControl command
- add the new uno command to the default & MS-compatible menus
(cherry picked from commit 7748a0c437855133fb0a0ebadb60f5f083112f20)
Change-Id: Ie6eb7271f2c1603fb92036e0067b1e6be70d93ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137495
Tested-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/cmdid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index e9f961c605b1..690a1b2a6688 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -218,6 +218,7 @@ #define FN_CONTENT_CONTROL_PROPERTIES (FN_INSERT + 25) /* Content control properties */ #define FN_INSERT_PICTURE_CONTENT_CONTROL (FN_INSERT + 26) /* Picture content control */ #define FN_INSERT_DATE_CONTENT_CONTROL (FN_INSERT + 27) /* Date content control */ +#define FN_INSERT_PLAIN_TEXT_CONTENT_CONTROL (FN_INSERT + 28) /* Plain text content control */ #define FN_POSTIT (FN_INSERT + 29) /* Insert/edit PostIt */ #define FN_INSERT_TABLE (FN_INSERT + 30) /* Insert Table */ #define FN_INSERT_STRING (FN_INSERT+31) |