Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
4f2f164a
Commit
4f2f164a
authored
Jun 20, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XlsFormat - pivot tables records
parent
8addd6cb
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
77 additions
and
144 deletions
+77
-144
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/CrtMlFrt.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_records/CrtMlFrt.cpp
+0
-5
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DBQueryExt.cpp
...sFile2/source/XlsFormat/Logic/Biff_records/DBQueryExt.cpp
+0
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DCon.cpp
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/DCon.cpp
+1
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DCon.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DCon.h
+0
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DConBin.cpp
...eXlsFile2/source/XlsFormat/Logic/Biff_records/DConBin.cpp
+11
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DConBin.h
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/DConBin.h
+5
-4
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DbOrParamQry.cpp
...ile2/source/XlsFormat/Logic/Biff_records/DbOrParamQry.cpp
+0
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/FnGrp12.cpp
...eXlsFile2/source/XlsFormat/Logic/Biff_records/FnGrp12.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/ForceFullCalculation.cpp
...rce/XlsFormat/Logic/Biff_records/ForceFullCalculation.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/GUIDTypeLib.cpp
...File2/source/XlsFormat/Logic/Biff_records/GUIDTypeLib.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDB.cpp
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDB.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDTInfo.cpp
...eXlsFile2/source/XlsFormat/Logic/Biff_records/MDTInfo.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXKPI.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/MDXKPI.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXProp.cpp
...eXlsFile2/source/XlsFormat/Logic/Biff_records/MDXProp.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXSet.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/MDXSet.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXStr.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/MDXStr.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXTuple.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_records/MDXTuple.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/NameFnGrp12.cpp
...File2/source/XlsFormat/Logic/Biff_records/NameFnGrp12.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/NamePublish.cpp
...File2/source/XlsFormat/Logic/Biff_records/NamePublish.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/Qsir.cpp
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/Qsir.cpp
+14
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/Qsir.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/Qsir.h
+25
-4
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SortData.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_records/SortData.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/StyleExt.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_records/StyleExt.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TableStyle.cpp
...sFile2/source/XlsFormat/Logic/Biff_records/TableStyle.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TableStyleElement.cpp
...source/XlsFormat/Logic/Biff_records/TableStyleElement.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TableStyles.cpp
...File2/source/XlsFormat/Logic/Biff_records/TableStyles.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TextPropsStream.h
...le2/source/XlsFormat/Logic/Biff_records/TextPropsStream.h
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/Theme.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/Theme.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/XFCRC.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/XFCRC.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/XFExt.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/XFExt.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/ChartSheetSubstream.cpp
...ceXlsFile2/source/XlsFormat/Logic/ChartSheetSubstream.cpp
+0
-98
No files found.
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/CrtMlFrt.cpp
View file @
4f2f164a
...
...
@@ -56,11 +56,6 @@ void CrtMlFrt::readFields(CFRecord& record)
Log
::
error
(
"CrtMlFrt record is not implemented."
);
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
//
// if (cb > 0)
// {
// //XmlTkChain
// }
}
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DBQueryExt.cpp
View file @
4f2f164a
...
...
@@ -54,7 +54,6 @@ void DBQueryExt::readFields(CFRecord& record)
{
#pragma message("####################### DBQueryExt record is not implemented")
Log
::
error
(
"DBQueryExt record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DCon.cpp
View file @
4f2f164a
...
...
@@ -52,8 +52,7 @@ BaseObjectPtr DCon::clone()
void
DCon
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### DCon record is not implemented")
//record >> iiftab >> fLeftCat >> fTopCat >> fLinkConsole;
record
>>
iiftab
>>
fLeftCat
>>
fTopCat
>>
fLinkConsole
;
}
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DCon.h
View file @
4f2f164a
...
...
@@ -36,8 +36,6 @@
namespace
XLS
{
// Logical representation of DCon record in BIFF8
class
DCon
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
DCon
)
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DConBin.cpp
View file @
4f2f164a
...
...
@@ -53,9 +53,17 @@ BaseObjectPtr DConBin::clone()
void
DConBin
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### DConBin record is not implemented")
Log
::
error
(
"DConBin record is not implemented."
);
//record >> some_value;
unsigned
short
reserved1
;
unsigned
char
reserved2
;
record
>>
nBuiltin
>>
reserved1
>>
reserved2
>>
cchFile
;
if
(
cchFile
>
0
&&
cchFile
<
0xffff
)
{
stFile
.
setSize
(
cchFile
);
record
>>
stFile
;
}
// skip unused
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DConBin.h
View file @
4f2f164a
...
...
@@ -32,12 +32,11 @@
#pragma once
#include "BiffRecord.h"
#include "../Biff_structures/BiffString.h"
namespace
XLS
{
// Logical representation of DConBin record in BIFF8
class
DConBin
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
DConBin
)
...
...
@@ -48,11 +47,13 @@ public:
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeDConBin
;
static
const
ElementType
type
=
typeDConBin
;
unsigned
char
nBuiltin
;
unsigned
short
cchFile
;
XLUnicodeStringNoCch
stFile
;
};
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DbOrParamQry.cpp
View file @
4f2f164a
...
...
@@ -54,7 +54,6 @@ void DbOrParamQry::readFields(CFRecord& record)
{
#pragma message("####################### DbOrParamQry record is not implemented")
Log
::
error
(
"DbOrParamQry record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/FnGrp12.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr FnGrp12::clone()
void
FnGrp12
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
astFnGrp
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/ForceFullCalculation.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr ForceFullCalculation::clone()
void
ForceFullCalculation
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
_UINT32
temp
;
record
>>
temp
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/GUIDTypeLib.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr GUIDTypeLib::clone()
void
GUIDTypeLib
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
_GUID_
guid_num
;
record
>>
guid_num
;
guid
=
STR
::
guid2bstr
(
guid_num
);
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDB.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr MDB::clone()
void
MDB
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
while
(
!
record
.
isEOF
())
{
MDirPtr
element
(
new
MDir
);
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDTInfo.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr MDTInfo::clone()
void
MDTInfo
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
_UINT32
flags
;
record
>>
flags
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXKPI.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr MDXKPI::clone()
void
MDXKPI
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
istrConnName
>>
tfnSrc
>>
kpiprop
>>
istrKPIName
>>
istrMbrKPI
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXProp.cpp
View file @
4f2f164a
...
...
@@ -54,7 +54,7 @@ BaseObjectPtr MDXProp::clone()
void
MDXProp
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
istrConnName
>>
tfnSrc
>>
istrMbr
>>
istrProp
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXSet.cpp
View file @
4f2f164a
...
...
@@ -54,7 +54,7 @@ BaseObjectPtr MDXSet::clone()
void
MDXSet
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
istrConnName
>>
tfnSrc
>>
sso
>>
istrSetDef
>>
cistr
;
while
(
!
record
.
isEOF
())
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXStr.cpp
View file @
4f2f164a
...
...
@@ -54,7 +54,7 @@ BaseObjectPtr MDXStr::clone()
void
MDXStr
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
st
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/MDXTuple.cpp
View file @
4f2f164a
...
...
@@ -54,7 +54,7 @@ BaseObjectPtr MDXTuple::clone()
void
MDXTuple
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
istrConnName
>>
tfnSrc
>>
cistr
;
while
(
!
record
.
isEOF
())
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/NameFnGrp12.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr NameFnGrp12::clone()
void
NameFnGrp12
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
cachName
>>
fgrp
>>
rgach
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/NamePublish.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr NamePublish::clone()
void
NamePublish
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
unsigned
short
flags
;
record
>>
flags
>>
strName
;
fPublished
=
GETBIT
(
flags
,
0
);
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/Qsir.cpp
View file @
4f2f164a
...
...
@@ -52,9 +52,20 @@ BaseObjectPtr Qsir::clone()
void
Qsir
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### Qsir record is not implemented")
Log
::
error
(
"Qsir record is not implemented."
);
//record >> some_value;
_UINT32
flags
;
record
>>
frtRefHeaderU
>>
cbQsirSaved
>>
cbQsifSaved
>>
flags
>>
iSortCustom
>>
cQsif
>>
cpstDeleted
>>
idFieldNext
>>
ccolExtraLeft
>>
ccolExtraRight
;
record
>>
idList
>>
rgbTitle
;
fPersist
=
GETBIT
(
flags
,
0
);
fPersistSort
=
GETBIT
(
flags
,
1
);
fPersistAutoFilter
=
GETBIT
(
flags
,
2
);
fSorted
=
GETBIT
(
flags
,
20
);
fCaseSensSort
=
GETBIT
(
flags
,
21
);
fHdrRowSort
=
GETBIT
(
flags
,
22
);
fidWrapped
=
GETBIT
(
flags
,
23
);
fTitlesOld
=
GETBIT
(
flags
,
25
);
wVerBeforeRefreshAlert
=
GETBITS
(
flags
,
26
,
30
);
}
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/Qsir.h
View file @
4f2f164a
...
...
@@ -32,12 +32,12 @@
#pragma once
#include "BiffRecord.h"
#include "../Biff_structures/FrtRefHeaderU.h"
#include "../Biff_structures/BiffString.h"
namespace
XLS
{
// Logical representation of Qsir record in BIFF8
class
Qsir
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
Qsir
)
...
...
@@ -47,11 +47,32 @@ public:
~
Qsir
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeQsir
;
static
const
ElementType
type
=
typeQsir
;
FrtRefHeaderU
frtRefHeaderU
;
unsigned
short
cbQsirSaved
;
unsigned
short
cbQsifSaved
;
bool
fPersist
;
bool
fPersistSort
;
bool
fPersistAutoFilter
;
bool
fSorted
;
bool
fCaseSensSort
;
bool
fHdrRowSort
;
bool
fidWrapped
;
bool
fTitlesOld
;
unsigned
char
wVerBeforeRefreshAlert
;
_UINT32
iSortCustom
;
_UINT32
cQsif
;
_UINT32
cpstDeleted
;
_UINT32
idFieldNext
;
unsigned
short
ccolExtraLeft
;
unsigned
short
ccolExtraRight
;
_UINT32
idList
;
//options
XLUnicodeString
rgbTitle
;
};
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SortData.cpp
View file @
4f2f164a
...
...
@@ -52,7 +52,7 @@ BaseObjectPtr SortData::clone()
void
SortData
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
unsigned
short
flags
;
record
>>
flags
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/StyleExt.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr StyleExt::clone()
void
StyleExt
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
unsigned
char
flags
;
record
>>
flags
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TableStyle.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr TableStyle::clone()
void
TableStyle
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
unsigned
short
flags
;
record
>>
flags
;
fIsPivot
=
GETBIT
(
flags
,
1
);
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TableStyleElement.cpp
View file @
4f2f164a
...
...
@@ -54,7 +54,7 @@ BaseObjectPtr TableStyleElement::clone()
void
TableStyleElement
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
tseType
>>
size
>>
index
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TableStyles.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr TableStyles::clone()
void
TableStyles
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
unsigned
short
cchDefTableStyle
;
unsigned
short
cchDefPivotStyle
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/TextPropsStream.h
View file @
4f2f164a
...
...
@@ -31,8 +31,8 @@
*/
#pragma once
#include <Logic/Biff_structures/FrtHeader.h>
#include "BiffRecord.h"
#include "../Biff_structures/FrtHeader.h"
namespace
XLS
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/Theme.cpp
View file @
4f2f164a
...
...
@@ -55,7 +55,7 @@ BaseObjectPtr Theme::clone()
void
Theme
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
>>
dwThemeVersion
;
if
(
!
dwThemeVersion
)
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/XFCRC.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr XFCRC::clone()
void
XFCRC
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
.
skipNunBytes
(
2
);
// reserved
record
>>
cxfs
>>
crc
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/XFExt.cpp
View file @
4f2f164a
...
...
@@ -53,7 +53,7 @@ BaseObjectPtr XFExt::clone()
void
XFExt
::
readFields
(
CFRecord
&
record
)
{
record
.
skipNunBytes
(
12
);
#pragma message("
############################
frtHeader skipped here")
#pragma message("
>>>>>>>>>>>
frtHeader skipped here")
record
.
skipNunBytes
(
2
);
// reserved
record
>>
ixfe
;
record
.
skipNunBytes
(
2
);
// reserved
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/ChartSheetSubstream.cpp
View file @
4f2f164a
...
...
@@ -124,104 +124,6 @@ CHARTSHEETCONTENT = [WriteProtect] [SheetExt] [WebPub] *HFPicture PAGESETUP Prin
*/
const
bool
ChartSheetSubstream
::
loadContent
(
BinProcessor
&
proc
)
{
// pGlobalWorkbookInfo = proc.getGlobalWorkbookInfo();
//
// if(!proc.mandatory<BOF>())
// {
// return false;
// }
// int count = 0 ;
//
// proc.optional<WriteProtect>();
// proc.optional<SheetExt>();
// proc.optional<WebPub>();
// proc.repeated<HFPicture>(0, 0);
// proc.mandatory<PAGESETUP>();
// proc.mandatory<PrintSize>();
// proc.optional<HeaderFooter>();
//
// if (proc.optional<BACKGROUND>())
// {
// m_BACKGROUND = elements_.back();
// elements_.pop_back();
// }
//
// count = proc.repeated<Fbi>(0, 0);
// while(count > 0)
// {
// m_arFbi.insert(m_arFbi.begin(), elements_.back());
// elements_.pop_back();
// count--;
// }
// count = proc.repeated<Fbi2>(0, 0);
//
// while(count > 0 && m_arFbi.empty())//??? разделить
// {
// m_arFbi.insert(m_arFbi.begin(), elements_.back());
// elements_.pop_back();
// count--;
// }
//
// proc.optional<ClrtClient>();
// proc.optional<PROTECTION_COMMON>();
// proc.optional<Palette>();
// proc.optional<SXViewLink>();
// proc.optional<PivotChartBits>();
// proc.optional<SBaseRef>();
//
// MsoDrawingGroup mso_drawing_group(true);
// proc.optional(mso_drawing_group);
//
// OBJECTS objects(true);
// if (proc.mandatory(objects))
// {
// m_OBJECTSCHART = elements_.back();
// elements_.pop_back();
// }
//
// proc.mandatory<Units>();
// if ( proc.mandatory<CHARTFORMATS>() )
// {
// m_CHARTFORMATS = elements_.back();
// elements_.pop_back();
//
// recalc((CHARTFORMATS*)m_CHARTFORMATS.get());
// }
// if ( proc.mandatory<SERIESDATA>() )
// {
// m_SERIESDATA = elements_.back();
// elements_.pop_back();
//
// recalc((SERIESDATA*)m_SERIESDATA.get());
// }
//
// count = proc.repeated<WINDOW>(0, 0);
// while(count > 0)
// {
// m_arWINDOW.insert(m_arWINDOW.begin(), elements_.back());
// elements_.pop_back();
// count--;
// }
//
// count = proc.repeated<CUSTOMVIEW>(0, 0);
// while(count > 0)
// {
// m_arCUSTOMVIEW.insert(m_arCUSTOMVIEW.begin(), elements_.back());
// elements_.pop_back();
// count--;
// }
//
// proc.optional<CodeName>();
// proc.optional<CRTMLFRT>();
//
//#pragma message("####################### Some trash records may be skipped here")
// proc.SeekToEOF(); // Thus we skip problems with the trash at the end of the stream (found in Domens.xls)
//
// proc.mandatory<EOF_T>();
//
// return true;
//------------------------------------------------------------------------------
pGlobalWorkbookInfo
=
proc
.
getGlobalWorkbookInfo
();
int
count
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment