Description: Option to redact/ anonymizing file by replacing images by dummy or make them black Steps to Reproduce: certain bug require anonymizing, but also contain images Actual Results: Not possible. see https://wiki.documentfoundation.org/QA/Bugzilla/Sanitizing_Files_Before_Submission Expected Results: A function? Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.0.0.alpha1+ Build ID: c784b3da15102caf1022e83371863a86766e69cd CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; VCL: osx Locale: nl-NL (nl_NL.UTF-8); UI: en-US Calc: threaded
Maybe as kind of redact function
Muhammet, what do you think?
Covering the images manually is easy to do. But there might be long documents with a lot of images where this function becomes handy. No objection from UX.
(In reply to Heiko Tietze from comment #2) > Muhammet, what do you think? Looks like a valid enhancement request. Can be done by using a macro as well. Hint for macro-writers and someone who wants to implement this enhancement: - Go through images in the document (grep for IsRedactMode to find similar code) - Draw redaction rectangles over them (see SfxRedactionHelper::addRedactionRectToPage in SfxRedactionHelper.cxx) - The rest will be automatically handled by the existing redaction feature when user clicks on the redacted export button
(In reply to Muhammet Kara from comment #4) > - Draw redaction rectangles over them (see > SfxRedactionHelper::addRedactionRectToPage in SfxRedactionHelper.cxx) Please use a white variant of redaction rectangles for images. Or possibly we can use a different type of redaction rectangle like a white rectangle with two diagonal lines?
(In reply to Roman Kuznetsov from comment #5) > (In reply to Muhammet Kara from comment #4) > > > - Draw redaction rectangles over them (see > > SfxRedactionHelper::addRedactionRectToPage in SfxRedactionHelper.cxx) > > Please use a white variant of redaction rectangles for images. Or possibly > we can use a different type of redaction rectangle like a white rectangle > with two diagonal lines? Why?
(In reply to Muhammet Kara from comment #6) > (In reply to Roman Kuznetsov from comment #5) > > (In reply to Muhammet Kara from comment #4) > > > > > - Draw redaction rectangles over them (see > > > SfxRedactionHelper::addRedactionRectToPage in SfxRedactionHelper.cxx) > > > > Please use a white variant of redaction rectangles for images. Or possibly > > we can use a different type of redaction rectangle like a white rectangle > > with two diagonal lines? > > Why? I don't remember the reason today =( I think you can just ignore it
The diagonal lines maybe useful to showing this being an removed image? A white placeholder is probably less obvious.. I guess Compare View -> Disable images & charts.
I implemented this enhancement using white rectangles to redact images. https://gerrit.libreoffice.org/c/core/+/183248
Karthik committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/84c92227f8a47b7a9436806c17b308315de3d38b tdf#139331 Option to redact images in "Auto-Redact" It will be available in 25.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Karthik: feel free to close as fixed and add a note to https://wiki.documentfoundation.org/ReleaseNotes/25.8 per guidelines https://wiki.documentfoundation.org/ReleaseNotes/Guidelines