#include "insets/InsetCommandParams.h"
+#include "BiblioInfo.h"
#include "Citation.h"
#include <QAbstractListModel>
void clearParams();
void dispatchParams();
bool isBufferDependent() const { return true; }
- void saveSession() const;
+ void saveSession(QSettings & settings) const;
void restoreSession();
/** Disconnect from the inset when the Apply button is pressed.
* Allows easy insertion of multiple citations.
bool reset = false //< whether to reset and search all keys
);
- /// List of example cite strings
- QStringList citationStyles(BiblioInfo const & bi, size_t max_size);
+ /// List of example cite strings and their correlating lyx name
+ BiblioInfo::CiteStringMap citationStyles(BiblioInfo const & bi,
+ size_t max_size);
/// Set the Params variable for the Controller.
void applyParams(int const choice, bool const full, bool const force,
QAction * instant_;
/// last used citation style
- int style_;
+ QString style_;
/// last set value for literal
/// this is used only for new citations
bool literal_;