@code{.bas} SubMain oFrame=ThisComponent.createInstance("com.sun.star.text.TextFrame") oFrame.Width=6000 ThisComponent.Text.insertTextContent(ThisComponent.Text.Start,oFrame,false) oFrame.Text.String="Hello,thistextiswithintheframe." EndSub @endcode
*/
published service TextFrame
{ /** contains the definition of interfaces and properties that are supported by text frames, graphicobjectsandembeddedobjects.
*/
service BaseFrame;
/** This interface makes it possible to access the text within this textframe.
*/
interface com::sun::star::text::XTextFrame; /** contains the metric height value of the frame.
*/
[property] long FrameHeightAbsolute;
/** contains the metric width value of the frame.
*/
[property] long FrameWidthAbsolute;
/** specifies a width relative to the width of the surroundingtext. <p>Ifthevaluefor"WidthPercent"is0,theabsolutevaluefrom isused.</p>
*/
[property] byte FrameWidthPercent;
/** specifies a width relative to the width of the surroundingtext.
<p>Ifthevaluefor"HeightPercent"is0,theabsolutevaluefrom isused.</p>
*/
[property] byte FrameHeightPercent; /** If "AutomaticHeight" is set, then the object grows if it is required bytheframecontent.
*/
[property] boolean FrameIsAutomaticHeight; /** determines the interpretation of the height and relative heightproperties.
@seeSizeType
*/
[property] short SizeType; /** determines if the text frame should be editable in a read-only document. (Thisisusuallyusedinforms.)
*/
[optional, property] boolean EditInReadonly;
/** determines the interpretation of the width and relative widthproperties.
@seeSizeType @sinceOOo2.4
*/
[optional, property] short WidthType;
/** contains the writing direction, as represented by the com::sun::star::text::WritingMode2constants
*/
[optional, property] short WritingMode;
/** controls, if the frame follows the text flow or can leave its layout environment
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.