X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetInfo.h;h=9af4d2fe4dc34f4f84ce8f03032c164915281cd1;hb=26ba2a65838731ce639a09539f617cb0f0be3b22;hp=3531b41681204964af5ea1be556b3e55fc176be1;hpb=dc502c827985e1d0399ab0009aa6f807d14d5267;p=lyx.git diff --git a/src/insets/InsetInfo.h b/src/insets/InsetInfo.h index 3531b41681..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; /// @@ -220,6 +215,10 @@ public: 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: ///