OpenOffice.org BASIC Guide - OpenOffice.org wiki
OpenOffice.org BASIC Guide - OpenOffice.org wiki
OpenOffice.org BASIC Guide - OpenOffice.org wiki
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
An Overview of Various Drawing Objects<br />
Rectangle Shapes<br />
The Structure of Drawings<br />
Rectangle shape objects (com.sun.star.drawing.RectangleShape) support the following services for formatting<br />
objects:<br />
Fill properties<br />
com.sun.star.drawing.FillProperties<br />
Line properties<br />
com.sun.star.drawing.LineProperties<br />
Text properties<br />
com.sun.star.drawing.Text (with com.sun.star.style.CharacterProperties and<br />
com.sun.star.style.ParagraphProperties)<br />
Shadow properties<br />
com.sun.star.drawing.ShadowProperties<br />
CornerRadius (Long)<br />
radius for rounding corners in hundredths of a millimeter<br />
Circles and Ellipses<br />
The Service com.sun.star.drawing.EllipseShape service is responsible for circles and ellipses and supports the<br />
following services:<br />
Fill properties<br />
com.sun.star.drawing.FillProperties<br />
Line properties<br />
com.sun.star.drawing.LineProperties<br />
Text properties<br />
com.sun.star.drawing.Text (with com.sun.star.style.CharacterProperties and<br />
com.sun.star.style.ParagraphProperties)<br />
Shadow properties<br />
com.sun.star.drawing.ShadowProperties<br />
In addition to these services, circles and ellipses also provide these properties:<br />
CircleKind (Enum)<br />
type of circle or ellipse (default values in accordance with com.sun.star.drawing.CircleKind)<br />
CircleStartAngle (Long)<br />
start angle in tenths of a degree (only for circle or ellipse segments)<br />
CircleEndAngle (Long)<br />
end angle in tenths of a degree (only for circle or ellipse segments)<br />
The CircleKind property determines if an object is a complete circle, a circular slice, or a section of a circle. The<br />
following values are available:<br />
com.sun.star.drawing.CircleKind.FULL<br />
full circle or full ellipse<br />
com.sun.star.drawing.CircleKind.CUT<br />
section of circle (partial circle whose interfaces are linked directly to one another)<br />
Chapter 8 · Drawings and Presentations 121