You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Ilija Pavlic <il...@gmail.com> on 2012/02/25 11:41:57 UTC
Insert existing pdf inside a new pdf file?
Some libraries allow using (embedding) existing pdf files inside a new
document. A quick sketch:
New pdf:
___________
| new text |
| ________ |
| | Old pdf | |
| ------------- |
| new text |
------------------
How could that be done in pdfbox?
Ideal solution would be to just use the pdf as an image, and pdfbox
would understand that I want to include a pdf and include it.
BR,
Ilija.
AW: Insert existing pdf inside a new pdf file?
Posted by Andrey Kuznetsov <im...@gmx.de>.
Sorry, but I don't know if pdfbox is able to do that.
-----Ursprüngliche Nachricht-----
Von: Ilija Pavlic [mailto:ilija.pavlic@gmail.com]
Gesendet: Montag, 27. Februar 2012 10:05
An: users@pdfbox.apache.org
Betreff: Re: Insert existing pdf inside a new pdf file?
Would that mean that it _is_ possible to add pdf as a Form XObject, or that it is not possible yet, but would be preferable to implement it like that?
If it is possible, could you share a small snippet on how to do it?
On Sat, Feb 25, 2012 at 11:52 AM, Andrey Kuznetsov <im...@gmx.de> wrote:
> Ideal solution would be to add pdf as Form XObject.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Ilija Pavlic [mailto:ilija.pavlic@gmail.com]
> Gesendet: Samstag, 25. Februar 2012 11:42
> An: users@pdfbox.apache.org
> Betreff: Insert existing pdf inside a new pdf file?
>
> Some libraries allow using (embedding) existing pdf files inside a new document. A quick sketch:
>
> New pdf:
> ___________
> | new text |
> | ________ |
> | | Old pdf | |
> | ------------- |
> | new text |
> ------------------
>
> How could that be done in pdfbox?
>
> Ideal solution would be to just use the pdf as an image, and pdfbox would understand that I want to include a pdf and include it.
>
> BR,
> Ilija.
>
Re: Insert existing pdf inside a new pdf file?
Posted by Ilija Pavlic <il...@gmail.com>.
Would that mean that it _is_ possible to add pdf as a Form XObject, or
that it is not possible yet, but would be preferable to implement it
like that?
If it is possible, could you share a small snippet on how to do it?
On Sat, Feb 25, 2012 at 11:52 AM, Andrey Kuznetsov <im...@gmx.de> wrote:
> Ideal solution would be to add pdf as Form XObject.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Ilija Pavlic [mailto:ilija.pavlic@gmail.com]
> Gesendet: Samstag, 25. Februar 2012 11:42
> An: users@pdfbox.apache.org
> Betreff: Insert existing pdf inside a new pdf file?
>
> Some libraries allow using (embedding) existing pdf files inside a new document. A quick sketch:
>
> New pdf:
> ___________
> | new text |
> | ________ |
> | | Old pdf | |
> | ------------- |
> | new text |
> ------------------
>
> How could that be done in pdfbox?
>
> Ideal solution would be to just use the pdf as an image, and pdfbox would understand that I want to include a pdf and include it.
>
> BR,
> Ilija.
>
AW: Insert existing pdf inside a new pdf file?
Posted by Andrey Kuznetsov <im...@gmx.de>.
Ideal solution would be to add pdf as Form XObject.
-----Ursprüngliche Nachricht-----
Von: Ilija Pavlic [mailto:ilija.pavlic@gmail.com]
Gesendet: Samstag, 25. Februar 2012 11:42
An: users@pdfbox.apache.org
Betreff: Insert existing pdf inside a new pdf file?
Some libraries allow using (embedding) existing pdf files inside a new document. A quick sketch:
New pdf:
___________
| new text |
| ________ |
| | Old pdf | |
| ------------- |
| new text |
------------------
How could that be done in pdfbox?
Ideal solution would be to just use the pdf as an image, and pdfbox would understand that I want to include a pdf and include it.
BR,
Ilija.