summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-06-07 11:47:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-06-07 11:47:47 (GMT)
commit0aa47e2a30513b04d1041d528f468d3434a81558 (patch)
treef17d17b67fdefdfdf992328f3f51dd90812c156e /src/rtfgen.cpp
parent35c2baedaa68519999af733a87d8e6ff9a89358c (diff)
downloadDoxygen-0aa47e2a30513b04d1041d528f468d3434a81558.zip
Doxygen-0aa47e2a30513b04d1041d528f468d3434a81558.tar.gz
Doxygen-0aa47e2a30513b04d1041d528f468d3434a81558.tar.bz2
Release-1.3.1-20030607
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 346a8cd..3c5d7a3 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -2223,6 +2223,27 @@ void RTFGenerator::endInclDepGraph(DotInclDepGraph &g)
DBG_RTF(t << "{\\comment (endInclDepGraph)}" << endl)
}
+void RTFGenerator::startCallGraph()
+{
+ DBG_RTF(t << "{\\comment (startCallGraph)}" << endl)
+}
+
+void RTFGenerator::endCallGraph(DotCallGraph &g)
+{
+ newParagraph();
+
+ 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 << "." << Config_getEnum("DOT_IMAGE_FORMAT");
+ t << " \\\\d \\\\*MERGEFORMAT}{\\fldrslt IMAGE}}\\par" << endl;
+ t << "}" << endl;
+ DBG_RTF(t << "{\\comment (endCallGraph)}" << endl)
+}
+
/** Tests the integrity of the result by counting brackets.
*
*/