[DOC++] Help : Class hierarchy without Java
Brought to you by:
adragos
|
From: Thierry M. <thi...@so...> - 2003-01-06 11:22:35
|
Hello and a Happy New Year,
I'm stuck with the following problem.
We use DOC++ internally for documenting a bunch of C++ classes, with some
simple dependencies (inheritance) between them.
Currently, the only way to provide a working class hierarchy description is
with the Java Graphs.
Unfortunately, we do not want Java for something as simple as a class
hierarchy, for a variety of reasons.
Instead, we would like to replace the current Java Graphs with pure,
leightwight HTML like this:
The following CSS style is used (can be inserted inline in the <HEADER>
section for example):
<STYLE>
LI {padding-top:3pt}
LI.Child {LIST-STYLE-IMAGE: url(TAB-LEFT.GIF)}
</STYLE>
This tells the browser that all List Item elements in the document that have
a "Child" class <LI class=Child> will use the specified graphic
(TAB-LEFT.GIF)
instead of a bullet. TAB-LEFT.GIF happens to be an arrow that point to the
upper-left. :-)
The inheritance section of the document then uses the bulleted list as shown
below.
<UL>
<LI><A href="BaseClass.html">BaseClass</A></LI>
<UL>
<LI class="Child"><A
href="ChildClass.html"><STRONG>ChildClass</STRONG></A></LI>
<UL>
<LI class="Child"><A
href="GrandChildClassA.html">GrandChildClassA</A>
<LI class="Child"><A
href="GrandChildClassB.html">GrandChildClassB</A></LI>
</UL>
</UL>
</UL>
Would you happen to have a solution for this in the current DOC++ version?
Or, would you think it too hard to implement for the next version? :-)
Thank you very much for your help!
Best regards
Thierry Michalowski
|