]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
Add Nomenclature to the TOC.
[lyx.git] / src / insets / InsetBranch.h
index 6cc64ec8b28ec2b230d56b710047279f7306affe..7521fbe0c2245ea28409dcd046cdf7c55a95b3a7 100644 (file)
@@ -67,7 +67,8 @@ private:
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
@@ -81,16 +82,16 @@ private:
        ///
        std::string contextMenuName() const;
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        InsetBranchParams const & params() const { return params_; }
        ///
        void setParams(InsetBranchParams const & params) { params_ = params; }
 
        /** \returns true if params_.branch is listed as 'selected' in
-           \c buffer. This handles the case of child documents.
+               \c buffer. \p child only checks within child documents.
         */
-       bool isBranchSelected() const;
+       bool isBranchSelected(bool const child = false) const;
        /*!
         * Is the content of this inset part of the output document?
         *