]> git.lyx.org Git - lyx.git/blob - src/OutputParams.cpp
ce5ad870e3b916c8d1f629eb973f3f663915179b
[lyx.git] / src / OutputParams.cpp
1 /**
2  * \file OutputParams.cpp
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  *  \author Angus Leeming
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "OutputParams.h"
14 #include "Exporter.h"
15 #include "Encoding.h"
16
17
18 namespace lyx {
19
20
21 OutputParams::OutputParams(Encoding const * enc)
22         : flavor(LATEX), nice(false), moving_arg(false), inulemcmd(false),
23           local_font(0), encoding(enc), free_spacing(false), use_babel(false),
24           use_indices(false), use_japanese(false), linelen(0), depth(0),
25           exportdata(new ExportData),
26           inComment(false), inTableCell(NO), inFloat(NONFLOAT),
27           inIndexEntry(false), inDeletedInset(0),
28           changeOfDeletedInset(Change::UNCHANGED),
29           par_begin(0), par_end(0), isLastPar(false),
30           dryrun(false), verbatim(false), disable_captions(false)
31 {
32         // Note: in PreviewLoader::Impl::dumpPreamble
33         // OutputParams runparams(0); 
34         if (enc && enc->package() == Encoding::japanese)
35                 use_japanese = true;
36 }
37
38
39 OutputParams::~OutputParams()
40 {}
41
42
43 } // namespace lyx