summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index af35b80..19fc945 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -65,25 +65,25 @@ RTFGenerator::~RTFGenerator()
{
}
-void RTFGenerator::append(const OutputGenerator *g)
-{
- t << g->getContents();
- col+=((RTFGenerator *)g)->col;
- //insideTabbing=insideTabbing || ((RTFGenerator *)g)->insideTabbing;
- m_listLevel=((RTFGenerator *)g)->m_listLevel;
- m_omitParagraph=((RTFGenerator *)g)->m_omitParagraph;
- //printf("RTFGenerator::append(%s) insideTabbing=%s\n", g->getContents().data(),
- // insideTabbing ? "TRUE" : "FALSE" );
-}
+//void RTFGenerator::append(const OutputGenerator *g)
+//{
+// t << g->getContents();
+// col+=((RTFGenerator *)g)->col;
+// //insideTabbing=insideTabbing || ((RTFGenerator *)g)->insideTabbing;
+// m_listLevel=((RTFGenerator *)g)->m_listLevel;
+// m_omitParagraph=((RTFGenerator *)g)->m_omitParagraph;
+// //printf("RTFGenerator::append(%s) insideTabbing=%s\n", g->getContents().data(),
+// // insideTabbing ? "TRUE" : "FALSE" );
+//}
-OutputGenerator *RTFGenerator::copy()
-{
- RTFGenerator *result = new RTFGenerator;
- //result->insideTabbing=insideTabbing;
- result->m_listLevel=m_listLevel;
- result->m_omitParagraph=m_omitParagraph;
- return result;
-}
+//OutputGenerator *RTFGenerator::copy()
+//{
+// RTFGenerator *result = new RTFGenerator;
+// //result->insideTabbing=insideTabbing;
+// result->m_listLevel=m_listLevel;
+// result->m_omitParagraph=m_omitParagraph;
+// return result;
+//}
void RTFGenerator::writeStyleSheetFile(QFile &file)
{