summaryrefslogtreecommitdiff
path: root/include/vcl
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 /include/vcl
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 'include/vcl')
-rw-r--r--include/vcl/outdev.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 8e79c0f646ee..8f8c009fa291 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -988,7 +988,7 @@ public:
void ImplDrawTextLines( SalLayout&, FontStrikeout eStrikeout, FontLineStyle eUnderline,
FontLineStyle eOverline, bool bWordLine, bool bUnderlineAbove );
- void DrawWaveLine( const Point& rStartPos, const Point& rEndPos );
+ void DrawWaveLine( const Point& rStartPos, const Point& rEndPos, long nLineWidth = 1 );
bool ImplDrawRotateText( SalLayout& );