diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-30 00:15:22 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-04 12:01:06 +0200 |
commit | 73d568408a150875b5c6046680f38e6db287c8fa (patch) | |
tree | 3c6d87ae03cc8193ef1d418d7a1ff7272bbbae53 /offapi/com/sun/star/util | |
parent | b84bffc86a913383bb3fa7f9f3d963d32681f778 (diff) |
*api: convert <listing> and @example
<listing> is called @code / @endcode in doxygen.
@example requires a file name in doxygen.
Also adapt various silly examples that use tools String in C++ or manual
syntax highlighting in Java etc.
Change-Id: I23cff1b688001f438526a6a1364cc5f754b504f7
Diffstat (limited to 'offapi/com/sun/star/util')
-rw-r--r-- | offapi/com/sun/star/util/XReplaceable.idl | 8 | ||||
-rw-r--r-- | offapi/com/sun/star/util/XSearchable.idl | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/offapi/com/sun/star/util/XReplaceable.idl b/offapi/com/sun/star/util/XReplaceable.idl index 8eea70eaa646..4a3d008417d7 100644 --- a/offapi/com/sun/star/util/XReplaceable.idl +++ b/offapi/com/sun/star/util/XReplaceable.idl @@ -33,14 +33,14 @@ module com { module sun { module star { module util { /** makes it possible to replace strings in a text described by a SearchDescriptor. - @example - <listing> - replace all bold words "search for" by "look for" + Example: replace all bold words "search for" by "look for" + + @code{.py} xReplaceDescr = xDocument.createReplaceDescriptor() xReplaceDescr.SearchString = "search for" xReplaceDescr.ReplaceString = "look for" xFound = xDocument.replaceAll( xReplaceDescr ) - </listing> + @endcode */ published interface XReplaceable: com::sun::star::util::XSearchable { diff --git a/offapi/com/sun/star/util/XSearchable.idl b/offapi/com/sun/star/util/XSearchable.idl index 28e84d464d96..9420e2abb853 100644 --- a/offapi/com/sun/star/util/XSearchable.idl +++ b/offapi/com/sun/star/util/XSearchable.idl @@ -33,11 +33,11 @@ module com { module sun { module star { module util { /** enables the object to look for specified contents of the object (in particular, for a text range which contains a specific string pattern). - @example + Example: in a com::sun::star::text::TextDocument: set all "search for" to bold using findFirst()/findNext(): - <listing> + @code{.bas} xSearchDescr = xDocument.createSearchDescriptor() xSearchDescr.SearchString = "search for" xSearchDescr.SearchCaseSensitive = `TRUE` @@ -47,7 +47,7 @@ module com { module sun { module star { module util { xFound.CharWeight = com.sun.star.awt.FontWeight.BOLD xFound = xDocument.findNext( xFound.End, xSearchDescr ) loop - </listing> + @endcode */ published interface XSearchable: com::sun::star::uno::XInterface |