#define INSET_INFO_H
#include "InsetCollapsible.h"
-#include <QDate>
namespace lyx {
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;
///
/// 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:
///