]> git.lyx.org Git - lyx.git/blob - src/Citation.h
1eb4de8ed0b6781360c3206c176bc3499e6d6ed7
[lyx.git] / src / Citation.h
1 // -*- C++ -*-
2 /**
3  * \file Citation.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Herbert Voß
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef CITATION_H
13 #define CITATION_H
14
15 namespace lyx {
16
17 class Buffer;
18
19 enum CiteEngine {
20         ENGINE_BASIC,
21         ENGINE_NATBIB,
22         ENGINE_JURABIB
23 };
24
25 enum CiteEngineType {
26         ENGINE_TYPE_AUTHORYEAR = 1,
27         ENGINE_TYPE_NUMERICAL = 2,
28 };
29
30 enum CiteStyle {
31         CITE,
32         CITET,
33         CITEP,
34         CITEALT,
35         CITEALP,
36         CITEAUTHOR,
37         CITEYEAR,
38         CITEYEARPAR,
39         NOCITE
40 };
41
42
43 class CitationStyle
44 {
45 public:
46         ///
47         CitationStyle() : style(CITE), full(false), forceUpperCase(false) {}
48
49         ///
50         CiteStyle style;
51         ///
52         bool full;
53         ///
54         bool forceUpperCase;
55 };
56
57 } // namespace lyx
58
59 #endif