We intend to release 0.6.0 soon, I talked with Craig about it a few weeks ago. 

I would suggest that you use current SVN as it contains several improvements 
compared to 0.5.0 and you can switch to 0.6 easily from current SVN once it 
is released.

best regards,
        Dom

Am Donnerstag, 15. Mai 2008 schrieb EXTERNAL Loch Sebastian (Firma Ferchau; 
BhP/TEF17):
> Hi Uli,
>
> thank you too!
> Actually I'm still using 0.5.0 where this method
> doesn't exist.
> Are there any plans for a new release?
>
> I checked the code of the method below, it works
> like the solution you described Dom.
>
> Kind Regards
> Sebastian
>
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 15. Mai 2008 13:34
> An: Ulrich Arnold
> Cc: EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17);
> [EMAIL PROTECTED]; [email protected] Betreff: Re: AW:
> [Podofo-users] Footer on different paper sizes
>
> Hi Uli!
>
> Thanks a lot for the hint! I totally forgot about this method :)
>
> best regards,
>       Dom
>
> Am Donnerstag, 15. Mai 2008 schrieb Ulrich Arnold:
> > Hi Dom and Sebastian!
> >
> > May I remind you of the function PdfDocument::FillXObjectFromDocumentPage
> > which we contributed. It should to the trick to convert pages to XObjects
> > which can later be resized and positioned on the page.
> >
> > Uli
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Dominik Seichter [mailto:[EMAIL PROTECTED]
> > Gesendet: Donnerstag, 15. Mai 2008 12:23
> > An: EXTERNAL Loch Sebastian (Firma Ferchau;BhP/TEF17)
> > Cc: [EMAIL PROTECTED]; [email protected]
> > Betreff: Re: [Podofo-users] Footer on different paper sizes
> >
> > Hello,
> >
> > You could try to convert the page contents into an XObject, delete the
> > actual page and draw the XObject scaled to a new page. Afterwards you can
> > paint text below the scaled XObject.
> >
> > Converting the page contents into an XObject requires some knowledge of
> > the PDF format. Basically you have to create a PdfXObject and copy the
> > complete contents stream from the PdfPage to the PdfXObject. You have
> > also to make sure that the resource directory is copied from the page to
> > XObject.
> >
> > After you have the XObject you can draw it using PdfPainter to a new
> > page.
> >
> > best regards,
> >     Dom
> >
> > Am Dienstag, 13. Mai 2008 schrieb EXTERNAL Loch Sebastian (Firma Ferchau;
> >
> > BhP/TEF17):
> > > Hello,
> > >
> > > thanks for you hints!
> > >
> > > It's no problem for me to draw some text anywhere on the page, but I
> > > don't want to draw over the old contents.
> > > How can I resize the old contents to get space for the footer on the
> > > page?
> > >
> > > Regards
> > > Sebastian
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Im Auftrag von
> > > Dominik Seichter Gesendet: Mittwoch, 7. Mai 2008 11:49
> > > An: EXTERNAL Loch Sebastian (Firma Ferchau; BhP/TEF17);
> > > [email protected] Cc: [EMAIL PROTECTED]
> > > Betreff: Re: [Podofo-users] Footer on different paper sizes
> > >
> > > Hi,
> > >
> > > This should be quite easy to do using PoDoFo. You can iterate through
> > > all pages in a document and use PdfPage::GetPageSize() to determine the
> >
> > size.
> >
> > > The PdfPage size is returned in PDF units, but
> > > PdfPage::CreateStandardPageSize( const EPdfPageSize ePageSize, bool
> > > bLandscape ) should give you an idea how to convert these to values
> > > like A4, A3 etc. . The page is landscape if the width is larget than
> > > the
> >
> > height.
> >
> > > If you know the size, you can create a PdfPainter and simply draw on
> > > the page. The watermark test included in PoDoFo should be a pretty
> > > good example for what you need.
> > >
> > > If you have more concrete questions feel free to ask on this list.
> > >
> > > best regards,
> > >   Dom
> > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: "EXTERNAL Loch Sebastian (Firma Ferchau, BhP/TEF17)"
> > > > <[EMAIL PROTECTED]> Gesendet: 07.05.08 11:42:28
> > > > An: <[email protected]>
> > > > CC: [EMAIL PROTECTED]
> > > > Betreff: [Podofo-users] Footer on different paper sizes
> > > >
> > > >
> > > > Hello all,
> > > >
> > > > I need to put a footer/stamp before viewing and printing pdf
> > > > documents (single and multi-page documents).
> > > >
> > > > The existing documents could have been different sizes/formats from
> > > > A0 to A4.
> > > > They should be viewed in original size, but printed in A3 or A4
> > > > depending on the printer.
> > > >
> > > > Probably we need to set the font size depending on the format size.
> > > >
> > > > How can I found out the size and orientation of the pdf document?
> > > > Is there an easy way to put a footer into an pdf page, when multiple
> > > > pages exist on every page?
> > > >
> > > > Thanks!
> > > >
> > > > Best Regards
> > > > Sebastian
> > > >
> > > >
> > > >---------------------------------------------------------------------
> > > >----  This SF.net email is sponsored by the 2008 JavaOne(SM)
> > > >Conference  Don't miss this year's exciting event. There's still time
> > > >to save $100.
> > > > Use priority code J8TL2D2.
> > > >
> > > >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.co
> > > >m/ja vaone _______________________________________________
> > > > Podofo-users mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/podofo-users
> > >
> > > ______________________________________________________________________
> > > ___ In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und
> > > gestalten!
> > > Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
> > >
> > >
> > >
> > >-----------------------------------------------------------------------
> > >--  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > >Don't miss this year's exciting event. There's still time to save $100.
> > > Use priority code J8TL2D2.
> > >
> > >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/
> > >java one _______________________________________________
> > > Podofo-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/podofo-users
> >
> > --
> > **********************************************************************
> > 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
> > **********************************************************************
> >
> >
> > _____________ NOD32 EMON 3101 (20080515) Information _____________
> >
> > Diese Nachricht wurde vom NOD32 antivirus system geprüft
> > http://www.nod32.com
> > \par



-- 
**********************************************************************
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: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to