summaryrefslogtreecommitdiff
path: root/sc/inc/filter.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2009-07-27 11:41:15 -0400
committerKohei Yoshida <kyoshida@novell.com>2009-07-27 11:41:15 -0400
commitb559137b68a273ef543711995ebf4f140cfe9149 (patch)
tree7cc1b249610e9df24bea6677e5084d1cb3e9f3d2 /sc/inc/filter.hxx
parent44ccce1e58ad84329f5d5d9f233c5ae844422218 (diff)
#i102141# initial port of patches from ooo-build, to implement a new
HTML option dialog & associated changes in the core.
Diffstat (limited to 'sc/inc/filter.hxx')
-rw-r--r--sc/inc/filter.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx
index 157795db2a42..8284447f2f05 100644
--- a/sc/inc/filter.hxx
+++ b/sc/inc/filter.hxx
@@ -42,6 +42,7 @@ class SvStream;
class ScAddress;
class ScDocument;
class ScRange;
+class SvNumberFormatter;
// Return-Werte Im-/Exportfilter (ULONG)
@@ -92,7 +93,9 @@ class ScEEAbsImport {
virtual ~ScEEAbsImport() {}
virtual ULONG Read( SvStream& rStream, const String& rBaseURL ) = 0;
virtual ScRange GetRange() = 0;
- virtual void WriteToDocument( BOOL bSizeColsRows = FALSE, double nOutputFactor = 1.0 ) = 0;
+ virtual void WriteToDocument(
+ BOOL bSizeColsRows = FALSE, double nOutputFactor = 1.0,
+ SvNumberFormatter* pFormatter = NULL, bool bConvertDate = true ) = 0;
};
class ScFormatFilterPlugin {
@@ -109,7 +112,8 @@ class ScFormatFilterPlugin {
virtual FltError ScImportDif( SvStream&, ScDocument*, const ScAddress& rInsPos,
const CharSet eSrc = RTL_TEXTENCODING_DONTKNOW, UINT32 nDifOption = SC_DIFOPT_EXCEL ) = 0;
virtual FltError ScImportRTF( SvStream&, const String& rBaseURL, ScDocument*, ScRange& rRange ) = 0;
- virtual FltError ScImportHTML( SvStream&, const String& rBaseURL, ScDocument*, ScRange& rRange, double nOutputFactor = 1.0, BOOL bCalcWidthHeight = TRUE ) = 0;
+ virtual FltError ScImportHTML( SvStream&, const String& rBaseURL, ScDocument*, ScRange& rRange, double nOutputFactor = 1.0,
+ BOOL bCalcWidthHeight = TRUE, SvNumberFormatter* pFormatter = NULL, bool bConvertDate = true ) = 0;
// various import helpers
virtual ScEEAbsImport *CreateRTFImport( ScDocument* pDoc, const ScRange& rRange ) = 0;