* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
#pragma interface
#endif
-#include "bufferparams.h"
-#include <boost/utility.hpp>
+#include "bufferparams.h" // Just to get the enum BufferParams::PAPER_SIZE (sic)
+
+// #include <boost/utility.hpp>
/// This contains the runtime configuration of LyX
class LyXRC //: public noncopyable {
RC_KBMAP,
RC_KBMAP_PRIMARY,
RC_KBMAP_SECONDARY,
-#if 0
- RC_FAX_COMMAND,
- RC_PHONEBOOK,
- RC_FAXPROGRAM,
-#endif
RC_ASCIIROFF_COMMAND,
RC_ASCII_LINELEN,
RC_NUMLASTFILES,
RC_LANGUAGE_AUTO_END,
RC_LANGUAGE_COMMAND_BEGIN,
RC_LANGUAGE_COMMAND_END,
+ RC_LANGUAGE_COMMAND_LOCAL,
+ RC_LANGUAGE_GLOBAL_OPTIONS,
+ RC_LANGUAGE_USE_BABEL,
RC_DATE_INSERT_FORMAT,
RC_SHOW_BANNER,
RC_WHEEL_JUMP,
RC_NEW_ASK_FILENAME,
RC_DEFAULT_LANGUAGE,
RC_LABEL_INIT_LENGTH,
+#ifdef USE_PSPELL
+ RC_USE_PSPELL,
+#endif
RC_LAST
};
///
int read (string const & filename);
///
+ void readBindFileIfNeeded();
+ ///
void write(string const & filename) const;
///
void print() const;
///
void output(std::ostream & os) const;
- /// Is a bind file already (or currently) read?
- bool hasBindFile;
- ///
- int ReadBindFile(string const & name = "cua");
///
static string const getDescription(LyXRCTags);
///
///
ISO_8859_9,
///
+ ISO_8859_15,
+ ///
OTHER_ENCODING
};
///
string font_norm_menu;
///
unsigned int autosave;
-#if 0
- ///
- string fax_command;
- ///
- string phone_book;
- ///
- string fax_program;
-#endif
///
string ascii_roff_command;
///
unsigned int ascii_linelen;
/// Ispell command
+#ifdef USE_PSPELL
+ bool use_pspell;
+#endif
string isp_command;
/// Accept compound words in spellchecker?
bool isp_accept_compound;
///
string language_command_end;
///
+ string language_command_local;
+ ///
+ bool language_global_options;
+ ///
+ bool language_use_babel;
+ ///
bool rtl_support;
///
bool auto_number;
bool cursor_follows_scrollbar;
///
int label_init_length;
+private:
+ /// Is a bind file already (or currently) read?
+ bool hasBindFile;
+ ///
+ int ReadBindFile(string const & name);
};
///