X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextClass.h;h=b9ec227d4071c01f844274ffb48fed0d63753686;hb=05e2621a1782504d995f961f77edc604329ab1ee;hp=570e67f8d4e3edaef3717ae7d0aa98cc2ff0fea0;hpb=a3eab363646347155748a6a04794aa1f04829c49;p=lyx.git diff --git a/src/TextClass.h b/src/TextClass.h index 570e67f8d4..b9ec227d40 100644 --- a/src/TextClass.h +++ b/src/TextClass.h @@ -351,6 +351,8 @@ protected: bool cite_full_author_list_; /// The possible citation styles std::map > cite_styles_; + /// Class-added citation styles + std::map > class_cite_styles_; /// std::map outliner_names_; private: @@ -380,11 +382,13 @@ private: /// bool readFloat(Lexer &); /// - bool readCiteEngine(Lexer &); + std::vector const & getCiteStyles(CiteEngineType const &) const; + /// + bool readCiteEngine(Lexer &, ReadType, bool const add = false); /// int readCiteEngineType(Lexer &) const; /// - bool readCiteFormat(Lexer &); + bool readCiteFormat(Lexer &, ReadType); /// bool readOutlinerName(Lexer &); }; @@ -524,7 +528,7 @@ private: /// The only way to make a DocumentClass is to call this function. friend DocumentClassPtr getDocumentClass(LayoutFile const &, LayoutModuleList const &, - LayoutModuleList const &, + std::string const &, bool const clone); }; @@ -535,7 +539,7 @@ private: /// on the CutStack. DocumentClassPtr getDocumentClass(LayoutFile const & baseClass, LayoutModuleList const & modlist, - LayoutModuleList const & celist, + std::string const & cengine = std::string(), bool const clone = false); /// convert page sides option to text 1 or 2