vasttelecom.blogg.se

Openoffice drawing
Openoffice drawing





openoffice drawing

Six of the shapes have individual properties that reflect their characteristics. comes with eleven different shapes that are the basis for the drawing tools in the GUI (graphical user interface). On drawing shapes, the interface .XShape is used to determine the position and size of a shape.Įverything else is a matter of property-based formatting and there is a multitude of properties to use. Protected void manipulateText (XText xText ) throws com. In particular, it avoids insertTextContent(), since there are no text contents except for conventional text that can be inserted in all text objects. The method manipulateText() only contains the most basic methods of XText so that it works with every text object. The following example method manipulateText() adds text, then it uses a text cursor to select and format a few words using CharacterProperties, afterwards it inserts more text. Text formatting happens through the properties which are described in the services .ParagraphProperties and .CharacterProperties. In fact, XText covers all this by inheriting from .XSimpleText that is inherited from .XTextRange.

openoffice drawing

Finally, XText handles text contents through the methods insertTextContent and removeTextContent, although not all texts accept text contents other than conventional text. Furthermore, XText can insert strings at an arbitrary position in the text and create text cursors to select and format text. The interface .XText has the ability to set or get the text as a single string, and to locate the beginning and the end of a text.







Openoffice drawing