Hi,

I suggest reading the PDF Reference. It will explain the content streams and 
how the Draw*/Fill* commands work and how you can calculate positions and 
sizes yourself.

Regards,
        Dominik

Am Freitag 06 August 2010 schrieb den bond:
> Hi!
> I have a list of PDFs and I need merge it into one file without "empty
> spaces".
> For example, if there are two files and both contain a single text line,
> result document should
> contain two lines at one page, but not two pages with one line (so,
> podofomerge
> is not that I need). As I've understand, there are two ways:
> 
> a) iterate through documents' objects arrays, like in the
> podofoimgextract...
> or b) parse documents with PdfContentsTokenizer (podofotxtextract)...
> 
> ...and find geometry/data information, which can be used for geometry
>  checks and
> inserting data in the newly created document.
> 
> But there are some unclear moments, based on lack of experience with PDF
>  and PoDoFo:
> 0. What is the object created when using PdfPainter::Draw/Fill*(...)? It
> seems it's not an image.
> 1. How I can get information about geometry of
> images/links/objects-from-question-#0 using PdfContentsTokenizer?
> or
> 2. How I can get text/links/objects-from-question-#0 information using
> document.GetObjects()?
> Thanks!
> 


-- 
**********************************************************************
Dominik Seichter - [email protected]
KRename  - http://www.krename.net  - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to