X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetQuotes.h;h=0e4f46cbacc56614012099b8f9050ffc807f838d;hb=c9d9309c1ecffa218dee04ce4f7991ed4fc0c9bb;hp=18442fc7945cd0b4ff26f637734bb7505ac67e21;hpb=d577bf8c4a04aea2e277e1e3f04d7c5da68d7b44;p=lyx.git diff --git a/src/insets/InsetQuotes.h b/src/insets/InsetQuotes.h index 18442fc794..0e4f46cbac 100644 --- a/src/insets/InsetQuotes.h +++ b/src/insets/InsetQuotes.h @@ -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,14 +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; + /// + docstring xhtml(XHTMLStream &, OutputParams const &) const; - /// the string that is passed to the TOC - void textString(odocstream &) const; + /// + void toString(odocstream &) const; + /// + void forOutliner(docstring &, size_t maxlen) const; /// void validate(LaTeXFeatures &) const; @@ -104,6 +107,8 @@ private: void parseString(std::string const &); /// docstring displayString() const; + /// + docstring getQuoteEntity() const; /// QuoteLanguage language_;