]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Fix glitch in drawing fractions
[lyx.git] / src / Paragraph.h
index 184c9766285293a0b173d1dca1a9b0fa9278d883..03a652ec08ced266b8be525ea87677e1c4ccc7b9 100644 (file)
@@ -47,6 +47,7 @@ class MetricsInfo;
 class OutputParams;
 class PainterInfo;
 class ParagraphParameters;
+class TocBackend;
 class WordLangTuple;
 class XHTMLStream;
 class otexstream;
@@ -150,7 +151,7 @@ public:
 
        ///
        void addChangesToToc(DocIterator const & cdit, Buffer const & buf,
-               bool output_active) const;
+                            bool output_active, TocBackend & backend) const;
        /// set the buffer flag if there are changes in the paragraph
        void addChangesToBuffer(Buffer const & buf) const;
        ///
@@ -181,8 +182,8 @@ public:
                           int options = AS_STR_NONE,
                           const OutputParams *runparams = 0) const;
        ///
-       void forOutliner(docstring &, size_t const maxlen,
-                                        bool const shorten = true) const;
+       void forOutliner(docstring &, size_t maxlen, bool shorten = true,
+                        bool label = true) const;
 
        ///
        void write(std::ostream &, BufferParams const &,
@@ -396,6 +397,8 @@ public:
        InsetList const & insetList() const;
        ///
        void setBuffer(Buffer &);
+       ///
+       void resetBuffer();
 
        ///
        bool isHfill(pos_type pos) const;