• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

xap_Prefs_SchemeIds.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
00002 
00003 /* AbiSource Application Framework
00004  * Copyright (C) 1998-2000 AbiSource, Inc.
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00019  * 02110-1301 USA.
00020  */
00021 
00022 /*****************************************************************
00023 ******************************************************************
00024 ** IT IS IMPORTANT THAT THIS FILE ALLOW ITSELF TO BE INCLUDED
00025 ** MORE THAN ONE TIME.
00026 ******************************************************************
00027 *****************************************************************/
00028 
00029 #ifndef XAP_PREFS_SCHEMEIDS_H
00030 #define XAP_PREFS_SCHEMEIDS_H
00031 #include "xap_Features.h"
00032 
00034 // The following are the set of scheme-based application-independent preference keys
00035 // and the set of default values for them.  Each item must have the XAP_PREF_KEY_ prefix
00036 // and each value must have the XAP_PREF_DEFAULT_ prefix.  Default values *must* obey
00037 // XML encoding rules if they contain any double quote ("), ampersand (&),
00038 // or angle bracket (< and >) characters.
00039 //
00040 // ***FOR EACH PAIR DEFINED, ADD A 'dcl(basename)' TO THE BOTTOM HALF OF THIS FILE***
00041 //
00042 // Note: Additional keys may be defined by the application.
00044 
00045 #define XAP_PREF_KEY_ToolbarAppearance      "ToolbarAppearance"
00046 #define XAP_PREF_DEFAULT_ToolbarAppearance  "icon"                      /* {icon,text,both} */
00047 
00048 #define XAP_PREF_KEY_RemapGlyphsDefault             "RemapGlyphsDefault"
00049  /* default replacement glyph for originals not mentioned in the table */
00050 #define XAP_PREF_DEFAULT_RemapGlyphsDefault         "°"
00051 /* degree symbol */
00052 
00053 /* smart quotes */
00054 #define XAP_PREF_KEY_SmartQuotesEnable              "SmartQuotesEnable"
00055 /* substitute curly smart quotes on the fly */
00056 #define XAP_PREF_DEFAULT_SmartQuotesEnable          "1"
00057 
00058 #define XAP_PREF_KEY_CustomSmartQuotes      "CustomSmartQuotes"
00059 #define XAP_PREF_DEFAULT_CustomSmartQuotes  "0"
00060 
00061 #define XAP_PREF_KEY_OuterQuoteStyle            "OuterQuoteStyle"
00062 #define XAP_PREF_DEFAULT_OuterQuoteStyle            "0"
00063 
00064 #define XAP_PREF_KEY_InnerQuoteStyle            "InnerQuoteStyle"
00065 #define XAP_PREF_DEFAULT_InnerQuoteStyle            "1"
00066 
00067 #define XAP_PREF_KEY_UseSuffix                      "UseSuffix"
00068 /* append suffixes to saved files */
00069 #define XAP_PREF_DEFAULT_UseSuffix                  "1"
00070 
00071 #define XAP_PREF_KEY_SaveContextGlyphs               "SaveContextGlyphs"
00072 #define XAP_PREF_DEFAULT_SaveContextGlyphs           "0"
00073 #define XAP_PREF_KEY_UseHebrewContextGlyphs          "UseGlyphShapingForHebrew"
00074 #define XAP_PREF_DEFAULT_UseHebrewContextGlyphs      "0"
00075 
00076 #define XAP_PREF_KEY_LatinLigatures                  "LatinLigatures"
00077 #define XAP_PREF_DEFAULT_LatinLigatures              "0"
00078 
00079 #define XAP_PREF_KEY_AutoSaveFile                   "AutoSaveFile"
00080 #define XAP_PREF_DEFAULT_AutoSaveFile               "0"                         /* Auto save files by default */
00081 
00082 #define XAP_PREF_KEY_AutoSaveFilePeriod                 "AutoSaveFilePeriod"
00083 #define XAP_PREF_DEFAULT_AutoSaveFilePeriod             "5"                         /* Auto save files by default */
00084 
00085 #define XAP_PREF_KEY_AutoSaveFileExt                    "AutoSaveFileExt"
00086 #ifdef _WIN32
00087 #define XAP_PREF_DEFAULT_AutoSaveFileExt            ".bak"
00088 #else
00089 #define XAP_PREF_DEFAULT_AutoSaveFileExt            ".bak~"
00090 #endif
00091 
00092 #define XAP_PREF_KEY_ColorForTransparent            "TransparentColor"
00093 #define XAP_PREF_DEFAULT_ColorForTransparent        "ffffff"
00094 
00095 #define XAP_PREF_KEY_ColorForShowPara               "ColorShowPara"
00096 #define XAP_PREF_DEFAULT_ColorForShowPara           "7f7f7f"
00097 #define XAP_PREF_KEY_ColorForSquiggle               "ColorSquiggle"
00098 #define XAP_PREF_DEFAULT_ColorForSquiggle           "ff0000"
00099 #define XAP_PREF_KEY_ColorForGrammarSquiggle        "ColorGrammarSquiggle"
00100 #define XAP_PREF_DEFAULT_ColorForGrammarSquiggle    "00bb00"
00101 #define XAP_PREF_KEY_ColorForMargin                 "ColorMargin"
00102 #define XAP_PREF_DEFAULT_ColorForMargin             "7f7f7f"
00103 #define XAP_PREF_KEY_ColorForSelBackground          "ColorSelBackground"
00104 #define XAP_PREF_DEFAULT_ColorForSelBackground      "c0c0c0"
00105 #define XAP_PREF_KEY_ColorForFieldOffset            "ColorFieldOffset"
00106 #define XAP_PREF_DEFAULT_ColorForFieldOffset        "0c0c0c"
00107 #define XAP_PREF_KEY_ColorForImage                  "ColorImage"
00108 #define XAP_PREF_DEFAULT_ColorForImage              "0000ff"
00109 #define XAP_PREF_KEY_ColorForHyperLink              "ColorHyperLink"
00110 #define XAP_PREF_DEFAULT_ColorForHyperLink          "0000ff"
00111 #define XAP_PREF_KEY_ColorForHdrFtr                 "ColorHdrFtr"
00112 #define XAP_PREF_DEFAULT_ColorForHdrFtr             "000000"
00113 #define XAP_PREF_KEY_ColorForColumnLine             "ColorColumnLine"
00114 #define XAP_PREF_DEFAULT_ColorForColumnLine         "000000"
00115 
00116 #define XAP_PREF_KEY_ColorForRevision1              "ColorRevision1"
00117 #define XAP_PREF_DEFAULT_ColorForRevision1          "ab04fe"
00118 #define XAP_PREF_KEY_ColorForRevision2              "ColorRevision2"
00119 #define XAP_PREF_DEFAULT_ColorForRevision2          "ab1477"
00120 #define XAP_PREF_KEY_ColorForRevision3              "ColorRevision3"
00121 #define XAP_PREF_DEFAULT_ColorForRevision3          "ff9708"
00122 #define XAP_PREF_KEY_ColorForRevision4              "ColorRevision4"
00123 #define XAP_PREF_DEFAULT_ColorForRevision4          "9eb345"
00124 #define XAP_PREF_KEY_ColorForRevision5              "ColorRevision5"
00125 #define XAP_PREF_DEFAULT_ColorForRevision5          "0fb305"
00126 #define XAP_PREF_KEY_ColorForRevision6              "ColorRevision6"
00127 #define XAP_PREF_DEFAULT_ColorForRevision6          "08b3f8"
00128 #define XAP_PREF_KEY_ColorForRevision7              "ColorRevision7"
00129 #define XAP_PREF_DEFAULT_ColorForRevision7          "04cec3"
00130 #define XAP_PREF_KEY_ColorForRevision8              "ColorRevision8"
00131 #define XAP_PREF_DEFAULT_ColorForRevision8          "0485c3"
00132 #define XAP_PREF_KEY_ColorForRevision9              "ColorRevision9"
00133 #define XAP_PREF_DEFAULT_ColorForRevision9          "0712c3"
00134 #define XAP_PREF_KEY_ColorForRevision10             "ColorRevision10"
00135 #define XAP_PREF_DEFAULT_ColorForRevision10         "ff0000"
00136 
00137 #define XAP_PREF_KEY_DefaultSaveDirectory "DefaultSaveDirectory"
00138 #define XAP_PREF_DEFAULT_DefaultSaveDirectory "" /* empty for $PWD basically */
00139 
00140 #define XAP_PREF_KEY_ZoomType       "ZoomType"
00141 #define XAP_PREF_DEFAULT_ZoomType   "Width" /* 100, Width, Page */
00142 
00143 
00144 #define XAP_PREF_KEY_ZoomPercentage     "ZoomPercentage"
00145 #define XAP_PREF_DEFAULT_ZoomPercentage "100"
00146 
00147 #define XAP_PREF_KEY_EnableSmoothScrolling  "EnableSmoothScrolling"
00148 #define XAP_PREF_DEFAULT_EnableSmoothScrolling       "1"
00149 
00150 #define XAP_PREF_KEY_AutoLoadPlugins                 "AutoLoadPlugins"
00151 #define XAP_PREF_DEFAULT_AutoLoadPlugins             "1"
00152 
00153 #define XAP_PREF_KEY_ToolbarNumEntries "Toolbar_NumEntries_"
00154 #define XAP_PREF_KEY_ToolbarID "Toolbar_ID_"
00155 #define XAP_PREF_KEY_ToolbarFlag "Toolbar_Flag_"
00156 
00157 #define XAP_PREF_KEY_HTMLExportOptions  "HTML_Export_Options"
00158 #define XAP_PREF_DEFAULT_HTMLExportOptions "?xml,xmlns:awml,+CSS"
00159 
00160 #define XAP_PREF_KEY_ChangeLanguageWithKeyboard "ChangeLangWithKeyboard"
00161 #define XAP_PREF_DEFAULT_ChangeLanguageWithKeyboard "0"
00162 
00163 #define XAP_PREF_KEY_DirMarkerAfterClosingParenthesis "DirMarkerAfterClosingParenthesis"
00164 #define XAP_PREF_DEFAULT_DirMarkerAfterClosingParenthesis "0"
00165 
00166 #define XAP_PREF_KEY_NoMACinUUID "NoMACinUUID"
00167 #define XAP_PREF_DEFAULT_NoMACinUUID "0"
00168 
00169 #define XAP_PREF_KEY_DefaultGraphics "DefaultGraphics"
00170 #define XAP_PREF_DEFAULT_DefaultGraphics "0"
00171 
00172 #define XAP_PREF_KEY_ToolPaletteVisible "ToolPaletteVisible"
00173 #define XAP_PREF_DEFAULT_ToolPaletteVisible "1"
00174 
00175 #else /* XAP_PREFS_SCHEMEID_H */
00176 #ifdef dcl
00177 
00178 dcl(ToolbarAppearance)
00179 dcl(RemapGlyphsDefault)
00180 dcl(SmartQuotesEnable)
00181 dcl(CustomSmartQuotes)
00182 dcl(OuterQuoteStyle)
00183 dcl(InnerQuoteStyle)
00184 dcl(UseSuffix)
00185 dcl(SaveContextGlyphs)
00186 dcl(UseHebrewContextGlyphs)
00187 dcl(LatinLigatures)
00188 dcl(AutoSaveFile)
00189 dcl(AutoSaveFilePeriod)
00190 dcl(AutoSaveFileExt)
00191 dcl(ColorForTransparent)
00192 dcl(ColorForShowPara)
00193 dcl(ColorForSquiggle)
00194 dcl(ColorForGrammarSquiggle)
00195 dcl(ColorForMargin)
00196 dcl(ColorForSelBackground)
00197 dcl(ColorForFieldOffset)
00198 dcl(ColorForImage)
00199 dcl(ColorForHyperLink)
00200 dcl(ColorForHdrFtr)
00201 dcl(ColorForColumnLine)
00202 dcl(ColorForRevision1)
00203 dcl(ColorForRevision2)
00204 dcl(ColorForRevision3)
00205 dcl(ColorForRevision4)
00206 dcl(ColorForRevision5)
00207 dcl(ColorForRevision6)
00208 dcl(ColorForRevision7)
00209 dcl(ColorForRevision8)
00210 dcl(ColorForRevision9)
00211 dcl(ColorForRevision10)
00212 dcl(EnableSmoothScrolling)
00213 dcl(AutoLoadPlugins)
00214 dcl(ZoomType)
00215 dcl(ZoomPercentage)
00216 dcl(DefaultSaveDirectory)
00217 dcl(HTMLExportOptions)
00218 dcl(ChangeLanguageWithKeyboard)
00219 dcl(DirMarkerAfterClosingParenthesis)
00220 dcl(NoMACinUUID)
00221 dcl(DefaultGraphics)
00222 dcl(ToolPaletteVisible)
00223 #endif /* dcl */
00224 #endif /* XAP_PREFS_SCHEMEID_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1