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 16:22:20 +0100 |
commit | 2849104773b4a32c8582e5e2c989bfc73f90274c (patch) | |
tree | 50640239fea7b42f200b9f7ce7e3c3a745c457da /sfx2/inc | |
parent | 2d01ed9e8be543460e41e009fa992103a7c8d4c0 (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>
Diffstat (limited to 'sfx2/inc')
-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 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); |