X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FPreamble.h;h=5690e1903c85b0484b2483a79d33e02ed4506954;hb=dac9ec0c13f50a5b1edc01372a0f068cdb431726;hp=5c2d883aab51c5bfbbf191c9c858947198977625;hpb=586e0e6b8a1c0306662511bf7b5579f55afe80f5;p=lyx.git diff --git a/src/tex2lyx/Preamble.h b/src/tex2lyx/Preamble.h index 5c2d883aab..5690e1903c 100644 --- a/src/tex2lyx/Preamble.h +++ b/src/tex2lyx/Preamble.h @@ -55,6 +55,10 @@ public: void addModule(std::string const & module); /// void suppressDate(bool suppress); + /// + bool titleLayoutFound() const { return title_layout_found; } + /// + void titleLayoutFound(bool found) { title_layout_found = found; } /// Register an author named \p name in the author list void registerAuthor(std::string const & name); /// Get author named \p name (must be registered first) @@ -78,6 +82,9 @@ private: /// needed to handle encodings with babel bool one_language; + /// was at least one title layout found? + bool title_layout_found; + std::ostringstream h_preamble; std::string h_backgroundcolor; std::string h_biblio_style; @@ -98,6 +105,7 @@ private: std::string h_font_sf_scale; std::string h_font_tt_scale; std::string h_graphics; + std::string h_default_output_format; std::string h_html_be_strict; std::string h_html_css_as_file; std::string h_html_math_output;