]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
Introducing a number of tags parametrizing various
[lyx.git] / src / paragraph.h
index 169fdc6a793591da96aac15d24e624d4fcc7d70a..fca8d25163e77b0d775ab233b87ce0395473dde2 100644 (file)
@@ -129,9 +129,9 @@ public:
        void simpleDocBookOnePar(Buffer const & buf,
                                 std::ostream &,
                                 LyXFont const & outerfont,
-                                int & desc_on,
                                 OutputParams const & runparams,
-                                lyx::depth_type depth) const;
+                                lyx::depth_type depth,
+                                bool labelid) const;
 
        ///
        bool hasSameLayout(Paragraph const & par) const;
@@ -143,8 +143,6 @@ public:
        UpdatableInset * inInset() const;
        ///
        void setInsetOwner(UpdatableInset * inset);
-       ///
-       void deleteInsetsLyXText(BufferView *);
 
        ///
        lyx::pos_type size() const { return text_.size(); }
@@ -204,7 +202,9 @@ public:
        /// the paragraph alongside the text of the rest of the paragraph
        /// (the body). This function returns the starting position of the
        /// body of the text in the paragraph.
-       int beginningOfBody() const;
+       int beginOfBody() const;
+       /// recompute this value
+       void setBeginOfBody();
 
        ///
        std::string const & getLabelstring() const;
@@ -346,6 +346,8 @@ private:
        /// keeping this here instead of in the pimpl makes LyX >10% faster
        // for average tasks as buffer loading/switching etc.
        TextContainer text_;
+       /// end of label
+       int begin_of_body_;
 
        struct Pimpl;
        ///