X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferparams.h;h=cb6e63cdbff30356fcb1bd54d2c535751dff954c;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=1c414881a3a339c83a26b0ea4bdcea0fe302ad2b;hpb=b1fa5cd0d0ae92db2c6eac7f19734861f5437524;p=lyx.git diff --git a/src/bufferparams.h b/src/bufferparams.h index 1c414881a3..cb6e63cdbf 100644 --- a/src/bufferparams.h +++ b/src/bufferparams.h @@ -37,6 +37,27 @@ class VSpace; struct Language; +namespace lyx { +namespace biblio { + +enum CiteEngine { + ENGINE_BASIC, + ENGINE_NATBIB_AUTHORYEAR, + ENGINE_NATBIB_NUMERICAL, + ENGINE_JURABIB +}; + +class CiteEngine_enum { + CiteEngine val_; +public: + CiteEngine_enum(CiteEngine val) : val_(val) {} + operator CiteEngine() const{ return val_; } +}; + +} // namespace biblio +} // namespace lyx + + /** Buffer parameters. * This class contains all the parameters for this a buffer uses. Some * work needs to be done on this class to make it nice. Now everything @@ -170,6 +191,10 @@ public: void readLanguage(LyXLex &); /// void readGraphicsDriver(LyXLex &); + /// + void readBullets(LyXLex &); + /// + void readBulletsLaTeX(LyXLex &); /// use AMS package, not, or auto enum AMS { @@ -179,11 +204,9 @@ public: }; AMS use_amsmath; /// - bool use_natbib; - /// - bool use_numerical_citations; + lyx::biblio::CiteEngine cite_engine; /// - bool use_jurabib; + bool use_bibtopic; /// revision tracking for this buffer ? bool tracking_changes; /// Time ago we agreed that this was a buffer property [ale990407]