#ifndef LANGUAGE_H
#define LANGUAGE_H
-#include "BufferParams.h"
-
#include "support/docstring.h"
#include "support/trivstring.h"
namespace lyx {
-namespace support { class FileName; }
+namespace support {
+class FileName;
+class Lexer;
+}
+class BufferParams;
class Encoding;
-class Lexer;
///
class Language {
std::string const polyglossia() const { return polyglossia_name_; }
/// polyglossia language options
std::string const polyglossiaOpts() const { return polyglossia_opts_; }
+ /// polyglossia language options
+ std::string const xindy() const { return xindy_; }
/// Is this language only supported by polyglossia?
bool isPolyglossiaExclusive() const;
/// Is this language only supported by babel?
/// active characters
std::string const activeChars() const { return active_chars_; }
/// requirement (package, function)
- std::string const requires() const { return requires_; }
+ std::string const required() const { return required_; }
/// provides feature
std::string const provides() const { return provides_; }
/// translatable GUI name
/// This language corresponds to a translation of the GUI
bool hasGuiSupport() const { return has_gui_support_; }
///
- bool read(Lexer & lex);
+ bool read(support::Lexer & lex);
///
- bool readLanguage(Lexer & lex);
+ bool readLanguage(support::Lexer & lex);
///
typedef std::map<trivstring, trivdocstring> TranslationMap;
///
///
trivstring polyglossia_opts_;
///
+ trivstring xindy_;
+ ///
trivstring quote_style_;
///
trivstring active_chars_;
///
- trivstring requires_;
+ trivstring required_;
///
trivstring provides_;
///