4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "support/docstring.h"
24 ENGINE_TYPE_AUTHORYEAR = 1,
25 ENGINE_TYPE_NUMERICAL = 2,
26 ENGINE_TYPE_DEFAULT = 3,
34 CitationStyle() : name("cite"), cmd("cite"), forceUpperCase(false),
35 hasStarredVersion(false), textAfter(false), textBefore(false) {}
39 /// the LaTeX command (might differ from the LyX name)
41 /// Optional alternative description what the starred version does (for the GUI)
43 /// Optional tooltip for the starred version
44 std::string startooltip;
45 /// upper casing author prefixes (van -> Van)
47 /// starred version (full author list by default)
48 bool hasStarredVersion;
49 /// supports text after the citation
51 /// supports text before the citation
57 * Class for storing information about a given citation item in a given context.
58 * This is used in the label and menu string generation process.
63 /// The context this citation is displayed
70 CiteItem() : forceUpperCase(false), Starred(false),
71 context(CiteItem::Everywhere), textAfter(docstring()),
72 textBefore(docstring()), max_size(128), max_key_size(128),
74 /// requests upper casing author prefixes (van -> Van)
76 /// is starred version (full author list by default)
78 /// where this to be displayed?
79 CiteItem::CiteContext context;
80 /// text after the citation
82 /// text before the citation
84 /// the maximum display size as a label
86 /// the maximum size of the processed keys
87 /// (limited for performance reasons)
89 /// output richtext information?