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

names of slides

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Impress
View previous topic :: View next topic  
Author Message
den
Newbie
Newbie


Joined: 18 Feb 2005
Posts: 3

PostPosted: Thu Mar 03, 2005 4:54 am    Post subject: names of slides Reply with quote

Does anybody know how can i acces names of pages from presentation document through openoffice API? I have spent 3 hours for looking after any useful method or interface in API but could not find anything. Please help!
Back to top
View user's profile Send private message
RGB
Super User
Super User


Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

PostPosted: Thu Mar 03, 2005 5:58 am    Post subject: Reply with quote

Not sure about what you want. You need to change the name of the slides in an Impress document? In that case, do a right click over the tab representing the slide and select "Rename Slide".
Back to top
View user's profile Send private message
den
Newbie
Newbie


Joined: 18 Feb 2005
Posts: 3

PostPosted: Thu Mar 03, 2005 6:46 am    Post subject: Reply with quote

I have developed a java-program that extracts all pages from presentations as images in JPG-format. But i have realise this in an cycle so that the names of this files are folowing: 0.jpg 1.jpg and so on. But now i need acces to slide names to save all jpg-images with names from presentation pages.
Back to top
View user's profile Send private message
den
Newbie
Newbie


Joined: 18 Feb 2005
Posts: 3

PostPosted: Thu Mar 03, 2005 7:03 am    Post subject: Reply with quote

i have found a solution
Back to top
View user's profile Send private message
RGB
Super User
Super User


Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

PostPosted: Thu Mar 03, 2005 7:25 am    Post subject: Reply with quote

den wrote:
i have found a solution

Could you post it (maybe adding some key words at the begining, simplifying the use of the search tool) so others that have a similar problem will be able to find a solution?
Back to top
View user's profile Send private message
ooloo
General User
General User


Joined: 01 Mar 2005
Posts: 23

PostPosted: Fri Mar 04, 2005 6:43 am    Post subject: Reply with quote

My method is to use the index slide (named during export to html; for example, the index slide for MySlideShow.sxi might be named MySlideShow.html on export). The text in the index file can be parsed and the slide names assigned in the presentation can be linked to slide numbers (for example, "Intro" slide is saved as "0.jpg" on export). Then, it is a simple matter of renaming the jpg using the slide name.

However, this is very cumbersome. It would be better if OpenOffice had an option to save using slide names (instead of numbers).
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 Impress 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