//@{
docstring screenLabel() const;
static ParamInfo const & findInfo(std::string const &);
- static std::string defaultCommand() { return "rule"; };
+ static std::string defaultCommand() { return "rule"; }
static bool isCompatibleCommand(std::string const & s)
{ return s == "rule"; }
//@}
/// Inset inherited methods.
//@{
InsetCode lyxCode() const { return LINE_CODE; }
- Dimension const dimension(BufferView const &) const;
- int docbook(odocstream &, OutputParams const &) const;
- /// Does nothing at the moment.
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const;
+ docstring xhtml(XMLStream &, OutputParams const &) const;
bool hasSettings() const { return true; }
void metrics(MetricsInfo &, Dimension &) const;
void draw(PainterInfo & pi, int x, int y) const;
void latex(otexstream &, OutputParams const &) const;
- int plaintext(odocstream &, OutputParams const &) const;
+ int plaintext(odocstringstream & ods, OutputParams const & op,
+ size_t max_length = INT_MAX) const;
void doDispatch(Cursor & cur, FuncRequest & cmd);
bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
Inset * clone() const { return new InsetLine(*this); }