| View previous topic :: View next topic |
| Author |
Message |
den Newbie

Joined: 18 Feb 2005 Posts: 3
|
Posted: Thu Mar 03, 2005 4:54 am Post subject: names of slides |
|
|
| 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 |
|
 |
RGB Super User


Joined: 25 Nov 2003 Posts: 1743 Location: In Lombardy, near a glass of red Tuscany wine
|
Posted: Thu Mar 03, 2005 5:58 am Post subject: |
|
|
| 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 |
|
 |
den Newbie

Joined: 18 Feb 2005 Posts: 3
|
Posted: Thu Mar 03, 2005 6:46 am Post subject: |
|
|
| 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 |
|
 |
den Newbie

Joined: 18 Feb 2005 Posts: 3
|
Posted: Thu Mar 03, 2005 7:03 am Post subject: |
|
|
| i have found a solution |
|
| Back to top |
|
 |
RGB Super User


Joined: 25 Nov 2003 Posts: 1743 Location: In Lombardy, near a glass of red Tuscany wine
|
Posted: Thu Mar 03, 2005 7:25 am Post subject: |
|
|
| 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 |
|
 |
ooloo General User

Joined: 01 Mar 2005 Posts: 23
|
Posted: Fri Mar 04, 2005 6:43 am Post subject: |
|
|
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 |
|
 |
|