But my ned is different...first i will insert all the shapes and then i will
click any one of the shape...
so can u tell me is there any interfaces for getting clicked shapes in
impressi.e) to get which shape is clicked
On 1/8/07, Stephan Wunderlich [EMAIL PROTECTED] wrote:
in
yes, I queryed with xshapes and used getbyindex method its working
fine...now the problem is on click of the shape iam calling macro which
should find which shape is clicked..for this getting the selected shape is
not working correctly...so is there any other(interfaces) way to find which
shape
Hi there,
yes, I queryed with xshapes and used getbyindex method its working
fine...now the problem is on click of the shape iam calling macro
which
should find which shape is clicked..for this getting the selected
shape is
not working correctly...so is there any other(interfaces) way to
Hi Stephan,
getSelection is working correctly...that is not the problem..i am clearly
descriping the scenario here
i had inserted a shape inside impress document and made interaction(Onclick)
of the shape to call a macro. this macro contains the code to get the
currently selected shape.
So if i
Hi Stephan,
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.
On 1/8/07, Stephan Wunderlich
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
Thanks for your reply, i had created the code as u told...but it is showing
null pointer exception..the code is
public void callPlayer(XScriptContext xSc) {
String name=;
XComponent xComponent = xSc.getDocument();
XModel xModel = (XModel)
Yes, get the current XController from the XModel and use the
XSelectionSupplier interface on it. This either returns a single
XShape reference or a sequence of XShape for multi selections.
Regards,
Christian
Madhan Ponnusamy wrote:
Hi,
i had inserted many shapes inside impress document using