summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp85
1 files changed, 72 insertions, 13 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index da60111..1b4a18c 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -475,7 +475,7 @@ void RTFGenerator::startIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInGroupDocs()
+ !cd->isEmbeddedInOuterScope()
)
{
beginRTFChapter();
@@ -759,7 +759,7 @@ void RTFGenerator::endIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInGroupDocs()
+ !cd->isEmbeddedInOuterScope()
)
{
t << "\\par " << rtf_Style_Reset << endl;
@@ -773,7 +773,7 @@ void RTFGenerator::endIndexSection(IndexSections is)
{
if (cd->isLinkableInProject() &&
cd->templateMaster()==0 &&
- !cd->isEmbeddedInGroupDocs()
+ !cd->isEmbeddedInOuterScope()
)
{
t << "\\par " << rtf_Style_Reset << endl;
@@ -2800,16 +2800,6 @@ void RTFGenerator::endIndexListItem()
t << "\\par" << endl;
}
-void RTFGenerator::startInlineDescription()
-{
- DBG_RTF(t << "{\\comment (startInlineDescription)}" << endl)
-}
-
-void RTFGenerator::endInlineDescription()
-{
- DBG_RTF(t << "{\\comment (endInlineDescription)}" << endl)
-}
-
void RTFGenerator::startInlineHeader()
{
DBG_RTF(t << "{\\comment (startInlineHeader)}" << endl)
@@ -2826,4 +2816,73 @@ void RTFGenerator::endInlineHeader()
t << "}" << endl;
}
+void RTFGenerator::startMemberDocSimple()
+{
+ DBG_RTF(t << "{\\comment (startMemberDocSimple)}" << endl)
+ t << "{\\par" << endl;
+ t << "{" << rtf_Style["Heading5"]->reference << endl;
+ t << theTranslator->trCompoundMembers() << ":\\par}" << endl;
+ t << rtf_Style_Reset << rtf_DList_DepthStyle();
+ t << "\\trowd \\trgaph108\\trleft426\\tblind426"
+ "\\trbrdrt\\brdrs\\brdrw10\\brdrcf15 "
+ "\\trbrdrl\\brdrs\\brdrw10\\brdrcf15 "
+ "\\trbrdrb\\brdrs\\brdrw10\\brdrcf15 "
+ "\\trbrdrr\\brdrs\\brdrw10\\brdrcf15 "
+ "\\trbrdrh\\brdrs\\brdrw10\\brdrcf15 "
+ "\\trbrdrv\\brdrs\\brdrw10\\brdrcf15 "<< endl;
+ int i,columnPos[3] = { 25, 50, 100 };
+ for (i=0;i<3;i++)
+ {
+ t << "\\clvertalt\\clbrdrt\\brdrs\\brdrw10\\brdrcf15 "
+ "\\clbrdrl\\brdrs\\brdrw10\\brdrcf15 "
+ "\\clbrdrb\\brdrs\\brdrw10\\brdrcf15 "
+ "\\clbrdrr \\brdrs\\brdrw10\\brdrcf15 "
+ "\\cltxlrtb "
+ "\\cellx" << (rtf_pageWidth*columnPos[i]/100) << endl;
+ }
+ t << "\\pard \\widctlpar\\intbl\\adjustright" << endl;
+}
+
+void RTFGenerator::endMemberDocSimple()
+{
+ DBG_RTF(t << "{\\comment (endMemberDocSimple)}" << endl)
+ t << "}" << endl;
+}
+
+void RTFGenerator::startInlineMemberType()
+{
+ DBG_RTF(t << "{\\comment (startInlineMemberType)}" << endl)
+ t << "{\\qr ";
+}
+
+void RTFGenerator::endInlineMemberType()
+{
+ DBG_RTF(t << "{\\comment (endInlineMemberType)}" << endl)
+ t << "\\cell }";
+}
+
+void RTFGenerator::startInlineMemberName()
+{
+ DBG_RTF(t << "{\\comment (startInlineMemberName)}" << endl)
+ t << "{";
+}
+
+void RTFGenerator::endInlineMemberName()
+{
+ DBG_RTF(t << "{\\comment (endInlineMemberName)}" << endl)
+ t << "\\cell }";
+}
+
+void RTFGenerator::startInlineMemberDoc()
+{
+ DBG_RTF(t << "{\\comment (startInlineMemberDoc)}" << endl)
+ t << "{";
+}
+
+void RTFGenerator::endInlineMemberDoc()
+{
+ DBG_RTF(t << "{\\comment (endInlineMemberDoc)}" << endl)
+ t << "\\cell }{\\row }" << endl;
+}
+