module com { module sun { module star { module util {
/** makes it possible to replace strings in a text described by a SearchDescriptor.
Example:replaceallboldwords"searchfor"by"lookfor"
@code{.py} xReplaceDescr=xDocument.createReplaceDescriptor() xReplaceDescr.SearchString="searchfor" xReplaceDescr.ReplaceString="lookfor" xFound=xDocument.replaceAll(xReplaceDescr) @endcode
*/
published interface XReplaceable: com::sun::star::util::XSearchable
{ /** creates a descriptor which contains properties that specifyasearchinthiscontainer.@seeSearchDescriptor
*/
com::sun::star::util::XReplaceDescriptor createReplaceDescriptor();
/** searches for all occurrences of whatever is specified.@see SearchDescriptor
*/ long replaceAll( [in] com::sun::star::util::XSearchDescriptor xDesc );
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.