class Buffer;
/** Functions of use to citation and bibtex GUI controllers and views */
+namespace lyx {
namespace biblio {
class CiteEngine_enum;
BACKWARD
};
+
+/** Each citation engine recognizes only a subset of all possible
+ * citation commands. Given a latex command \c input, this function
+ * returns an appropriate command, valid for \c engine.
+ */
+std::string const asValidLatexCommand(std::string const & input,
+ CiteEngine_enum const & engine);
+
/// First entry is the bibliography key, second the data
typedef std::map<std::string, std::string> InfoMap;
bool caseSensitive=false);
-struct CitationStyle {
+class CitationStyle {
+public:
///
CitationStyle(CiteStyle s = CITE, bool f = false, bool force = false)
: style(s), full(f), forceUCase(force) {}
getAuthorYearStrings(std::string const & key,
InfoMap const & map,
std::vector<CiteStyle> const & styles);
+
} // namespace biblio
+} // namespace lyx
#endif // BIBLIOHELPERS_H