+ /// Returns the unicode character of a given quote
+ char_type getQuoteChar(QuoteStyle const &, QuoteLevel const &,
+ QuoteSide const &) const;
+ /// Returns a map of quotation marks
+ std::map<std::string, docstring> getTypes() const;
+ ///
+ docstring getLaTeXQuote(char_type c, std::string const &) const;
+ ///
+ docstring getHTMLQuote(char_type c) const;
+ /// 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);
+};