summaryrefslogtreecommitdiffstats
path: root/src/rtfdocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-10-06 19:08:54 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-10-06 19:08:54 (GMT)
commit4596b79abbfea0953c6cd7c6b294dc1727807960 (patch)
treec1062a06b0267bdf027f00efb00f1fb2b70db5c5 /src/rtfdocvisitor.cpp
parent858708350c055a757c1e34461a06c5cf2277f2db (diff)
downloadDoxygen-4596b79abbfea0953c6cd7c6b294dc1727807960.zip
Doxygen-4596b79abbfea0953c6cd7c6b294dc1727807960.tar.gz
Doxygen-4596b79abbfea0953c6cd7c6b294dc1727807960.tar.bz2
Release-1.2.18-20021006
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r--src/rtfdocvisitor.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index d9b16a4..a072318 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -271,7 +271,7 @@ void RTFDocVisitor::visit(DocVerbatim *s)
m_t << "{" << endl;
m_t << "\\par" << endl;
m_t << rtf_Style_Reset << getStyle("CodeExample");
- parseCode(m_ci,s->context(),s->text().latin1(),FALSE,0);
+ parseCode(m_ci,s->context(),s->text().latin1(),s->isExample(),s->exampleFile());
m_t << "\\par" << endl;
m_t << "}" << endl;
break;
@@ -321,7 +321,7 @@ void RTFDocVisitor::visit(DocInclude *inc)
m_t << "{" << endl;
m_t << "\\par" << endl;
m_t << rtf_Style_Reset << getStyle("CodeExample");
- parseCode(m_ci,inc->context(),inc->text().latin1(),FALSE,0);
+ parseCode(m_ci,inc->context(),inc->text().latin1(),inc->isExample(),inc->exampleFile());
m_t << "\\par" << endl;
m_t << "}" << endl;
break;
@@ -353,7 +353,7 @@ void RTFDocVisitor::visit(DocIncOperator *op)
}
if (op->type()!=DocIncOperator::Skip)
{
- parseCode(m_ci,op->context(),op->text().latin1(),FALSE,0);
+ parseCode(m_ci,op->context(),op->text().latin1(),op->isExample(),op->exampleFile());
}
if (op->isLast())
{
@@ -989,6 +989,14 @@ void RTFDocVisitor::visitPost(DocCopy *)
{
}
+void RTFDocVisitor::visitPre(DocText *)
+{
+}
+
+void RTFDocVisitor::visitPost(DocText *)
+{
+}
+
static char* getMultiByte(int c)
{
static char s[10];