summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-06-17 15:02:31 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-06-17 15:02:31 (GMT)
commitd5150cf4f1de010ad62f6de641532805ba81940a (patch)
tree4174efd197ffb98e336e31881c5c95fa3e09cbcc /src/rtfgen.cpp
parentdf80e2787c543a3b48f775fbd5c18723abe64a07 (diff)
downloadDoxygen-d5150cf4f1de010ad62f6de641532805ba81940a.zip
Doxygen-d5150cf4f1de010ad62f6de641532805ba81940a.tar.gz
Doxygen-d5150cf4f1de010ad62f6de641532805ba81940a.tar.bz2
Release-1.2.8-20010617
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 441c1f3..4582025 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -1372,9 +1372,9 @@ void RTFGenerator::writeStyleInfo(int)
void RTFGenerator::lineBreak()
{
- //t << "\\par" << endl;
+ t << "\\par" << endl;
//newParagraph();
- t << "\\line" << endl;
+ //t << "\\line" << endl;
}
void RTFGenerator::writeString(const char *text)
@@ -2541,13 +2541,14 @@ void RTFGenerator::endDotGraph(DotClassGraph &g)
{
newParagraph();
- g.writeGraph(t,GIF,Config_getString("RTF_OUTPUT"),TRUE,FALSE);
+ QCString fileName =
+ g.writeGraph(t,GIF,Config_getString("RTF_OUTPUT"),TRUE,FALSE);
// display the file
t << "{" << endl;
t << Rtf_Style_Reset << endl;
t << "\\par\\pard \\qc {\\field\\flddirty {\\*\\fldinst INCLUDEPICTURE ";
- t << g.diskName() << ".gif";
+ t << fileName << ".gif";
t << " \\\\*MERGEFORMAT}{\\fldrslt IMAGE}}\\par" << endl;
t << "}" << endl;
}
@@ -2560,15 +2561,13 @@ void RTFGenerator::endInclDepGraph(DotInclDepGraph &g)
{
newParagraph();
- g.writeGraph(t,GIF,Config_getString("RTF_OUTPUT"),FALSE);
-
- //QCString diskName = g.diskName();
+ QCString fileName = g.writeGraph(t,GIF,Config_getString("RTF_OUTPUT"),FALSE);
// display the file
t << "{" << endl;
t << Rtf_Style_Reset << endl;
t << "\\par\\pard \\qc {\\field\\flddirty {\\*\\fldinst INCLUDEPICTURE ";
- t << g.diskName() << ".gif";
+ t << fileName << ".gif";
t << " \\\\*MERGEFORMAT}{\\fldrslt IMAGE}}\\par" << endl;
t << "}" << endl;
}