]> 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 244f15340b4f07043b89e97a9579e3feb37818b3..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;
        ///
@@ -217,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:
        ///