///
InsetCaption(BufferParams const &);
///
- void write(Buffer const * buf, std::ostream & os) const;
+ void write(Buffer const & buf, std::ostream & os) const;
///
- void read(Buffer const * buf, LyXLex & lex);
+ void read(Buffer const & buf, LyXLex & lex);
///
virtual bool display() const;
///
- virtual bool needFullRow() const;
- ///
virtual InsetOld::Code lyxCode() const;
///
virtual string const editMessage() const;
///
virtual void draw(PainterInfo & pi, int x, int y) const;
///
- virtual int latex(Buffer const * buf, std::ostream & os,
+ virtual int latex(Buffer const & buf, std::ostream & os,
LatexRunParams const &) const;
///
- int ascii(Buffer const * buf, std::ostream & os, int linelen) const;
+ int ascii(Buffer const & buf, std::ostream & os, int linelen) const;
///
- int docbook(Buffer const * buf, std::ostream & os, bool mixcont) const;
+ int docbook(Buffer const & buf, std::ostream & os, bool mixcont) const;
};
}
-inline
-bool InsetCaption::needFullRow() const
-{
- return true;
-}
-
-
inline
InsetOld::Code InsetCaption::lyxCode() const
{