diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2019-11-26 14:53:44 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-11-26 18:34:11 +0100 |
commit | 63ef7120bf0d7fd3cb6801f4e7e9fbae4a4f2363 (patch) | |
tree | f5398cc59bf7c55a26e4158a5f8c376edb89506c /sfx2 | |
parent | 9a62f351f346913fbbd7bacdeb0ae67eaebaa15d (diff) |
Comment the searchInMetaFile method
Change-Id: Icbf1f852f8deb5392a820b46db4da19aef30f491
Reviewed-on: https://gerrit.libreoffice.org/83754
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/SfxRedactionHelper.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/inc/SfxRedactionHelper.hxx b/sfx2/inc/SfxRedactionHelper.hxx index ae72c39f4886..0262fe243d0b 100644 --- a/sfx2/inc/SfxRedactionHelper.hxx +++ b/sfx2/inc/SfxRedactionHelper.hxx @@ -97,6 +97,10 @@ public: * */ static PageMargins getPageMarginsForCalc(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, uno::Reference<XComponent>& xComponent); |