From d8f58461b789a6a4aa1b8dac97261d03e9b9b0d4 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 20 Oct 2009 19:25:59 +0200 Subject: #i93174#: fix progress bar reference for ODF export SwDocStat: add a counter for all paragraphs SwDocStat: remove unused SwInternStat member SwPostItField: add GetNumberOfParagraphs() SwDoc::UpdateDocStat(): count paragraphs in SwPostItFields (notes) SwTxtNode::CountWords(): count all paragraphs SwXMLExport::exportDoc(): count paragraphs only once, not twice --- sw/inc/docufld.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/inc/docufld.hxx') diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 88c4e650cfd0..f3e41abf199f 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -548,6 +548,8 @@ public: const OutlinerParaObject* GetTextObject() const; void SetTextObject( OutlinerParaObject* pText ); + sal_uInt32 GetNumberOfParagraphs() const; + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); virtual String GetDescription() const; -- cgit