* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
- * \author Herbert Voß
+ * \author Herbert Voß
*
* Full author contact details are available in file CREDITS.
*/
{
public:
///
- explicit InsetCitation(InsetCommandParams const &);
+ explicit InsetCitation(Buffer * buf, InsetCommandParams const &);
///
bool isLabeled() const { return true; }
///
docstring screenLabel() const;
///
- EDITABLE editable() const { return IS_EDITABLE; }
+ bool hasSettings() const { return true; }
+ ///
+ docstring toolTip(BufferView const & bv, int x, int y) const;
///
InsetCode lyxCode() const { return CITE_CODE; }
///
int plaintext(odocstream &, OutputParams const &) const;
///
int docbook(odocstream &, OutputParams const &) const;
+ ///
+ docstring xhtml(XHTMLStream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
void validate(LaTeXFeatures &) const;
///
- void updateLabels(ParIterator const & it);
+ void updateBuffer(ParIterator const & it, UpdateType);
///
- void addToToc(ParConstIterator const &) const;
+ void addToToc(DocIterator const &);
///
static ParamInfo const & findInfo(std::string const &);
private:
///
Inset * clone() const { return new InsetCitation(*this); }
+ /// tries to make a pretty label and makes a basic one if not
+ docstring generateLabel(bool for_xhtml = false) const;
+ /// makes a pretty label
+ docstring complexLabel(bool for_xhtml = false) const;
+ /// makes a very basic label, in case we can't make a pretty one
+ docstring basicLabel(bool for_xhtml = false) const;
/// we'll eventually want to be able to get info on this from the
/// various CiteEngines
static ParamInfo param_info_;
- /// This function does the donkey work of creating the pretty label
- docstring generateLabel() const;
///
class Cache {