While the OCR all bookmarks are deleted.
How can this be prevented?
All bookmarks are deleted!
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: All bookmarks are deleted!
Hi Dorwol,
I will discuss this with one of my colleagues working on the OCR (Walter), but could you please also share the settings you are using (e.g. are you rasterizing all content on the page first or are you keeping it and just adding the text layer?
Best,
Stefan
I will discuss this with one of my colleagues working on the OCR (Walter), but could you please also share the settings you are using (e.g. are you rasterizing all content on the page first or are you keeping it and just adding the text layer?
Best,
Stefan
-
- User
- Posts: 275
- Joined: Mon Aug 04, 2008 5:04 pm
Re: All bookmarks are deleted!
My code is the same code like your VB example code.
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: All bookmarks are deleted!
Thanks Dorwol,
Once we've had the chance to check that with Walter we will post back here.
Best,
Stefan
Once we've had the chance to check that with Walter we will post back here.
Best,
Stefan
-
- User
- Posts: 381
- Joined: Mon Jun 13, 2011 5:10 pm
Re: All bookmarks are deleted!
When performing OCR with the SDK, an entirely new document is created, so anything that is not strictly visible on the page (bookmarks, etc) is not preserved. You can use the Tools SDK to migrate bookmarks from the source document to the output document, after saving the OCR output to an intermediate file, using PXCp_BMGetItem() and PXCp_BMInsertItem().
I am adding this as a feature request for the next version of the OCR component, as I can see how it can be useful, but it will not be added to the existing SDK, so for the moment you will need to implement it yourself. This should not be too hard; please post here or start a new thread if you need any assistance and we will be happy to help.
-Walter
I am adding this as a feature request for the next version of the OCR component, as I can see how it can be useful, but it will not be added to the existing SDK, so for the moment you will need to implement it yourself. This should not be too hard; please post here or start a new thread if you need any assistance and we will be happy to help.
-Walter