diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-07-23 11:55:01 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-07-23 11:55:01 +0000 |
commit | b6e940a0aa1bb168256c002f9a4f8e06b1abe427 (patch) | |
tree | f3e59bcd0d52384b94c034a2754689a136d41ced /sc | |
parent | 0066ac387bf7d8382bfe1e233d90c0399f3f142e (diff) |
INTEGRATION: CWS tableoptions (1.2.36); FILE MERGED
2004/07/06 10:22:19 dr 1.2.36.1: #i25111# new DataPilot table options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xlpivot.cxx | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx index ea658c6fcfd6..e67468429942 100644 --- a/sc/source/filter/excel/xlpivot.cxx +++ b/sc/source/filter/excel/xlpivot.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xlpivot.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2004-06-04 14:02:56 $ + * last change: $Author: hr $ $Date: 2004-07-23 12:55:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -666,5 +666,43 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclPTInfo& rInfo ) return rStrm; } +// Extended pivot table settings ============================================== + +XclPTExtInfo::XclPTExtInfo() : + mnSxformulaRecs( 0 ), + mnSxselectRecs( 0 ), + mnPagePerRow( 0 ), + mnPagePerCol( 0 ), + mnFlags( EXC_SXEX_DEFAULTFLAGS ) +{ +} + +XclImpStream& operator>>( XclImpStream& rStrm, XclPTExtInfo& rInfo ) +{ + rStrm >> rInfo.mnSxformulaRecs; + rStrm.Ignore( 6 ); + return rStrm + >> rInfo.mnSxselectRecs + >> rInfo.mnPagePerRow + >> rInfo.mnPagePerCol + >> rInfo.mnFlags; +} + +XclExpStream& operator<<( XclExpStream& rStrm, const XclPTExtInfo& rInfo ) +{ + return rStrm + << rInfo.mnSxformulaRecs + << EXC_PT_NOSTRING // length of alt. error text + << EXC_PT_NOSTRING // length of alt. empty text + << EXC_PT_NOSTRING // length of tag + << rInfo.mnSxselectRecs + << rInfo.mnPagePerRow + << rInfo.mnPagePerCol + << rInfo.mnFlags + << EXC_PT_NOSTRING // length of page field style name + << EXC_PT_NOSTRING // length of table style name + << EXC_PT_NOSTRING; // length of vacate style name +} + // ============================================================================ |