Curved connector shape points

2013-04-06 Thread Антон Борисов
Hello, it's possible to get information about curved connector shapes,
which available in exported svg file (path fill=none stroke=black
d=M 227 239 L 328 90 L 346 250 L 201 124 L 410 150 L 228 238 /) in
d attribute without exporting to svg? Maybe it's stored in Shape
property or something like?
Service ConnectorShape includes service LineProperties. It contains what i need?
--
Борисов Антон

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Curved connector shape points

2013-04-06 Thread Regina Henschel

Hi Антон,

Антон Борисов schrieb:

Hello, it's possible to get information about curved connector shapes,
which available in exported svg file (path fill=none stroke=black
d=M 227 239 L 328 90 L 346 250 L 201 124 L 410 150 L 228 238 /) in
d attribute without exporting to svg? Maybe it's stored in Shape
property or something like?
Service ConnectorShape includes service LineProperties. It contains what i need?


It seems, that the curved connector shape is not a Polyline with path 
but a PolyPolygonBezier. It has a property PolyPolygonBezier (service 
PolyPolygonBezierDescriptor). This property is a struct 
PolyPolygonBezierCoords with the parts Coordinates, with the 
coordinates of the points, and Flags with the type of the points.


You might get an idea, how to use that from the example in the SDK
DevelopersGuide/Drawing/DrawingDemo.java

Perhaps you ask not here but on a...@openoffice.apache.org.

Kind regards
Regina



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org