DocFlex/Javadoc - JavadocClassic - Examples
The following is a sample RTF documentation generated with the
JavadocClassic | SingleDoc.tpl
This RTF document has been generated for only four classes directly specified on the Javadoc command line:
The Java sources were taken from the Java SE 6 JDK Source Code available at
These screenshots show the first three pages of the RTF documentation (click to see in full size):
These are the
package overview and
the details of the
The following are the pages for
whose Java sources contain comments richly formatted with various embedded HTML tags (including images).
Here you can see how DocFlex is able to handle such an
and render it with the appropriate formatting in RTF:
As you can see, the result looks nearly identical to what would be expected from best HTML browsers.
Yet, this is MS Word displaying an RTF, which understands no HTML markup!
The images were picked automatically by the generator from their original locations
doc-files subdirectories) within the provided Java sources.
Please notice also a table in the bottom-right screenshot. DocFlex core is able to render in RTF
the tables of any complexity and arbitrary layout defined with HTML tags!
RTF in OpenOffice.org
Since DocFlex/Javadoc version 1.4, you can launch DocFlex/Javadoc under Linux
and generate RTF documentation to open it in
(For more information, see also
Documentation | FAQ | Generating RTF for OpenOffice.org.)
Here is how such an RTF looks when open with
(click to enlarge):
The following is the screenshot of
JavadocClassic | SingleDoc.tpl main template,
which has generated the RTF above (click to enlarge):
It is open with the
in openSUSE Linux v11.4.
This demo documentation has been generated
using JavadocClassic | FramedDoc.tpl
template by Java 6 JDK sources of the following packages:
classes are particularly heavy laden with new language features introduced in
So, you can appreciate how DocFlex/Javadoc is able to handle such a code
(click on the picture to see the live HTML):
Single File HTML
The JavadocClassic | SingleDoc.tpl
template is able to produce not only RTF. It can generate
a single-file HTML documentation (as well as in any other output format currently supported by DocFlex).
The following screenshot shows such an HTML generated from the whole
package (click to download a zip-archive of this demo):