summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-09-21 08:24:17 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-09-21 12:07:35 +0200
commit276f3a3ce52ca422bf5ebccfa2c926d3e87d5eab (patch)
tree55d0af1c833c309e22d16c2686d4ba91dc8c9463 /offapi
parenta6541eb454644cd781f6f4345a34ee422d1a4520 (diff)
sw content controls, combo box: add doc model & UNO API
This is similar to dropdowns, but combo box allow free-form user input, while dropdown is meant to enforce that the content is one of the list items. Change-Id: I4ae226c55f70b2b3237021348e21b7d184e8a5ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140302 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/text/ContentControl.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/ContentControl.idl b/offapi/com/sun/star/text/ContentControl.idl
index 641ffd9cebd4..af5be9ac251e 100644
--- a/offapi/com/sun/star/text/ContentControl.idl
+++ b/offapi/com/sun/star/text/ContentControl.idl
@@ -93,6 +93,12 @@ service ContentControl
/** The color: just remembered.
*/
[optional, property] string Color;
+
+ /** Combo box that allows free-form text as well, i.e. not dropdown.
+
+ @since LibreOffice 7.5
+ */
+ [optional, property] boolean ComboBox;
};