From 7e428cac54c0a10aa7885923b836562e8fa82235 Mon Sep 17 00:00:00 2001 From: Fred Kruse Date: Mon, 28 May 2018 13:04:48 +0200 Subject: linguistic: add functionality to change spellcheck color This adds a way for the grammar checker extension to change color and line type of the 'wiggly lines' LibreOffice uses to highlight spelling or grammar errors. Change-Id: Idd669cf362da34f8cfcdcec14f1f80df1ddb1f9e Reviewed-on: https://gerrit.libreoffice.org/54927 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- offapi/com/sun/star/text/TextMarkupDescriptor.idl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'offapi/com') diff --git a/offapi/com/sun/star/text/TextMarkupDescriptor.idl b/offapi/com/sun/star/text/TextMarkupDescriptor.idl index 17eea6e58173..f78cb28c07ce 100644 --- a/offapi/com/sun/star/text/TextMarkupDescriptor.idl +++ b/offapi/com/sun/star/text/TextMarkupDescriptor.idl @@ -47,7 +47,15 @@ struct TextMarkupDescriptor /// Length of the markup range long nLength; - /// contains additional information about the markup + /** contains additional information about the markup + + Supported properties: + + 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) + */ com::sun::star::container::XStringKeyMap xMarkupInfoContainer; }; -- cgit