Difference between revisions of "Documentation/DevGuide/Text/Graphic Objects"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
|||
Line 78: | Line 78: | ||
|} | |} | ||
− | {{ | + | {{Warn|<tt>TextGraphicObject</tt> files can currently only be linked when inserted through API which means only their URL is stored with the document. Embedding of graphics is not supported. This applies to background graphics which can be set, for example, to paragraphs, tables or text sections.}} |
{{PDL1}} | {{PDL1}} | ||
[[Category:Documentation/Developer's Guide/Text Documents]] | [[Category:Documentation/Developer's Guide/Text Documents]] |
Latest revision as of 08:05, 12 July 2018
A TextGraphicObject
is a BaseFrame
and does not provide any additional interfaces, compared with com.sun.star.text.BaseFrame. However, it introduces a number of properties that allow manipulating of a graphic object. They are described in the service com.sun.star.text.TextGraphicObject:
Properties of com.sun.star.text.TextGraphicObject | |
---|---|
ImageMap | com.sun.star.container.XIndexContainer. Returns the client-side image map if one is assigned to the object. |
ContentProtected | boolean - Determines if the content is protected against changes from the user interface.
|
SurroundContour | boolean - Determines if the text wraps around the contour of the object.
|
ContourOutside | boolean - The text flows only around the contour of the object.
|
ContourPolyPolygon | [optional] struct com.sun.star.drawing.PointSequenceSequence. Contains the contour of the object as PolyPolygon.
|
GraphicCrop | struct com.sun.star.text.GraphicCrop. Contains the cropping of the object.
|
HoriMirroredOnEvenPages | boolean - Determines if the object is horizontally mirrored on even pages.
|
HoriMirroredOnOddPages | boolean - Determines if the object is horizontally mirrored on odd pages.
|
VertMirrored | boolean - Determines if the object is mirrored vertically.
|
GraphicURL | string - Contains the URL of the background graphic of the object.
|
GraphicFilter | string - Contains the name of the filter of the background graphic of the object.
|
ActualSize | com.sun.star.awt.Size. Contains the original size of the bitmap in the graphic object. |
AdjustLuminance | short - Changes the display of the luminance. It contains percentage values between -100 and +100.
|
AdjustContrast | short - Changes the display of contrast. It contains percentage values between -100 and +100.
|
AdjustRed | short - Changes the display of the red color channel. It contains percentage values between -100 and +100.
|
AdjustGreen | short - Changes the display of the green color channel. It contains percentage values between -100 and +100.
|
AdjustBlue | short - Changes the display of the blue color channel. It contains percentage values between -100 and +100.
|
Gamma | double - Determines the gamma value of the graphic.
|
GraphicIsInverted | boolean - Determines if the graphic is displayed in inverted colors. It contains percentage values between -100 and +100.
|
Transparency | short - Measure of transparency. It contains percentage values between -100 and +100.
|
GraphicColorMode | long - Contains the ColorMode according to com.sun.star.drawing.ColorMode.
|
Content on this page is licensed under the Public Documentation License (PDL). |