]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.h
de.po
[lyx.git] / src / insets / InsetScript.h
index 96597d2dac4adf50cc41ea8c98f1e4adda657931..1aee8e8dd00852085b125e70cd4bc8c27c744d8d 100644 (file)
@@ -80,9 +80,16 @@ public:
        ///
        void read(Lexer & lex);
        ///
+       bool forcePlainLayout(idx_type = 0) const { return true; }
+       ///
+       bool allowParagraphCustomization(idx_type = 0) const { return false; }
+       ///
        bool neverIndent() const { return true; }
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       bool inheritFont() const { return true; }
+       ///
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
@@ -122,6 +129,8 @@ private:
        friend class InsetScriptParams;
        ///
        InsetScriptParams params_;
+       /// The font of containing inset; this is necessary to compute shift
+       mutable FontInfo outer_font_;
 };