diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-11 12:22:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-12 12:25:21 +0100 |
commit | 431950e1eade91f8587d3ecffa73fd09136e16b6 (patch) | |
tree | d402e05fef613f36992e68efce2359e7cff54304 /include | |
parent | f088d85f80c643378262a1f53bdea6f42abcf7d4 (diff) |
tdf#121239 give writer, calc and draw/impress the same underline options
uno:Underline is the "real" deal, and has multiple underline options
uno:UnderlineSimple is "some underline on" vs no underline
calc and writer had UnderlineSingle, UnderlineDouble and UnderlineDotted
for that specific type of underline on vs not-on
add those to draw/impress too and then use UnderlineSingle instead of Underline
in the format menu so that when UnderlineDouble is applied, UnderlineSingle is
not show as applied, instead of using Underline ot UnderlineSimple which would
show as on if UnderlineDouble was applied
Change-Id: I6f9fcf37c2c90d215ea52b536e4fa84734754850
Reviewed-on: https://gerrit.libreoffice.org/82469
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svxids.hrc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/svx/svxids.hrc b/include/svx/svxids.hrc index 851ef3ebdd6b..100d2f4fbaf8 100644 --- a/include/svx/svxids.hrc +++ b/include/svx/svxids.hrc @@ -990,8 +990,13 @@ class SvxSetItem; #define SID_IMPRESS_DOC TypedWhichId<SfxBoolItem>( SID_SVX_START + 1194 ) +#define SID_ULINE_VAL_NONE (SID_SVX_START + 1195) /* no underline */ +#define SID_ULINE_VAL_SINGLE (SID_SVX_START + 1196) /* single underline */ +#define SID_ULINE_VAL_DOUBLE (SID_SVX_START + 1197) /* double underline */ +#define SID_ULINE_VAL_DOTTED (SID_SVX_START + 1198) /* dotted underline */ + // IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id -#define SID_SVX_FIRSTFREE ( SID_SVX_START + 1194 + 1 ) +#define SID_SVX_FIRSTFREE ( SID_SVX_START + 1198 + 1 ) // Overflow check for slot IDs #if SID_SVX_FIRSTFREE > SID_SVX_END |