]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcollapsable.h
* BufferParams:
[lyx.git] / src / insets / insetcollapsable.h
index 5680dcb3a897b616b9c9a7a526ae15c168b101e4..af7469aed2178f4cc716af352cdef1a81423f3bf 100644 (file)
@@ -42,6 +42,8 @@ public:
        ///
        InsetCollapsable(BufferParams const &, CollapseStatus status = Open);
        ///
+       InsetCollapsable(InsetCollapsable const & rhs);
+       ///
        void read(Buffer const &, LyXLex &);
        ///
        void write(Buffer const &, std::ostream &) const;
@@ -96,8 +98,10 @@ protected:
        InsetBase * editXY(LCursor & cur, int x, int y);
        ///
        void setInlined() { status_ = Inlined; }
+       /// Is the width forced to some value?
+       virtual bool hasFixedWidth() const { return false; }
        ///
-       docstring floatName(std::string const & type, BufferParams const &);
+       docstring floatName(std::string const & type, BufferParams const &) const;
 
 protected:
        ///