diff options
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/config.l b/src/config.l index 9093c8e..c31152b 100644 --- a/src/config.l +++ b/src/config.l @@ -1,4 +1,4 @@ -/* This file was generated by configgen on Mon Feb 26 19:52:21 2001 +/* This file was generated by configgen on Mon Mar 19 20:34:59 2001 * from config_templ.l * * DO NOT EDIT! @@ -157,6 +157,7 @@ QCString Config::rtfOutputDir = "rtf"; bool Config::compactRTFFlag = FALSE; bool Config::rtfHyperFlag = FALSE; QCString Config::rtfStylesheetFile; +QCString Config::rtfExtensionsFile; bool Config::generateMan = TRUE; QCString Config::manOutputDir = "man"; QCString Config::manExtension = ".3"; @@ -446,6 +447,7 @@ static void readIncludeFile(const char *incName) <Start>"COMPACT_RTF"[ \t]*"=" { BEGIN(GetBool); b=&Config::compactRTFFlag; } <Start>"RTF_HYPERLINKS"[ \t]*"=" { BEGIN(GetBool); b=&Config::rtfHyperFlag; } <Start>"RTF_STYLESHEET_FILE"[ \t]*"=" { BEGIN(GetString); s=&Config::rtfStylesheetFile; s->resize(0); } +<Start>"RTF_EXTENSIONS_FILE"[ \t]*"=" { BEGIN(GetString); s=&Config::rtfExtensionsFile; s->resize(0); } <Start>"GENERATE_MAN"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateMan; } <Start>"MAN_OUTPUT"[ \t]*"=" { BEGIN(GetString); s=&Config::manOutputDir; s->resize(0); } <Start>"MAN_EXTENSION"[ \t]*"=" { BEGIN(GetString); s=&Config::manExtension; s->resize(0); } @@ -762,6 +764,7 @@ void dumpConfig() printf("compactRTFFlag=`%d'\n",Config::compactRTFFlag); printf("rtfHyperFlag=`%d'\n",Config::rtfHyperFlag); printf("rtfStylesheetFile=`%s'\n",Config::rtfStylesheetFile.data()); + printf("rtfExtensionsFile=`%s'\n",Config::rtfExtensionsFile.data()); printf("# configuration options related to the man page output\n"); printf("generateMan=`%d'\n",Config::generateMan); printf("manOutputDir=`%s'\n",Config::manOutputDir.data()); @@ -929,6 +932,7 @@ void Config::init() Config::compactRTFFlag = FALSE; Config::rtfHyperFlag = FALSE; Config::rtfStylesheetFile.resize(0); + Config::rtfExtensionsFile.resize(0); Config::generateMan = TRUE; Config::manOutputDir = "man"; Config::manExtension = ".3"; @@ -2022,6 +2026,16 @@ void writeTemplateConfig(QFile *f,bool sl) if (!sl) { t << "\n"; + t << "# Set optional variables used in the generation of an rtf document. \n"; + t << "# Syntax is similar to doxygen's config file.\n"; + t << "\n"; + } + t << "RTF_EXTENSIONS_FILE = "; + writeStringValue(t,Config::rtfExtensionsFile); + t << "\n"; + if (!sl) + { + t << "\n"; } t << "#---------------------------------------------------------------------------\n"; t << "# configuration options related to the man page output\n"; @@ -2698,6 +2712,7 @@ void substituteEnvironmentVars() substEnvVarsInString( Config::latexHeaderFile ); substEnvVarsInString( Config::rtfOutputDir ); substEnvVarsInString( Config::rtfStylesheetFile ); + substEnvVarsInString( Config::rtfExtensionsFile ); substEnvVarsInString( Config::manOutputDir ); substEnvVarsInString( Config::manExtension ); substEnvVarsInStrList( Config::includePath ); |