whether the getselection works when the shape is clicked during slide
show..i.e) when the shape is linked to macro and working fine in normal impress document..when the slideshow is started is that possible to get
current  documents and shape selected.

in presentation view nothing is selected and so the selection changed event will most likely not be fired. I suppose the easiest way to handle this would be to create one method for each shape where the shape's name is handed over to a method that does what has to be done with all shapes.

Somethings like

sub shape1_click
        doShapeStuff("Shape1")
end sub

sub doShapeStuff(ShapeName as String)
        xShape=ThisComponent.DrawPages(0).getByName(ShapeName)
        '...
        ' do something brilliant :-)
        '...
end sub

Hope that helps

Regards

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to