My Project
|
#include <stdlib.h>
#include <qdir.h>
#include <qregexp.h>
#include <qtextstream.h>
#include "rtfgen.h"
#include "config.h"
#include "message.h"
#include "doxygen.h"
#include "util.h"
#include "diagram.h"
#include "language.h"
#include "dot.h"
#include "version.h"
#include "pagedef.h"
#include "rtfstyle.h"
#include "rtfdocvisitor.h"
#include "docparser.h"
#include "dirdef.h"
#include "vhdldocgen.h"
#include "portable.h"
#include "groupdef.h"
#include "classlist.h"
#include "filename.h"
#include "namespacedef.h"
Go to the source code of this file.
Macros | |
#define | DBG_RTF(x) |
Functions | |
static QCString | dateToRTFDateString () |
static QCString | makeIndexName (const char *s, int i) |
bool | isLeadBytes (int c) |
static void | encodeForOutput (FTextStream &t, const char *s) |
static bool | preProcessFile (QDir &d, QCString &infName, FTextStream &t, bool bIncludeHeader=TRUE) |
void | testRTFOutput (const char *name) |
#define DBG_RTF | ( | x | ) |
Definition at line 48 of file rtfgen.cpp.
Referenced by RTFGenerator::beginRTFChapter(), RTFGenerator::beginRTFDocument(), RTFGenerator::beginRTFSection(), RTFGenerator::endCallGraph(), RTFGenerator::endCodeFragment(), RTFGenerator::endConstraintDocs(), RTFGenerator::endConstraintList(), RTFGenerator::endConstraintParam(), RTFGenerator::endConstraintType(), RTFGenerator::endDescForItem(), RTFGenerator::endDescItem(), RTFGenerator::endDescription(), RTFGenerator::endDescTable(), RTFGenerator::endDescTableData(), RTFGenerator::endDescTableTitle(), RTFGenerator::endDirDepGraph(), RTFGenerator::endDotGraph(), RTFGenerator::endDoxyAnchor(), RTFGenerator::endFile(), RTFGenerator::endGroupHeader(), RTFGenerator::endInclDepGraph(), RTFGenerator::endIndexItem(), RTFGenerator::endIndexKey(), RTFGenerator::endIndexList(), RTFGenerator::endIndexListItem(), RTFGenerator::endIndexSection(), RTFGenerator::endIndexValue(), RTFGenerator::endInlineHeader(), RTFGenerator::endInlineMemberDoc(), RTFGenerator::endInlineMemberName(), RTFGenerator::endInlineMemberType(), RTFGenerator::endItemList(), RTFGenerator::endItemListItem(), RTFGenerator::endMemberDescription(), RTFGenerator::endMemberDoc(), RTFGenerator::endMemberDocSimple(), RTFGenerator::endMemberGroup(), RTFGenerator::endMemberGroupDocs(), RTFGenerator::endMemberGroupHeader(), RTFGenerator::endMemberItem(), RTFGenerator::endMemberList(), RTFGenerator::endMemberSubtitle(), RTFGenerator::endParagraph(), RTFGenerator::endParameterType(), RTFGenerator::endParamList(), RTFGenerator::endProjectNumber(), RTFGenerator::endSection(), RTFGenerator::endSimpleSect(), RTFGenerator::endTextBlock(), RTFGenerator::endTitleHead(), RTFGenerator::exceptionEntry(), RTFGenerator::lastIndexPage(), RTFGenerator::lineBreak(), RTFGenerator::newParagraph(), preProcessFile(), RTFGenerator::rtfwriteRuler_doubleline(), RTFGenerator::rtfwriteRuler_emboss(), RTFGenerator::rtfwriteRuler_thick(), RTFGenerator::rtfwriteRuler_thin(), RTFGenerator::startCallGraph(), RTFGenerator::startClassDiagram(), RTFGenerator::startCodeFragment(), RTFGenerator::startConstraintDocs(), RTFGenerator::startConstraintList(), RTFGenerator::startConstraintParam(), RTFGenerator::startConstraintType(), RTFGenerator::startDescForItem(), RTFGenerator::startDescItem(), RTFGenerator::startDescList(), RTFGenerator::startDescription(), RTFGenerator::startDescTable(), RTFGenerator::startDescTableData(), RTFGenerator::startDescTableTitle(), RTFGenerator::startDirDepGraph(), RTFGenerator::startDotGraph(), RTFGenerator::startDoxyAnchor(), RTFGenerator::startGroupHeader(), RTFGenerator::startInclDepGraph(), RTFGenerator::startIndent(), RTFGenerator::startIndexItem(), RTFGenerator::startIndexKey(), RTFGenerator::startIndexList(), RTFGenerator::startIndexListItem(), RTFGenerator::startIndexSection(), RTFGenerator::startIndexValue(), RTFGenerator::startInlineHeader(), RTFGenerator::startInlineMemberDoc(), RTFGenerator::startInlineMemberName(), RTFGenerator::startInlineMemberType(), RTFGenerator::startItemList(), RTFGenerator::startItemListItem(), RTFGenerator::startMemberDescription(), RTFGenerator::startMemberDoc(), RTFGenerator::startMemberDocSimple(), RTFGenerator::startMemberGroup(), RTFGenerator::startMemberGroupDocs(), RTFGenerator::startMemberGroupHeader(), RTFGenerator::startMemberItem(), RTFGenerator::startMemberList(), RTFGenerator::startMemberSubtitle(), RTFGenerator::startParagraph(), RTFGenerator::startParameterType(), RTFGenerator::startParamList(), RTFGenerator::startProjectNumber(), RTFGenerator::startSection(), RTFGenerator::startSimpleSect(), RTFGenerator::startSubsection(), RTFGenerator::startSubsubsection(), RTFGenerator::startTextBlock(), RTFGenerator::startTitle(), RTFGenerator::startTitleHead(), RTFGenerator::writeAnchor(), RTFGenerator::writeEndAnnoItem(), and RTFGenerator::writeStartAnnoItem().
|
static |
Definition at line 50 of file rtfgen.cpp.
Referenced by RTFGenerator::endIndexSection().
|
static |
Definition at line 2318 of file rtfgen.cpp.
References isLeadBytes(), portable_iconv(), portable_iconv_close(), portable_iconv_open(), theTranslator, and Translator::trRTFansicp().
Referenced by preProcessFile().
bool isLeadBytes | ( | int | c | ) |
Definition at line 2286 of file rtfgen.cpp.
References theTranslator, and Translator::trRTFansicp().
Referenced by encodeForOutput().
|
static |
Definition at line 205 of file rtfgen.cpp.
Referenced by RTFGenerator::rtf_BList_DepthStyle(), RTFGenerator::rtf_CList_DepthStyle(), RTFGenerator::rtf_Code_DepthStyle(), RTFGenerator::rtf_DList_DepthStyle(), RTFGenerator::rtf_EList_DepthStyle(), and RTFGenerator::rtf_LCList_DepthStyle().
|
static |
VERY brittle routine inline RTF's included by other RTF's. it is recursive and ugly.
Definition at line 2383 of file rtfgen.cpp.
References DBG_RTF, encodeForOutput(), endl(), and err().
Referenced by RTFGenerator::preProcessFileInplace().
void testRTFOutput | ( | const char * | name | ) |
Tests the integrity of the result by counting brackets.
Definition at line 2561 of file rtfgen.cpp.
References err().
Referenced by RTFGenerator::preProcessFileInplace().