summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-02-18 21:34:02 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-02-18 21:34:02 (GMT)
commitfa7e820834f7e7648a24accbbaa998092034c80f (patch)
tree714079396631ac6488c45cce3d6acfb51e31f9a8 /src/rtfgen.cpp
parent37dc8d4605e2fa9a924a08597580d471445acc08 (diff)
downloadDoxygen-fa7e820834f7e7648a24accbbaa998092034c80f.zip
Doxygen-fa7e820834f7e7648a24accbbaa998092034c80f.tar.gz
Doxygen-fa7e820834f7e7648a24accbbaa998092034c80f.tar.bz2
Release-1.2.14
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index bd09fc6..d83711a 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -2275,7 +2275,7 @@ void RTFGenerator::startDotFile(const char *name,bool)
"/"
#endif
+baseName;
- writeDotGraphFromFile(name,outName,GIF);
+ writeDotGraphFromFile(name,outName,BITMAP);
newParagraph();
t << "{" << endl;
t << Rtf_Style_Reset << endl;
@@ -2631,13 +2631,13 @@ void RTFGenerator::endDotGraph(DotClassGraph &g)
newParagraph();
QCString fileName =
- g.writeGraph(t,GIF,Config_getString("RTF_OUTPUT"),TRUE,FALSE);
+ g.writeGraph(t,BITMAP,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 << fileName << ".gif";
+ t << fileName << "." << Config_getEnum("DOT_IMAGE_FORMAT");
t << " \\\\d \\\\*MERGEFORMAT}{\\fldrslt IMAGE}}\\par" << endl;
t << "}" << endl;
}
@@ -2650,13 +2650,13 @@ void RTFGenerator::endInclDepGraph(DotInclDepGraph &g)
{
newParagraph();
- QCString fileName = g.writeGraph(t,GIF,Config_getString("RTF_OUTPUT"),FALSE);
+ QCString fileName = g.writeGraph(t,BITMAP,Config_getString("RTF_OUTPUT"),FALSE);
// display the file
t << "{" << endl;
t << Rtf_Style_Reset << endl;
t << "\\par\\pard \\qc {\\field\\flddirty {\\*\\fldinst INCLUDEPICTURE ";
- t << fileName << ".gif";
+ t << fileName << "." << Config_getEnum("DOT_IMAGE_FORMAT");
t << " \\\\d \\\\*MERGEFORMAT}{\\fldrslt IMAGE}}\\par" << endl;
t << "}" << endl;
}