Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
PDF + Data suggestions |
Post Reply
|
| Author | |
bb46970
Team Player
Joined: 06 Mar 06 Status: Offline Points: 33 |
Post Options
Thanks(0)
Quote Reply
Topic: PDF + Data suggestionsPosted: 19 Dec 09 at 1:56AM |
|
Hi,
I have a project coming-up in which I have to scan records into PDF. Firstly, I want to tag each page with what type of document it is. One PDF may have an invoice, a request letter, a set of records, and a set of billing documents. I want to tag each page accordingly. These tags are for automated processing and not for user reading. My guess is to create a layer and move it behind the top layer, so that it is not visible. Then, tag the pages with annotations. Secondly, I have to capture information about the records, including: name, one or more addresses, phone numbers, dates of birth, etc. Like the page tags, this information is for automated processing rather than user review. I only need to record the information once per PDF and not for each page. Should I create a layer and move it to the back and use annotations to record the information? Or is it possible to embed XML inside of a PDF? XML seems like it may be a better way to handle this requirement. Thanks, David |
|
![]() |
|
DELBEKE
Debenu Quick PDF Library Expert
Joined: 31 Oct 05 Location: France Status: Offline Points: 151 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Dec 09 at 7:10AM |
|
Hi David
I thing using layers may be a bad idea, because layers are transparent.
Using XML should be better
For that purpose, you can use Set/GetDocumetMetadata
Edited by DELBEKE - 19 Dec 09 at 7:11AM |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Dec 09 at 10:22AM |
|
Hi David!
To tag each page with (for example) "invoice" you should use the normal drawtext-functions 'cause it's possible to write outside the page dimensions. If you have a width of 842 psunits you should start writing at 843. So nobody can see the tag in a reader but you can extract it with the textextractfunctions. For the special tags like "name", "adress", ... you should use the metadata-functions but don't serve the standard metadata-fields 'cause possible you can overwrite existing content. Use your own metadata. With SetCustomInformation and GetCustomInformation you can manage your own tags very well. Cheers, Ingo |
|
![]() |
|
bb46970
Team Player
Joined: 06 Mar 06 Status: Offline Points: 33 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Dec 09 at 2:48PM |
|
Thanks guys.
|
|
![]() |
|
bb46970
Team Player
Joined: 06 Mar 06 Status: Offline Points: 33 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Dec 09 at 2:53PM |
|
Hi,
As a side note, it is not a problem if the user is able to see any of this information. Most of these PDFs will be printed and this information should not be printed. Also, I would hide the information, by default, but if the user is able to access it manually, it is not a problem. I just looked through the functions. I think I see why you said to use SetCustomInformation. CatalogInformation is root to the structure of the PDF and I don't want to mess with that. DocumentInformation is all meta-data stored in the PDF as XMP, I'm guessing in Adobe's proprietary version of XML. CustomInformation accesses specific tags within within the XMP meta-data. I like the idea of storing the document related information with the PDF itself and not tied to one page that may be deleted. So, I can use CustomInformation for specific tags only. Or I can use DocumentInformation, but be aware that there may be other meta-data there that I may overwrite. Is that it? Thanks again. David Edited by bb46970 - 19 Dec 09 at 3:14PM |
|
![]() |
|
Shotgun Tom
Senior Member
Joined: 14 Aug 09 Location: Phoenix, AZ Status: Offline Points: 53 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 Jan 10 at 6:31PM |
|
Hi David:
Ingo is right on. Custom Information is the way to go for all the reasons mentioned.. Setting, Getting and displaying Custom Information is very easy to implement with QuickPDF.
Tom
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store