]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
The logic of the endParagraph() routine is wrong. We should first
[lyx.git] / src / Buffer.h
index f8bd784fcec1789fafbfb705accb09cc07c0fbc2..f740a37b9236c28a0db82e64bd76c5636928e78f 100644 (file)
@@ -645,6 +645,8 @@ private:
                bool includeall) const;
        ///
        ExportStatus preview(std::string const & format, bool includeall = false) const;
+       ///
+       void setMathFlavor(OutputParams & op) const;
 
 public:
        ///
@@ -687,6 +689,16 @@ public:
        ///
        void checkChildBuffers();
 
+       /// compute statistics between \p from and \p to
+       /// \p from initial position
+       /// \p to points to the end position
+       /// \p skipNoOutput if notes etc. should be ignored
+       void updateStatistics(DocIterator & from, DocIterator & to,
+                                                 bool skipNoOutput = true) const;
+       /// statistics accessor functions
+       int wordCount() const;
+       int charCount(bool with_blanks) const;
+
 private:
        class MarkAsExporting;
        friend class MarkAsExporting;