]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.h
Update Win installer for new dictionary links. Untested.
[lyx.git] / src / insets / InsetInfo.h
index 3531b41681204964af5ea1be556b3e55fc176be1..9af4d2fe4dc34f4f84ce8f03032c164915281cd1 100644 (file)
@@ -13,7 +13,6 @@
 #define INSET_INFO_H
 
 #include "InsetCollapsible.h"
-#include <QDate>
 
 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<std::pair<std::string,docstring>> 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:
        ///