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.
|
|
|
|
|
*
|
|
|
|
|
* \author Herbert Vo<EFBFBD>
|
|
|
|
|
*
|
|
|
|
|
* 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 {
|
|
|
|
|
|
|
|
|
|
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
|