983 |
else if ("-bottom".equals(optionTag)) { |
else if ("-bottom".equals(optionTag)) { |
984 |
docTransletOptions.bottom = option[1]; |
docTransletOptions.bottom = option[1]; |
985 |
} |
} |
986 |
|
else if ("-doctitle".equals(optionTag)) { |
987 |
|
docTransletOptions.doctitle = option[1]; |
988 |
|
} |
989 |
else if ("-tag".equals(optionTag)) { |
else if ("-tag".equals(optionTag)) { |
990 |
String tagSpec = option[1]; |
String tagSpec = option[1]; |
991 |
boolean validTagSpec = false; |
boolean validTagSpec = false; |
1165 |
println("<!DOCTYPE gjdoc SYSTEM \"dtd/gjdoc.dtd\">"); |
println("<!DOCTYPE gjdoc SYSTEM \"dtd/gjdoc.dtd\">"); |
1166 |
println(); |
println(); |
1167 |
printOpenTag(0, "rootdoc xmlns=\"http://www.w3.org/TR/REC-html40\" xmlns:gjdoc=\"http://www.gnu.org/software/cp-tools/gjdocxml\""); |
printOpenTag(0, "rootdoc xmlns=\"http://www.w3.org/TR/REC-html40\" xmlns:gjdoc=\"http://www.gnu.org/software/cp-tools/gjdocxml\""); |
1168 |
|
|
1169 |
|
println(); |
1170 |
|
println(1, "<!-- Tags from overview page, if available -->"); |
1171 |
|
|
1172 |
|
if (rootDoc.firstSentenceTags().length > 0) { |
1173 |
|
printOpenTag(2, "firstSentenceTags", false); |
1174 |
|
outputTags(3, rootDoc.firstSentenceTags(), true, CONTEXT_PACKAGE); |
1175 |
|
printCloseTag(0, "firstSentenceTags"); |
1176 |
|
} |
1177 |
|
|
1178 |
|
if (rootDoc.inlineTags().length > 0) { |
1179 |
|
printOpenTag(2, "inlineTags"); |
1180 |
|
outputTags(3, rootDoc.inlineTags(), true, CONTEXT_PACKAGE); |
1181 |
|
printCloseTag(2, "inlineTags"); |
1182 |
|
} |
1183 |
|
|
1184 |
if (null != bottomNote) { |
if (null != bottomNote) { |
1185 |
printOpenTag(1, "bottomnote"); |
printOpenTag(1, "bottomnote"); |
1569 |
else if ("-header".equals(option)) return 2; |
else if ("-header".equals(option)) return 2; |
1570 |
else if ("-footer".equals(option)) return 2; |
else if ("-footer".equals(option)) return 2; |
1571 |
else if ("-bottom".equals(option)) return 2; |
else if ("-bottom".equals(option)) return 2; |
1572 |
|
else if ("-doctitle".equals(option)) return 2; |
1573 |
|
|
1574 |
else return -1; |
else return -1; |
1575 |
} |
} |