X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextClass.h;h=570e67f8d4e3edaef3717ae7d0aa98cc2ff0fea0;hb=12ca81f2ea44c947fcd5f6d4f4c57bd5ebdf98d9;hp=9fc8b19b42f1f411a1110c969a1e1d5b2a511a25;hpb=51aebc9327345f6ea065035f489dbfec1568279f;p=lyx.git diff --git a/src/TextClass.h b/src/TextClass.h index 9fc8b19b42..570e67f8d4 100644 --- a/src/TextClass.h +++ b/src/TextClass.h @@ -207,6 +207,8 @@ public: OutputType outputType() const { return outputType_; } /// Can be latex, docbook ... (the name of a format) std::string outputFormat() const { return outputFormat_; } + /// Does this class redefine the output format? + bool hasOutputFormat() const { return has_output_format_; } /// Return the non-localised names for the toc types. std::map const & outlinerNames() const { return outliner_names_; } @@ -313,6 +315,8 @@ protected: OutputType outputType_; /// Can be latex, docbook ... (the name of a format) std::string outputFormat_; + /// Does this class redefine the output format? + bool has_output_format_; /** Base font. The paragraph and layout fonts are resolved against this font. This has to be fully instantiated. Attributes FONT_INHERIT, FONT_IGNORE, and FONT_TOGGLE are