]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
Compute and output numbers for numerical citations.
[lyx.git] / src / insets / InsetText.h
index 0113e174dd2061aab2b1fb16e9b057f00a64f526..bbdf2abc367644e057f8da06eee8ea04eb25894c 100644 (file)
@@ -75,7 +75,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;
        ///
@@ -94,8 +95,8 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        
-       /// return the optional argument(s) only
-       void getOptArg(otexstream & os, OutputParams const &) const;
+       /// return the argument(s) only
+       void getArgs(otexstream & os, OutputParams const &, bool const post = false) const;
 
        /// return x,y of given position relative to the inset's baseline
        void cursorPos(BufferView const & bv, CursorSlice const & sl,
@@ -173,7 +174,7 @@ public:
        ///
        void forToc(docstring &, size_t) const;
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        Inset * clone() const { return new InsetText(*this); }
        ///
@@ -224,8 +225,6 @@ private:
        ///
        ColorCode frame_color_;
        ///
-       mutable pit_type old_pit;
-       ///
        mutable Text text_;
 };