From 82bba7e4c044e54fc678ab108c662473d3a471a8 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Mon, 27 May 2019 17:44:10 +0300 Subject: Auto redaction dialog first iteration * Add the uno command .uno:AutoRedact with the name 'Auto-Redact' * Add the dialog SfxAutoRedactDialog * Implement the basic functionality to show up when clicked on the menu/toolbar item. * Add the class TargetsTable to control the weld::TreeView which is used to list the targets * Add the struct RedactionTarget to keep info for individual targets Change-Id: Ic02dfb009590c0928a2ea7b0f8b19b4febca221a Reviewed-on: https://gerrit.libreoffice.org/72254 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- sfx2/sdi/sfx.sdi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'sfx2/sdi/sfx.sdi') diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 3d8cade70309..29bef29d5f74 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -4832,6 +4832,23 @@ SfxVoidItem RedactDoc SID_REDACTDOC GroupId = SfxGroupId::Document; ] +SfxVoidItem AutoRedactDoc SID_AUTOREDACTDOC +(SfxStringItem URL SID_FILE_NAME, SfxStringItem FilterName SID_FILTER_NAME) +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Document; +] + SfxImageItem ImageOrientation SID_IMAGE_ORIENTATION [ -- cgit