summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-11-26 14:53:44 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-11-26 16:22:20 +0100
commit2849104773b4a32c8582e5e2c989bfc73f90274c (patch)
tree50640239fea7b42f200b9f7ce7e3c3a745c457da
parent2d01ed9e8be543460e41e009fa992103a7c8d4c0 (diff)
Comment the searchInMetaFile method
Change-Id: Icbf1f852f8deb5392a820b46db4da19aef30f491 Reviewed-on: https://gerrit.libreoffice.org/83757 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r--sfx2/inc/SfxRedactionHelper.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/inc/SfxRedactionHelper.hxx b/sfx2/inc/SfxRedactionHelper.hxx
index 65835d75f8eb..d30284791439 100644
--- a/sfx2/inc/SfxRedactionHelper.hxx
+++ b/sfx2/inc/SfxRedactionHelper.hxx
@@ -98,6 +98,10 @@ public:
* */
static PageMargins getPageMarginsForCalc(const css::uno::Reference<css::frame::XModel>& xModel);
+ /*
+ * Used to find the text portions to be redacted. Returns a list of rectangles to cover those
+ * areas to be redacted. Probably the most crucial part of the auto-redaction process.
+ * */
static void searchInMetaFile(const RedactionTarget* pRedactionTarget, const GDIMetaFile& rMtf,
std::vector<tools::Rectangle>& aRedactionRectangles,
const uno::Reference<XComponent>& xComponent);