diff options
author | Olivier R <olivier.dev@grammalecte.net> | 2019-06-03 20:33:21 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-06-05 13:58:23 +0200 |
commit | cdd69ce780dc7758047a27ed3c76bdc01b5ffb89 (patch) | |
tree | 6694d1f9dd5521884f31cf2a4ebb2de12e9d9a3c /offapi | |
parent | e770bacc85a0eec96de77068d61b03f374b3cdec (diff) |
Linguistic: new underlining styles for grammar checkers
This patch adds two new underlining styles:
- BOLDWAVE: a thicker version of the default WAVE style
- BOLD: a thick straight line
No default setting changed. It's up to the grammar checkers to specify
the underlining style they want.
This contribution to LibreOffice is licensed under the MPLv2/LGPLv3+ dual license.
modified : include/vcl/outdev.hxx
modified : offapi/com/sun/star/text/TextMarkupDescriptor.idl
modified : sw/source/core/inc/wrong.hxx
modified : sw/source/core/txtnode/fntcache.cxx
modified : vcl/source/outdev/textline.cxx
modified : vcl/workben/outdevgrind.cxx
Change-Id: I5629253905ba40c51cc748a7ceeb84170ef5d94c
Reviewed-on: https://gerrit.libreoffice.org/73412
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/text/TextMarkupDescriptor.idl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/offapi/com/sun/star/text/TextMarkupDescriptor.idl b/offapi/com/sun/star/text/TextMarkupDescriptor.idl index f78cb28c07ce..2afd054a74aa 100644 --- a/offapi/com/sun/star/text/TextMarkupDescriptor.idl +++ b/offapi/com/sun/star/text/TextMarkupDescriptor.idl @@ -54,7 +54,9 @@ struct TextMarkupDescriptor nType | aKey ------------------------- | ------------- PROOFREADING or SMARTTAG | "LineColor": changes the markup color from default to RGB aValue (int32) - PROOFREADING or SMARTTAG | "LineType": changes the wiggly line type from default to aValue (short) (WAVE or DASH) + PROOFREADING or SMARTTAG | "LineType": changes the underlining style to aValue (short): WAVE, DASH + | @since 6.3: BOLDWAVE, BOLD + | See: com::sun::star::awt::FontUnderline */ com::sun::star::container::XStringKeyMap xMarkupInfoContainer; }; |