]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetQuotes.h
DocBook: escape IDs for InsetRef.
[lyx.git] / src / insets / InsetQuotes.h
index 25b4a8b463c5c19dd375c109b0319a7fb362eacf..09eadec3c752436e35d923281bf2d53655742f44 100644 (file)
@@ -82,11 +82,13 @@ public:
                                bool const rtl = false) const;
        ///
        docstring getHTMLQuote(char_type c) const;
+       ///
+       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);
        /// 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
@@ -144,9 +146,9 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
 
        ///
        void toString(odocstream &) const;
@@ -154,7 +156,7 @@ public:
        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;
@@ -180,7 +182,7 @@ private:
        ///
        docstring displayString() const;
        ///
-       docstring getQuoteEntity() const;
+       docstring getQuoteEntity(bool isHTML) const;
        ///
        InsetQuotesParams::QuoteStyle getStyle(std::string const &);