///
FrenchINQuotes,
///
- RussianQuotes
+ RussianQuotes,
+ ///
+ CJKQuotes,
+ ///
+ CJKAngleQuotes,
+ ///
+ DynamicQuotes
};
///
enum QuoteSide {
docstring getLaTeXQuote(char_type c, std::string const &) const;
///
docstring getHTMLQuote(char_type c) const;
- /// Returns a label suitable for dialog and menu
- docstring const getGuiLabel(QuoteStyle const & qs);
+ /// Returns a descriptive label of a style suitable for dialog and menu
+ docstring const getGuiLabel(QuoteStyle const & qs,
+ bool langdef = false);
+ /// Returns a descriptive label of a given char
+ docstring const getShortGuiLabel(docstring const string);
///
int stylescount() const;
+ /// Returns the matching style shortcut char
+ char getStyleChar(QuoteStyle const & style) const;
+ /// Returns the quote style from the shortcut string
+ QuoteStyle getQuoteStyle(std::string const & s,
+ bool const allow_wildcards = false,
+ QuoteStyle fallback = EnglishQuotes);
+ /// Returns the quote sind from the shortcut string
+ QuoteSide getQuoteSide(std::string const & s,
+ bool const allow_wildcards = false,
+ QuoteSide fallback = OpeningQuote);
+ /// Returns the quote level from the shortcut string
+ QuoteLevel getQuoteLevel(std::string const & s,
+ bool const allow_wildcards = false,
+ QuoteLevel fallback = PrimaryQuotes);
};
///
///
InsetQuotesParams::QuoteLevel level_;
///
+ InsetQuotesParams::QuoteStyle global_style_;
+ ///
std::string fontenc_;
/// Code of the contextual language
std::string context_lang_;
/// Is this in a pass-thru context?
bool pass_thru_;
+ /// Do we use fontspec?
+ bool fontspec_;
///
friend class InsetQuotesParams;