Re: [api-dev] Multiple XShape select

2005-10-08 Thread Christian Junker
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]



Re: [api-dev] programatically know which platform

2005-10-08 Thread Christian Junker
Hi Jürgen,

I wonder if it would be good to integrate an interface (into the IDL
module system for example) and possibly a service that does exactly
what has been asked for in this thread. Give some feedback what you
think, if it makes sense to integrate this into the official build
(not yet talking about how to implement it just about the
abstraction).


2005/10/4, Jürgen Schmidt [EMAIL PROTECTED]:
 Hi,
 [...]

--
Best Regards
Christian Junker

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