]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.h
New attempt on #9906: allow following hyperlinks via context menu.
[lyx.git] / src / insets / InsetTabular.h
index 028da979694400dacf9ba5bf24e235d823f534ed..fd942049ba6d07c53d86acfb84610443196ca07b 100644 (file)
@@ -83,6 +83,8 @@ public:
        void metrics(MetricsInfo &, Dimension &) const;
        /// Needs to be same as InsetTabular
        bool inheritFont() const { return false; }
+       /// Can the cell contain several paragraphs?
+       bool allowMultiPar() const { return !isMultiRow && (!isMultiColumn || isFixedWidth); }
 private:
        /// unimplemented
        InsetTableCell();
@@ -135,8 +137,6 @@ private:
        virtual bool forceLocalFontSwitch() const;
        /// Is the width forced to some value?
        bool hasFixedWidth() const { return isFixedWidth; }
-       /// Can the cell contain several paragraphs?
-       bool allowMultiPar() const { return !isMultiRow && (!isMultiColumn || isFixedWidth); }
 };
 
 
@@ -979,6 +979,8 @@ public:
            insets that may contain several paragraphs */
        bool inheritFont() const { return false; }
        ///
+       bool allowMultiPar() const;
+       ///
        bool allowsCaptionVariation(std::string const &) const;
        //
        bool isTable() const { return true; }