X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCitation.h;h=b2a738cd9e10af24a4e95ae91e55d18d0eef5b69;hb=2d48072e664099385b2442f7166b3c57129799bb;hp=57b0b3da9e1a35b7975497227697ab5979dcbf16;hpb=68ab4023ccdf26022a053adc1bfaecef9fef58f4;p=lyx.git diff --git a/src/insets/InsetCitation.h b/src/insets/InsetCitation.h index 57b0b3da9e..b2a738cd9e 100644 --- a/src/insets/InsetCitation.h +++ b/src/insets/InsetCitation.h @@ -64,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, TocBackend & backend) const; /// std::string contextMenuName() const; + /// + bool forceLTR(OutputParams const &) const; //@} /// \name Static public methods obligated for InsetCommand derived classes @@ -84,10 +84,16 @@ public: static bool isCompatibleCommand(std::string const &); //@} /// + typedef std::vector> QualifiedList; + /// + void redoLabel() { cache.recalculate = true; } + /// CitationStyle getCitationStyle(BufferParams const & bp, std::string const & input, std::vector const & valid_styles) const; /// - std::map getQualifiedLists(docstring const p) 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 @@ -109,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) {}