]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.cpp
Don't output default papersize
[lyx.git] / src / OutputParams.cpp
index 36816c2f7f825060b00f12b8f79040f26b825c89..de4b893728455e7f5756e73351175e594d4645cd 100644 (file)
@@ -20,8 +20,8 @@ namespace lyx {
 
 OutputParams::OutputParams(Encoding const * enc)
        : flavor(LATEX), math_flavor(NotApplicable), nice(false), is_child(false),
-         moving_arg(false), intitle(false), inulemcmd(0), local_font(0), 
-         master_language(0), encoding(enc), free_spacing(false),
+         moving_arg(false), intitle(false), inbranch(false), inulemcmd(0),
+         local_font(0),master_language(0), encoding(enc), free_spacing(false),
          use_babel(false), use_polyglossia(false), use_CJK(false),
          use_indices(false), use_japanese(false), linelen(0), depth(0),
          exportdata(new ExportData), postpone_fragile_stuff(false), inDisplayMath(false),
@@ -57,7 +57,13 @@ bool OutputParams::isLaTeX() const
 
 bool OutputParams::isFullUnicode() const
 {
-       return flavor == LUATEX|| flavor == DVILUATEX || flavor == XETEX;
+       return flavor == LUATEX || flavor == DVILUATEX || flavor == XETEX;
+}
+
+
+bool OutputParams::useBidiPackage() const
+{
+       return use_polyglossia && flavor == XETEX;
 }
 
 } // namespace lyx