///
void read(Buffer const & buf, Lexer & lex);
///
- virtual bool display() const;
+ virtual DisplayType display() const;
///
virtual bool neverIndent(Buffer const &) const { return true; }
///
///
int docbook(Buffer const & buf, odocstream & os,
OutputParams const & runparams) const;
+ /// return the mandatory argument (LaTeX format) only
+ int getArgument(Buffer const & buf, odocstream & os,
+ OutputParams const &) const;
+ /// return the optional argument(s) only
+ int getOptArg(Buffer const & buf, odocstream & os,
+ OutputParams const &) const;
///
void setCount(int c) { counter_ = c; }
///
private:
///
- void computeFullLabel() const;
+ void computeFullLabel(Buffer const & buf) const;
///
virtual std::auto_ptr<Inset> doClone() const;
///
inline
-bool InsetCaption::display() const
+Inset::DisplayType InsetCaption::display() const
{
- return true;
+ return AlignCenter;
}