merge the formfield patch from ooo-build
[ooovba.git] / testautomation / xml / optional / input / docbook / methodsynopsis.001.xml
blob2ec8cfa227a0a2360856d2416dee033816f24324
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3                   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
4 <article id="article">
5 <articleinfo>
6 <title>Unit Test: methodsynopsis.001.xml</title>
7 <releaseinfo role="CVS">$Id: methodsynopsis.001.xml,v 1.2 2008-07-11 07:51:56 rt Exp $</releaseinfo>
8 <author><firstname>Norman</firstname><surname>Walsh</surname>
9         <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
10 </author>
11 </articleinfo>
13 <para>Here's a <sgmltag>methodsynopsis</sgmltag> in a <sgmltag>classsynopsis</sgmltag>:
14 </para>
16 <classsynopsis>
17 <ooclass>
18 <classname>Foo</classname>
19 </ooclass>
20 <methodsynopsis>
21 <modifier>public</modifier>
22 <modifier>static</modifier>
23 <type>double</type>
24 <methodname>getQuote</methodname>
25 <methodparam>
26 <type>String</type>
27 <parameter>symbol</parameter>
28 </methodparam>
29 <methodparam>
30 <type>double</type>
31 <parameter>price</parameter>
32 </methodparam>
33 </methodsynopsis>
34 </classsynopsis>
36 <para>Here's a <sgmltag>methodsynopsis</sgmltag>
37 <emphasis>outside</emphasis> a <sgmltag>classsynopsis</sgmltag>:
38 </para>
40 <methodsynopsis>
41 <modifier>public</modifier>
42 <modifier>static</modifier>
43 <type>double</type>
44 <methodname>getQuote</methodname>
45 <methodparam>
46 <type>String</type>
47 <parameter>symbol</parameter>
48 </methodparam>
49 <methodparam>
50 <type>double</type>
51 <parameter>price</parameter>
52 </methodparam>
53 </methodsynopsis>
55 </article>