| View previous topic :: View next topic |
| Author |
Message |
bryanv General User

Joined: 02 Nov 2005 Posts: 5
|
Posted: Tue Nov 08, 2005 10:12 am Post subject: make an impress slide hidden |
|
|
In the impress UI, I can right click a slide and set it to hidden.
I need to be able to set this attribute programmatically, and I cannot figure out how.
e.g. to hide slide "x"
| Code: | | oDoc.getDrawPages().getByIndex(x).setPropertyValue "hidden",true |
creates an error that this is not a valid property.
| Code: | | oDoc.getDrawPages().getByIndex(x).setVisible(false) |
also generates an error.
Any ideas on the right way to accomplish this task? |
|
| Back to top |
|
 |
pitonyak Administrator


Joined: 09 Mar 2004 Posts: 3618 Location: Columbus, Ohio, USA
|
Posted: Tue Nov 08, 2005 12:01 pm Post subject: |
|
|
| Code: | | oDoc.getDrawPages().getByIndex(x).visible = false |
_________________ --
Andrew Pitonyak
http://www.pitonyak.org/oo.php |
|
| Back to top |
|
 |
bryanv General User

Joined: 02 Nov 2005 Posts: 5
|
Posted: Tue Nov 08, 2005 2:20 pm Post subject: |
|
|
| thanks -- that was a big help. Where would I find this and other properties documented? I searched long and hard before posting, but could not locate the right reference. |
|
| Back to top |
|
 |
SergeM Super User

Joined: 09 Sep 2003 Posts: 3211 Location: Troyes France
|
Posted: Wed Nov 09, 2005 10:16 am Post subject: |
|
|
The best is probably to use XRay :
You can get XRay here [url]http://www.ooomacros.org/dev.phtml#101416 [/url]
X-Ray Tool (configuration) [url]http://www.oooforum.org/forum/viewtopic.phtml?t=15208&highlight=[/url]
How to work with Xray in OpenOffice.org 1.9m65 ? [url]http://www.oooforum.org/forum/viewtopic.phtml?t=15733&highlight=[/url]
and after navigating in IDL files if you have the SDK.
[url]http://api.openoffice.org/docs/common/ref/index-files/index-1.html[/url] is also a good start. _________________ Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide |
|
| Back to top |
|
 |
|