]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIPAMacro.h
InsetPhantom::latex(): use a switch
[lyx.git] / src / insets / InsetIPAMacro.h
index d89d17a6740def0efa086dca0d5095e5c66827af..dbcfc541abcae5d51f9cf0f108c7e7df1a63e881 100644 (file)
@@ -76,7 +76,8 @@ private:
        ///
        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;
        ///
@@ -146,7 +147,8 @@ public:
        ///
        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;
        ///
@@ -154,7 +156,7 @@ public:
        ///
        void toString(odocstream &) const;
        ///
-       void forToc(docstring &, size_t) const;
+       void forOutliner(docstring &, size_t) const;
        ///
        InsetCode lyxCode() const { return IPACHAR_CODE; }
        /// We don't need \begin_inset and \end_inset
@@ -165,11 +167,9 @@ public:
        /// should this inset be handled like a normal character?
        bool isChar() const { return true; }
        /// is this equivalent to a letter?
-       bool isLetter() const;
-       /// should we break lines after this inset?
-       bool isLineSeparator() const;
+       bool isLetter() const { return true; }
 private:
-       Inset * clone() const { return new InsetIPAChar(*this); };
+       Inset * clone() const { return new InsetIPAChar(*this); }
 
        /// And which kind is this?
        Kind kind_;