InsetQuotesParams::QuoteStyle InsetQuotesParams::getQuoteStyle(string const & s,
- bool const allow_wildcards, QuoteStyle fb)
+ bool const allow_wildcards, QuoteStyle fb) const
{
QuoteStyle res = fb;
InsetQuotesParams::QuoteSide InsetQuotesParams::getQuoteSide(string const & s,
- bool const allow_wildcards, QuoteSide fb)
+ bool const allow_wildcards, QuoteSide fb) const
{
QuoteSide res = fb;
InsetQuotesParams::QuoteLevel InsetQuotesParams::getQuoteLevel(string const & s,
- bool const allow_wildcards, QuoteLevel fb)
+ bool const allow_wildcards, QuoteLevel fb) const
{
QuoteLevel res = fb;
}
-docstring const InsetQuotesParams::getGuiLabel(QuoteStyle const & qs, bool langdef)
+docstring const InsetQuotesParams::getGuiLabel(QuoteStyle const & qs, bool langdef) const
{
docstring const styledesc =
bformat(_("%1$souter%2$s and %3$sinner%4$s[[quotation marks]]"),
}
-docstring const InsetQuotesParams::getShortGuiLabel(docstring const & str)
+docstring const InsetQuotesParams::getShortGuiLabel(docstring const & str) const
{
string const s = to_ascii(str);
QuoteStyle const style = getQuoteStyle(s);
docstring getXMLQuote(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);
+ bool langdef = false) const;
/// Returns a descriptive label of a given char
- docstring const getShortGuiLabel(docstring const & str);
+ docstring const getShortGuiLabel(docstring const & str) const;
///
int stylescount() const;
/// Returns the matching style shortcut char
/// Returns the quote style from the shortcut string
QuoteStyle getQuoteStyle(std::string const & s,
bool const allow_wildcards = false,
- QuoteStyle fallback = EnglishQuotes);
+ QuoteStyle fallback = EnglishQuotes) const;
/// Returns the quote sind from the shortcut string
QuoteSide getQuoteSide(std::string const & s,
bool const allow_wildcards = false,
- QuoteSide fallback = OpeningQuote);
+ QuoteSide fallback = OpeningQuote) const;
/// Returns the quote level from the shortcut string
QuoteLevel getQuoteLevel(std::string const & s,
bool const allow_wildcards = false,
- QuoteLevel fallback = PrimaryQuotes);
+ QuoteLevel fallback = PrimaryQuotes) const;
};
///