]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetArgument.h
Enable dissolve in undefined Flex inset context menu
[lyx.git] / src / insets / InsetArgument.h
index 9fff93b4e12034199eb56c73f7287406956ace00..2bd0578f28cee35284fa14e77bb6b7c54669f856 100644 (file)
@@ -69,6 +69,8 @@ public:
        ///
        bool isPassThru() const { return pass_thru_; }
        ///
+       bool isTocCaption() const { return is_toc_caption_; }
+       ///
        bool resetFontEdit() const { return false; }
        //@}
        /// \name Public functions inherited from InsetCollapsible class
@@ -113,6 +115,8 @@ private:
        bool pass_thru_;
        ///
        docstring pass_thru_chars_;
+       /// Does this argument provide content for the TOC?
+       bool is_toc_caption_;
        /// The type of Toc this is the caption of, empty otherwise.
        std::string caption_of_toc_;