Mercurial > projects > dil
comparison trunk/src/docgen/page/xmlwriter.d @ 466:db7e27b5c180
Fixed parts of HTML output, some reorganizing.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Wed, 31 Oct 2007 15:17:20 +0200 |
parents | 33a4cb255fcc |
children |
comparison
equal
deleted
inserted
replaced
465:e0d24e05a9ee | 466:db7e27b5c180 |
---|---|
11 //TODO: this is mostly broken now | 11 //TODO: this is mostly broken now |
12 | 12 |
13 /** | 13 /** |
14 * TODO | 14 * TODO |
15 */ | 15 */ |
16 class XMLWriter : AbstractPageWriter!(2, "xml") { | 16 class XMLWriter : AbstractPageWriter!("xml", 1) { |
17 this(PageWriterFactory factory, OutputStream[] outputs) { | 17 this(PageWriterFactory factory, OutputStream[] outputs) { |
18 super(factory, outputs); | 18 super(factory, outputs); |
19 } | 19 } |
20 | 20 |
21 void generateTOC(Module[] modules) { | 21 void generateTOC(Module[] modules) { |
22 // TODO | 22 // TODO |
23 print.format(templates["toc"]); | 23 print.format(getTemplate("toc")); |
24 } | 24 } |
25 | 25 |
26 void generateModuleSection() { | 26 void generateModuleSection() { |
27 // TODO | 27 // TODO |
28 print.format(templates["modules"]); | 28 print.format(getTemplate("modules")); |
29 } | 29 } |
30 | 30 |
31 void generateListingSection() { | 31 void generateListingSection() { |
32 // TODO | 32 // TODO |
33 print.format(templates["listings"]); | 33 print.format(getTemplate("listings")); |
34 } | 34 } |
35 | 35 |
36 void generateDepGraphSection() { | 36 void generateDepGraphSection() { |
37 // TODO | 37 // TODO |
38 print.format(templates["dependencies"]); | 38 print.format(getTemplate("dependencies")); |
39 } | 39 } |
40 | 40 |
41 void generateIndexSection() { } | 41 void generateIndexSection() { } |
42 | 42 |
43 void generateLastPage() { } | 43 void generateLastPage() { } |