From cbbe3edc5668fa21f8507a6435547dbfe5eef4d0 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Thu, 6 Dec 2018 12:10:13 +0300 Subject: Redaction: First steps - Add an uno command to create an empty draw document - Create a meta file from the first page of a Writer document - Insert meta file to the draw page - Doesn't work with normal/default view on big/high-res screens because of a bug in the MapModes. Manually setting zoom level to %200 or "Page Width" (to get rid of the extra space around the actual page) works for now as workaround. Change-Id: I05a987617efdda6690400ef550b81b58b21aa27e Reviewed-on: https://gerrit.libreoffice.org/64858 Tested-by: Jenkins Reviewed-by: Muhammet Kara Reviewed-on: https://gerrit.libreoffice.org/69728 Reviewed-by: Andras Timar Tested-by: Andras Timar --- include/sfx2/sfxsids.hrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc index e4c757ae756a..4dc9db677a8b 100644 --- a/include/sfx2/sfxsids.hrc +++ b/include/sfx2/sfxsids.hrc @@ -127,6 +127,7 @@ #define SID_DIRECTEXPORTDOCASPDF (SID_SFX_START + 1674) #define SID_EXPORTDOCASEPUB (SID_SFX_START + 1677) #define SID_DIRECTEXPORTDOCASEPUB (SID_SFX_START + 1678) +#define SID_REDACTDOC (SID_SFX_START + 1730) #define SID_UPDATEDOCMODE (SID_SFX_START + 1668) #define SID_CHECKOUT (SID_SFX_START + 512) #define SID_CANCELCHECKOUT (SID_SFX_START + 513) @@ -245,7 +246,7 @@ #define SID_TOOLBAR_MODE (SID_SFX_START + 1728) #define SID_NO_FILE_SYNC (SID_SFX_START + 1729) -// SID_SFX_free_START (SID_SFX_START + 1730) +// SID_SFX_free_START (SID_SFX_START + 1731) // SID_SFX_free_END (SID_SFX_START + 3999) #define SID_OPEN_NEW_VIEW (SID_SFX_START + 520) -- cgit