summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorOlivier R <olivier.dev@grammalecte.net>2019-06-03 20:33:21 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-06-06 10:18:13 +0200
commiteadd67044e2bd999263c7ce135bc37f207b262d8 (patch)
tree8d32f1f23117b8ba03ab251dfd75e3ca8a388ba7 /offapi
parentcb8bd30f73b3122602e1595babef2bb7473d1865 (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> (cherry picked from commit cdd69ce780dc7758047a27ed3c76bdc01b5ffb89) Reviewed-on: https://gerrit.libreoffice.org/73541
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/text/TextMarkupDescriptor.idl4
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;
};