summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-02-18 21:34:02 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-02-18 21:34:02 (GMT)
commit9793ce49f1d7641854ef0608b34c1dd2d4891a20 (patch)
tree714079396631ac6488c45cce3d6acfb51e31f9a8 /src/rtfgen.cpp
parentb698431e32befbc1d4e2196dc96b0507ed8ab15a (diff)
downloadDoxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.zip
Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.tar.gz
Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.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;
}