X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetcite.h;h=efa21fd17883dfb5f3e2f1af2832cfc058d81b39;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=43d3c21a273b9d62262613024a78e7b8e6b8edf9;hpb=45a03f4f67bb00f8142e465c615f348f0622eb32;p=lyx.git diff --git a/src/insets/insetcite.h b/src/insets/insetcite.h index 43d3c21a27..efa21fd178 100644 --- a/src/insets/insetcite.h +++ b/src/insets/insetcite.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright 2000 The LyX Team. + * Copyright 2000-2001 The LyX Team. * * ====================================================== */ @@ -22,15 +22,27 @@ class InsetCitation : public InsetCommand { public: /// - InsetCitation(InsetCommandParams const &); + InsetCitation(InsetCommandParams const &, bool same_id = false); /// - Inset * Clone() const { return new InsetCitation(params()); } + Inset * clone(Buffer const &, bool same_id = false) const { + return new InsetCitation(params(), same_id); + } /// - string const getScreenLabel() const; + string const getScreenLabel(Buffer const *) const; /// - EDITABLE Editable() const { return IS_EDITABLE; } + EDITABLE editable() const { return IS_EDITABLE; } + /// + Inset::Code lyxCode() const { return Inset::CITE_CODE; } + /// + void edit(BufferView *, int, int, unsigned int); + /// + void edit(BufferView * bv, bool front = true); + /// + int ascii(Buffer const *, std::ostream &, int linelen) const; /// - void Edit(BufferView *, int, int, unsigned int); + int latex(Buffer const *, std::ostream &, bool, bool) const; + /// + void validate(LaTeXFeatures &) const; }; #endif // INSET_CITE_H