]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetQuotes.h
Fix formatFPnumber with negative doubles.
[lyx.git] / src / insets / InsetQuotes.h
index 258fe1bd992b2f6fa5c65864eb0383befe0b291d..0e4f46cbacc56614012099b8f9050ffc807f838d 100644 (file)
@@ -62,13 +62,11 @@ public:
            \item etc.
          \end{itemize}
          */
-       explicit InsetQuotes(Buffer const & buf, std::string const & str = "eld");
-       /// Create the right quote inset after character c
-       InsetQuotes(Buffer const & buffer, char_type c);
+       explicit InsetQuotes(Buffer * buf, std::string const & str = "eld");
        /// Direct access to inner/outer quotation marks
-       InsetQuotes(Buffer const & buf, char_type c, QuoteTimes t);
+       InsetQuotes(Buffer * buf, char_type c, QuoteTimes t);
        ///
-       docstring name() const;
+       docstring layoutName() const;
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -78,16 +76,19 @@ public:
        ///
        void read(Lexer & lex);
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       void xhtml(odocstream &, OutputParams const &) const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
 
-       /// the string that is passed to the TOC
-       void tocString(odocstream &) const;
+       /// 
+       void toString(odocstream &) const;
+       ///
+       void forOutliner(docstring &, size_t maxlen) const;
 
        ///
        void validate(LaTeXFeatures &) const;
@@ -106,6 +107,8 @@ private:
        void parseString(std::string const &);
        ///
        docstring displayString() const;
+       ///
+       docstring getQuoteEntity() const;
 
        ///
        QuoteLanguage language_;