]> git.lyx.org Git - lyx.git/blob - src/Citation.h
Fix #10778 (issue with CJK and language nesting)
[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 #include <string>
16
17 namespace lyx {
18
19 class Buffer;
20
21
22 enum CiteEngineType {
23         ENGINE_TYPE_AUTHORYEAR = 1,
24         ENGINE_TYPE_NUMERICAL = 2,
25         ENGINE_TYPE_DEFAULT = 3,
26 };
27
28
29 class CitationStyle
30 {
31 public:
32         ///
33         CitationStyle() : cmd("cite"), forceUpperCase(false), fullAuthorList(false),
34                 textAfter(false), textBefore(false) {}
35
36         /// the LaTeX command
37         std::string cmd;
38         /// upper casing author prefixes (van -> Van)
39         bool forceUpperCase;
40         /// expanding the full author list
41         bool fullAuthorList;
42         /// supports text after the citation
43         bool textAfter;
44         /// supports text before the citation
45         bool textBefore;
46 };
47
48 } // namespace lyx
49
50 #endif