diff options
author | Daniel Rentz <dr@openoffice.org> | 2001-05-07 12:58:20 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2001-05-07 12:58:20 +0000 |
commit | 4812596405f1166dec4b0c8613d6f9c0a661e7fb (patch) | |
tree | a4f2bd1b8fcf0bb637e33d349b30ccf3083240a1 /sc | |
parent | 0b8778c8170bab3a8cf0e8d8e3110ccb0207c340 (diff) |
new option for biff dumper: BLANKLINE
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/biffdump.cxx | 12 | ||||
-rw-r--r-- | sc/source/filter/excel/biffrecdumper.ini | 1 |
2 files changed, 10 insertions, 3 deletions
diff --git a/sc/source/filter/excel/biffdump.cxx b/sc/source/filter/excel/biffdump.cxx index 96a986bc6f8a..a2e03ee5da35 100644 --- a/sc/source/filter/excel/biffdump.cxx +++ b/sc/source/filter/excel/biffdump.cxx @@ -2,9 +2,9 @@ * * $RCSfile: biffdump.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: dr $ $Date: 2001-05-03 15:04:11 $ + * last change: $Author: dr $ $Date: 2001-05-07 13:58:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -976,6 +976,9 @@ void Biff8RecDumper::RecDump( BOOL bSubStream ) if( nR || nL ) // skip dummy-zero DIMENSIONS at eof { + if( bBlankLine ) + *pDumpStream << '\n'; + aT += pLevelPre; __AddHex( aT, nR ); @@ -5689,6 +5692,8 @@ _KEYWORD Biff8RecDumper::GetKeyType( const ByteString& r ) e = NoWarnings; else if( t == "CONTLOAD" ) e = Contload; + else if( t == "BLANKLINE" ) + e = BlankLine; else if( t == "PARSEP" ) e = Parsep; else if( t == "MAXBODYLINES" ) @@ -6161,6 +6166,7 @@ BOOL Biff8RecDumper::ExecCommand( const UINT32 nL, const ByteString& r, const By case ReadContRecs: bReadContRecs = TRUE; break; case NoWarnings: bWarnings = FALSE; break; case Contload: bEndLoading = TRUE; break; + case BlankLine: bBlankLine = TRUE; break; case Parsep: if( nValLen == 0 ) { @@ -6809,7 +6815,7 @@ Biff8RecDumper::Biff8RecDumper( RootData& rRootData ) : ExcRoot( &rRootData ) pLevelPre = pLevelPreStringNT; nMaxBodyLines = 1024; - bEndLoading = bSkip = bSkipOffset = bReadContRecs = FALSE; + bEndLoading = bSkip = bSkipOffset = bReadContRecs = bBlankLine = FALSE; bWarnings = TRUE; pDumpModes = NULL; diff --git a/sc/source/filter/excel/biffrecdumper.ini b/sc/source/filter/excel/biffrecdumper.ini index 198a1e069a04..a4bd01ac9852 100644 --- a/sc/source/filter/excel/biffrecdumper.ini +++ b/sc/source/filter/excel/biffrecdumper.ini @@ -4,6 +4,7 @@ SKIPOFFSET // keine Anzeige des Record-Offset READCONTRECS // CONTINUEs mit Recordinhalt verknuepfen NOWARNINGS // keine Assertions vom Stream CLEARFILE // loescht File vor'm Dumpen +//BLANKLINE // blank line between records PARSEP=, //COMMENT=// OUTPUT=* |