]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Get rid of Qt resources
[lyx.git] / src / insets / InsetCitation.h
index 40926b310a3330ec27522826c9fe8c24885116c1..b2a738cd9e10af24a4e95ae91e55d18d0eef5b69 100644 (file)
@@ -14,6 +14,7 @@
 #define INSET_CITATION_H
 
 #include "InsetCommand.h"
+#include "Citation.h"
 
 namespace lyx {
 
@@ -63,14 +64,14 @@ public:
        ///
        void forOutliner(docstring &, size_t const, bool const) const;
        ///
-       void validate(LaTeXFeatures &) const {}
-       ///
-       void updateBuffer(ParIterator const & it, UpdateType);
+       void updateBuffer(ParIterator const & it, UpdateType, bool const deleted = false);
        ///
        void addToToc(DocIterator const & di, bool output_active,
-                                 UpdateType utype) const;
+                                 UpdateType utype, TocBackend & backend) const;
        ///
        std::string contextMenuName() const;
+       ///
+       bool forceLTR(OutputParams const &) const;
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes
@@ -82,6 +83,17 @@ public:
        ///
        static bool isCompatibleCommand(std::string const &);
        //@}
+       ///
+       typedef std::vector<std::pair<docstring, docstring>> QualifiedList;
+       ///
+       void redoLabel() { cache.recalculate = true; }
+       ///
+       CitationStyle getCitationStyle(BufferParams const & bp, std::string const & input,
+                                      std::vector<CitationStyle> const & valid_styles) const;
+       ///
+       QualifiedList getQualifiedLists(docstring const & p) const;
+       ///
+       static bool last_literal;
 
 private:
        /// tries to make a pretty label and makes a basic one if not
@@ -103,10 +115,6 @@ private:
        docstring screenLabel() const;
        //@}
 
-       /// we'll eventually want to be able to get info on this from the
-       /// various CiteEngines
-       static ParamInfo param_info_;
-
        ///
        struct Cache {
                Cache() : recalculate(true) {}