|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
is the main interface of a text document. More...
import "XTextDocument.idl";
Public Member Functions | |
| com::sun::star::text::XText | getText () |
| void | reformat () |
| reformats the contents of the document. | |
| Public Member Functions inherited from XModel | |
| boolean | attachResource ([in] string URL, [in] sequence< com::sun::star::beans::PropertyValue > Arguments) |
| informs a model about its resource description. | |
| string | getURL () |
| provides information about the location of this model | |
| sequence< com::sun::star::beans::PropertyValue > | getArgs () |
| provides read access on currently representation of the com::sun::star::document::MediaDescriptor of this model which describes the model and its state | |
| void | connectController ([in] XController Controller) |
| is called whenever a new controller is created for this model. | |
| void | disconnectController ([in] XController Controller) |
| is called whenever an existing controller should be deregistered at this model. | |
| void | lockControllers () |
| suspends some notifications to the controllers which are used for display updates. | |
| void | unlockControllers () |
| resumes the notifications which were suspended by XModel::lockControllers(). | |
| boolean | hasControllersLocked () |
| determines if there is at least one lock remaining. | |
| XController | getCurrentController () |
| provides access to the controller which currently controls this model | |
| void | setCurrentController ([in] XController Controller) raises ( com::sun::star::container::NoSuchElementException ) |
| sets a registered controller as the current controller. | |
| com::sun::star::uno::XInterface | getCurrentSelection () |
| provides read access on current selection on controller | |
| Public Member Functions inherited from XComponent | |
| 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. | |
| Public Member Functions inherited from XInterface | |
| 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. | |
is the main interface of a text document.
| com::sun::star::text::XText getText | ( | ) |
This text does not contain texts in TextFrames, or cells of TextTables etc. directly. These are accessible from the contents via X...Supplier (e.g. XTextTablesSupplier).
| void reformat | ( | ) |
reformats the contents of the document.