]> 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 33c5b474b3614b29d6470126a4ab3497f9da9e90..1c8d5468fe918845d069376f83cf73fec006364e 100644 (file)
@@ -37,11 +37,9 @@ public:
        ///
        explicit InsetText(Buffer const & buffer);
        ///
-       InsetText();
-       ///
        InsetText(InsetText const &);
        ///
-       void initParagraphs(Buffer const & buffer);
+       void setBuffer(Buffer &);
 
        ///
        Dimension const dimension(BufferView const &) const;
@@ -67,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;
@@ -167,6 +168,8 @@ public:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
+       ///
+       void initParagraphs();
        ///
        void setParagraphOwner();
        ///
@@ -175,8 +178,6 @@ private:
        ColorCode frame_color_;
        ///
        mutable pit_type old_pit;
-
-public:
        ///
        mutable Text text_;
 };