Hi Andreas,

Ariel Constenla-Haile wrote (24-05-10 20:34)
On Monday 24 May 2010, 14:32, Andreas Mantke wrote:
I'm looking for an example how to access an impress document. I read
through the dev guide (First Steps). There are examples how to work with
spreadsheet, writer and draw documents. Is there also a description how to
work with impress documents. I'm not able to find such an example in the
OOo-Wiki. I hope someone can give a hint.

you have the SDK example

[/opt/openoffice.org/basis3.3]/sdk/examples/DevelopersGuide/Drawing/PresentationDemo.java
http://svn.services.openoffice.org/opengrok/xref/DEV300_m78/odk/examples/DevelopersGuide/Drawing/PresentationDemo.java

it's rather old, so it does not cover new features, like the very useful
SlideShowController.

And talking Basic:
  ThisComponent.DrawPages(0)
gets the first slide
and
  ThisComponent.DrawPages(0).getByIndex(n)
gets shape n on that slide.

regards,
Cor
--
 >> Your office 2010 software: the new OpenOffice.org <<

Cor Nouws
  - ideas/remarks for the community council?
  - http://wiki.services.openoffice.org/wiki/Community_Council


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to