X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetInfo.h;h=9af4d2fe4dc34f4f84ce8f03032c164915281cd1;hb=26ba2a65838731ce639a09539f617cb0f0be3b22;hp=3cfdec1d3cff7d6fdff14d33a163b1b947ffb6d4;hpb=12dfdbf0a3e667544fd3f0af7fe86b26909fd6a0;p=lyx.git diff --git a/src/insets/InsetInfo.h b/src/insets/InsetInfo.h index 3cfdec1d3c..9af4d2fe4d 100644 --- a/src/insets/InsetInfo.h +++ b/src/insets/InsetInfo.h @@ -13,7 +13,6 @@ #define INSET_INFO_H #include "InsetCollapsible.h" -#include namespace lyx { @@ -139,10 +138,6 @@ public: UNKNOWN_INFO, // Invalid type }; /// - docstring getDate(std::string const &, QDate const date = QDate::currentDate()) const; - /// - docstring getTime(std::string const &, QTime const time = QTime::currentTime()) const; - /// std::vector> getArguments(Buffer const * buf, std::string const &) const; /// @@ -203,7 +198,11 @@ public: void setInfo(std::string const & info); /// void updateBuffer(ParIterator const & it, UpdateType utype, bool const deleted = false) override; + /// void metrics(MetricsInfo & mi, Dimension & dim) const override; + /// + void draw(PainterInfo & pi, int x, int y) const override; + /// docstring toolTip(BufferView const & bv, int x, int y) const override; /// @@ -213,9 +212,13 @@ public: /// should paragraph indentation be omitted in any case? bool neverIndent() const override { return true; } /// - void latex(otexstream &, OutputParams const &) const override; + void validate(LaTeXFeatures & features) const override; /// InsetInfoParams params() const { return params_; } + /// Outputs the inset as DocBook, taking advantage of the metadata available in InsetInfoParams. + void docbook(XMLStream &, OutputParams const &) const override; + /// Outputs the inset as XHTML, taking advantage of the metadata available in InsetInfoParams. + docstring xhtml(XMLStream &, OutputParams const &) const override; private: ///