FlexDoc/Javadoc - JavadocClassic - SamplesFramedDoc.tpl template by Java 8 JDK sources of the following packages:
java.utilclasses are particularly heavy laden with new language features introduced in Java 5. So, you can appreciate how FlexDoc/Javadoc is able to handle such a code (click on the picture to see the live HTML):
The following screenshot shows such an HTML generated from the whole
package (click to view the HTML):
You can download the whole RTF file here: SingleDoc.rtf (536 KB)This RTF document has been generated for only four classes directly specified on the Javadoc command line:
These screenshots show the first three pages of the RTF documentation (click to see in full size):
The following are the pages for
javax.swing.text.Document interface and
whose Java sources contain comments richly formatted with various embedded HTML tags (including images).
Here you can see how FlexDoc is able to handle such an embedded HTML
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. FlexDoc core is able to render in RTF
the tables of any complexity and arbitrary layout defined with HTML tags!
Here is how such an RTF looks when open with LibreOffice Writer (click to enlarge):JavadocClassic | SingleDoc.tpl main template, which has generated the RTF above (click to enlarge): Template Designer running under Linux Mint.