]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.h
Make script inset much tighter in texted.
[lyx.git] / src / insets / InsetFloat.h
index 62b5873b9024520e4eb570dad802bf1cce77a3bc..53c584c40abe974ad74e0c4bc3cb5046dd272053 100644 (file)
@@ -57,7 +57,7 @@ public:
 class InsetFloat : public InsetCaptionable
 {
 public:
-       InsetFloat(Buffer * buffer, std::string params_str);
+       InsetFloat(Buffer * buffer, std::string const & params_str);
        ///
        static void string2params(std::string const &, InsetFloatParams &);
        ///
@@ -76,6 +76,8 @@ public:
        bool allowsCaptionVariation(std::string const &) const;
        ///
        LyXAlignment contentAlignment() const;
+       ///
+       bool forceParDirectionSwitch() const { return true; }
 private:
        ///
        void setCaptionType(std::string const & type);
@@ -120,6 +122,8 @@ private:
        TexString getCaption(OutputParams const &) const;
        ///
        std::string getAlignment() const;
+       ///
+       OutputParams::CtObject CtObject(OutputParams const &) const { return OutputParams::CT_OMITOBJECT; }
 
        InsetFloatParams params_;
 };