LibreOffice
LibreOffice 24.2 SDK API Reference
|
makes it possible to replace strings in a text described by a SearchDescriptor. More...
import"XReplaceable.idl";
Public Member Functions | |
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... | |
Public Member Functions inherited from XSearchable | |
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... | |
Public Member Functions inherited from XInterface | |
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... | |
makes it possible to replace strings in a text described by a SearchDescriptor.
Example: replace all bold words "search for" by "look for"
com::sun::star::util::XReplaceDescriptor createReplaceDescriptor | ( | ) |
creates a descriptor which contains properties that specify a search in this container.
long replaceAll | ( | [in] com::sun::star::util::XSearchDescriptor | xDesc | ) |
searches for all occurrences of whatever is specified.