Hi *

I need to perform some selection in Draw
Inspecting the result of ThisComponent.getCurrentSelection() I saw that
getCurrentSelection() method results always a
css.drawing.ShapeCollection, regardless you selected one or many shapes

Unfortunately this service is not registered at draw document level but
it is registered at level of the context ServiceManager

So my questions:
1) It is safe to pass a "foreing" service as argument for the select()
method of the document controller?

2) I saw that if I want to perform a single selection I can directly
pass the shape to select (instead of a collection containing the shape)
Will this change in future or can I safely use that way (instead of
using always the shape collection) ?


thanks
Paolo M







---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to