summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimp.hxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2000-11-21 13:38:35 +0000
committerMichael Brauer <mib@openoffice.org>2000-11-21 13:38:35 +0000
commit9322327b53d3293ea449e668f6d8a48bcbcf5395 (patch)
tree19956a276b43e96dd99bd41b16f7927a41dd6ada /sw/source/filter/xml/xmlimp.hxx
parentc593ef15cf0eb4768615c6c2d920fb5d6758a61e (diff)
#80552#: progress bar and document statistics
Diffstat (limited to 'sw/source/filter/xml/xmlimp.hxx')
-rw-r--r--sw/source/filter/xml/xmlimp.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx
index 307f6788d4d0..b7443158b76d 100644
--- a/sw/source/filter/xml/xmlimp.hxx
+++ b/sw/source/filter/xml/xmlimp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlimp.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mib $ $Date: 2000-11-07 14:05:53 $
+ * last change: $Author: mib $ $Date: 2000-11-21 14:38:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -101,17 +101,23 @@ class SwXMLImport: public SvXMLImport
SvXMLImportContextRef xAutoStyles;
sal_uInt16 nStyleFamilyMask;// Mask of styles to load
+ sal_Int32 nProgress;
+ sal_Int32 nProgressRef;
sal_Bool bLoadDoc : 1; // Load doc or styles only
sal_Bool bInsert : 1; // Insert mode. If styles are
// loaded only sal_False means that
// existing styles will be
// overwritten.
sal_Bool bAutoStylesValid : 1;
-
+ sal_Bool bProgressValid : 1;
+ sal_Bool bShowProgress : 1;
void _InitItemImport();
void _FinitItemImport();
+ void ShowProgress( sal_Int32 nPercent );
+ void SetProgressRef( sal_Int32 nParagraphs );
+
protected:
// This method is called after the namespace map has been updated, but
@@ -167,6 +173,8 @@ public:
const ::rtl::OUString& rName,
const SfxItemSet **ppItemSet=0,
::rtl::OUString *pParent=0 ) const;
+
+ virtual void SetStatisticAttributes(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs);
};
inline const SvXMLUnitConverter& SwXMLImport::GetTwipUnitConverter() const