diff options
author | Michael Brauer <mib@openoffice.org> | 2000-11-21 13:38:35 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-11-21 13:38:35 +0000 |
commit | 9322327b53d3293ea449e668f6d8a48bcbcf5395 (patch) | |
tree | 19956a276b43e96dd99bd41b16f7927a41dd6ada /sw/source/filter/xml/xmlexp.cxx | |
parent | c593ef15cf0eb4768615c6c2d920fb5d6758a61e (diff) |
#80552#: progress bar and document statistics
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlexp.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index 3b2de960809f..dae548cf30eb 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlexp.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: dvo $ $Date: 2000-11-16 11:21:54 $ + * last change: $Author: mib $ $Date: 2000-11-21 14:38:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -221,9 +221,9 @@ SwXMLExport::SwXMLExport( const Reference< XModel >& rModel, SwPaM& rPaM, _InitItemExport(); - if( bShowProgress ) - ::StartProgress( STR_STATSTR_W4WWRITE, 0, pDoc->GetNodes().Count(), - pDoc->GetDocShell() ); +// if( bShowProgress ) +// ::StartProgress( STR_STATSTR_W4WWRITE, 0, pDoc->GetNodes().Count(), +// pDoc->GetDocShell() ); SfxObjectShell* pObjSh = pDoc->GetDocShell(); if( pObjSh ) @@ -242,8 +242,8 @@ XMLShapeExport* SwXMLExport::CreateShapeExport() __EXPORT SwXMLExport::~SwXMLExport() { - if( bShowProgress ) - ::EndProgress( pDoc->GetDocShell() ); +// if( bShowProgress ) +// ::EndProgress( pDoc->GetDocShell() ); #ifdef XML_CORE_API if( pCurPaM ) @@ -292,8 +292,8 @@ void SwXMLExport::_ExportContent() Reference < XTextDocument > xTextDoc( GetModel(), UNO_QUERY ); Reference < XText > xText = xTextDoc->getText(); - GetTextParagraphExport()->exportFramesBoundToPage(); - GetTextParagraphExport()->exportText( xText ); + GetTextParagraphExport()->exportFramesBoundToPage( bShowProgress ); + GetTextParagraphExport()->exportText( xText, bShowProgress ); #endif } @@ -343,8 +343,8 @@ void SwXMLExport::ExportCurPaM( sal_Bool bExportWholePaM ) pCurPaM->GetPoint()->nNode++; // next node sal_uInt32 nPos = pCurPaM->GetPoint()->nNode.GetIndex(); - if( bShowProgress ) - ::SetProgressState( nPos, pDoc->GetDocShell() ); +// if( bShowProgress ) +// ::SetProgressState( nPos, pDoc->GetDocShell() ); // if not everything should be exported, the WriteAll flag must be // set for all but the first and last node anyway. |