Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef AP_PREFS_SCHEMEIDS_H
00028 #define AP_PREFS_SCHEMEIDS_H
00029
00030 #ifdef HAVE_CONFIG_H
00031 #include "config.h"
00032 #endif
00033
00034 #include "ap_Features.h"
00035
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00048
00049 #define AP_PREF_KEY_CursorBlink "CursorBlink"
00050 #define AP_PREF_DEFAULT_CursorBlink "1"
00051
00052 #define AP_PREF_KEY_AutoSpellCheck "AutoSpellCheck"
00053 #define AP_PREF_DEFAULT_AutoSpellCheck "1"
00054
00055 #define AP_PREF_KEY_AutoGrammarCheck "AutoGrammarCheck"
00056 #define AP_PREF_DEFAULT_AutoGrammarCheck "0"
00057
00058 #define AP_PREF_KEY_DisplayAnnotations "DisplayAnnotations"
00059 #define AP_PREF_DEFAULT_DisplayAnnotations "0"
00060
00061 #define AP_PREF_KEY_DisplayRDFAnchors "DisplayRDFAnchors"
00062 #define AP_PREF_DEFAULT_DisplayRDFAnchors "0"
00063
00064 #define AP_PREF_KEY_SpellCheckCaps "SpellCheckCaps"
00065 #define AP_PREF_DEFAULT_SpellCheckCaps "1"
00066
00067 #define AP_PREF_KEY_SpellCheckNumbers "SpellCheckNumbers"
00068 #define AP_PREF_DEFAULT_SpellCheckNumbers "1"
00069
00070 #define AP_PREF_KEY_SpellCheckInternet "SpellCheckInternet"
00071 #define AP_PREF_DEFAULT_SpellCheckInternet "1"
00072
00073 #define AP_PREF_KEY_SpellAutoReplace "SpellAutoReplace"
00074 #define AP_PREF_DEFAULT_SpellAutoReplace "0"
00075
00076 #define AP_PREF_KEY_OptionsTabNumber "OptionsTabNumber"
00077 #define AP_PREF_DEFAULT_OptionsTabNumber "0"
00078
00079 #define AP_PREF_KEY_RulerUnits "RulerUnits"
00080 #define AP_PREF_DEFAULT_RulerUnits "in"
00081
00082
00083 #define AP_PREF_KEY_RulerVisible "RulerVisible"
00084 #ifdef EMBEDDED_TARGET
00085 #define AP_PREF_DEFAULT_RulerVisible "0"
00086 #else
00087 #define AP_PREF_DEFAULT_RulerVisible "1"
00088 #endif
00089
00090 # define AP_PREF_KEY_SimpleBarVisible "SimpleBarVisible"
00091 # define AP_PREF_KEY_StandardBarVisible "StandardBarVisible"
00092 # define AP_PREF_KEY_FormatBarVisible "FormatBarVisible"
00093 # define AP_PREF_KEY_ExtraBarVisible "ExtraBarVisible"
00094 # define AP_PREF_KEY_TableBarVisible "TableBarVisible"
00095 # define AP_PREF_DEFAULT_SimpleBarVisible "0"
00096 #if XAP_SIMPLE_TOOLBAR
00097 # define AP_PREF_DEFAULT_StandardBarVisible "0"
00098 # define AP_PREF_DEFAULT_FormatBarVisible "0"
00099 #else
00100 # define AP_PREF_DEFAULT_StandardBarVisible "1"
00101 # define AP_PREF_DEFAULT_FormatBarVisible "1"
00102 #endif
00103 # define AP_PREF_DEFAULT_ExtraBarVisible "0"
00104 # define AP_PREF_DEFAULT_TableBarVisible "0"
00105
00106
00107 #define AP_PREF_KEY_StatusBarVisible "StatusBarVisible"
00108 #ifdef EMBEDDED_TARGET
00109 #define AP_PREF_DEFAULT_StatusBarVisible "0"
00110 #else
00111 #define AP_PREF_DEFAULT_StatusBarVisible "1"
00112 #endif
00113
00114
00115 #define AP_PREF_KEY_ParaVisible "ParaVisible"
00116 #define AP_PREF_DEFAULT_ParaVisible "0"
00117
00118
00119 #define AP_PREF_KEY_StringSet "StringSet"
00120 #define AP_PREF_DEFAULT_StringSet "en-US"
00121
00122 #define AP_PREF_KEY_KeyBindings "KeyBindings"
00123 #define AP_PREF_DEFAULT_KeyBindings "default"
00124
00125 #define AP_PREF_KEY_KeyBindingsCycle "KeyBindingsCycle"
00126 #define AP_PREF_DEFAULT_KeyBindingsCycle "0"
00127
00128 #define AP_PREF_KEY_InsertMode "InsertMode"
00129 #define AP_PREF_DEFAULT_InsertMode "1"
00130
00131 #define AP_PREF_KEY_InsertModeToggle "InsertModeToggle"
00132 #define AP_PREF_DEFAULT_InsertModeToggle "0"
00133
00134 #define AP_PREF_KEY_MenuLayout "MenuLayouts"
00135 #define AP_PREF_DEFAULT_MenuLayout "Main"
00136
00137
00138 #define AP_PREF_KEY_ToolbarLayouts "ToolbarLayouts"
00139 #if defined (EMBEDDED_TARGET) && EMBEDDED_TARGET != EMBEDDED_TARGET_HILDON
00140 # define AP_PREF_DEFAULT_ToolbarLayouts "Embedded"
00141 #elif XAP_SIMPLE_TOOLBAR
00142 # define AP_PREF_DEFAULT_ToolbarLayouts "SimpleOps"
00143 #else
00144 # define AP_PREF_DEFAULT_ToolbarLayouts "FileEditOps FormatOps TableOps ExtraOps"
00145 #endif
00146
00147 #define AP_PREF_KEY_SpellDirectory "SpellCheckDirectory"
00148 #define AP_PREF_DEFAULT_SpellDirectory "dictionary"
00149
00150 #define AP_PREF_KEY_StringSetDirectory "StringSetDirectory"
00151 #define AP_PREF_DEFAULT_StringSetDirectory "strings"
00152
00153 #define AP_PREF_KEY_LayoutMode "layoutMode"
00154 #ifdef EMBEDDED_TARGET
00155 #define AP_PREF_DEFAULT_LayoutMode "2"
00156 #else
00157 #define AP_PREF_DEFAULT_LayoutMode "1"
00158 #endif
00159
00160 #define AP_PREF_KEY_AlwaysPromptEncoding "AlwaysPromptEncoding"
00161 #define AP_PREF_DEFAULT_AlwaysPromptEncoding "0"
00162
00163 #define AP_PREF_KEY_DefaultDirectionRtl "DefaultDirectionRtl"
00164 #ifndef BIDI_RTL_DOMINANT
00165 #define AP_PREF_DEFAULT_DefaultDirectionRtl "0"
00166 #else
00167 #define AP_PREF_DEFAULT_DefaultDirectionRtl "1"
00168 #endif
00169
00170 #define AP_PREF_KEY_DefaultSaveFormat "DefaultSaveFormat"
00171 #define AP_PREF_DEFAULT_DefaultSaveFormat ".abw"
00172 #define AP_PREF_KEY_CloseOnLastDoc "CloseOnLastDoc"
00173 #define AP_PREF_DEFAULT_CloseOnLastDoc "0"
00174
00175 #define AP_PREF_KEY_LockStyles "LockStyles"
00176 #define AP_PREF_DEFAULT_LockStyles "0"
00177
00178 #define AP_PREF_KEY_ColorForAnnotation1 "ColorAnnotation1"
00179 #define AP_PREF_DEFAULT_ColorForAnnotation1 "ab04fe"
00180 #define AP_PREF_KEY_ColorForAnnotation2 "ColorAnnotation2"
00181 #define AP_PREF_DEFAULT_ColorForAnnotation2 "ab1477"
00182 #define AP_PREF_KEY_ColorForAnnotation3 "ColorAnnotation3"
00183 #define AP_PREF_DEFAULT_ColorForAnnotation3 "ff9708"
00184 #define AP_PREF_KEY_ColorForAnnotation4 "ColorAnnotation4"
00185 #define AP_PREF_DEFAULT_ColorForAnnotation4 "9eb345"
00186 #define AP_PREF_KEY_ColorForAnnotation5 "ColorAnnotation5"
00187 #define AP_PREF_DEFAULT_ColorForAnnotation5 "0fb305"
00188 #define AP_PREF_KEY_ColorForAnnotation6 "ColorAnnotation6"
00189 #define AP_PREF_DEFAULT_ColorForAnnotation6 "08b3f8"
00190 #define AP_PREF_KEY_ColorForAnnotation7 "ColorAnnotation7"
00191 #define AP_PREF_DEFAULT_ColorForAnnotation7 "04cec3"
00192 #define AP_PREF_KEY_ColorForAnnotation8 "ColorAnnotation8"
00193 #define AP_PREF_DEFAULT_ColorForAnnotation8 "0485c3"
00194 #define AP_PREF_KEY_ColorForAnnotation9 "ColorAnnotation9"
00195 #define AP_PREF_DEFAULT_ColorForAnnotation9 "0712c3"
00196 #define AP_PREF_KEY_ColorForAnnotation10 "ColorAnnotation10"
00197 #define AP_PREF_DEFAULT_ColorForAnnotation10 "ff0000"
00198
00199 #define AP_PREF_KEY_ColorForRDFAnchor1 "ColorRDFAnchor1"
00200 #define AP_PREF_DEFAULT_ColorForRDFAnchor1 "ab04fe"
00201 #define AP_PREF_KEY_ColorForRDFAnchor2 "ColorRDFAnchor2"
00202 #define AP_PREF_DEFAULT_ColorForRDFAnchor2 "ab1477"
00203 #define AP_PREF_KEY_ColorForRDFAnchor3 "ColorRDFAnchor3"
00204 #define AP_PREF_DEFAULT_ColorForRDFAnchor3 "ff9708"
00205 #define AP_PREF_KEY_ColorForRDFAnchor4 "ColorRDFAnchor4"
00206 #define AP_PREF_DEFAULT_ColorForRDFAnchor4 "9eb345"
00207 #define AP_PREF_KEY_ColorForRDFAnchor5 "ColorRDFAnchor5"
00208 #define AP_PREF_DEFAULT_ColorForRDFAnchor5 "0fb305"
00209 #define AP_PREF_KEY_ColorForRDFAnchor6 "ColorRDFAnchor6"
00210 #define AP_PREF_DEFAULT_ColorForRDFAnchor6 "08b3f8"
00211 #define AP_PREF_KEY_ColorForRDFAnchor7 "ColorRDFAnchor7"
00212 #define AP_PREF_DEFAULT_ColorForRDFAnchor7 "04cec3"
00213 #define AP_PREF_KEY_ColorForRDFAnchor8 "ColorRDFAnchor8"
00214 #define AP_PREF_DEFAULT_ColorForRDFAnchor8 "0485c3"
00215 #define AP_PREF_KEY_ColorForRDFAnchor9 "ColorRDFAnchor9"
00216 #define AP_PREF_DEFAULT_ColorForRDFAnchor9 "0712c3"
00217 #define AP_PREF_KEY_ColorForRDFAnchor10 "ColorRDFAnchor10"
00218 #define AP_PREF_DEFAULT_ColorForRDFAnchor10 "ff0000"
00219
00220 #else
00221 #ifdef dcl
00222
00223 dcl(CloseOnLastDoc)
00224 dcl(DefaultSaveFormat)
00225 dcl(CursorBlink)
00226 dcl(AutoSpellCheck)
00227 dcl(AutoGrammarCheck)
00228 dcl(SpellCheckCaps)
00229 dcl(SpellCheckNumbers)
00230 dcl(SpellCheckInternet)
00231 dcl(SpellAutoReplace)
00232 dcl(OptionsTabNumber)
00233 dcl(RulerUnits)
00234 dcl(RulerVisible)
00235 dcl(SimpleBarVisible)
00236 dcl(StandardBarVisible)
00237 dcl(FormatBarVisible)
00238 dcl(ExtraBarVisible)
00239 dcl(TableBarVisible)
00240 dcl(StatusBarVisible)
00241 dcl(ParaVisible)
00242 dcl(StringSet)
00243 dcl(KeyBindings)
00244 dcl(KeyBindingsCycle)
00245 dcl(InsertMode)
00246 dcl(InsertModeToggle)
00247 dcl(MenuLayout)
00248 dcl(ToolbarLayouts)
00249 dcl(LayoutMode)
00250 dcl(AlwaysPromptEncoding)
00251
00252 dcl(SpellDirectory)
00253 dcl(StringSetDirectory)
00254
00255 dcl(DefaultDirectionRtl)
00256 dcl(LockStyles)
00257
00258 #endif
00259 #endif