]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
ctests: uninvert two 008-greek-and-coptic tests
[lyx.git] / src / TextClass.h
index 570e67f8d4e3edaef3717ae7d0aa98cc2ff0fea0..b9ec227d4071c01f844274ffb48fed0d63753686 100644 (file)
@@ -351,6 +351,8 @@ protected:
        bool cite_full_author_list_;
        /// The possible citation styles
        std::map<CiteEngineType, std::vector<CitationStyle> > cite_styles_;
+       /// Class-added citation styles
+       std::map<CiteEngineType, std::vector<CitationStyle> > class_cite_styles_;
        ///
        std::map<std::string, docstring> outliner_names_;
 private:
@@ -380,11 +382,13 @@ private:
        ///
        bool readFloat(Lexer &);
        ///
-       bool readCiteEngine(Lexer &);
+       std::vector<CitationStyle> 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