summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorFred Kruse <f.kruse@freenet.de>2018-05-28 13:04:48 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-06-01 03:57:31 +0200
commit7e428cac54c0a10aa7885923b836562e8fa82235 (patch)
treefc4af7abd1ed710a85fb80b6f3db4be0fdfe906b /offapi
parent85849a28bf45a16f76ebf9b82ba59de15670c0f4 (diff)
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 <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/text/TextMarkupDescriptor.idl10
1 files changed, 9 insertions, 1 deletions
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;
};