summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/form
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-30 00:15:22 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-04 12:01:06 +0200
commit73d568408a150875b5c6046680f38e6db287c8fa (patch)
tree3c6d87ae03cc8193ef1d418d7a1ff7272bbbae53 /offapi/com/sun/star/form
parent*api: convert remaining elements with "scope" attribute (diff)
downloadcore-73d568408a150875b5c6046680f38e6db287c8fa.tar.gz
core-73d568408a150875b5c6046680f38e6db287c8fa.zip
*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/form')
-rw-r--r--offapi/com/sun/star/form/PropertyBrowserController.idl5
-rw-r--r--offapi/com/sun/star/form/XFormsSupplier.idl5
2 files changed, 4 insertions, 6 deletions
diff --git a/offapi/com/sun/star/form/PropertyBrowserController.idl b/offapi/com/sun/star/form/PropertyBrowserController.idl
index 56de59e46313..28d175f87ca8 100644
--- a/offapi/com/sun/star/form/PropertyBrowserController.idl
+++ b/offapi/com/sun/star/form/PropertyBrowserController.idl
@@ -43,8 +43,7 @@
</ul>
</p>
- @example Java
- <listing>
+ @code{.java}
XFrame xFrame = getNewEmptyFrame();
XMultiServiceFactory xORB = getORB();
XPropertySet xControlModel = getMyControlModel();
@@ -62,7 +61,7 @@
XPropertySet.class, xController );
xControllerProps.setPropertyValue( "IntrospectedObject", xControlModel );
- </listing>
+ @endcode
@see com::sun::star::frame::XController
diff --git a/offapi/com/sun/star/form/XFormsSupplier.idl b/offapi/com/sun/star/form/XFormsSupplier.idl
index 23572d528383..11ba114f53a7 100644
--- a/offapi/com/sun/star/form/XFormsSupplier.idl
+++ b/offapi/com/sun/star/form/XFormsSupplier.idl
@@ -35,8 +35,7 @@ published interface XFormsSupplier: com::sun::star::uno::XInterface
/** accesses the forms.
- @example StarBASIC
- <listing>
+ @code{.bas}
REM ***** BASIC *****
Sub createColorSelectionBox
@@ -71,7 +70,7 @@ published interface XFormsSupplier: com::sun::star::uno::XInterface
thisComponent.DrawPage.Forms.getByIndex(0).insertByIndex( 0, xControlModel )
thisComponent.DrawPage.add( xShape )
End Sub
- </listing>
+ @endcode
@returns
the container of all the top-level forms belonging to the component.