If True, the shape height changes automatically when text is added or removed. If True, numbering is ON for the text in this shape.ĭescribes the numbering levels as a sequence of .NumberingRule. Table 7: Properties defined by the .TextProperties service. Besides character and paragraph properties, the drawing text properties service defines properties specifically designed for shape objects (see Table 7 ). The drawing text service supports the standard .XText interface and a special set of drawing text properties. Table 6: Which shapes support which service.Īny shape that supports the .Text service has the ability to contain text. Table 6 provides a quick overview of the special services supported by each shape type. For example, it makes no sense for a line shape to support the properties and methods related to filling areas. Not all shape types support all of these services. OOo defines separate services that encapsulate properties and methods specific to lines, text, shadows, shape rotation, and filling area. Transformation matrix of type .HomogenMatrix3 that can contain translation, rotation, shearing, and scaling. If True, the user may not change the shape's size. If True, the shape cannot be moved interactively by the user. If True, the shape is included in printed output. Name of the layer that contains the shape. Short Integer identifying the layer that contains the shape. This controls the drawing order of objects, effectively moving an object forward or backward. Long Integer representing the ZOrder of this shape. Table 5: Properties defined by the .Shape service. The properties defined by the Shape service are general and applicable to most shape types (see Table 5 ). Some services are defined strictly to define a group of related properties. Services, on the other hand, implement interfaces and other services. Interfaces define methods and can be derived from other interfaces. The two methods in Listing 9 make it easier to create and set these structures. Macros that deal with shape objects frequently require the Size and Point structures. Each glue point is a .GluePoint2 structure (see Table 16). Get an object that provides indexed access to a set of glue points used internally by the object. Set the shape's current size in 1/100 mm. Get the shape's current size in 1/100 mm. Set the shape's current position in 1/100 mm. Get the shape's current position in 1/100 mm. 4 Table 4: Methods supported by Shape objects. Size structure, which contains two Long Integer values, Width and Height, in 1/100 mm. Represent a media type that is not directly supported.Ī TextShape for titles in a presentation document.Ī TextShape for subtitles in a presentation document.Ī TextShape for outlines in a presentation document.Ī TextShape for notes in a presentation document.Ī drawing document PageShape for handouts in a presentation document.Ī shape's position is stored in a .Point structure, which contains two Long Integer values, X and Y, representing the upper-left corner in 1/100 mm. How to use glue points in openoffice drawing series#There are separate types for presentation documents and drawing documents.Ī series of straight lines with the first and last points connected. There are separate types for presentation documents and drawing documents.ĭisplay a preview of another page. Represent multiple shapes as a single shape.ĭisplay an OLE object in a presentation document. There are separate types for presentation documents and drawing documents. OOo supports numerous types of shapes (see Table 3 ) Table 3: Shape types supported by OOo.Ī series of Bezier shapes that are closed.Ī shape that displays a control such as a button.ĭisplay a graphic object such as a bitmap image. Shape objects are created by the document and then added to the draw page. Graphical content is expressed as a shape object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |