diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-19 18:13:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-19 18:13:14 (GMT) |
commit | 8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77 (patch) | |
tree | 3ff0575884709cdc92f9e462441672f3549ab054 /src/rtfgen.cpp | |
parent | b5cbb79d114ed13945bc882ac8eef1c2be967bbf (diff) | |
download | Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.zip Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.tar.gz Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.tar.bz2 |
Release-1.2.9-20010819
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r-- | src/rtfgen.cpp | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index e79646b..e912f26 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -1926,7 +1926,7 @@ void RTFGenerator::endMemberDescription() t << "\\par}" << endl; } -void RTFGenerator::startDescList() +void RTFGenerator::startDescList(SectionTypes) { DBG_RTF(t << "{\\comment (startDescList)}" << endl) t << "{"; @@ -1942,6 +1942,24 @@ void RTFGenerator::endDescTitle() t << Rtf_Style_Reset << Rtf_DList_DepthStyle(); } +void RTFGenerator::startParamList(ParamListTypes) +{ + DBG_RTF(t << "{\\comment (startParamList)}" << endl) + t << "{"; + newParagraph(); +} + +void RTFGenerator::endParamList() +{ + DBG_RTF(t << "{\\comment (endParamList)}" << endl) + newParagraph(); + t << "}"; + decrementIndentLevel(); + m_omitParagraph = TRUE; + //t << Rtf_Style_Reset << styleStack.top() << endl; +} + + void RTFGenerator::writeDescItem() { DBG_RTF(t << "{\\comment (writeDescItem) }" << endl) @@ -2209,6 +2227,36 @@ void RTFGenerator::endImage(bool) // not yet implemented } +void RTFGenerator::startDotFile(const char *name,bool) +{ + QCString baseName=name; + int i; + if ((i=baseName.findRev('/'))!=-1 || (i=baseName.findRev('\\'))!=-1) + { + baseName=baseName.right(baseName.length()-i-1); + } + QCString outName = Config_getString("RTF_OUTPUT")+ +#ifdef _WIN32 + "\\" +#else + "/" +#endif + +baseName; + writeDotGraphFromFile(name,outName,GIF); + newParagraph(); + t << "{" << endl; + t << Rtf_Style_Reset << endl; + t << "\\par\\pard \\qc {\\field\\flddirty {\\*\\fldinst INCLUDEPICTURE "; + t << outName; + t << " \\\\d \\\\*MERGEFORMAT}{\\fldrslt IMAGE}}\\par" << endl; + t << "}" << endl; +} + +void RTFGenerator::endDotFile(bool) +{ + // not yet implemented +} + void RTFGenerator::startDescTable() { DBG_RTF(t << "{\\comment (startDescTable) }" << endl) |