]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
sk.po: layouts + modules
[lyx.git] / src / insets / InsetLayout.h
index 4f5a6b89e3f6e27cb21e526fc204868ba631df61..6bad059232ec7f390bc54315094879e3224c8c87 100644 (file)
@@ -88,9 +88,9 @@ public:
        ///
        Layout::LaTeXArgMap latexargs() const { return latexargs_; }
        ///
-       unsigned int numOptArgs() const;
+       unsigned int optArgs() const;
        ///
-       unsigned int numRequiredArgs() const;
+       unsigned int requiredArgs() const;
        ///
        docstring preamble() const { return preamble_; }
        /// Get language dependent macro definitions needed for this inset
@@ -162,6 +162,8 @@ public:
        bool resetsFont() const { return resetsfont_; }
        ///
        bool isDisplay() const { return display_; }
+       ///
+       bool forcelocalfontswitch() const { return forcelocalfontswitch_; }
 private:
        ///
        void makeDefaultCSS() const;
@@ -263,11 +265,14 @@ private:
        ///
        bool display_;
        ///
+       bool forcelocalfontswitch_;
+       ///
        Layout::LaTeXArgMap latexargs_;
 };
 
 ///
 InsetLayout::InsetLyXType translateLyXType(std::string const & str);
+InsetLayout::InsetDecoration translateDecoration(std::string const & str);
 
 } // namespace lyx