OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How I can insert Image into PDF using Java API?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
hijam
General User
General User


Joined: 30 Jan 2008
Posts: 10

PostPosted: Wed Jan 30, 2008 12:07 pm    Post subject: How I can insert Image into PDF using Java API? Reply with quote

Hi All,

Need help regarding insert images into a PDF file or can we create PDF files with images?

Thanks,
jam
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Wed Jan 30, 2008 1:40 pm    Post subject: Re: How I can insert Image into PDF using Java API? Reply with quote

hijam wrote:
Need help regarding insert images into a PDF file

You cannot insert anything into a PDF by using OOo's UNO API.

If you have a PDF and want to edit that through an API, try iText: http://www.lowagie.com/iText/.

hijam wrote:
can we create PDF files with images?

Yes, why not? You can create an OOo Writer document, insert text, insert images and then save it (with "storeTo(...)") as a PDF.

Try the following Java examples. They show how to convert a text document into a PDF and how to set the PDF filter data:
- http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=1013
- http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=1014
- http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=1804
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group