|
Hi,
Using the uno API's, I wanted to select 3 DrawObjects [With UI, we do it => Shift + mouse click on + obj1 + obj2 + obj3].
Currently I am using the starbasic to implement the requirement. Am having 2 problems.
Problem 1:
How to get the shape name ?
drawing::XShape myShape; //(rectangleShape from Shapes->getByIndex(i))
I am not able to get the name of this shape from XNamed or property "Name". I hope there is some dummy Name that OOo generates for each shape (ex "Button 1", "Rectangle 1" etc).
Problem 2:
XSelectionSupplier->Select(myShape) ; selects only one shape. If I want to have 3 or 4 shapes selected what should be done?
drawing::XShapes myShapes ;//(Shape collection from drawPage)
For me XSelectionSupplier->Select(myShapes) also does not work is it suppose to work ?
Regards,
mJayant
|
- Re: [api-dev] Problems with URE Component registr... cedric . bosdonnat . ooo
- [api-dev] Multiple XShape select Jayant Balraj Madavi
- Re: [api-dev] Multiple XShape select Christian Junker
- Re: [api-dev] Multiple XShape select Jayant B M
- Re: [api-dev] Problems with URE Component re... Stephan Bergmann
