]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetQuotes.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetQuotes.h
index f9dd5aeafa789cd98cdbc77db267c0bb5c13b39e..ea33b0eea00cb56560f1971e858ea141443fb4fd 100644 (file)
@@ -74,18 +74,19 @@ public:
        };
        /// Returns the unicode character of a given quote
        char_type getQuoteChar(QuoteStyle const &, QuoteLevel const &,
-                              QuoteSide const &) const;
+                              QuoteSide const &, bool const rtl = false) const;
        /// Returns a map of quotation marks
        std::map<std::string, docstring> getTypes() const;
        ///
-       docstring getLaTeXQuote(char_type c, std::string const &) const;
+       docstring getLaTeXQuote(char_type c, std::string const &,
+                               bool const rtl = false) 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);
+       docstring const getShortGuiLabel(docstring const & str);
        ///
        int stylescount() const;
        /// Returns the matching style shortcut char
@@ -147,13 +148,13 @@ public:
        ///
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
 
-       /// 
+       ///
        void toString(odocstream &) const;
        ///
        void forOutliner(docstring &, size_t const maxlen, bool const) const;
 
        /// Update the contextual information of this inset
-       void updateBuffer(ParIterator const &, UpdateType);
+       void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
 
        ///
        void validate(LaTeXFeatures &) const;
@@ -191,7 +192,7 @@ private:
        InsetQuotesParams::QuoteLevel level_;
        ///
        InsetQuotesParams::QuoteStyle global_style_;
-       ///
+       /// Current font encoding
        std::string fontenc_;
        /// Code of the contextual language
        std::string context_lang_;
@@ -199,6 +200,10 @@ private:
        bool pass_thru_;
        /// Do we use fontspec?
        bool fontspec_;
+       /// Do we have an internal font encoding?
+       bool internal_fontenc_;
+       /// Are we writing RTL?
+       bool rtl_;
        ///
        friend class InsetQuotesParams;