///
InsetCitation() : InsetCommand("cite") {}
///
+ explicit
InsetCitation(string const & key, string const & note = string());
///
~InsetCitation();
///
InsetBibKey() : InsetCommand("bibitem") { counter = 1; }
///
+ explicit
InsetBibKey(string const & key, string const & label = string());
///
+ explicit
InsetBibKey(InsetBibKey const *);
///
~InsetBibKey();
///
Inset * Clone() const { return new InsetBibKey(this); }
/// Currently \bibitem is used as a LyX2.x command, so we need this method.
- void Write(ostream &) const;
+ void Write(std::ostream &) const;
///
virtual string getScreenLabel() const;
///
///
InsetBibtex(string const & dbase, string const & style,
Buffer *);
+ ///
+ ~InsetBibtex();
+
///
Inset * Clone() const {
return new InsetBibtex(contents, options, 0);
///
void Edit(BufferView *, int x, int y, unsigned int button);
///
- int Latex(ostream &, signed char, bool) const;
+ int Latex(std::ostream &, bool fragile, bool freespace) const;
///
string getKeys(char delim);
///
///
bool delDatabase(string const &);
///
- bool display() const { return true; }
+ bool display() const { return true; }
+
+ struct Holder {
+ InsetBibtex * inset;
+ BufferView * view;
+ };
+
private:
///
mutable Buffer * owner;
+
+ ///
+ Holder holder;
};
#endif