]> git.lyx.org Git - lyx.git/blob - src/OutputParams.cpp
revert erroneous previous commit.
[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),
23           local_font(0), encoding(enc), free_spacing(false), use_babel(false),
24           use_japanese(false), linelen(0), depth(0),
25           exportdata(new ExportData),
26           inComment(false), inTableCell(NO),
27           inDeletedInset(0), changeOfDeletedInset(Change::UNCHANGED),
28           par_begin(0), par_end(0), isLastPar(false),
29           dryrun(false), verbatim(false)
30 {
31         // Note: in PreviewLoader::Impl::dumpPreamble
32         // OutputParams runparams(0); 
33         if (enc && enc->package() == Encoding::japanese)
34                 use_japanese = true;
35 }
36
37
38 OutputParams::~OutputParams()
39 {}
40
41
42 } // namespace lyx