Hi Jayant, 2005/10/6, Jayant Balraj Madavi <[EMAIL PROTECTED]>: > Problem 1: > How to get the shape name ?
The css::drawing::Shape (abstract mother class of all shapes) has a Name property. I can't test on this machine right now, but I am pretty sure it's just a PropertyValue with the name "Name". > Problem 2: > drawing::XShapes myShapes ;//(Shape collection from drawPage) > For me XSelectionSupplier->Select(myShapes) also does not > work is it suppose to work ? It should work as far as I see it, have you instantiated a css::drawing::ShapeCollection before at the office ServiceManager and added the to-be-selected shapes to it (querying XShapes and using its add method)? You also need to make sure that you pass in an object of uno type Any, in Java for example you can pass an object of type Object. -- Best Regards Christian Junker --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
