A text document is a model component which contains text structured by paragraphs.
More...
|
boolean | attachResource ([in] string URL, [in] sequence< com::sun::star::beans::PropertyValue > Arguments) |
| informs a model about its resource description. More...
|
|
string | getURL () |
| provides information about the location of this model More...
|
|
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 More...
|
|
void | connectController ([in] XController Controller) |
| is called whenever a new controller is created for this model. More...
|
|
void | disconnectController ([in] XController Controller) |
| is called whenever an existing controller should be deregistered at this model. More...
|
|
void | lockControllers () |
| suspends some notifications to the controllers which are used for display updates. More...
|
|
void | unlockControllers () |
| resumes the notifications which were suspended by XModel::lockControllers(). More...
|
|
boolean | hasControllersLocked () |
| determines if there is at least one lock remaining. More...
|
|
XController | getCurrentController () |
| provides access to the controller which currently controls this model More...
|
|
void | setCurrentController ([in] XController Controller) raises ( com::sun::star::container::NoSuchElementException ) |
| sets a registered controller as the current controller. More...
|
|
com::sun::star::uno::XInterface | getCurrentSelection () |
| provides read access on current selection on controller More...
|
|
void | dispose () |
| The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. More...
|
|
void | addEventListener ([in] XEventListener xListener) |
| adds an event listener to the object. More...
|
|
void | removeEventListener ([in] XEventListener aListener) |
| removes an event listener from the listener list. More...
|
|
any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. More...
|
|
void | acquire () |
| increases the reference counter by one. More...
|
|
void | release () |
| decreases the reference counter by one. More...
|
|
boolean | isModified () |
|
void | setModified ([in] boolean bModified) raises ( com::sun::star::beans::PropertyVetoException ) |
| sets the status of the modified-flag from outside of the object. More...
|
|
void | addModifyListener ([in] com::sun::star::util::XModifyListener aListener) |
| adds the specified listener to receive events "modified." More...
|
|
void | removeModifyListener ([in] com::sun::star::util::XModifyListener aListener) |
| removes the specified listener. More...
|
|
boolean | hasLocation () |
| The object may know the location because it was loaded from there, or because it is stored there. More...
|
|
string | getLocation () |
| After XStorable::storeAsURL() it returns the URL the object was stored to. More...
|
|
boolean | isReadonly () |
| It is not possible to call XStorable::store() successfully when the data store is read-only. More...
|
|
void | store () raises ( com::sun::star::io::IOException ) |
| stores the data to the URL from which it was loaded. More...
|
|
void | storeAsURL ([in] string sURL, [in] sequence< com::sun::star::beans::PropertyValue > lArguments) raises ( com::sun::star::io::IOException ) |
| stores the object's persistent data to a URL and makes this URL the new location of the object. More...
|
|
void | storeToURL ([in] string sURL, [in] sequence< com::sun::star::beans::PropertyValue > lArguments) raises ( com::sun::star::io::IOException ) |
| stores the object's persistent data to a URL and continues to be a representation of the old URL. More...
|
|
sequence< com::sun::star::beans::PropertyValue > | getPrinter () |
|
void | setPrinter ([in] sequence< com::sun::star::beans::PropertyValue > aPrinter) raises ( com::sun::star::lang::IllegalArgumentException ) |
| assigns a new printer to the object. More...
|
|
void | print ([in] sequence< com::sun::star::beans::PropertyValue > xOptions) raises ( com::sun::star::lang::IllegalArgumentException ) |
| prints the object. More...
|
|
com::sun::star::uno::XInterface | createInstance ([in] string aServiceSpecifier) raises ( com::sun::star::uno::Exception ) |
| Creates an instance classified by the specified name. More...
|
|
com::sun::star::uno::XInterface | createInstanceWithArguments ([in] string ServiceSpecifier, [in] sequence< any > Arguments) raises ( com::sun::star::uno::Exception ) |
| Creates an instance classified by the specified name and passes the arguments to that instance. More...
|
|
sequence< string > | getAvailableServiceNames () |
| Provides the available names of the factory to be used to create instances. More...
|
|
com::sun::star::text::XText | getText () |
|
void | reformat () |
| reformats the contents of the document. More...
|
|
com::sun::star::util::XSearchDescriptor | createSearchDescriptor () |
| creates a SearchDescriptor which contains properties that specify a search in this container. More...
|
|
com::sun::star::container::XIndexAccess | findAll ([in] com::sun::star::util::XSearchDescriptor xDesc) |
| searches the contained texts for all occurrences of whatever is specified. More...
|
|
com::sun::star::uno::XInterface | findFirst ([in] com::sun::star::util::XSearchDescriptor xDesc) |
| searches the contained texts for the next occurrence of whatever is specified. More...
|
|
com::sun::star::uno::XInterface | findNext ([in] com::sun::star::uno::XInterface xStartAt, [in] com::sun::star::util::XSearchDescriptor xDesc) |
| searches the contained texts for the next occurrence of whatever is specified. More...
|
|
void | refresh () |
| refreshes the data of the object from the connected data source. More...
|
|
void | addRefreshListener ([in] com::sun::star::util::XRefreshListener l) |
| adds the specified listener to receive the event "refreshed." More...
|
|
void | removeRefreshListener ([in] com::sun::star::util::XRefreshListener l) |
| removes the specified listener. More...
|
|
void | addEventListener ([in] XEventListener Listener) |
| registers the given listener More...
|
|
void | removeEventListener ([in] XEventListener Listener) |
| unregisters the given listener More...
|
|
void | addDocumentEventListener ([in] XDocumentEventListener Listener) |
| registers a listener which is notified about document events More...
|
|
void | removeDocumentEventListener ([in] XDocumentEventListener Listener) |
| revokes a listener which has previously been registered to be notified about document events. More...
|
|
void | notifyDocumentEvent ([in] string EventName, [in] ::com::sun::star::frame::XController2 ViewController, [in] any Supplement) raises ( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::NoSupportException ) |
| causes the broadcaster to notify all registered listeners of the given event More...
|
|
com::sun::star::container::XNameReplace | getEvents () |
| offers a list of event handlers which are be bound to events of this object More...
|
|
::com::sun::star::container::XIndexAccess | getViewData () |
| retrieve information about currently opened view to restore it later More...
|
|
void | setViewData ([in] com::sun::star::container::XIndexAccess Data) |
| restore all views which will be represented by given data argument More...
|
|
void | addPrintJobListener ([in] XPrintJobListener xListener) |
| adds an XPrintJobListener to be notified about print progress. More...
|
|
void | removePrintJobListener ([in] XPrintJobListener xListener) |
| removes an XPrintJobListener. More...
|
|
XDocumentProperties | getDocumentProperties () |
| provides the document properties object. More...
|
|
XUndoManager | getUndoManager () |
| returns the Undo manager associated with the component. More...
|
|
void | paintTile ([in] any Parent, [in] long nOutputWidth, [in] long nOutputHeight, [in] long nTilePosX, [in] long nTilePosY, [in] long nTileWidth, [in] long nTileHeight) |
| paint a tile to a system-specific window More...
|
|
com::sun::star::container::XIndexAccess | getEndnotes () |
|
com::sun::star::beans::XPropertySet | getEndnoteSettings () |
|
com::sun::star::container::XIndexAccess | getContentControls () |
| returns a collection of content controls. More...
|
|
com::sun::star::util::XReplaceDescriptor | createReplaceDescriptor () |
| creates a descriptor which contains properties that specify a search in this container. More...
|
|
long | replaceAll ([in] com::sun::star::util::XSearchDescriptor xDesc) |
| searches for all occurrences of whatever is specified. More...
|
|
sequence< com::sun::star::beans::PropertyValue > | getPagePrintSettings () |
|
void | setPagePrintSettings ([in] sequence< com::sun::star::beans::PropertyValue > aSettings) |
| adjusts the settings of the page printing. More...
|
|
void | printPages ([in] sequence< com::sun::star::beans::PropertyValue > xOptions) raises ( com::sun::star::lang::IllegalArgumentException ) |
| prints the pages according to the PagePrintSettings. More...
|
|
com::sun::star::container::XNameAccess | getReferenceMarks () |
|
com::sun::star::container::XIndexReplace | getChapterNumberingRules () |
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
com::sun::star::container::XNameAccess | getGraphicObjects () |
|
com::sun::star::container::XNameAccess | getEmbeddedObjects () |
|
com::sun::star::container::XNameAccess | getTextTables () |
|
com::sun::star::container::XNameAccess | getStyleFamilies () |
| This method returns the collection of style families available in the container document. More...
|
|
com::sun::star::container::XNameAccess | getBookmarks () |
|
com::sun::star::container::XIndexAccess | getDocumentIndexes () |
|
com::sun::star::container::XEnumerationAccess | getTextFields () |
|
com::sun::star::container::XNameAccess | getTextFieldMasters () |
|
com::sun::star::container::XNameAccess | getTextFrames () |
| returns a collection of text frames. More...
|
|
com::sun::star::container::XNameAccess | getTextSections () |
|
com::sun::star::beans::XPropertySet | getNumberFormatSettings () |
|
com::sun::star::util::XNumberFormats | getNumberFormats () |
|
::com::sun::star::script::XStorageBasedLibraryContainer | BasicLibraries |
| is the container of StarBasic macro libraries contained in the document More...
|
|
::com::sun::star::script::XStorageBasedLibraryContainer | DialogLibraries |
| is the container of dialogs libraries contained in the document More...
|
|
boolean | AllowMacroExecution |
| determines whether executing macros from this document is allowed. More...
|
|
A text document is a model component which contains text structured by paragraphs.
Each paragraph and each portion of text can be fitted with some attributes (technically properties).
It's declared as generic text document, because its function is needed by different derived services (TextDocument/WebDocument/GlobalDocument).
In addition, all text objects can be searched.