Tomáš Bucki schreef op 15/11/2013 12:58:
>
> Hi all,
>
> We are in the stage of evaluating/buying iText for use in our company. 
> Most of the tasks we want to do with PDF files is iText capable to do. 
> However there is one special thing we want to do with PDF and we have 
> not found a simple and comfortable way how to achieve it with iText :
>
> We need to decompose PDF to pages and each page to content and 
> resources. We want to store page content separate (eg. in page-content 
> database table) and resources in another DB table (resources-table). 
> After some time we want to compose PDF page again from stored 
> resources to the same visual appearance. So what we want is to 
> decompose and compose page to/from page content and resources (so far 
> only graphic and fonts) and to be able to serialise/deserialize them 
> to/from output/input streams.
>
> How we can do this via iText API ? Does iText provide some API for 
> this kind of operations or do you plan to enhance it in this way ? We 
> mean some methods like “Get/SetPageResources”, “Get/SetPageFont”, 
> “Get/SetPageImage” ...
>

Resources are usually reused by different pages. Sometimes content is 
stored as a resource (XObjects).
Sometimes all the content of a page is stored in a resource.

Also: some information about a page stream isn't referred to from the 
/Resources dictionary of a page, but it's stored elsewhere, e.g. in an 
outline tree, in a structure tree,...

At first sight, the question looks like a requirement from somebody who 
doesn't understand what PDF is about. Or like a requirement from 
somebody who is trying to reinvent PDF/VT.

You'll have to explain WHY you need to decompose the PDF documents and 
then later compose them based on the different parts. iText offers you 
low level functionality to rip any PDF apart and it has methods that 
allow you to stitch a PDF together using different objects. However: 
it's something you should avoid if you don't know ISO-32000-1 back to back.

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to