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

Importing Images when Creating Writer Documents with XSLT

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
TitusD
General User
General User


Joined: 29 Dec 2005
Posts: 8

PostPosted: Tue Jul 18, 2006 8:18 am    Post subject: Importing Images when Creating Writer Documents with XSLT Reply with quote

Dear all,

I have a number of XSLTs that create OpenDocument text documents.

I want to add an image. If I am able to import images, constructing references to them in the doc is simple.

I cannot find a way of importing the images (PNG, JPEG, etc) into the final .odt (i.e. copying into the Pictures subdirectory in the .odt package)

One solution is to use a reference via a relative path to a file outside the package. In my case that would not be satisfactory.

Another solution would be to write a rpgram that opens the package after creation and adds the required images. This would be an ugly hack and I would like to avoid it!

Any solutions?

Thanks,
Joe Yates
Back to top
View user's profile Send private message
TitusD
General User
General User


Joined: 29 Dec 2005
Posts: 8

PostPosted: Tue Oct 31, 2006 12:33 am    Post subject: Anybody? Reply with quote

It's been 3 months and still haven't found an answer to this problem.

I need to create the equivalent of headed notepaper: I need a template with and image in it which I can use with an XML filter.

Anyone know how to do this?

Thanks,
Joe Yates
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 Macros and API 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