///
InsetCitation(InsetCommandParams const &);
///
- std::auto_ptr<InsetBase> clone() const {
- return std::auto_ptr<InsetBase>(new InsetCitation(params()));
- }
- ///
std::string const getScreenLabel(Buffer const &) const;
///
EDITABLE editable() const { return IS_EDITABLE; }
///
- InsetOld::Code lyxCode() const { return InsetOld::CITE_CODE; }
+ InsetBase::Code lyxCode() const { return InsetBase::CITE_CODE; }
///
int plaintext(Buffer const &, std::ostream &, OutputParams const &) const;
///
///
int docbook(Buffer const &, std::ostream &,
OutputParams const &) const;
+ /// the string that is passed to the TOC
+ virtual int textString(Buffer const &, std::ostream & os,
+ OutputParams const &) const;
///
void validate(LaTeXFeatures &) const;
private:
+ virtual std::auto_ptr<InsetBase> doClone() const
+ {
+ return std::auto_ptr<InsetBase>(new InsetCitation(params()));
+ }
+
/// This function does the donkey work of creating the pretty label
std::string const generateLabel(Buffer const &) const;
- struct Cache {
+ class Cache {
+ public:
///
Cache() : engine(lyx::biblio::ENGINE_BASIC) {}
///