]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
This optional argument to the InsetCollapsable constructor
[lyx.git] / src / insets / InsetText.h
index 7be51ddd0113ad3336041db572ab0397081ed4d8..1c8d5468fe918845d069376f83cf73fec006364e 100644 (file)
@@ -37,12 +37,8 @@ public:
        ///
        explicit InsetText(Buffer const & buffer);
        ///
-       InsetText();
-       ///
        InsetText(InsetText const &);
        ///
-       void initParagraphs(Buffer const & buffer);
-       ///
        void setBuffer(Buffer &);
 
        ///
@@ -69,6 +65,9 @@ public:
        ///
        InsetText const * asInsetText() const { return this; }
        ///
+       Text & text() { return text_; }
+       Text const & text() const { return text_; }
+       ///
        int latex(odocstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
@@ -169,6 +168,8 @@ public:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
+       ///
+       void initParagraphs();
        ///
        void setParagraphOwner();
        ///
@@ -177,8 +178,6 @@ private:
        ColorCode frame_color_;
        ///
        mutable pit_type old_pit;
-
-public:
        ///
        mutable Text text_;
 };