Hello Sebastian,

On Friday 27 March 2009, 06:03, Sebastian Patschorke wrote:
> Hi Bernhard,
>
> thanks for your reply. With this example it works. But I need
> additionally the part of the example that stands in the comment at the
> end with the note, that it "doesn't work".It is the grouping of shapes.
> After a try with this code, I recognised, that the ellipse isn't visible
> in the text document. Only after moving the group of shapes in the
> document, the ellipse becomes visible. In addition the positions of both
> shapes aren't correct. The rectangle is at (0,0) and the ellipse is at
> (0,+something). The third thing is, that the last method invocation
> [xShapeGrouper.group(xGrouper)] raises an
> com.sun.star.uno.RuntimeException. Is there a way to fix this three
> problems?

look at the code I attached to my answer in [email protected] (IIRC 
I 
CCed this list and you, so you'll get the fileon your mail).

Grouping with a css.drawing.GroupShape seems not to work in Wirter (may be you 
can submit an issue with your demo attached), so better try grouping with a 
css.drawing.ShapeCollection.

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

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

Reply via email to