]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
Russian layouttranslations reviewed by Yuriy, Dec 13 2017.
[lyx.git] / src / TextClass.h
index b84179fb9a0ff3baf2c56c54e8f2c579bae5f6b5..570e67f8d4e3edaef3717ae7d0aa98cc2ff0fea0 100644 (file)
@@ -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<std::string, docstring> 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
@@ -451,7 +455,7 @@ public:
        ///
        docstring const & htmlstyles() const { return htmlstyles_; }
        /// Looks for the layout of "highest level", other than Part (or other
-       /// layouts with a negative toc number), for use in constructing TOCs and 
+       /// layouts with a negative toc number), for use in constructing TOCs and
        /// similar information.
        Layout const & getTOCLayout() const;
        /// the paragraph style to use for TOCs, Bibliography, etc