summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorcodewithvk <vivek.javiya@collabora.com>2024-11-01 19:28:51 +0530
committervivek javiya <vivek.javiya@collabora.com>2024-11-07 08:27:11 +0100
commitd72dcbc4fcb7458955d8071f49d1a877a7d1d1a6 (patch)
treebe0b107ecef981c64751e91850fba720f80de035 /desktop/source
parent8d5d06da8d01d46ede24bfc8e2789830493a5a7d (diff)
sw: add .uno:DeleteContentControl command
This command removes formatting for content controls such as rich text, checkbox, dropdown, picture, and date controls. It deletes only the content control formatting, not the actual content of the section. Here are some todos: - Add test case for delete - undo/redo for this uno command Change-Id: Ib1b3b62ff7d62fd971472eff49a58c5afd786dc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175927 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 5d4ae3db293b0f9c46cbc09d0391806e1ed7b362) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176067 Tested-by: Jenkins Reviewed-by: vivek javiya <vivek.javiya@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 7f804585813e..9400a9bc6ce9 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -4020,6 +4020,7 @@ static void doc_iniUnoCommands ()
u".uno:Protect"_ustr,
u".uno:UnsetCellsReadOnly"_ustr,
u".uno:ContentControlProperties"_ustr,
+ u".uno:DeleteContentControl"_ustr,
u".uno:InsertCheckboxContentControl"_ustr,
u".uno:InsertContentControl"_ustr,
u".uno:InsertDateContentControl"_ustr,