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

make an impress slide hidden

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


Joined: 02 Nov 2005
Posts: 5

PostPosted: Tue Nov 08, 2005 10:12 am    Post subject: make an impress slide hidden Reply with quote

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
View user's profile Send private message
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Tue Nov 08, 2005 12:01 pm    Post subject: Reply with quote

Code:
oDoc.getDrawPages().getByIndex(x).visible = false

_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
bryanv
General User
General User


Joined: 02 Nov 2005
Posts: 5

PostPosted: Tue Nov 08, 2005 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Wed Nov 09, 2005 10:16 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
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