|
| typedef sequence< com::sun::star::beans::PropertyValue > | FrameInteropGrabBag |
| | Grab bag of frame properties, used as a string-any map for interim interop purposes.
|
| |
| typedef sequence< com::sun::star::text::TextContentAnchorType > | AnchorTypes |
| | contains the anchor type of the text content.
|
| |
| void | attach ([in] com::sun::star::text::XTextRange xTextRange) raises ( com::sun::star::lang::IllegalArgumentException ) |
| | is called when this object gets embedded in a text.
|
| |
| com::sun::star::text::XTextRange | getAnchor () |
| |
| void | dispose () |
| | The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references.
|
| |
| void | addEventListener ([in] XEventListener xListener) |
| | adds an event listener to the object.
|
| |
| void | removeEventListener ([in] XEventListener aListener) |
| | removes an event listener from the listener list.
|
| |
| any | queryInterface ([in] type aType) |
| | queries for a new interface to an existing UNO object.
|
| |
| void | acquire () |
| | increases the reference counter by one.
|
| |
| void | release () |
| | decreases the reference counter by one.
|
| |
| com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
| |
| void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
| | sets the value of the property with the specified name.
|
| |
| any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| |
| void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | adds an XPropertyChangeListener to the specified property.
|
| |
| void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | removes an XPropertyChangeListener from the listener list.
|
| |
| void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | adds an XVetoableChangeListener to the specified property with the name PropertyName.
|
| |
| void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | removes an XVetoableChangeListener from the listener list.
|
| |
| string | getName () |
| |
| void | setName ([in] string aName) |
| | sets the programmatic name of the object.
|
| |
| com::sun::star::text::XText | getText () |
| |
| com::sun::star::awt::Point | getPosition () |
| | gets the current position of this object.
|
| |
| void | setPosition ([in] com::sun::star::awt::Point aPosition) |
| | sets the current position of this object
|
| |
| com::sun::star::awt::Size | getSize () |
| | gets the size of this object.
|
| |
| void | setSize ([in] com::sun::star::awt::Size aSize) raises ( com::sun::star::beans::PropertyVetoException ) |
| | sets the size of this object.
|
| |
| string | getShapeType () |
| |
| com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
| |
| void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
| | sets the value of the property with the specified name.
|
| |
| any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| |
| void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | adds an XPropertyChangeListener to the specified property.
|
| |
| void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | removes an XPropertyChangeListener from the listener list.
|
| |
| void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | adds an XVetoableChangeListener to the specified property with the name PropertyName.
|
| |
| void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | removes an XVetoableChangeListener from the listener list.
|
| |
| string | getName () |
| |
| void | setName ([in] string aName) |
| | sets the programmatic name of the object.
|
| |
| ::com::sun::star::container::XNameContainer | UserDefinedAttributes |
| | This container holds the AttributeData elements that represent uninterpreted XML attributes.
|
| |
specifies a rectangular shape which contains a Text object and is attached to a piece of surrounding Text.
- See also
- Text
This example shows how to create a TextFrame and insert it at the very beginning of Text component. The macro is ready to run, if it is a script within a text document.
Sub Main
oFrame = ThisComponent.createInstance( "com.sun.star.text.TextFrame" )
oFrame.Width = 6000
ThisComponent.Text.insertTextContent( ThisComponent.Text.Start, oFrame, false )
oFrame.Text.String = "Hello, this text is within the frame."
End Sub
- Developers Guide
- Text - Shape Objects in Text
| boolean IsFollowingTextFlow |
|
optionalproperty |
controls, if the frame follows the text flow or can leave its layout environment
If set, the frame follows the text flow and doesn't leaves the layout environment, which is given by its anchor, above and below. E.g.: Anchor resides in the document body then the frame doesn't leave the document body above and below and follows the text flow through the document bodies of the different pages.
If not set, the frame doesn't follow the text flow and stays on the page, on which its anchor is found, but it may leave the layout environment, which is given by its anchor. E.g.: Anchor resides in the document body then the frame stays on page, where this document body is, but it could leave the document body above and below, e.g. overlapping with the page header.
Note: The areas for the vertical orientation relation at page areas are interpreted in dependence to this property (
- See also
- BaseFrameProperties.VertOrientRelation). If property is set, the page area is interpreted as the layout environment, given by its anchor. E.g.: Anchor resides in the page header then the page header determines the page area. If property isn't set, the page area is determined by the document page, the anchor is on. E.g.: Anchor resides in the page header then the document page, the page header is on, determines the page area. An exception of this interpretation rule is applied, if the anchor resides in a table cell. In this situation the page area is always determined by the table cell.