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
270c1fa2
Commit
270c1fa2
authored
Jun 14, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
09e6d3f7
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
210 additions
and
106 deletions
+210
-106
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/ChartFrtInfo.cpp
...ile2/source/XlsFormat/Logic/Biff_records/ChartFrtInfo.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DConRef.h
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/DConRef.h
+10
-4
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXVDEx.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SXVDEx.cpp
+2
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXVS.cpp
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXVS.cpp
+1
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXViewEx.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_records/SXViewEx.cpp
+5
-13
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxItm.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SxItm.cpp
+1
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxSelect.h
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SxSelect.h
+0
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxTbpg.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SxTbpg.cpp
+0
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxView.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxView.h
+56
-5
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/ExtPtgAreaErr3D.cpp
...ource/XlsFormat/Logic/Biff_structures/ExtPtgAreaErr3D.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/AXES.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/AXES.h
+0
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.cpp
+37
-47
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHEDEFINITION.cpp
...urce/XlsFormat/Logic/Biff_unions/PIVOTCACHEDEFINITION.cpp
+18
-5
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHEDEFINITION.h
...source/XlsFormat/Logic/Biff_unions/PIVOTCACHEDEFINITION.h
+5
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCORE.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCORE.cpp
+39
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCORE.h
...ceXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCORE.h
+9
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTFRT9.h
...ceXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTFRT9.h
+6
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTVIEW.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTVIEW.cpp
+8
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/GlobalsSubstream.cpp
...fficeXlsFile2/source/XlsFormat/Logic/GlobalsSubstream.cpp
+10
-1
No files found.
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/ChartFrtInfo.cpp
View file @
270c1fa2
...
...
@@ -31,7 +31,7 @@
*/
#include "ChartFrtInfo.h"
#include
<Logic/Biff_structures/FrtHeaderOld.h>
#include
"../Biff_structures/FrtHeaderOld.h"
namespace
XLS
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/DConRef.h
View file @
270c1fa2
...
...
@@ -33,11 +33,12 @@
#include "BiffRecord.h"
#include "../Biff_structures/BiffString.h"
#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
// Logical representation of DConRef record in BIFF8
class
DConRef
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
DConRef
)
...
...
@@ -47,12 +48,17 @@ public:
~
DConRef
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeDConRef
;
static
const
ElementType
type
=
typeDConRef
;
RefU
ref
;
unsigned
short
cchFile
;
std
::
wstring
stFile
;
bool
bFilePath
;
bool
bSheetName
;
};
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXVDEx.cpp
View file @
270c1fa2
...
...
@@ -53,9 +53,8 @@ BaseObjectPtr SXVDEx::clone()
void
SXVDEx
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### SXVDEx record is not implemented")
//Log::error("SXVDEx record is not implemented.");
//record >> some_value;
Log
::
error
(
"SXVDEx record is not implemented."
);
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXVS.cpp
View file @
270c1fa2
...
...
@@ -52,12 +52,7 @@ BaseObjectPtr SXVS::clone()
void
SXVS
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### SXVS record is not implemented")
Log
::
error
(
"SXVS record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
record
>>
sxvs
;
}
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXViewEx.cpp
View file @
270c1fa2
...
...
@@ -35,16 +35,6 @@
namespace
XLS
{
SXViewEx
::
SXViewEx
()
{
}
SXViewEx
::~
SXViewEx
()
{
}
BaseObjectPtr
SXViewEx
::
clone
()
{
return
BaseObjectPtr
(
new
SXViewEx
(
*
this
));
...
...
@@ -52,9 +42,11 @@ BaseObjectPtr SXViewEx::clone()
void
SXViewEx
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### SXViewEx record is not implemented")
Log
::
error
(
"SXViewEx record is not implemented."
);
//record >> some_value;
record
>>
frtHeaderOld
>>
csxth
>>
csxpi
>>
csxvdtex
>>
cbFuture
;
if
(
cbFuture
)
rgbFuture
=
std
::
string
(
record
.
getCurData
<
char
>
(),
cbFuture
);
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxItm.cpp
View file @
270c1fa2
...
...
@@ -52,9 +52,8 @@ BaseObjectPtr SxItm::clone()
void
SxItm
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### SxItm record is not implemented")
Log
::
error
(
"SxItm record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxSelect.h
View file @
270c1fa2
...
...
@@ -47,7 +47,6 @@ public:
~
SxSelect
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxTbpg.cpp
View file @
270c1fa2
...
...
@@ -53,9 +53,7 @@ BaseObjectPtr SxTbpg::clone()
void
SxTbpg
::
readFields
(
CFRecord
&
record
)
{
#pragma message("####################### SxTbpg record is not implemented")
Log
::
error
(
"SxTbpg record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxView.h
View file @
270c1fa2
...
...
@@ -32,27 +32,78 @@
#pragma once
#include "BiffRecord.h"
#include "../Biff_structures/BiffString.h"
#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SXAxis
:
public
BiffStructure
{
BASE_STRUCTURE_DEFINE_CLASS_NAME
(
SXAxis
)
public:
SXAxis
(){}
~
SXAxis
(){}
BiffStructurePtr
clone
();
virtual
void
load
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXAxis
;
bool
bRw
;
bool
bCol
;
bool
bPage
;
bool
bData
;
};
// Logical representation of SxView record in BIFF8
class
SxView
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SxView
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SxView
)
public:
SxView
()
;
~
SxView
()
;
SxView
()
{
cchTableName
=
cchDataName
=
0
;}
~
SxView
()
{}
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSxView
;
static
const
ElementType
type
=
typeSxView
;
Ref8U
ref
;
RwU
rwFirstHead
;
RwU
rwFirstData
;
ColU
colFirstData
;
short
iCache
;
short
reserved
;
SXAxis
sxaxis4Data
;
short
ipos4Data
;
short
cDim
;
unsigned
short
cDimRw
;
unsigned
short
cDimCol
;
unsigned
short
cDimPg
;
short
cDimData
;
unsigned
short
cRw
;
unsigned
short
cCol
;
bool
fRwGrand
;
bool
fColGrand
;
bool
fAutoFormat
;
bool
fAtrNum
;
bool
fAtrFnt
;
bool
fAtrAlc
;
bool
fAtrBdr
;
bool
fAtrPat
;
bool
fAtrProc
;
unsigned
short
itblAutoFmt
;
//enum AutoFmt8
unsigned
short
cchTableName
;
unsigned
short
cchDataName
;
XLUnicodeStringNoCch
stTable
;
XLUnicodeStringNoCch
stData
;
};
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/ExtPtgAreaErr3D.cpp
View file @
270c1fa2
...
...
@@ -52,8 +52,8 @@ void ExtPtgAreaErr3D::load(CFRecord& record)
void
ExtPtgAreaErr3D
::
assemble
(
AssemblerStack
&
ptg_stack
,
PtgQueue
&
extra_data
,
bool
full_ref
)
{
#pragma message("####################### ExtPtgAreaErr3D record is not implemented")
Log
::
info
(
"ExtPtgAreaErr3D record is not implemented."
);
ptg_stack
.
push
(
L"#REF!"
);
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/AXES.h
View file @
270c1fa2
...
...
@@ -36,8 +36,6 @@
namespace
XLS
{
// Logical representation of AXES union of records
class
AXES
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
AXES
)
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.cpp
View file @
270c1fa2
...
...
@@ -47,39 +47,9 @@ PIVOTADDL::PIVOTADDL()
{
}
PIVOTADDL
::~
PIVOTADDL
()
{
}
/*
int b = 5;
boost::shared_ptr<int> by;
void raw_ptr(const int* ptr) // указатель на константный объект.
{
ptr = &b; // компилится, потому что указатель не константный
*ptr = 4; // не компилится, потому что объект константный
}
// то же самое для shared_ptr
void raw_ptr(boost::shared_ptr<const int> ptr) // указатель на константный объект.
{
ptr = by; // компилится, потому что указатель не константный
*ptr = 4; // не компилится, потому что объект константный
}
// ===================== теперь наоборот
void raw_ptr2(int* const ptr) // константный указатель на неконстантный объект.
{
ptr = &b; // не компилится, потому что указатель - константный
*ptr = 4; // компилится, потому что объект не константный
}
// то же самое для shared_ptr
void raw_ptr2(const boost::shared_ptr<int> ptr) // константный указатель на не константный объект.
{
ptr = by; // не компилится, потому что указатель - константный
*ptr = 4; // компилится, потому что объект не константный
}
*/
BaseObjectPtr
PIVOTADDL
::
clone
()
{
...
...
@@ -101,31 +71,51 @@ const bool PIVOTADDL::loadContent(BinProcessor& proc)
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
proc
.
optional
<
SXAddl_SXCView_SXDVer10Info
>
();
proc
.
optional
<
SXAddl_SXCView_SXDVer12Info
>
();
proc
.
repeated
<
SXADDLCALCMEMBER
>
(
0
,
0
);
proc
.
repeated
<
SXADDLHIERARCHY
>
(
0
,
0
);
proc
.
repeated
<
SXADDLFIELD
>
(
0
,
0
);
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
optional
<
SXAddl_SXCView_SXDTableStyleClient
>
();
int
count
=
0
;
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVer10Info
>
())
{
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVer12Info
>
())
{
}
count
=
proc
.
repeated
<
SXADDLCALCMEMBER
>
(
0
,
0
);
count
=
proc
.
repeated
<
SXADDLHIERARCHY
>
(
0
,
0
);
count
=
proc
.
repeated
<
SXADDLFIELD
>
(
0
,
0
);
count
=
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
if
(
proc
.
optional
<
SXAddl_SXCView_SXDTableStyleClient
>
())
{
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDCompactRwHdr
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDCompactColHdr
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
proc
.
optional
<
SXAddl_SXCView_SXDVerUpdInv
>
();
proc
.
optional
<
SXADDLCONDFMTS
>
();
proc
.
optional
<
SXADDLSXFILTERS12
>
();
proc
.
repeated
<
SXAddl_SXCView_SXDVerUpdInv
>
(
0
,
0
);
proc
.
repeated
<
SXAddl_SXCView_SXDSXPIIvmb
>
(
0
,
0
);
proc
.
optional
<
SXAddl_SXCView_SXDVerUpdInv
>
();
proc
.
mandatory
<
SXAddl_SXCView_SXDEnd
>
();
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVerUpdInv
>
())
{
}
if
(
proc
.
optional
<
SXADDLCONDFMTS
>
())
{
}
if
(
proc
.
optional
<
SXADDLSXFILTERS12
>
())
{
}
count
=
proc
.
repeated
<
SXAddl_SXCView_SXDVerUpdInv
>
(
0
,
0
);
count
=
proc
.
repeated
<
SXAddl_SXCView_SXDSXPIIvmb
>
(
0
,
0
);
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVerUpdInv
>
())
{
}
if
(
proc
.
mandatory
<
SXAddl_SXCView_SXDEnd
>
())
{
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHEDEFINITION.cpp
View file @
270c1fa2
...
...
@@ -63,11 +63,24 @@ const bool PIVOTCACHEDEFINITION::loadContent(BinProcessor& proc)
{
return
false
;
}
#pragma message("####################### PIVOTCACHEDEFINITION union is not implemented")
Log
::
info
(
"PIVOTCACHEDEFINITION union is not implemented!!!!!!!!!!!!!!!"
);
proc
.
mandatory
<
SXVS
>
();
proc
.
optional
<
SXSRC
>
();
proc
.
optional
<
SXADDLCACHE
>
();
m_SXStreamID
=
elements_
.
back
();
elements_
.
pop_back
();
if
(
proc
.
mandatory
<
SXVS
>
())
{
m_SXVS
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXSRC
>
())
{
m_SXSRC
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXADDLCACHE
>
())
{
m_SXADDLCACHE
=
elements_
.
back
();
elements_
.
pop_back
();
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHEDEFINITION.h
View file @
270c1fa2
...
...
@@ -50,6 +50,11 @@ public:
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typePIVOTCACHEDEFINITION
;
BaseObjectPtr
m_SXStreamID
;
BaseObjectPtr
m_SXVS
;
BaseObjectPtr
m_SXSRC
;
BaseObjectPtr
m_SXADDLCACHE
;
};
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCORE.cpp
View file @
270c1fa2
...
...
@@ -66,12 +66,45 @@ const bool PIVOTCORE::loadContent(BinProcessor& proc)
{
return
false
;
}
proc
.
repeated
<
PIVOTVD
>
(
0
,
0
);
proc
.
repeated
<
PIVOTIVD
>
(
0
,
2
);
proc
.
optional
<
PIVOTPI
>
();
proc
.
repeated
<
SXDI
>
(
0
,
0
);
proc
.
repeated
<
PIVOTLI
>
(
0
,
0
);
proc
.
mandatory
<
PIVOTEX
>
();
m_SxView
=
elements_
.
back
();
elements_
.
pop_back
();
int
count
=
0
;
count
=
proc
.
repeated
<
PIVOTVD
>
(
0
,
0
);
while
(
count
--
)
{
m_arPIVOTVD
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
count
=
proc
.
repeated
<
PIVOTIVD
>
(
0
,
2
);
while
(
count
--
)
{
m_arPIVOTIVD
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
if
(
proc
.
optional
<
PIVOTPI
>
())
{
m_PIVOTPI
=
elements_
.
back
();
elements_
.
pop_back
();
}
count
=
proc
.
repeated
<
SXDI
>
(
0
,
0
);
while
(
count
--
)
{
m_arSXDI
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
count
=
proc
.
repeated
<
PIVOTLI
>
(
0
,
0
);
while
(
count
--
)
{
m_arPIVOTLI
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
if
(
proc
.
mandatory
<
PIVOTEX
>
())
{
m_PIVOTEX
=
elements_
.
back
();
elements_
.
pop_back
();
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCORE.h
View file @
270c1fa2
...
...
@@ -36,8 +36,6 @@
namespace
XLS
{
// Logical representation of PIVOTCORE union of records
class
PIVOTCORE
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
PIVOTCORE
)
...
...
@@ -50,6 +48,15 @@ public:
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typePIVOTCORE
;
BaseObjectPtr
m_SxView
;
std
::
vector
<
BaseObjectPtr
>
m_arPIVOTVD
;
std
::
vector
<
BaseObjectPtr
>
m_arPIVOTIVD
;
BaseObjectPtr
m_PIVOTPI
;
std
::
vector
<
BaseObjectPtr
>
m_arSXDI
;
std
::
vector
<
BaseObjectPtr
>
m_arPIVOTLI
;
BaseObjectPtr
m_PIVOTEX
;
};
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTFRT9.h
View file @
270c1fa2
...
...
@@ -36,8 +36,6 @@
namespace
XLS
{
// Logical representation of PIVOTFRT9 union of records
class
PIVOTFRT9
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
PIVOTFRT9
)
...
...
@@ -49,7 +47,12 @@ public:
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typePIVOTFRT9
;
static
const
ElementType
type
=
typePIVOTFRT9
;
BaseObjectPtr
m_QsiSXTag
;
BaseObjectPtr
m_SXViewEx9
;
BaseObjectPtr
m_DBQUERYEXT
;
BaseObjectPtr
m_PIVOTVIEWEX
;
};
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.cpp
View file @
270c1fa2
...
...
@@ -61,7 +61,7 @@ const bool PIVOTRULE::loadContent(BinProcessor& proc)
{
return
false
;
}
proc
.
repeated
<
PRFILTER
>
(
0
,
0
);
int
count
=
proc
.
repeated
<
PRFILTER
>
(
0
,
0
);
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTVIEW.cpp
View file @
270c1fa2
...
...
@@ -61,7 +61,14 @@ const bool PIVOTVIEW::loadContent(BinProcessor& proc)
{
return
false
;
}
proc
.
optional
<
PIVOTFRT
>
();
m_PIVOTCORE
=
elements_
.
back
();
elements_
.
pop_back
();
if
(
proc
.
optional
<
PIVOTFRT
>
())
{
m_PIVOTFRT
=
elements_
.
back
();
elements_
.
pop_back
();
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/GlobalsSubstream.cpp
View file @
270c1fa2
...
...
@@ -315,7 +315,16 @@ const bool GlobalsSubstream::loadContent(BinProcessor& proc)
//}
}
}
break
;
case
rt_SXStreamID
:
proc
.
repeated
<
PIVOTCACHEDEFINITION
>
(
0
,
0
);
break
;
case
rt_SXStreamID
:
{
count
=
proc
.
repeated
<
PIVOTCACHEDEFINITION
>
(
0
,
0
);
while
(
count
>
0
)
{
m_arPIVOTCACHEDEFINITION
.
insert
(
m_arPIVOTCACHEDEFINITION
.
begin
(),
elements_
.
back
());
elements_
.
pop_back
();
count
--
;
}
}
break
;
case
rt_DocRoute
:
proc
.
repeated
<
DOCROUTE
>
(
0
,
0
);
break
;
case
rt_UserBView
:
{
...
...
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