summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-03-24 15:18:28 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-03-24 17:29:52 +0100
commit1acf8e3cfaf1ef92008e39514a32ace0d036e552 (patch)
treec083e6829b1dab97abf002cde01feaac802608ca /offapi
parentd7ba5614d90381d68f880ca7e7c5ef8bbb1b1c43 (diff)
sw fields: add Title uno property
The use-case is user fields, which are kind of variables in the document. They have a name and a value, but the name might be only readable to an extension or macro, not to the user. In this case, it makes sense to have a way to specify a user-readable tooltip. Be consistent with TextFrames which already have a Title property. Change-Id: I986792f5e55e0b96489347be482d640d155113cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132077 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/text/TextField.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/TextField.idl b/offapi/com/sun/star/text/TextField.idl
index 38c58e9afb1e..5499792b8c41 100644
--- a/offapi/com/sun/star/text/TextField.idl
+++ b/offapi/com/sun/star/text/TextField.idl
@@ -66,6 +66,12 @@ published service TextField
*/
[optional, property, readonly] boolean IsFieldDisplayed;
+ /** Contains short title for the field, used to for tooltip purposes if it's non-empty.
+
+ @since LibreOffice 7.4
+ */
+ [optional, property] string Title;
+
};