* qt_helpers.cpp:
[lyx.git] / src / OutputParams.cpp
blobc1af29f858362e740a0089954b3da64fc903833e
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.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS.
9 */
11 #include <config.h>
13 #include "OutputParams.h"
14 #include "Exporter.h"
15 #include "Encoding.h"
18 namespace lyx {
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 inDeletedInset(0), changeOfDeletedInset(Change::UNCHANGED),
28 par_begin(0), par_end(0), isLastPar(false),
29 dryrun(false), verbatim(false), disable_captions(false)
31 // Note: in PreviewLoader::Impl::dumpPreamble
32 // OutputParams runparams(0);
33 if (enc && enc->package() == Encoding::japanese)
34 use_japanese = true;
38 OutputParams::~OutputParams()
42 } // namespace lyx