diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-04-21 17:27:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-04-21 17:27:45 (GMT) |
commit | ff31b2f109848ea3e08fb17d5821beb7af879193 (patch) | |
tree | 4859bfed167f695f5ce9e9c0f2f6f02313de2ed3 /src/xmlgen.cpp | |
parent | bc629c9003d59b736cc996a05b95bac8ab50123a (diff) | |
download | Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.zip Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.tar.gz Doxygen-ff31b2f109848ea3e08fb17d5821beb7af879193.tar.bz2 |
Release-1.2.15-20020421
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index ad3cd72..691ae13 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -343,12 +343,23 @@ class XMLGenerator : public OutputDocInterface { XML_DB(("(startPreFragment)\n")); startParMode(); - m_t << "<programlisting>"; + m_t << "<preformatted>"; } void endPreFragment() { XML_DB(("(endPreFragment)\n")); - m_t << "</programlisting>"; + m_t << "</preformatted>"; + } + void startVerbatimFragment() + { + XML_DB(("(startVerbatimFragment)\n")); + startParMode(); + m_t << "<preformatted>"; + } + void endVerbatimFragment() + { + XML_DB(("(endVerbatimFragment)\n")); + m_t << "</preformatted>"; } void writeRuler() { @@ -616,20 +627,21 @@ class XMLGenerator : public OutputDocInterface startParMode(); m_t << "<table cols=\"" << cols << "\">\n"; } - void endTable(bool) + void endTable(bool hasCaption) { XML_DB(("endTable\n")); - m_t << "</row>\n</table>"; + if (!hasCaption) m_t << "</row>\n"; + m_t << "</table>"; } void startCaption() { XML_DB(("startCaption")); - m_t << "<caption>"; + m_t << "</row><caption>"; } void endCaption() { XML_DB(("encCaption")); - m_t << "</caption"; + m_t << "</caption>"; } void nextTableRow() { @@ -639,7 +651,7 @@ class XMLGenerator : public OutputDocInterface // we need manually add a para here because cells are // parsed before the table is generated, and thus // are already parsed as if they are inside a paragraph. - m_t << "<para>"; + //m_t << "<para>"; } void endTableRow() { |