diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-09-23 17:28:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-09-23 17:28:38 (GMT) |
commit | 156b0bb68fc4104792afb27ee4ee466f3efac206 (patch) | |
tree | 66859557d84fe96d692e8d6ee0a72d639a25b283 /src/rtfgen.cpp | |
parent | e4e787013da916e7331797233c1bec05c14b1f76 (diff) | |
download | Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.zip Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.gz Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.bz2 |
Release-1.2.10-20010923
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r-- | src/rtfgen.cpp | 46 |
1 files changed, 40 insertions, 6 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 1831072..5313f9b 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -877,6 +877,7 @@ void RTFGenerator::startFile(const char *name,const char *, void RTFGenerator::endFile() { + DBG_RTF(t << "{\\comment endFile}\n") t << "}"; endPlainFile(); @@ -1410,7 +1411,6 @@ void RTFGenerator::startItemList() t << "{"; incrementIndentLevel(); listItemInfo[m_listLevel].isEnum = FALSE; - //t << Rtf_Style_Reset << Rtf_BList_DepthStyle(); } /*! end bullet list */ @@ -1421,9 +1421,6 @@ void RTFGenerator::endItemList() t << "}"; decrementIndentLevel(); m_omitParagraph=TRUE; - //t << Rtf_Style_Reset << styleStack.top() << endl; - //printf("RTFGenerator::endItemList() `%s'\n",styleStack.top()); - //newParagraph(); } /*! start enumeration list */ @@ -1571,6 +1568,39 @@ void RTFGenerator::writeEndAnnoItem(const char *name) newParagraph(); } +void RTFGenerator::startIndexKey() +{ + DBG_RTF(t << "{\\comment (startIndexKey)}" << endl) + t << "{\\b "; +} + +void RTFGenerator::endIndexKey() +{ +} + +void RTFGenerator::startIndexValue() +{ + t << " ("; +} + +void RTFGenerator::endIndexValue(const char *name) +{ + DBG_RTF(t << "{\\comment (endIndexKey)}" << endl) + t << ")"; + t << "} "; + if (name) + { + t << "\\tab "; + WriteRTFReference(name); + t << endl; + } + else + { + t << endl; + } + newParagraph(); +} + void RTFGenerator::startSubsection() { //beginRTFSubSection(); @@ -1937,7 +1967,7 @@ void RTFGenerator::startDescList(SectionTypes) void RTFGenerator::endDescTitle() { DBG_RTF(t << "{\\comment (endDescTitle) }" << endl) - endBold(); + //endBold(); newParagraph(); //t << Rtf_Style_Reset << styleStack.top(); incrementIndentLevel(); @@ -1948,6 +1978,7 @@ void RTFGenerator::startParamList(ParamListTypes) { DBG_RTF(t << "{\\comment (startParamList)}" << endl) t << "{"; + incrementIndentLevel(); newParagraph(); } @@ -2182,6 +2213,7 @@ void RTFGenerator::endCodeFragment() //styleStack.pop(); //printf("RTFGenerator::endCodeFrament() top=%s\n",styleStack.top()); //t << Rtf_Style_Reset << styleStack.top() << endl; + DBG_RTF(t << "{\\comment (endCodeFragment) }" << endl) t << "}" << endl; m_omitParagraph = TRUE; } @@ -2382,8 +2414,8 @@ void RTFGenerator::startTextBlock(bool dense) void RTFGenerator::endTextBlock() { newParagraph(); - t << "}" << endl; DBG_RTF(t << "{\\comment End TextBlock}" << endl) + t << "}" << endl; m_omitParagraph = TRUE; } @@ -2395,12 +2427,14 @@ void RTFGenerator::newParagraph() void RTFGenerator::startMemberSubtitle() { + DBG_RTF(t << "{\\comment startMemberSubtitle}" << endl) t << "{" << endl; t << Rtf_Style_Reset << Rtf_CList_DepthStyle() << endl; } void RTFGenerator::endMemberSubtitle() { + DBG_RTF(t << "{\\comment endMemberSubtitle}" << endl) newParagraph(); t << "}" << endl; } |