///
std::string inputencoding() const { return h_inputencoding; }
///
+ void setInputencoding(std::string const & e) { h_inputencoding = e; }
+ ///
std::string notefontcolor() const { return h_notefontcolor; }
///
bool refstyle() const { return h_use_refstyle; }
/// The language of text which is not explicitly marked
std::string defaultLanguage() const { return default_language; }
///
+ bool usePolyglossia() const;
+ ///
std::string use_indices() const { return h_use_indices; }
///
std::string polyglossia2lyx(std::string const & language);
void registerAuthor(std::string const & name);
/// Get author named \p name (must be registered first)
Author const & getAuthor(std::string const & name) const;
+ /// Get number of arguments of special table column type \c or -1
+ /// if no column type \p c exists
+ int getSpecialTableColumnArguments(char c) const;
/// Parses the LaTeX preamble into internal data
void parse(Parser & p, std::string const & forceclass,
std::string h_font_sans;
std::string h_font_typewriter;
std::string h_font_default_family;
- std::string h_use_non_tex_fonts;
+ bool h_use_non_tex_fonts;
std::string h_font_sc;
std::string h_font_osf;
std::string h_font_sf_scale;
///
void handle_if(Parser & p, bool in_lyx_preamble);
+ ///
AuthorList authors_;
+ /// special table column types
+ std::map<char, int> special_columns_;
};