|
3 | 3 | This file is part of the DITA-OT Doxygen Plug-in project. |
4 | 4 | See the accompanying LICENSE file for applicable licenses. |
5 | 5 | --> |
6 | | -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 6 | +<xsl:stylesheet exclude-result-prefixes="dita-ot" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
7 | 7 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
8 | 8 | xmlns:dita-ot="http://dita-ot.sourceforge.net/ns/201007/dita-ot" |
9 | | - xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" |
10 | 9 | version="2.0"> |
11 | 10 | <!-- |
12 | 11 | Class Overview |
13 | 12 | --> |
14 | 13 | <xsl:template match="compounddef" mode="class"> |
15 | | - <topic domains="(topic abbrev-d) a(props deliveryTarget) (topic equation-d) (topic hazard-d) (topic hi-d) (topic indexing-d) (topic markup-d) (topic mathml-d) (topic pr-d) (topic relmgmt-d) (topic sw-d) (topic svg-d) (topic ui-d) (topic ut-d) (topic markup-d xml-d)" xmlns:dita="http://dita-ot.sourceforge.net/ns/201007/dita-ot" class="- topic/topic " ditaarch:DITAArchVersion="1.3" props="doxygen"> |
| 14 | + <topic domains="(topic abbrev-d) a(props deliveryTarget) (topic equation-d) (topic hazard-d) (topic hi-d) (topic indexing-d) (topic markup-d) (topic mathml-d) (topic pr-d) (topic relmgmt-d) (topic sw-d) (topic svg-d) (topic ui-d) (topic ut-d) (topic markup-d xml-d)" class="- topic/topic " props="doxygen"> |
16 | 15 | <xsl:attribute name="id"> |
17 | 16 | <xsl:value-of select="dita-ot:name-to-id(compoundname)"/> |
18 | 17 | </xsl:attribute> |
|
36 | 35 | <xsl:if test="basecompoundref/@refid"> |
37 | 36 | <xsl:if test="starts-with(basecompoundref/@refid, 'interface')"> |
38 | 37 | <p class="- topic/p "> |
39 | | - <b class=" hi-d/b "> |
| 38 | + <b class="+ topic/ph hi-d/b "> |
40 | 39 | <xsl:text>All Implemented Interfaces:</xsl:text> |
41 | 40 | </b> |
42 | 41 | </p> |
43 | | - <ul class=" topic/ul "> |
| 42 | + <ul class="- topic/ul "> |
44 | 43 | <xsl:for-each select="basecompoundref"> |
45 | | - <li class=" topic/li "> |
| 44 | + <li class="- topic/li "> |
46 | 45 | <xsl:call-template name="add-link" > |
47 | 46 | <xsl:with-param name="type" select="'topic'" /> |
48 | 47 | <xsl:with-param name="href" select="concat('#', .)" /> |
|
55 | 54 | </xsl:if> |
56 | 55 | <xsl:if test="derivedcompoundref"> |
57 | 56 | <p class="- topic/p "> |
58 | | - <b class=" hi-d/b "> |
| 57 | + <b class="+ topic/ph hi-d/b "> |
59 | 58 | <xsl:text>Direct Known Subclasses:</xsl:text> |
60 | 59 | </b> |
61 | 60 | </p> |
62 | | - <ul class=" topic/ul "> |
| 61 | + <ul class="- topic/ul "> |
63 | 62 | <xsl:for-each select="derivedcompoundref"> |
64 | | - <li class=" topic/li "> |
| 63 | + <li class="- topic/li "> |
65 | 64 | <xsl:call-template name="add-link" > |
66 | 65 | <xsl:with-param name="type" select="'topic'" /> |
67 | 66 | <xsl:with-param name="href" select="concat('#', .)" /> |
|
72 | 71 | </ul> |
73 | 72 | </xsl:if> |
74 | 73 |
|
75 | | - <codeblock class=" pr-d/codeblock "> |
| 74 | + <codeblock class="+ topic/pre pr-d/codeblock "> |
76 | 75 | <xsl:attribute name="xtrc" select="concat('codeblock:',generate-id(.),'1')"/> |
77 | 76 | <xsl:value-of select="concat(@prot, ' class ')"/> |
78 | | - <b class=" hi-d/b "><xsl:value-of select="replace(compoundname,'^.*::','')"/></b> |
| 77 | + <b class="+ topic/ph hi-d/b "><xsl:value-of select="replace(compoundname,'^.*::','')"/></b> |
79 | 78 | <xsl:choose> |
80 | 79 | <xsl:when test="basecompoundref/@refid"> |
81 | 80 | <xsl:variable name="extends" select="basecompoundref/@refid"/> |
|
174 | 173 | Constructor Summary |
175 | 174 | --> |
176 | 175 | <xsl:template name="add-constructor-summary"> |
177 | | - <table class=" topic/table " outputclass="constructor_summary"> |
178 | | - <tgroup class=" topic/tgroup " cols="1"> |
179 | | - <colspec class=" topic/colspec " colname="c1" colnum="1" colwidth="100%"/> |
180 | | - <thead class=" topic/thead "> |
181 | | - <row class=" topic/row "> |
182 | | - <entry class=" topic/entry " colname="c1" dita-ot:x="1" align="left"> |
| 176 | + <table class="- topic/table " outputclass="constructor_summary"> |
| 177 | + <tgroup class="- topic/tgroup " cols="1"> |
| 178 | + <colspec class="- topic/colspec " colname="c1" colnum="1" colwidth="100%"/> |
| 179 | + <thead class="- topic/thead "> |
| 180 | + <row class="- topic/row "> |
| 181 | + <entry class="- topic/entry " colname="c1" align="left"> |
183 | 182 | <xsl:text>Constructor and Description</xsl:text> |
184 | 183 | </entry> |
185 | 184 | </row> |
186 | 185 | </thead> |
187 | | - <tbody class=" topic/tbody "> |
| 186 | + <tbody class="- topic/tbody "> |
188 | 187 | <xsl:for-each select="sectiondef[contains(@kind,'-func')]/memberdef[@kind='function' and type='' and @prot='public']"> |
189 | 188 | <xsl:sort select="name"/> |
190 | 189 | <xsl:variable name="constructor" select="name"/> |
191 | | - <row class=" topic/row "> |
192 | | - <entry class=" topic/entry " colname="c1" dita-ot:x="1" align="left"> |
193 | | - <codeph class=" pr-d/codeph "> |
| 190 | + <row class="- topic/row "> |
| 191 | + <entry class="- topic/entry " colname="c1" align="left"> |
| 192 | + <codeph class="+ topic/ph pr-d/codeph "> |
194 | 193 | <xsl:attribute name="xtrc" select="concat('codeph:',generate-id(.),'1')"/> |
195 | 194 | <xsl:call-template name="add-link" > |
196 | 195 | <xsl:with-param name="type" select="'table'" /> |
|
221 | 220 | <xsl:template match="memberdef" mode="constructor"> |
222 | 221 | <xsl:variable name="constructor" select="name"/> |
223 | 222 | <xsl:variable name="constructor_details"> |
224 | | - <codeblock class=" pr-d/codeblock "> |
| 223 | + <codeblock class="+ topic/pre pr-d/codeblock "> |
225 | 224 | <xsl:attribute name="xtrc" select="concat('codeblock:',generate-id(.),'9')"/> |
226 | 225 | <xsl:value-of select="$constructor"/> |
227 | 226 | <xsl:call-template name="add-signature"/> |
|
237 | 236 | <xsl:call-template name="parameter-description"/> |
238 | 237 | </xsl:variable> |
239 | 238 |
|
240 | | - <table class=" topic/table " outputclass="constructor_details"> |
| 239 | + <table class="- topic/table " outputclass="constructor_details"> |
241 | 240 | <xsl:attribute name="id"> |
242 | 241 | <xsl:value-of select="concat('constructors_',$constructor)"/> |
243 | 242 | <xsl:if test="count(../memberdef[name=$constructor])>1"> |
|
258 | 257 | Field Summary |
259 | 258 | --> |
260 | 259 | <xsl:template name="add-field-summary"> |
261 | | - <table class=" topic/table " outputclass="field_summary"> |
262 | | - <tgroup class=" topic/tgroup " cols="2"> |
263 | | - <colspec class=" topic/colspec " colname="c1" colnum="1" colwidth="25%"/> |
264 | | - <colspec class=" topic/colspec " colname="c2" colnum="2" colwidth="75%"/> |
265 | | - <thead class=" topic/thead "> |
266 | | - <row class=" topic/row "> |
267 | | - <entry class=" topic/entry " colname="c1" dita-ot:x="1" align="left"> |
| 260 | + <table class="- topic/table " outputclass="field_summary"> |
| 261 | + <tgroup class="- topic/tgroup " cols="2"> |
| 262 | + <colspec class="- topic/colspec " colname="c1" colnum="1" colwidth="25%"/> |
| 263 | + <colspec class="- topic/colspec " colname="c2" colnum="2" colwidth="75%"/> |
| 264 | + <thead class="- topic/thead "> |
| 265 | + <row class="- topic/row "> |
| 266 | + <entry class="- topic/entry " colname="c1" align="left"> |
268 | 267 | <xsl:text>Modifier and Type</xsl:text> |
269 | 268 | </entry> |
270 | | - <entry class=" topic/entry " colname="c2" dita-ot:x="2" align="left"> |
| 269 | + <entry class="- topic/entry " colname="c2" align="left"> |
271 | 270 | <xsl:text>Field and Description</xsl:text> |
272 | 271 | </entry> |
273 | 272 | </row> |
274 | 273 | </thead> |
275 | | - <tbody class=" topic/tbody "> |
| 274 | + <tbody class="- topic/tbody "> |
276 | 275 | <xsl:for-each select="sectiondef[contains(@kind,'-attrib')]/memberdef[@kind='variable' and @prot='public']"> |
277 | 276 | <xsl:sort select="name"/> |
278 | 277 | <xsl:variable name="field" select="name"/> |
279 | | - <row class=" topic/row "> |
280 | | - <entry class=" topic/entry " colname="c1" dita-ot:x="1" align="left"> |
281 | | - <codeph class=" pr-d/codeph "> |
| 278 | + <row class="- topic/row "> |
| 279 | + <entry class="- topic/entry " colname="c1" align="left"> |
| 280 | + <codeph class="+ topic/ph pr-d/codeph "> |
282 | 281 | <xsl:attribute name="xtrc" select="concat('codeph:',generate-id(.),'3')"/> |
283 | 282 | <xsl:call-template name="add-modifiers"/> |
284 | 283 | <xsl:call-template name="add-class-link"> |
285 | 284 | <xsl:with-param name="class" select="type"/> |
286 | 285 | </xsl:call-template> |
287 | 286 | </codeph> |
288 | 287 | </entry> |
289 | | - <entry class=" topic/entry " colname="c2" dita-ot:x="2" align="left"> |
290 | | - <codeph class=" pr-d/codeph "> |
| 288 | + <entry class="- topic/entry " colname="c2" align="left"> |
| 289 | + <codeph class="+ topic/ph pr-d/codeph "> |
291 | 290 | <xsl:attribute name="xtrc" select="concat('codeph:',generate-id(.),'4')"/> |
292 | 291 | <xsl:call-template name="add-link" > |
293 | 292 | <xsl:with-param name="type" select="'table'" /> |
|
317 | 316 | <xsl:template match="memberdef" mode="field"> |
318 | 317 | <xsl:variable name="field" select="name"/> |
319 | 318 | <xsl:variable name="field_details"> |
320 | | - <codeph class=" pr-d/codeph "> |
| 319 | + <codeph class="+ topic/ph pr-d/codeph "> |
321 | 320 | <xsl:attribute name="xtrc" select="concat('codeph:',generate-id(.),'5')"/> |
322 | 321 | <xsl:value-of select="concat(@scope, ' ')"/> |
323 | 322 | <xsl:if test="@static='true'"> |
|
334 | 333 | <xsl:call-template name="parse-detailed-description"/> |
335 | 334 | </xsl:variable> |
336 | 335 |
|
337 | | - <table class=" topic/table " outputclass="field_details"> |
| 336 | + <table class="- topic/table " outputclass="field_details"> |
338 | 337 | <xsl:attribute name="id"> |
339 | 338 | <xsl:value-of select="concat('fields_',$field)"/> |
340 | 339 | <xsl:if test="count(../memberdef[name=$field])>1"> |
|
0 commit comments