]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetquotes.h
index e7068f10dadb946ee3f43609cdd9f43544a2e9a0..f8d453b98360d3f1de34763d3dac71afe13adb90 100644 (file)
@@ -64,9 +64,11 @@ public:
          \end{itemize}
          */
        explicit
-       InsetQuotes(string const & str = "eld");
+       InsetQuotes(std::string const & str = "eld");
        /// Create the right quote inset after character c
        InsetQuotes(char c, BufferParams const & params);
+       /// Direct access to inner/outer quotation marks
+       InsetQuotes(char c, quote_language l, quote_times t);
        ///
        virtual std::auto_ptr<InsetBase> clone() const;
        ///
@@ -83,18 +85,21 @@ public:
        void read(Buffer const &, LyXLex & lex);
        ///
        int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        ///
-       int ascii(Buffer const &, std::ostream &, int linelen) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
-       int linuxdoc(Buffer const &, std::ostream &) const;
+       int linuxdoc(Buffer const &, std::ostream &,
+                    OutputParams const &) const;
        ///
-       int docbook(Buffer const &, std::ostream &, bool mixcont) const;
+       int docbook(Buffer const &, std::ostream &,
+                   OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
        InsetOld::Code lyxCode() const;
-       // should this inset be handled like a normal charater
+       // should this inset be handled like a normal character
        bool isChar() const { return true; }
 
 private:
@@ -109,9 +114,11 @@ private:
            side and the multiplicity of the quote.
         */
        InsetQuotes(quote_language l, quote_side s, quote_times t);
+       /// Decide whether we need left or right quotation marks
+       void getPosition(char c);
        ///
-       void parseString(string const &);
+       void parseString(std::string const &);
        ///
-       string const dispString(Language const *) const;
+       std::string const dispString(Language const *) const;
 };
 #endif