#include "InsetCommand.h"
-#include "frontends/controllers/frontend_helpers.h"
+#include "BiblioInfo.h"
namespace lyx {
Inset::Code lyxCode() const { return Inset::CITE_CODE; }
///
int latex(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int docbook(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
/// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &,
OutputParams const &) const;
void replaceContents(std::string const & from, std::string const & to);
private:
- virtual std::auto_ptr<Inset> doClone() const
+ virtual Inset * clone() const
{
- return std::auto_ptr<Inset>(new InsetCitation(params()));
+ return new InsetCitation(params());
}
/// This function does the donkey work of creating the pretty label