2008-04-20 15:00:11 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2008-04-20 16:34:30 +00:00
|
|
|
* \file Citation.h
|
2008-04-20 15:00:11 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author Herbert Voß
|
2008-04-20 15:00:11 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2008-04-20 16:34:30 +00:00
|
|
|
#ifndef CITATION_H
|
|
|
|
#define CITATION_H
|
2008-04-20 15:00:11 +00:00
|
|
|
|
|
|
|
namespace lyx {
|
2011-12-03 22:15:11 +00:00
|
|
|
|
2008-04-20 15:00:11 +00:00
|
|
|
class Buffer;
|
|
|
|
|
|
|
|
enum CiteEngine {
|
|
|
|
ENGINE_BASIC,
|
|
|
|
ENGINE_NATBIB_AUTHORYEAR,
|
|
|
|
ENGINE_NATBIB_NUMERICAL,
|
|
|
|
ENGINE_JURABIB
|
|
|
|
};
|
|
|
|
|
|
|
|
enum CiteStyle {
|
|
|
|
CITE,
|
|
|
|
CITET,
|
|
|
|
CITEP,
|
|
|
|
CITEALT,
|
|
|
|
CITEALP,
|
|
|
|
CITEAUTHOR,
|
|
|
|
CITEYEAR,
|
2008-10-25 13:26:30 +00:00
|
|
|
CITEYEARPAR,
|
|
|
|
NOCITE
|
2008-04-20 15:00:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class CitationStyle
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
CitationStyle() : style(CITE), full(false), forceUpperCase(false) {}
|
|
|
|
|
|
|
|
///
|
|
|
|
CiteStyle style;
|
|
|
|
///
|
|
|
|
bool full;
|
|
|
|
///
|
|
|
|
bool forceUpperCase;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
|
|
#endif
|