redact search result

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

redact search result

Post by jusWest »

Hi!

In our app, we use the function for redacting a search result, this works good and the search result
get redacted.

BUT, even after redacting a search result, some of this redacted words turn up as results in the search pane when
we search for the same word again. If we click the element in the search result, the text behind the redacted black rectangle
gets selected.

This also happens in the PDFXchange Editor.

Is there a setting that enables us to avoid theese results, or is this a bug?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: redact search result

Post by Tracker Supp-Stefan »

Hello jusWest,

The redaction is a two step process.
First you mark the areas that you want to redact, and then you need to apply the redactions. When you do apply them - that is the point at which the content under any redaction rectangles gets permanently removed from the file.

Kind regards,
Stefan
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: redact search result

Post by jusWest »

this I know this. This problem is thaat after cmd.document.applyRedactions has been called, the text is still searchable
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: redact search result

Post by Sasha - Tracker Dev Team »

Hello jusWest,

Does this only happen when you use the SDK, or you can recreate this manually via the End-User Editor?

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: redact search result

Post by jusWest »

Sasha - Tracker Dev Team wrote: Wed Apr 21, 2021 2:25 pm Hello jusWest,

Does this only happen when you use the SDK, or you can recreate this manually via the End-User Editor?

Cheers,
Alex
This happens in the end user editor as well as when using the SDK, but not for all pdf files strangely enough.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: redact search result

Post by Sasha - Tracker Dev Team »

Hello jusWest,

Can you please share a pdf sample that we can test on? If it contains some sensitive data, you can mail it to the support@pdf-xchange.com e-mail with the link to this post.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply