From cdd69ce780dc7758047a27ed3c76bdc01b5ffb89 Mon Sep 17 00:00:00 2001 From: Olivier R Date: Mon, 3 Jun 2019 20:33:21 +0200 Subject: Linguistic: new underlining styles for grammar checkers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- offapi/com/sun/star/text/TextMarkupDescriptor.idl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'offapi') 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; }; -- cgit