X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FPreamble.h;h=5690e1903c85b0484b2483a79d33e02ed4506954;hb=dac9ec0c13f50a5b1edc01372a0f068cdb431726;hp=59f8f88a156cea0c148ab22893e01887f4afe7eb;hpb=a99960cc0491a40b77c48816c9a7bd46d49ac742;p=lyx.git diff --git a/src/tex2lyx/Preamble.h b/src/tex2lyx/Preamble.h index 59f8f88a15..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; @@ -92,11 +99,13 @@ private: std::string h_font_sans; std::string h_font_typewriter; std::string h_font_default_family; + std::string h_use_non_tex_fonts; std::string h_font_sc; std::string h_font_osf; 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;