]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetArgument.h
InsetIndex: Some comments and indentation fixes
[features.git] / src / insets / InsetArgument.h
index 2249f2f8e6436647094de31fd484d138af2677e2..34f4309cb0c5fefa842fe4033442a25d4a7817f1 100644 (file)
@@ -41,6 +41,8 @@ public:
 
        bool docbookargumentbeforemaintag() const { return docbookargumentbeforemaintag_; }
 
+       bool docbookargumentaftermaintag() const { return docbookargumentaftermaintag_; }
+
        /// \name Public functions inherited from Inset class
        //@{
        ///
@@ -49,6 +51,9 @@ public:
        InsetCode lyxCode() const override { return ARG_CODE; }
        ///
        docstring layoutName() const override { return from_ascii("Argument"); }
+
+       /// Initialize the members of this inset when inserted in \c par.
+       void init(Paragraph const & par);
        /// Update the label string of this inset
        void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false) override;
        ///
@@ -135,6 +140,8 @@ private:
        docstring docbookattr_;
        ///
        bool docbookargumentbeforemaintag_ = false;
+       ///
+       bool docbookargumentaftermaintag_ = false;
 
 protected:
        /// \name Protected functions inherited from Inset class