summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2022-11-30 13:09:07 -0500
committerMiklos Vajna <vmiklos@collabora.com>2022-12-20 14:45:38 +0000
commitc4620dec0818802e9b56e223cb78eabca632abba (patch)
tree75d775eba95e203d8c3516bbcaf8f8aeb65be95b /offapi
parent77449c9877bff4979e4d9ff0fe489f61e340c975 (diff)
tdf#151548 sw content controls: preserve lock
DOCX SdtControls can be locked in two ways: -Content Control cannot be deleted (sdtLocked) -Contents cannot be edited (contentLocked) or both (sdtContentLocked) make CppunitTest_writerfilter_dmapper CPPUNIT_TEST_NAME=testSdtRunRichText make CppunitTest_sw_ooxmlexport4 CPPUNIT_TEST_NAME=testSimpleSdts make CppunitTest_sw_ooxmlexport17 CPPUNIT_TEST_NAME=testDateContentControlExport make CppunitTest_sw_core_unocore CPPUNIT_TEST_NAME=testContentControlDate make CppunitTest_sw_macros_test CPPUNIT_TEST_NAME=testVba make CppunitTest_xmloff_text CPPUNIT_TEST_NAME=testAliasContentControlExport make CppunitTest_xmloff_text CPPUNIT_TEST_NAME=testAliasContentControlImport Change-Id: I5a82d9f6b5103a4902f59af66cd8a99addd4e690 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143542 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144553 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
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 6abcc79fd204..59894741de2b 100644
--- a/offapi/com/sun/star/text/ContentControl.idl
+++ b/offapi/com/sun/star/text/ContentControl.idl
@@ -127,6 +127,12 @@ service ContentControl
@since LibreOffice 7.5
*/
[optional, property] long Id;
+
+ /** Describes whether the control itself and/or its data can be modified or deleted by the user.
+
+ @since LibreOffice 7.6
+ */
+ [optional, property] string Lock;
};