[dbdoclet] Re: Generating real methodsynopsis markup?

Hello Norman,

you can use the style "strict" to generate strict DocBook code.*
*Therefore you have to set the property doclet.style.flavour=strict in 
your dbdoclet.properties file.
Unfortunatley the command line option -styleflavour seems to be broken.

I would prefer to introduce the strict style as the default style, but 
FOP crashes if something is much wider
than the page width. Unfortunatley this  happens very often with long 
class names. The usage of programlisting
is not because I don't like the DocBook tags.

Regards
Michael 

P.S. If you are interested, there is also a possibility to create your 
own style via XSLT.

Norman Walsh schrieb:

>Is it possible to generate real methodsynopsis markup? That is,
>this:
>
>      <classsynopsis>
>        <ooclass><modifier>public</modifier>
>          <classname>DocumentBuilder</classname>
>        </ooclass>
>        <constructorsynopsis>
>          <modifier>protected</modifier>
>          <methodname>DocumentBuilder</methodname>
>          <void/>
>        </constructorsynopsis>
>        <methodsynopsis>
>          <modifier>public</modifier>
>          <modifier>void</modifier>
>          <methodname>reset</methodname>
>          <void/>
>        </methodsynopsis>
>        ...
>
>instead of
>
>      <programlisting width="75">package javax.xml.parsers;
>
>public abstract class <emphasis role="bold">DocumentBuilder</emphasis> {
>
>  <emphasis>// Protected Constructors</emphasis>
>  protected <emphasis role="bold">DocumentBuilder</emphasis>();
><indexterm><primary>DocumentBuilder</primary></indexterm>
>  <emphasis>// Public Methods</emphasis>
>  abstract public DOMImplementation <emphasis 
> role="bold">getDOMImplementation</emphasis>();
><indexterm><primary>parse</primary></indexterm>  public void <emphasis 
>role="bold">reset</emphasis>();
>
>I patched an old version of dbdoclet to do it, but...
>
>                                        Be seeing you,
>                                          norm
>
>  
>


Other related posts: