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
56a4e80c
Commit
56a4e80c
authored
Aug 23, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XlsFormat - tabletyled pivot tables
parent
6f93eeae
Changes
29
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
1460 additions
and
719 deletions
+1460
-719
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXAddl.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SXAddl.cpp
+452
-54
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXAddl.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXAddl.h
+487
-170
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.cpp
+111
-98
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.h
...ceXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.h
+13
-13
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTFRT.cpp
...eXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTFRT.cpp
+2
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTVIEW.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTVIEW.cpp
+19
-8
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLAUTOSORT.cpp
...le2/source/XlsFormat/Logic/Biff_unions/SXADDLAUTOSORT.cpp
+6
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHE.cpp
...sFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHE.cpp
+31
-31
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHE12.cpp
...ile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHE12.cpp
+38
-38
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHEFIELD.cpp
...2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHEFIELD.cpp
+36
-36
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHEITEM.cpp
...e2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHEITEM.cpp
+16
-16
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCALCMEMBER.cpp
...2/source/XlsFormat/Logic/Biff_unions/SXADDLCALCMEMBER.cpp
+8
-8
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCONDFMT.cpp
...ile2/source/XlsFormat/Logic/Biff_unions/SXADDLCONDFMT.cpp
+6
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCONDFMTS.cpp
...le2/source/XlsFormat/Logic/Biff_unions/SXADDLCONDFMTS.cpp
+6
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLDBQUERY.cpp
...ile2/source/XlsFormat/Logic/Biff_unions/SXADDLDBQUERY.cpp
+33
-33
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLFIELD.cpp
...sFile2/source/XlsFormat/Logic/Biff_unions/SXADDLFIELD.cpp
+16
-15
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLFIELD12.cpp
...ile2/source/XlsFormat/Logic/Biff_unions/SXADDLFIELD12.cpp
+17
-17
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLGROUP.cpp
...sFile2/source/XlsFormat/Logic/Biff_unions/SXADDLGROUP.cpp
+9
-9
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLGRPLEVEL.cpp
...le2/source/XlsFormat/Logic/Biff_unions/SXADDLGRPLEVEL.cpp
+9
-9
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLHIERARCHY.cpp
...e2/source/XlsFormat/Logic/Biff_unions/SXADDLHIERARCHY.cpp
+59
-59
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLQSI.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLQSI.cpp
+7
-7
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXDH.cpp
...lsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXDH.cpp
+6
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILT.cpp
...File2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILT.cpp
+7
-7
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILTER12.cpp
...2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILTER12.cpp
+31
-31
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILTERS12.cpp
.../source/XlsFormat/Logic/Biff_unions/SXADDLSXFILTERS12.cpp
+6
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXMG.cpp
...lsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXMG.cpp
+13
-13
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXMGS.cpp
...sFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXMGS.cpp
+8
-8
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXRULE.cpp
...File2/source/XlsFormat/Logic/Biff_unions/SXADDLSXRULE.cpp
+7
-7
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
+1
-0
No files found.
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXAddl.cpp
View file @
56a4e80c
This diff is collapsed.
Click to expand it.
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXAddl.h
View file @
56a4e80c
This diff is collapsed.
Click to expand it.
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.cpp
View file @
56a4e80c
...
...
@@ -69,109 +69,122 @@ PIVOTADDL = SXAddl_SXCView_SXDId *Continue_SxaddlSxString
[SXADDLSXFILTERS12] *SXAddl_SXCView_SXDVerUpdInv *SXAddl_SXCView_SXDSXPIIvmb
[SXAddl_SXCView_SXDVerUpdInv] SXAddl_SXCView_SXDEnd
*/
const
bool
PIVOTADDL
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCView_SXDId
>
())
{
return
false
;
}
m_SXAddl_SXCView_SXDId
=
elements_
.
back
();
elements_
.
pop_back
();
int
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVer10Info
>
())
{
m_SXAddl_SXCView_SXDVer10Info
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVer12Info
>
())
{
m_SXAddl_SXCView_SXDVer12Info
=
elements_
.
back
();
elements_
.
pop_back
();
}
count
=
proc
.
repeated
<
SXADDLCALCMEMBER
>
(
0
,
0
);
while
(
count
>
0
)
{
m_arSXADDLCALCMEMBER
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
count
--
;
}
count
=
proc
.
repeated
<
SXADDLHIERARCHY
>
(
0
,
0
);
while
(
count
>
0
)
{
m_arSXADDLHIERARCHY
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
count
--
;
}
count
=
proc
.
repeated
<
SXADDLFIELD
>
(
0
,
0
);
while
(
count
>
0
)
{
m_arSXADDLFIELD
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
count
--
;
}
count
=
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
if
(
proc
.
optional
<
SXAddl_SXCView_SXDTableStyleClient
>
())
{
m_SXAddl_SXCView_SXDTableStyleClient
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDCompactRwHdr
>
())
{
m_SXAddl_SXCView_SXDCompactRwHdr
=
elements_
.
back
();
elements_
.
pop_back
();
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDCompactColHdr
>
())
{
m_SXAddl_SXCView_SXDCompactColHdr
=
elements_
.
back
();
elements_
.
pop_back
();
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVerUpdInv
>
())
{
m_arSXAddl_SXCView_SXDVerUpdInv
.
push_back
(
elements_
.
back
());
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXADDLCONDFMTS
>
())
{
m_SXADDLCONDFMTS
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXADDLSXFILTERS12
>
())
{
m_SXAddl_SXADDLSXFILTERS12
=
elements_
.
back
();
elements_
.
pop_back
();
}
count
=
proc
.
repeated
<
SXAddl_SXCView_SXDVerUpdInv
>
(
0
,
0
);
while
(
count
>
0
)
{
m_arSXAddl_SXCView_SXDVerUpdInv
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
count
--
;
}
count
=
proc
.
repeated
<
SXAddl_SXCView_SXDSXPIIvmb
>
(
0
,
0
);
while
(
count
>
0
)
{
m_arSXAddl_SXCView_SXDSXPIIvmb
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
count
--
;
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDVerUpdInv
>
())
{
m_arSXAddl_SXCView_SXDVerUpdInv
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
int
count
=
proc
.
repeated
<
SXAddl
>
(
0
,
0
);
if
(
proc
.
optional
<
SXAddl_SXCView_SXDEnd
>
()
)
for
(
std
::
list
<
BaseObjectPtr
>::
iterator
it
=
elements_
.
begin
();
it
!=
elements_
.
end
();
it
++
)
{
elements_
.
pop_back
();
SXAddl
*
addl
=
dynamic_cast
<
SXAddl
*>
(
it
->
get
());
if
(
!
addl
)
continue
;
SXAddl_SXCView_SXDTableStyleClient
*
p
=
dynamic_cast
<
SXAddl_SXCView_SXDTableStyleClient
*>
(
addl
->
content
.
get
());
if
(
p
)
{
m_SXAddl_SXCView_SXDTableStyleClient
=
addl
->
content
;
}
}
//if(!proc.mandatory<SXAddl_SXCView_SXDId>())
//{
// return false;
//}
//m_SXAddl_SXCView_SXDId = elements_.back();
//elements_.pop_back();
//
//int count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//
//if (proc.optional<SXAddl_SXCView_SXDVer10Info>())
//{
// m_SXAddl_SXCView_SXDVer10Info = elements_.back();
// elements_.pop_back();
//}
//if (proc.optional<SXAddl_SXCView_SXDVer12Info>())
//{
// m_SXAddl_SXCView_SXDVer12Info = elements_.back();
// elements_.pop_back();
//}
//count = proc.repeated<SXADDLCALCMEMBER>(0, 0);
//while(count > 0)
//{
// m_arSXADDLCALCMEMBER.push_back(elements_.front());
// elements_.pop_front(); count--;
//}
//count = proc.repeated<SXADDLHIERARCHY>(0, 0);
//while(count > 0)
//{
// m_arSXADDLHIERARCHY.push_back(elements_.front());
// elements_.pop_front(); count--;
//}
//count = proc.repeated<SXADDLFIELD>(0, 0);
//while(count > 0)
//{
// m_arSXADDLFIELD.push_back(elements_.front());
// elements_.pop_front(); count--;
//}
//count = proc.repeated<UNKNOWNFRT>(0, 0);
//
//if (proc.optional<SXAddl_SXCView_SXDTableStyleClient>())
//{
// m_SXAddl_SXCView_SXDTableStyleClient = elements_.back();
// elements_.pop_back();
//}
//if(proc.optional<SXAddl_SXCView_SXDCompactRwHdr>())
//{
// m_SXAddl_SXCView_SXDCompactRwHdr = elements_.back();
// elements_.pop_back();
// count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//}
//if(proc.optional<SXAddl_SXCView_SXDCompactColHdr>())
//{
// m_SXAddl_SXCView_SXDCompactColHdr = elements_.back();
// elements_.pop_back();
// count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//}
//if (proc.optional<SXAddl_SXCView_SXDVerUpdInv>())
//{
// m_arSXAddl_SXCView_SXDVerUpdInv.push_back(elements_.back());
// elements_.pop_back();
//}
//if (proc.optional<SXADDLCONDFMTS>())
//{
// m_SXADDLCONDFMTS = elements_.back();
// elements_.pop_back();
//}
//if (proc.optional<SXADDLSXFILTERS12>())
//{
// m_SXAddl_SXADDLSXFILTERS12 = elements_.back();
// elements_.pop_back();
//}
//count = proc.repeated<SXAddl_SXCView_SXDVerUpdInv>(0, 0);
//while(count > 0)
//{
// m_arSXAddl_SXCView_SXDVerUpdInv.push_back(elements_.front());
// elements_.pop_front(); count--;
//}
//count = proc.repeated<SXAddl_SXCView_SXDSXPIIvmb>(0, 0);
//while(count > 0)
//{
// m_arSXAddl_SXCView_SXDSXPIIvmb.push_back(elements_.front());
// elements_.pop_front(); count--;
//}
//if (proc.optional<SXAddl_SXCView_SXDVerUpdInv>())
//{
// m_arSXAddl_SXCView_SXDVerUpdInv.push_back(elements_.front());
// elements_.pop_front();
//}
//if (proc.optional<SXAddl_SXCView_SXDEnd>())
//{
// elements_.pop_back();
//}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTADDL.h
View file @
56a4e80c
...
...
@@ -49,21 +49,21 @@ public:
static
const
ElementType
type
=
typePIVOTADDL
;
B
aseObject
Ptr
m_SXAddl_SXCView_SXDId
;
B
aseObject
Ptr
m_SXAddl_SXCView_SXDVer10Info
;
B
aseObject
Ptr
m_SXAddl_SXCView_SXDVer12Info
;
B
iffStructure
Ptr
m_SXAddl_SXCView_SXDId
;
B
iffStructure
Ptr
m_SXAddl_SXCView_SXDVer10Info
;
B
iffStructure
Ptr
m_SXAddl_SXCView_SXDVer12Info
;
B
aseObject
Ptr
m_SXAddl_SXCView_SXDCompactRwHdr
;
B
aseObject
Ptr
m_SXAddl_SXCView_SXDCompactColHdr
;
B
aseObject
Ptr
m_SXAddl_SXADDLSXFILTERS12
;
B
aseObject
Ptr
m_SXADDLCONDFMTS
;
B
aseObject
Ptr
m_SXAddl_SXCView_SXDTableStyleClient
;
B
iffStructure
Ptr
m_SXAddl_SXCView_SXDCompactRwHdr
;
B
iffStructure
Ptr
m_SXAddl_SXCView_SXDCompactColHdr
;
B
iffStructure
Ptr
m_SXAddl_SXADDLSXFILTERS12
;
B
iffStructure
Ptr
m_SXADDLCONDFMTS
;
B
iffStructure
Ptr
m_SXAddl_SXCView_SXDTableStyleClient
;
std
::
vector
<
B
aseObject
Ptr
>
m_arSXAddl_SXCView_SXDVerUpdInv
;
std
::
vector
<
B
aseObject
Ptr
>
m_arSXAddl_SXCView_SXDSXPIIvmb
;
std
::
vector
<
B
aseObject
Ptr
>
m_arSXADDLFIELD
;
std
::
vector
<
B
aseObject
Ptr
>
m_arSXADDLHIERARCHY
;
std
::
vector
<
B
aseObject
Ptr
>
m_arSXADDLCALCMEMBER
;
std
::
vector
<
B
iffStructure
Ptr
>
m_arSXAddl_SXCView_SXDVerUpdInv
;
std
::
vector
<
B
iffStructure
Ptr
>
m_arSXAddl_SXCView_SXDSXPIIvmb
;
std
::
vector
<
B
iffStructure
Ptr
>
m_arSXADDLFIELD
;
std
::
vector
<
B
iffStructure
Ptr
>
m_arSXADDLHIERARCHY
;
std
::
vector
<
B
iffStructure
Ptr
>
m_arSXADDLCALCMEMBER
;
};
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTFRT.cpp
View file @
56a4e80c
...
...
@@ -31,8 +31,8 @@
*/
#include "PIVOTFRT.h"
#include
<Logic/Biff_unions/PIVOTFRT9.h>
#include
<Logic/Biff_unions/PIVOTADDL.h>
#include
"PIVOTFRT9.h"
#include
"PIVOTADDL.h"
namespace
XLS
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTVIEW.cpp
View file @
56a4e80c
...
...
@@ -38,9 +38,11 @@
#include "PIVOTPI.h"
#include "PIVOTLI.h"
#include "PIVOTEX.h"
#include "PIVOTADDL.h"
#include "../Biff_records/SXDI.h"
#include "../Biff_records/SxView.h"
#include "../Biff_records/SXAddl.h"
namespace
XLS
{
...
...
@@ -96,6 +98,8 @@ int PIVOTVIEW::serialize(std::wostream & strm)
PIVOTFRT
*
frt
=
dynamic_cast
<
PIVOTFRT
*>
(
m_PIVOTFRT
.
get
());
PIVOTADDL
*
addls
=
frt
?
dynamic_cast
<
PIVOTADDL
*>
(
frt
->
m_PIVOTADDL
.
get
())
:
NULL
;
indexCache
=
view
->
iCache
;
CP_XML_WRITER
(
strm
)
...
...
@@ -204,14 +208,21 @@ int PIVOTVIEW::serialize(std::wostream & strm)
}
}
}
//CP_XML_NODE(L"pivotTableStyleInfo")
//{
// CP_XML_ATTR(L"showRowHeaders", 1);
// CP_XML_ATTR(L"showColHeaders", 1);
// CP_XML_ATTR(L"showRowStripes", 0);
// CP_XML_ATTR(L"showColStripes", 0);
// CP_XML_ATTR(L"showLastColumn", 1);
//}
if
((
addls
)
&&
(
addls
->
m_SXAddl_SXCView_SXDTableStyleClient
))
{
SXAddl_SXCView_SXDTableStyleClient
*
table_style
=
dynamic_cast
<
SXAddl_SXCView_SXDTableStyleClient
*>
(
addls
->
m_SXAddl_SXCView_SXDTableStyleClient
.
get
());
CP_XML_NODE
(
L"pivotTableStyleInfo"
)
{
CP_XML_ATTR
(
L"name"
,
table_style
->
stName
.
value
());
CP_XML_ATTR
(
L"showRowHeaders"
,
table_style
->
fRowHeaders
);
CP_XML_ATTR
(
L"showColHeaders"
,
table_style
->
fColumnHeaders
);
CP_XML_ATTR
(
L"showRowStripes"
,
table_style
->
fRowStrips
);
CP_XML_ATTR
(
L"showColStripes"
,
table_style
->
fColumnStrips
);
CP_XML_ATTR
(
L"showLastColumn"
,
table_style
->
fLastColumn
);
}
}
}
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLAUTOSORT.cpp
View file @
56a4e80c
...
...
@@ -57,12 +57,12 @@ BaseObjectPtr SXADDLAUTOSORT::clone()
// SXADDLAUTOSORT = SXAddl_SXCAutoSort_SXDId SXADDLSXRULE SXAddl_SXCAutoSort_SXDEnd
const
bool
SXADDLAUTOSORT
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCAutoSort_SXDId
>
())
{
return
false
;
}
proc
.
mandatory
<
SXADDLSXRULE
>
();
proc
.
mandatory
<
SXAddl_SXCAutoSort_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCAutoSort_SXDId>())
//
{
//
return false;
//
}
//
proc.mandatory<SXADDLSXRULE>();
//
proc.mandatory<SXAddl_SXCAutoSort_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHE.cpp
View file @
56a4e80c
...
...
@@ -60,39 +60,39 @@ BaseObjectPtr SXADDLCACHE::clone()
//[SXADDLCACHE12] [SXADDLDBQUERY] *UNKNOWNFRT SXAddl_SXCCache_SXDEnd
const
bool
SXADDLCACHE
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCache_SXDId
>
())
{
return
false
;
}
m_SXCCache_SXDId
=
elements_
.
back
();
elements_
.
pop_back
();
//
if(!proc.mandatory<SXAddl_SXCCache_SXDId>())
//
{
//
return false;
//
}
//
m_SXCCache_SXDId = elements_.back();
//
elements_.pop_back();
if
(
proc
.
optional
<
SXAddl_SXCCache_SXDVer10Info
>
())
{
m_SXDVer10Info
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXAddl_SXCCache_SXDVerSXMacro
>
())
{
m_SXDVerSXMacro
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXADDLCACHE12
>
())
{
m_SXADDLCACHE12
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXADDLDBQUERY
>
())
{
m_SXADDLDBQUERY
=
elements_
.
back
();
elements_
.
pop_back
();
}
int
count
=
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
//
if (proc.optional<SXAddl_SXCCache_SXDVer10Info>())
//
{
//
m_SXDVer10Info = elements_.back();
//
elements_.pop_back();
//
}
//
if (proc.optional<SXAddl_SXCCache_SXDVerSXMacro>())
//
{
//
m_SXDVerSXMacro = elements_.back();
//
elements_.pop_back();
//
}
//
if (proc.optional<SXADDLCACHE12>())
//
{
//
m_SXADDLCACHE12 = elements_.back();
//
elements_.pop_back();
//
}
//
if (proc.optional<SXADDLDBQUERY>())
//
{
//
m_SXADDLDBQUERY = elements_.back();
//
elements_.pop_back();
//
}
//
int count = proc.repeated<UNKNOWNFRT>(0, 0);
if
(
proc
.
optional
<
SXAddl_SXCCache_SXDEnd
>
())
{
elements_
.
pop_back
();
}
//
if (proc.optional<SXAddl_SXCCache_SXDEnd>())
//
{
//
elements_.pop_back();
//
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHE12.cpp
View file @
56a4e80c
...
...
@@ -60,45 +60,45 @@ BaseObjectPtr SXADDLCACHE12::clone()
// *SXADDLCACHEFIELD [SXADDLSXDH] [SXADDLSXMGS] SXAddl_SXCCache_SXDVerUpdInv
const
bool
SXADDLCACHE12
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCache_SXDVerUpdInv
>
())
{
return
false
;
}
m_SXAddl_SXCCache_SXDVerUpdInv
=
elements_
.
back
();
elements_
.
pop_back
();
//
if(!proc.mandatory<SXAddl_SXCCache_SXDVerUpdInv>())
//
{
//
return false;
//
}
//
m_SXAddl_SXCCache_SXDVerUpdInv = elements_.back();
//
elements_.pop_back();
if
(
proc
.
optional
<
SXAddl_SXCCache_SXDInfo12
>
())
{
m_SXAddl_SXCCache_SXDInfo12
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXAddl_SXCCache_SXDInvRefreshReal
>
())
{
m_SXAddl_SXCCache_SXDInvRefreshReal
=
elements_
.
back
();
elements_
.
pop_back
();
}
int
count
=
proc
.
repeated
<
SXADDLCACHEFIELD
>
(
0
,
0
);
while
(
count
>
0
)
{
m_arSXADDLCACHEFIELD
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
count
--
;
}
if
(
proc
.
optional
<
SXADDLSXDH
>
())
{
m_SXADDLSXDH
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXADDLSXMGS
>
())
{
m_SXADDLSXMGS
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXAddl_SXCCache_SXDVerUpdInv
>
())
{
m_SXAddl_SXCCache_SXDVerUpdInvS
=
elements_
.
back
();
elements_
.
pop_back
();
}
//
if (proc.optional<SXAddl_SXCCache_SXDInfo12>())
//
{
//
m_SXAddl_SXCCache_SXDInfo12 = elements_.back();
//
elements_.pop_back();
//
}
//
if (proc.optional<SXAddl_SXCCache_SXDInvRefreshReal>())
//
{
//
m_SXAddl_SXCCache_SXDInvRefreshReal = elements_.back();
//
elements_.pop_back();
//
}
//
//
int count = proc.repeated<SXADDLCACHEFIELD>(0, 0);
//
while(count > 0)
//
{
//
m_arSXADDLCACHEFIELD.push_back(elements_.front());
//
elements_.pop_front(); count--;
//
}
//
if (proc.optional<SXADDLSXDH>())
//
{
//
m_SXADDLSXDH = elements_.back();
//
elements_.pop_back();
//
}
//
if (proc.optional<SXADDLSXMGS>())
//
{
//
m_SXADDLSXMGS = elements_.back();
//
elements_.pop_back();
//
}
//
if (proc.optional<SXAddl_SXCCache_SXDVerUpdInv>())
//
{
//
m_SXAddl_SXCCache_SXDVerUpdInvS = elements_.back();
//
elements_.pop_back();
//
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHEFIELD.cpp
View file @
56a4e80c
...
...
@@ -59,11 +59,11 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheField_SXDCaption
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
//
if(!proc.mandatory<SXAddl_SXCCacheField_SXDCaption>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
return
true
;
};
};
...
...
@@ -81,11 +81,11 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheField_SXDPropName
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
//
if(!proc.mandatory<SXAddl_SXCCacheField_SXDPropName>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
return
true
;
};
};
...
...
@@ -102,11 +102,11 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheField_SXDProperty
>
())
{
return
false
;
}
proc
.
optional
<
Parenthesis_SXADDLCACHEFIELD_3
>
();
//
if(!proc.mandatory<SXAddl_SXCCacheField_SXDProperty>())
//
{
//
return false;
//
}
//
proc.optional<Parenthesis_SXADDLCACHEFIELD_3>();
return
true
;
};
};
...
...
@@ -123,11 +123,11 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheField_SXDIfdbMpMapCount
>
())
{
return
false
;
}
proc
.
mandatory
<
SXAddl_SXCCacheField_SXDIfdbMempropMap
>
();
//
if(!proc.mandatory<SXAddl_SXCCacheField_SXDIfdbMpMapCount>())
//
{
//
return false;
//
}
//
proc.mandatory<SXAddl_SXCCacheField_SXDIfdbMempropMap>();
return
true
;
};
};
...
...
@@ -144,12 +144,12 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheField_SXDSxrmitmCount
>
())
{
return
false
;
}
proc
.
repeated
<
SXADDLCACHEITEM
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCCacheItem_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCCacheField_SXDSxrmitmCount>())
//
{
//
return false;
//
}
//
proc.repeated<SXADDLCACHEITEM>(0, 0);
//
proc.mandatory<SXAddl_SXCCacheItem_SXDEnd>();
return
true
;
};
};
...
...
@@ -171,16 +171,16 @@ BaseObjectPtr SXADDLCACHEFIELD::clone()
// SXAddl_SXCCacheField_SXDEnd
const
bool
SXADDLCACHEFIELD
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheField_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
proc
.
optional
<
Parenthesis_SXADDLCACHEFIELD_1
>
();
proc
.
optional
<
Parenthesis_SXADDLCACHEFIELD_2
>
();
proc
.
optional
<
Parenthesis_SXADDLCACHEFIELD_4
>
();
proc
.
optional
<
Parenthesis_SXADDLCACHEFIELD_5
>
();
proc
.
optional
<
SXAddl_SXCCacheField_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCCacheField_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
proc.optional<Parenthesis_SXADDLCACHEFIELD_1>();
//
proc.optional<Parenthesis_SXADDLCACHEFIELD_2>();
//
proc.optional<Parenthesis_SXADDLCACHEFIELD_4>();
//
proc.optional<Parenthesis_SXADDLCACHEFIELD_5>();
//
proc.optional<SXAddl_SXCCacheField_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCACHEITEM.cpp
View file @
56a4e80c
...
...
@@ -58,11 +58,11 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheItem_SXDSxrmitmDisp
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
//
if(!proc.mandatory<SXAddl_SXCCacheItem_SXDSxrmitmDisp>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
return
true
;
};
};
...
...
@@ -79,11 +79,11 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheItem_SXDItmMpMapCount
>
())
{
return
false
;
}
proc
.
mandatory
<
SXAddl_SXCCacheItem_SXDItmMpropMap
>
();
//
if(!proc.mandatory<SXAddl_SXCCacheItem_SXDItmMpMapCount>())
//
{
//
return false;
//
}
//
proc.mandatory<SXAddl_SXCCacheItem_SXDItmMpropMap>();
return
true
;
};
};
...
...
@@ -99,12 +99,12 @@ BaseObjectPtr SXADDLCACHEITEM::clone()
// *(SXAddl_SXCCacheItem_SXDItmMpMapCount SXAddl_SXCCacheItem_SXDItmMpropMap)
const
bool
SXADDLCACHEITEM
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCCacheItem_SXDId
>
())
{
return
false
;
}
proc
.
optional
<
Parenthesis_SXADDLCACHEITEM_1
>
();
proc
.
repeated
<
Parenthesis_SXADDLCACHEITEM_2
>
(
0
,
0
);
//
if(!proc.mandatory<SXAddl_SXCCacheItem_SXDId>())
//
{
//
return false;
//
}
//
proc.optional<Parenthesis_SXADDLCACHEITEM_1>();
//
proc.repeated<Parenthesis_SXADDLCACHEITEM_2>(0, 0);
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCALCMEMBER.cpp
View file @
56a4e80c
...
...
@@ -56,14 +56,14 @@ BaseObjectPtr SXADDLCALCMEMBER::clone()
// SXADDLCALCMEMBER = (SXAddl_SXCView_SXDCalcMember [SXAddl_SXCView_SXDCalcMemString *Continue_SxaddlSxString])
const
bool
SXADDLCALCMEMBER
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCView_SXDCalcMember
>
())
{
return
false
;
}
if
(
proc
.
optional
<
SXAddl_SXCView_SXDCalcMemString
>
())
{
int
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
//
if(!proc.mandatory<SXAddl_SXCView_SXDCalcMember>())
//
{
//
return false;
//
}
//
if(proc.optional<SXAddl_SXCView_SXDCalcMemString>())
//
{
//
int count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCONDFMT.cpp
View file @
56a4e80c
...
...
@@ -57,12 +57,12 @@ BaseObjectPtr SXADDLCONDFMT::clone()
// SXADDLCONDFMT = SXAddl_SXCSXCondFmt_SXDSXCondFmt *SXADDLSXRULE SXAddl_SXCSXCondFmt_SXDEnd
const
bool
SXADDLCONDFMT
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXCondFmt_SXDSXCondFmt
>
())
{
return
false
;
}
proc
.
repeated
<
SXADDLSXRULE
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCSXCondFmt_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXCondFmt_SXDSXCondFmt>())
//
{
//
return false;
//
}
//
proc.repeated<SXADDLSXRULE>(0, 0);
//
proc.mandatory<SXAddl_SXCSXCondFmt_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLCONDFMTS.cpp
View file @
56a4e80c
...
...
@@ -57,12 +57,12 @@ BaseObjectPtr SXADDLCONDFMTS::clone()
// SXADDLCONDFMTS = SXAddl_SXCSXCondFmts_SXDId *SXADDLCONDFMT SXAddl_SXCSXCondFmts_SXDEnd
const
bool
SXADDLCONDFMTS
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXCondFmts_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
SXADDLCONDFMT
>
(
0
,
0
);
proc
.
optional
<
SXAddl_SXCSXCondFmts_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXCondFmts_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<SXADDLCONDFMT>(0, 0);
//
proc.optional<SXAddl_SXCSXCondFmts_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLDBQUERY.cpp
View file @
56a4e80c
...
...
@@ -61,39 +61,39 @@ SXADDLDBQUERY = [SXAddl_SXCQuery_SXDXMLSource *Continue_SxaddlSxString]
*/
const
bool
SXADDLDBQUERY
::
loadContent
(
BinProcessor
&
proc
)
{
int
count
=
0
;
if
(
proc
.
optional
<
SXAddl_SXCQuery_SXDXMLSource
>
())
{
m_XMLSource
=
elements_
.
back
();
elements_
.
pop_back
();
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCQuery_SXDSrcDataFile
>
())
{
m_SrcDataFile
=
elements_
.
back
();
elements_
.
pop_back
();
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCQuery_SXDSrcConnFile
>
())
{
m_SrcConnFile
=
elements_
.
back
();
elements_
.
pop_back
();
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCQuery_SXDReconnCond
>
())
{
m_ReconnCond
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
mandatory
<
SXAddl_SXCQuery_SXDEnd
>
())
{
elements_
.
pop_back
();
}
//
int count = 0;
//
//
if(proc.optional<SXAddl_SXCQuery_SXDXMLSource>())
//
{
//
m_XMLSource = elements_.back();
//
elements_.pop_back();
//
count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCQuery_SXDSrcDataFile>())
//
{
//
m_SrcDataFile = elements_.back();
//
elements_.pop_back();
//
count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCQuery_SXDSrcConnFile>())
//
{
//
m_SrcConnFile = elements_.back();
//
elements_.pop_back();
//
count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCQuery_SXDReconnCond>())
//
{
//
m_ReconnCond = elements_.back();
//
elements_.pop_back();
//
}
//
if(proc.mandatory<SXAddl_SXCQuery_SXDEnd>())
//
{
//
elements_.pop_back();
//
}
return
m_XMLSource
||
m_SrcConnFile
||
m_SrcDataFile
||
m_ReconnCond
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLFIELD.cpp
View file @
56a4e80c
...
...
@@ -60,22 +60,23 @@ SXADDLFIELD = [SXAddl_SXCField_SXDId *Continue_SxaddlSxString SXAddl_SXCField_SX
*/
const
bool
SXADDLFIELD
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
proc
.
optional
<
SXAddl_SXCField_SXDId
>
())
{
int
count
=
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
if
(
proc
.
mandatory
<
SXAddl_SXCField_SXDVer10Info
>
())
{
}
if
(
proc
.
mandatory
<
SXAddl_SXCField_SXDEnd
>
())
{
}
if
(
proc
.
optional
<
SXADDLFIELD12
>
())
{
}
return
true
;
}
//
if(proc.optional<SXAddl_SXCField_SXDId>())
//
{
//
int count = proc.repeated<Continue_SxaddlSxString>(0, 0);
//
if (proc.mandatory<SXAddl_SXCField_SXDVer10Info>())
//
{
//
}
//
if (proc.mandatory<SXAddl_SXCField_SXDEnd>())
//
{
//
}
//
if (proc.optional<SXADDLFIELD12>())
//
{
//
}
//
return true;
//
}
return
proc
.
optional
<
SXADDLFIELD12
>
();
//return proc.optional<SXADDLFIELD12>();
return
true
;
}
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLFIELD12.cpp
View file @
56a4e80c
...
...
@@ -63,23 +63,23 @@ SXADDLFIELD12 = SXAddl_SXCField12_SXDId *Continue_SxaddlSxString SXAddl_SXCField
*/
const
bool
SXADDLFIELD12
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCField12_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCField12_SXDVer12Info
>
();
proc
.
mandatory
<
SXAddl_SXCField12_SXDVerUpdInv
>
();
if
(
proc
.
optional
<
SXAddl_SXCField12_SXDMemberCaption
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
proc
.
optional
<
SXAddl_SXCField12_SXDAutoshow
>
();
proc
.
optional
<
SXAddl_SXCField12_SXDISXTH
>
();
proc
.
optional
<
SXADDLAUTOSORT
>
();
proc
.
mandatory
<
SXAddl_SXCField12_SXDVerUpdInv
>
();
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCField12_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCField12_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
proc.mandatory<SXAddl_SXCField12_SXDVer12Info>();
//
proc.mandatory<SXAddl_SXCField12_SXDVerUpdInv>();
//
if(proc.optional<SXAddl_SXCField12_SXDMemberCaption>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
proc.optional<SXAddl_SXCField12_SXDAutoshow>();
//
proc.optional<SXAddl_SXCField12_SXDISXTH>();
//
proc.optional<SXADDLAUTOSORT>();
//
proc.mandatory<SXAddl_SXCField12_SXDVerUpdInv>();
//
proc.repeated<UNKNOWNFRT>(0, 0);
//
proc.mandatory<SXAddl_SXCField12_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLGROUP.cpp
View file @
56a4e80c
...
...
@@ -60,15 +60,15 @@ SXADDLGROUP = SXAddl_SXCGroup_SXDId *Continue_SxaddlSxString SXAddl_SXCGroup_SXD
*/
const
bool
SXADDLGROUP
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCGroup_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCGroup_SXDGrpInfo
>
();
proc
.
repeated
<
SXAddl_SXCGroup_SXDMember
>
(
0
,
0
);
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCGroup_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCGroup_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
proc.mandatory<SXAddl_SXCGroup_SXDGrpInfo>();
//
proc.repeated<SXAddl_SXCGroup_SXDMember>(0, 0);
//
proc.repeated<UNKNOWNFRT>(0, 0);
//
proc.mandatory<SXAddl_SXCGroup_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLGRPLEVEL.cpp
View file @
56a4e80c
...
...
@@ -61,15 +61,15 @@ SXADDLGRPLEVEL = SXAddl_SXCGrpLevel_SXDId *Continue_SxaddlSxString SXAddl_SXCGrp
*/
const
bool
SXADDLGRPLEVEL
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCGrpLevel_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCGrpLevel_SXDGrpLevelInfo
>
();
proc
.
repeated
<
SXADDLGROUP
>
(
0
,
0
);
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCGrpLevel_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCGrpLevel_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
proc.mandatory<SXAddl_SXCGrpLevel_SXDGrpLevelInfo>();
//
proc.repeated<SXADDLGROUP>(0, 0);
//
proc.repeated<UNKNOWNFRT>(0, 0);
//
proc.mandatory<SXAddl_SXCGrpLevel_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLHIERARCHY.cpp
View file @
56a4e80c
...
...
@@ -75,67 +75,67 @@ SXADDLHIERARCHY = SXAddl_SXCHierarchy_SXDId *Continue_SxaddlSxString *SXAddl_SXC
*/
const
bool
SXADDLHIERARCHY
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCHierarchy_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
proc
.
repeated
<
SXAddl_SXCHierarchy_SXDProperty
>
(
0
,
0
);
proc
.
repeated
<
SXADDLGRPLEVEL
>
(
0
,
0
);
proc
.
optional
<
SXAddl_SXCHierarchy_SXDVerUpdInv
>
();
//
if(!proc.mandatory<SXAddl_SXCHierarchy_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
proc.repeated<SXAddl_SXCHierarchy_SXDProperty>(0, 0);
//
proc.repeated<SXADDLGRPLEVEL>(0, 0);
//
proc.optional<SXAddl_SXCHierarchy_SXDVerUpdInv>();
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDSXSetParentUnique
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
proc
.
optional
<
SXAddl_SXCHierarchy_SXDIconSet
>
();
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDUserCaption
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
optional
<
SXAddl_SXCHierarchy_SXDVerUpdInv
>
();
proc
.
repeated
<
SXAddl_SXCHierarchy_SXDUserCaption
>
(
0
,
0
);
proc
.
optional
<
SXAddl_SXCHierarchy_SXDVerUpdInv
>
();
proc
.
optional
<
SXAddl_SXCHierarchy_SXDInfo12
>
();
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDDisplayFolder
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDMeasureGrp
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDParentKPI
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDKPIValue
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDKPIGoal
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDKPIStatus
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDKPITrend
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDKPIWeight
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCHierarchy_SXDKPITime
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDSXSetParentUnique>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
proc.optional<SXAddl_SXCHierarchy_SXDIconSet>();
//
if(proc.optional<SXAddl_SXCHierarchy_SXDUserCaption>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
proc.repeated<UNKNOWNFRT>(0, 0);
//
proc.optional<SXAddl_SXCHierarchy_SXDVerUpdInv>();
//
proc.repeated<SXAddl_SXCHierarchy_SXDUserCaption>(0, 0);
//
proc.optional<SXAddl_SXCHierarchy_SXDVerUpdInv>();
//
proc.optional<SXAddl_SXCHierarchy_SXDInfo12>();
//
if(proc.optional<SXAddl_SXCHierarchy_SXDDisplayFolder>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDMeasureGrp>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDParentKPI>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDKPIValue>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDKPIGoal>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDKPIStatus>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDKPITrend>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDKPIWeight>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCHierarchy_SXDKPITime>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
proc
.
mandatory
<
SXAddl_SXCHierarchy_SXDEnd
>
();
//
proc.mandatory<SXAddl_SXCHierarchy_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLQSI.cpp
View file @
56a4e80c
...
...
@@ -58,13 +58,13 @@ BaseObjectPtr SXADDLQSI::clone()
// SXADDLQSI = SXAddl_SXCQsi_SXDId SXADDLDBQUERY *UNKNOWNFRT SXAddl_SXCQsi_SXDEnd
const
bool
SXADDLQSI
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCQsi_SXDId
>
())
{
return
false
;
}
proc
.
mandatory
<
SXADDLDBQUERY
>
();
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCQsi_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCQsi_SXDId>())
//
{
//
return false;
//
}
//
proc.mandatory<SXADDLDBQUERY>();
//
proc.repeated<UNKNOWNFRT>(0, 0);
//
proc.mandatory<SXAddl_SXCQsi_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXDH.cpp
View file @
56a4e80c
...
...
@@ -57,12 +57,12 @@ BaseObjectPtr SXADDLSXDH::clone()
const
bool
SXADDLSXDH
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXDH_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
SXAddl_SXCSXDH_SXDSxdh
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCSXDH_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXDH_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<SXAddl_SXCSXDH_SXDSxdh>(0, 0);
//
proc.mandatory<SXAddl_SXCSXDH_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILT.cpp
View file @
56a4e80c
...
...
@@ -56,13 +56,13 @@ BaseObjectPtr SXADDLSXFILT::clone()
// SXADDLSXFILT = SXAddl_SXCSXfilt_SXDId SXAddl_SXCSXfilt_SXDSXfilt [SXAddl_SXCSXfilt_SXDSXItm] SXAddl_SXCSXfilt_SXDEnd
const
bool
SXADDLSXFILT
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXfilt_SXDId
>
())
{
return
false
;
}
proc
.
mandatory
<
SXAddl_SXCSXfilt_SXDSXfilt
>
();
proc
.
optional
<
SXAddl_SXCSXfilt_SXDSXItm
>
();
proc
.
mandatory
<
SXAddl_SXCSXfilt_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXfilt_SXDId>())
//
{
//
return false;
//
}
//
proc.mandatory<SXAddl_SXCSXfilt_SXDSXfilt>();
//
proc.optional<SXAddl_SXCSXfilt_SXDSXItm>();
//
proc.mandatory<SXAddl_SXCSXfilt_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILTER12.cpp
View file @
56a4e80c
...
...
@@ -65,38 +65,38 @@ SXADDLSXFILTER12 = SXAddl_SXCSXFilter12_SXDId SXAddl_SXCSXFilter12_SXDSXFilter
*/
const
bool
SXADDLSXFILTER12
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXFilter12_SXDId
>
())
{
return
false
;
}
proc
.
mandatory
<
SXAddl_SXCSXFilter12_SXDSXFilter
>
();
//
if(!proc.mandatory<SXAddl_SXCSXFilter12_SXDId>())
//
{
//
return false;
//
}
//
proc.mandatory<SXAddl_SXCSXFilter12_SXDSXFilter>();
if
(
proc
.
optional
<
SXAddl_SXCSXFilter12_SXDCaption
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCSXFilter12_SXDSXFilterDesc
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCSXFilter12_SXDSXFilterValue1
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCSXFilter12_SXDSXFilterValue2
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
proc
.
mandatory
<
SXAddl_SXCSXFilter12_SXDXlsFilter
>
();
if
(
proc
.
optional
<
SXAddl_SXCSXFilter12_SXDXlsFilterValue1
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
if
(
proc
.
optional
<
SXAddl_SXCSXFilter12_SXDXlsFilterValue2
>
())
{
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
}
proc
.
mandatory
<
SXAddl_SXCSXFilter12_SXDEnd
>
();
//
if(proc.optional<SXAddl_SXCSXFilter12_SXDCaption>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCSXFilter12_SXDSXFilterDesc>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCSXFilter12_SXDSXFilterValue1>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCSXFilter12_SXDSXFilterValue2>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
proc.mandatory<SXAddl_SXCSXFilter12_SXDXlsFilter>();
//
if(proc.optional<SXAddl_SXCSXFilter12_SXDXlsFilterValue1>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
if(proc.optional<SXAddl_SXCSXFilter12_SXDXlsFilterValue2>())
//
{
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
}
//
proc.mandatory<SXAddl_SXCSXFilter12_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXFILTERS12.cpp
View file @
56a4e80c
...
...
@@ -57,12 +57,12 @@ BaseObjectPtr SXADDLSXFILTERS12::clone()
// SXADDLSXFILTERS12 = SXAddl_SXCSXFilters12_SXDId *SXADDLSXFILTER12 SXAddl_SXCSXFilters12_SXDEnd
const
bool
SXADDLSXFILTERS12
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXFilters12_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
SXADDLSXFILTER12
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCSXFilters12_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXFilters12_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<SXADDLSXFILTER12>(0, 0);
//
proc.mandatory<SXAddl_SXCSXFilters12_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXMG.cpp
View file @
56a4e80c
...
...
@@ -59,11 +59,11 @@ public:
const
bool
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXMg_SXDUserCaption
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
//
if(!proc.mandatory<SXAddl_SXCSXMg_SXDUserCaption>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
return
true
;
};
};
...
...
@@ -80,14 +80,14 @@ BaseObjectPtr SXADDLSXMG::clone()
// [SXAddl_SXCSXMg_SXDUserCaption *Continue_SxaddlSxString] *UNKNOWNFRT SXAddl_SXCSXMg_SXDEnd
const
bool
SXADDLSXMG
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXMg_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
Continue_SxaddlSxString
>
(
0
,
0
);
proc
.
optional
<
Parenthesis_SXADDLSXMG_1
>
();
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCSXMg_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXMg_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<Continue_SxaddlSxString>(0, 0);
//
proc.optional<Parenthesis_SXADDLSXMG_1>();
//
proc.repeated<UNKNOWNFRT>(0, 0);
//
proc.mandatory<SXAddl_SXCSXMg_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXMGS.cpp
View file @
56a4e80c
...
...
@@ -58,14 +58,14 @@ BaseObjectPtr SXADDLSXMGS::clone()
// SXADDLSXMGS = SXAddl_SXCSXMgs_SXDId *SXADDLSXMG *SXAddl_SXCSXMgs_SXDMGrpSXDHMap *UNKNOWNFRT SXAddl_SXCSXMgs_SXDEnd
const
bool
SXADDLSXMGS
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXMgs_SXDId
>
())
{
return
false
;
}
proc
.
repeated
<
SXADDLSXMG
>
(
0
,
0
);
proc
.
repeated
<
SXAddl_SXCSXMgs_SXDMGrpSXDHMap
>
(
0
,
0
);
proc
.
repeated
<
UNKNOWNFRT
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCSXMgs_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXMgs_SXDId>())
//
{
//
return false;
//
}
//
proc.repeated<SXADDLSXMG>(0, 0);
//
proc.repeated<SXAddl_SXCSXMgs_SXDMGrpSXDHMap>(0, 0);
//
proc.repeated<UNKNOWNFRT>(0, 0);
//
proc.mandatory<SXAddl_SXCSXMgs_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXADDLSXRULE.cpp
View file @
56a4e80c
...
...
@@ -57,13 +57,13 @@ BaseObjectPtr SXADDLSXRULE::clone()
// SXADDLSXRULE = SXAddl_SXCSXrule_SXDId SXAddl_SXCSXrule_SXDSXrule *SXADDLSXFILT SXAddl_SXCSXrule_SXDEnd
const
bool
SXADDLSXRULE
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXAddl_SXCSXrule_SXDId
>
())
{
return
false
;
}
proc
.
mandatory
<
SXAddl_SXCSXrule_SXDSXrule
>
();
proc
.
repeated
<
SXADDLSXFILT
>
(
0
,
0
);
proc
.
mandatory
<
SXAddl_SXCSXrule_SXDEnd
>
();
//
if(!proc.mandatory<SXAddl_SXCSXrule_SXDId>())
//
{
//
return false;
//
}
//
proc.mandatory<SXAddl_SXCSXrule_SXDSXrule>();
//
proc.repeated<SXADDLSXFILT>(0, 0);
//
proc.mandatory<SXAddl_SXCSXrule_SXDEnd>();
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
View file @
56a4e80c
...
...
@@ -310,6 +310,7 @@ enum ElementType
typeStringSegmented
,
typeStringSegmentedSXADDL
,
typeSXAddl
,
typeSxaddlSxString
,
typeSXDI
,
typeSxDXF
,
typeSXEx
,
...
...
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