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
87ae0b38
Commit
87ae0b38
authored
Jun 29, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XlsFormat - read pivot cache stream
parent
b93d4634
Changes
59
Hide whitespace changes
Inline
Side-by-side
Showing
59 changed files
with
3337 additions
and
111 deletions
+3337
-111
ASCOfficeXlsFile2/source/XlsFormat/Binary/CompoundFile.cpp
ASCOfficeXlsFile2/source/XlsFormat/Binary/CompoundFile.cpp
+0
-57
ASCOfficeXlsFile2/source/XlsFormat/Binary/CompoundFile.h
ASCOfficeXlsFile2/source/XlsFormat/Binary/CompoundFile.h
+3
-13
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/BOF.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/BOF.h
+6
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDB.cpp
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDB.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDB.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDB.h
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBB.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBB.cpp
+60
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBB.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBB.h
+56
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBEx.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBEx.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBEx.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBEx.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDtr.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SXDtr.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDtr.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDtr.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDB.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDB.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDB.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDB.h
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDBType.cpp
...lsFile2/source/XlsFormat/Logic/Biff_records/SXFDBType.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDBType.h
...eXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDBType.h
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFormula.cpp
...lsFile2/source/XlsFormat/Logic/Biff_records/SXFormula.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFormula.h
...eXlsFile2/source/XlsFormat/Logic/Biff_records/SXFormula.h
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXInt.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SXInt.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXInt.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXInt.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXNum.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SXNum.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXNum.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXNum.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXPair.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SXPair.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXPair.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXPair.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXRng.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SXRng.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXRng.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXRng.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxBool.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SxBool.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxBool.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxBool.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxErr.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SxErr.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxErr.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxErr.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxFmla.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SxFmla.cpp
+109
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxFmla.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxFmla.h
+88
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxName.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/SxName.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxName.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxName.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxNil.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/SxNil.cpp
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxNil.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxNil.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/DBB.cpp
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/DBB.cpp
+74
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/DBB.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/DBB.h
+57
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/FDB.cpp
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/FDB.cpp
+96
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/FDB.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/FDB.h
+60
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHE.cpp
...lsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHE.cpp
+104
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHE.h
...eXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHE.h
+61
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.cpp
+7
-4
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.h
...ceXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.h
+4
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTSELECT.h
...XlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTSELECT.h
+0
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXDB.cpp
...fficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXDB.cpp
+77
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXDB.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXDB.h
+56
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFMLA_bu.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_unions/SXFMLA_bu.cpp
+71
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFMLA_bu.h
...ceXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFMLA_bu.h
+56
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFORMULA_bu.cpp
...File2/source/XlsFormat/Logic/Biff_unions/SXFORMULA_bu.cpp
+79
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFORMULA_bu.h
...lsFile2/source/XlsFormat/Logic/Biff_unions/SXFORMULA_bu.h
+58
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.cpp
+84
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.h
+56
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXRANGE.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_unions/SXRANGE.cpp
+71
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXRANGE.h
...ficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXRANGE.h
+56
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/GlobalWorkbookInfo.h
...fficeXlsFile2/source/XlsFormat/Logic/GlobalWorkbookInfo.h
+1
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/GlobalsSubstream.cpp
...fficeXlsFile2/source/XlsFormat/Logic/GlobalsSubstream.cpp
+4
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
+26
-0
ASCOfficeXlsFile2/source/XlsXlsxConverter/XlsConverter.cpp
ASCOfficeXlsFile2/source/XlsXlsxConverter/XlsConverter.cpp
+31
-25
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
+220
-0
No files found.
ASCOfficeXlsFile2/source/XlsFormat/Binary/CompoundFile.cpp
View file @
87ae0b38
...
...
@@ -96,8 +96,6 @@ CompoundFile::CompoundFile(const std::wstring & file_path, const ReadWriteMode m
storage_
=
NULL
;
Open
(
file_path
,
mode
);
}
// Opens "Workbook" stream and returns the only reference
CFStreamPtr
CompoundFile
::
getWorkbookStream
()
{
...
...
@@ -114,61 +112,6 @@ CFStreamPtr CompoundFile::getWorkbookStream()
return
stream
;
}
// Creates "Workbook" stream and returns the only reference
CFStreamPtr
CompoundFile
::
createWorkbookStream
()
{
return
createNamedStream
(
"Workbook"
);
}
void
CompoundFile
::
closeWorkbookStream
()
{
return
closeNamedStream
(
"Workbook"
);
}
// Opens "SummaryInformation" stream and returns the only reference
CFStreamPtr
CompoundFile
::
getSummaryInformationStream
()
{
return
getNamedStream
(
"SummaryInformation"
);
}
// Creates "SummaryInformation" stream and returns the only reference
CFStreamPtr
CompoundFile
::
createSummaryInformationStream
()
{
return
createNamedStream
(
"SummaryInformation"
);
}
// Closes "SummaryInformation" stream
void
CompoundFile
::
closeSummaryInformationStream
()
{
return
closeNamedStream
(
"SummaryInformation"
);
}
// Opens "SummaryInformation" stream and returns the only reference
CFStreamPtr
CompoundFile
::
getDocumentSummaryInformationStream
()
{
return
getNamedStream
(
"DocumentSummaryInformation"
);
}
// Creates "SummaryInformation" stream and returns the only reference
CFStreamPtr
CompoundFile
::
createDocumentSummaryInformationStream
()
{
return
createNamedStream
(
"DocumentSummaryInformation"
);
}
// Closes "SummaryInformation" stream
void
CompoundFile
::
closeDocumentSummaryInformationStream
()
{
return
closeNamedStream
(
"DocumentSummaryInformation"
);
}
CFStreamPtr
CompoundFile
::
getNamedStream
(
const
std
::
string
&
name
)
{
if
(
!
streams
[
name
])
...
...
ASCOfficeXlsFile2/source/XlsFormat/Binary/CompoundFile.h
View file @
87ae0b38
...
...
@@ -58,29 +58,19 @@ public:
bool
isError
();
CFStreamPtr
getWorkbookStream
();
CFStreamPtr
createWorkbookStream
();
void
closeWorkbookStream
();
CFStreamPtr
getSummaryInformationStream
();
CFStreamPtr
createSummaryInformationStream
();
void
closeSummaryInformationStream
();
CFStreamPtr
getDocumentSummaryInformationStream
();
CFStreamPtr
createDocumentSummaryInformationStream
();
void
closeDocumentSummaryInformationStream
();
CFStreamPtr
getWorkbookStream
();
CFStreamPtr
getNamedStream
(
const
std
::
string
&
name
);
POLE
::
Storage
*
storage_
;
private:
POLE
::
Stream
*
openStream
(
const
std
::
string
&
stream_name
);
// Opens a stream in the storage (shall be called not more than once per stream)
POLE
::
Stream
*
createStream
(
const
std
::
string
&
stream_name
);
// Creates a new stream in the storage
CFStreamPtr
getNamedStream
(
const
std
::
string
&
name
);
CFStreamPtr
createNamedStream
(
const
std
::
string
&
name
);
void
closeNamedStream
(
const
std
::
string
&
name
);
private:
std
::
map
<
std
::
string
,
CFStreamPtr
>
streams
;
POLE
::
Storage
*
storage_
;
ReadWriteMode
rwMode
;
};
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/BOF.h
View file @
87ae0b38
...
...
@@ -59,12 +59,12 @@ public:
typedef
enum
{
st_Workbook
=
0x0005
,
st_Globals
=
st_Workbook
,
st_Dialog
=
0x0010
,
st_Worksheet
=
st_Dialog
,
st_Chart
=
0x0020
,
st_Macro
=
0x040
st_Workbook
=
0x0005
,
st_Globals
=
st_Workbook
,
st_Dialog
=
0x0010
,
st_Worksheet
=
st_Dialog
,
st_Chart
=
0x0020
,
st_Macro
=
0x040
}
SubstreamType
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDB.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXFDB.h"
namespace
XLS
{
SXFDB
::
SXFDB
()
{
}
SXFDB
::~
SXFDB
()
{
}
BaseObjectPtr
SXFDB
::
clone
()
{
return
BaseObjectPtr
(
new
SXFDB
(
*
this
));
}
void
SXFDB
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDB.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
namespace
XLS
{
class
SXDB
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXDB
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXDB
)
public:
SXDB
();
~
SXDB
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXDB
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBB.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXDBB.h"
namespace
XLS
{
SXDBB
::
SXDBB
()
{
}
SXDBB
::~
SXDBB
()
{
}
BaseObjectPtr
SXDBB
::
clone
()
{
return
BaseObjectPtr
(
new
SXDBB
(
*
this
));
}
void
SXDBB
::
readFields
(
CFRecord
&
record
)
{
int
skip
=
record
.
getDataSize
()
-
record
.
getRdPtr
();
record
.
skipNunBytes
(
skip
);
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBB.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
namespace
XLS
{
class
SXDBB
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXDBB
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXDBB
)
public:
SXDBB
();
~
SXDBB
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXDBB
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBEx.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXDBEx.h"
namespace
XLS
{
SXDBEx
::
SXDBEx
()
{
}
SXDBEx
::~
SXDBEx
()
{
}
BaseObjectPtr
SXDBEx
::
clone
()
{
return
BaseObjectPtr
(
new
SXDBEx
(
*
this
));
}
void
SXDBEx
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDBEx.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
namespace
XLS
{
class
SXDBEx
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXDBEx
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXDBEx
)
public:
SXDBEx
();
~
SXDBEx
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXDBEx
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDtr.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXDtr.h"
namespace
XLS
{
SXDtr
::
SXDtr
()
{
}
SXDtr
::~
SXDtr
()
{
}
BaseObjectPtr
SXDtr
::
clone
()
{
return
BaseObjectPtr
(
new
SXDtr
(
*
this
));
}
void
SXDtr
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXDtr.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SXDtr
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXDtr
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXDtr
)
public:
SXDtr
();
~
SXDtr
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXDtr
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDB.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXDB.h"
namespace
XLS
{
SXDB
::
SXDB
()
{
}
SXDB
::~
SXDB
()
{
}
BaseObjectPtr
SXDB
::
clone
()
{
return
BaseObjectPtr
(
new
SXDB
(
*
this
));
}
void
SXDB
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDB.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
namespace
XLS
{
class
SXFDB
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXFDB
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXFDB
)
public:
SXFDB
();
~
SXFDB
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXFDB
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDBType.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXFDBType.h"
namespace
XLS
{
SXFDBType
::
SXFDBType
()
{
}
SXFDBType
::~
SXFDBType
()
{
}
BaseObjectPtr
SXFDBType
::
clone
()
{
return
BaseObjectPtr
(
new
SXFDBType
(
*
this
));
}
void
SXFDBType
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFDBType.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
namespace
XLS
{
class
SXFDBType
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXFDBType
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXFDBType
)
public:
SXFDBType
();
~
SXFDBType
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXFDBType
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFormula.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXFormula.h"
namespace
XLS
{
SXFormula
::
SXFormula
()
{
}
SXFormula
::~
SXFormula
()
{
}
BaseObjectPtr
SXFormula
::
clone
()
{
return
BaseObjectPtr
(
new
SXFormula
(
*
this
));
}
void
SXFormula
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXFormula.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
namespace
XLS
{
class
SXFormula
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXFormula
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXFormula
)
public:
SXFormula
();
~
SXFormula
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXFormula
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXInt.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXInt.h"
namespace
XLS
{
SXInt
::
SXInt
()
{
}
SXInt
::~
SXInt
()
{
}
BaseObjectPtr
SXInt
::
clone
()
{
return
BaseObjectPtr
(
new
SXInt
(
*
this
));
}
void
SXInt
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXInt.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SXInt
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXInt
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXInt
)
public:
SXInt
();
~
SXInt
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXInt
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXNum.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXNum.h"
namespace
XLS
{
SXNum
::
SXNum
()
{
}
SXNum
::~
SXNum
()
{
}
BaseObjectPtr
SXNum
::
clone
()
{
return
BaseObjectPtr
(
new
SXNum
(
*
this
));
}
void
SXNum
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXNum.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SXNum
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXNum
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXNum
)
public:
SXNum
();
~
SXNum
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXNum
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXPair.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXPair.h"
namespace
XLS
{
SXPair
::
SXPair
()
{
}
SXPair
::~
SXPair
()
{
}
BaseObjectPtr
SXPair
::
clone
()
{
return
BaseObjectPtr
(
new
SXPair
(
*
this
));
}
void
SXPair
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXPair.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SXPair
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXPair
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXPair
)
public:
SXPair
();
~
SXPair
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXPair
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXRng.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXRng.h"
namespace
XLS
{
SXRng
::
SXRng
()
{
}
SXRng
::~
SXRng
()
{
}
BaseObjectPtr
SXRng
::
clone
()
{
return
BaseObjectPtr
(
new
SXRng
(
*
this
));
}
void
SXRng
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SXRng.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SXRng
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SXRng
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXRng
)
public:
SXRng
();
~
SXRng
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSXRng
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxBool.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SxBool.h"
namespace
XLS
{
SxBool
::
SxBool
()
{
}
SxBool
::~
SxBool
()
{
}
BaseObjectPtr
SxBool
::
clone
()
{
return
BaseObjectPtr
(
new
SxBool
(
*
this
));
}
void
SxBool
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxBool.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SxBool
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SxBool
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SxBool
)
public:
SxBool
();
~
SxBool
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSxBool
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxErr.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SxErr.h"
namespace
XLS
{
SxErr
::
SxErr
()
{
}
SxErr
::~
SxErr
()
{
}
BaseObjectPtr
SxErr
::
clone
()
{
return
BaseObjectPtr
(
new
SxErr
(
*
this
));
}
void
SxErr
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxErr.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SxErr
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SxErr
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SxErr
)
public:
SxErr
();
~
SxErr
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSxErr
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxFmla.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SxFmla.h"
namespace
XLS
{
SxFmla
::
SxFmla
()
{
}
SxFmla
::~
SxFmla
()
{
}
BaseObjectPtr
SxFmla
::
clone
()
{
return
BaseObjectPtr
(
new
SxFmla
(
*
this
));
}
void
SxFmla
::
readFields
(
CFRecord
&
record
)
{
//record >> csxformat >> cchErrorString >> cchNullString >> cchTag >> csxselect;
//_UINT32 flags;
//record >> crwPage >> ccolPage >> flags;
//fAcrossPageLay = GETBIT(flags, 0);
//cWrapPage = GETBITS(flags, 1, 9);
//fEnableWizard = GETBIT(flags, 16);
//fEnableDrilldown = GETBIT(flags, 17);
//fEnableFieldDialog = GETBIT(flags, 18);
//fPreserveFormatting = GETBIT(flags, 19);
//fMergeLabels = GETBIT(flags, 20);
//fDisplayErrorString = GETBIT(flags, 21);
//fDisplayNullString = GETBIT(flags, 22);
//fSubtotalHiddenPageItems = GETBIT(flags, 23);
//record >> cchPageFieldStyle >> cchTableStyle >> cchVacateStyle;
//if (cchErrorString > 0 && cchErrorString != 0xffff)
//{
// stError.setSize(cchErrorString);
// record >> stError;
//}
//if (cchNullString > 0 && cchNullString != 0xffff)
//{
// stDisplayNull.setSize(cchNullString);
// record >> stDisplayNull;
//}
//if (cchTag > 0 && cchTag != 0xffff)
//{
// stTag.setSize(cchTag);
// record >> stTag;
//}
//if (cchPageFieldStyle > 0 && cchPageFieldStyle != 0xffff)
//{
// stPageFieldStyle.setSize(cchPageFieldStyle);
// record >> stPageFieldStyle;
//}
//if (cchTableStyle > 0 && cchTableStyle != 0xffff)
//{
// stTableStyle.setSize(cchTableStyle);
// record >> cchTableStyle;
//}
//if (cchVacateStyle > 0 && cchVacateStyle != 0xffff)
//{
// stVacateStyle.setSize(cchVacateStyle);
// record >> cchVacateStyle;
//}
//int skip = record.getDataSize() - record.getRdPtr();
//record.skipNunBytes(skip);
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxFmla.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/BiffString.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SxFmla
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SxFmla
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SxFmla
)
public:
SxFmla
();
~
SxFmla
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSxFmla
;
//unsigned short csxformat;
//unsigned short cchErrorString;
//unsigned short cchNullString;
//unsigned short cchTag;
//unsigned short csxselect;
//DRw crwPage;
//ColU ccolPage;
//bool fAcrossPageLay;
//unsigned char cWrapPage;
//bool fEnableWizard;
//bool fEnableDrilldown;
//bool fEnableFieldDialog;
//bool fPreserveFormatting;
//bool fMergeLabels;
//bool fDisplayErrorString;
//bool fDisplayNullString;
//bool fSubtotalHiddenPageItems;
//unsigned short cchPageFieldStyle;
//unsigned short cchTableStyle;
//unsigned short cchVacateStyle;
//XLUnicodeStringNoCch stError;
//XLUnicodeStringNoCch stDisplayNull;
//XLUnicodeStringNoCch stTag;
//XLUnicodeStringNoCch stPageFieldStyle;
//XLUnicodeStringNoCch stTableStyle;
//XLUnicodeStringNoCch stVacateStyle;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxName.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SxName.h"
namespace
XLS
{
SxName
::
SxName
()
{
}
SxName
::~
SxName
()
{
}
BaseObjectPtr
SxName
::
clone
()
{
return
BaseObjectPtr
(
new
SxName
(
*
this
));
}
void
SxName
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxName.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SxName
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SxName
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SxName
)
public:
SxName
();
~
SxName
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSxName
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxNil.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SxNil.h"
namespace
XLS
{
SxNil
::
SxNil
()
{
}
SxNil
::~
SxNil
()
{
}
BaseObjectPtr
SxNil
::
clone
()
{
return
BaseObjectPtr
(
new
SxNil
(
*
this
));
}
void
SxNil
::
readFields
(
CFRecord
&
record
)
{
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SxNil.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include "BiffRecord.h"
//#include "../Biff_structures/CellRangeRef.h"
namespace
XLS
{
class
SxNil
:
public
BiffRecord
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
SxNil
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
SxNil
)
public:
SxNil
();
~
SxNil
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeSxNil
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/DBB.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "DBB.h"
#include "../Biff_records/SXDBB.h"
#include "SXOPER.h"
namespace
XLS
{
DBB
::
DBB
()
{
}
DBB
::~
DBB
()
{
}
BaseObjectPtr
DBB
::
clone
()
{
return
BaseObjectPtr
(
new
DBB
(
*
this
));
}
// DBB = [SXDBB] *SXOPER
const
bool
DBB
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
proc
.
optional
<
SXDBB
>
())
{
m_SXDBB
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXOPER
>
())
{
m_SXOPER
=
elements_
.
back
();
elements_
.
pop_back
();
}
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/DBB.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
DBB
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
DBB
)
public:
DBB
();
~
DBB
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typeDBB
;
BaseObjectPtr
m_SXDBB
;
BaseObjectPtr
m_SXOPER
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/FDB.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "FDB.h"
#include "SXFMLA_bu.h"
#include "SXOPER.h"
#include "SXRANGE.h"
#include "../Biff_records/SXFDB.h"
#include "../Biff_records/SXFDBType.h"
namespace
XLS
{
FDB
::
FDB
()
{
}
FDB
::~
FDB
()
{
}
BaseObjectPtr
FDB
::
clone
()
{
return
BaseObjectPtr
(
new
FDB
(
*
this
));
}
// FDB = SXFDB SXFDBType [SXFMLA / (*GRPSXOPER [SXRANGE / *(SxIsxoper *Continue)])] *SRCSXOPER
// SXRANGE = SXOPER
// SRCSXOPER = SXOPER
const
bool
FDB
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXFDB
>
())
{
return
false
;
}
m_SXFDB
=
elements_
.
back
();
elements_
.
pop_back
();
if
(
proc
.
mandatory
<
SXFDBType
>
())
{
m_SXFDBType
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
optional
<
SXFMLA
>
())
{
m_SXFMLA
=
elements_
.
back
();
elements_
.
pop_back
();
}
int
count
=
proc
.
repeated
<
SXOPER
>
(
0
,
0
);
while
(
count
--
)
{
m_arSRCSXOPER
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/FDB.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
FDB
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
FDB
)
public:
FDB
();
~
FDB
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typeFDB
;
BaseObjectPtr
m_SXFDB
;
BaseObjectPtr
m_SXFDBType
;
BaseObjectPtr
m_SXFMLA
;
std
::
vector
<
BaseObjectPtr
>
m_arSRCSXOPER
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHE.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "PIVOTCACHE.h"
#include "SXFORMULA_bu.h"
#include "FDB.h"
#include "DBB.h"
#include "../Biff_records/SXDB.h"
#include "../Biff_records/SXDBEx.h"
#include "../Biff_records/EOF.h"
namespace
XLS
{
PIVOTCACHE
::
PIVOTCACHE
()
{
}
PIVOTCACHE
::~
PIVOTCACHE
()
{
}
BaseObjectPtr
PIVOTCACHE
::
clone
()
{
return
BaseObjectPtr
(
new
PIVOTCACHE
(
*
this
));
}
// PIVOTCACHE = SXDB SXDBEx *SXFORMULA *FDB *DBB EOF
const
bool
PIVOTCACHE
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXDB
>
())
{
return
false
;
}
m_SXDB
=
elements_
.
back
();
elements_
.
pop_back
();
if
(
proc
.
mandatory
<
SXDBEx
>
())
{
m_SXDBEx
=
elements_
.
back
();
elements_
.
pop_back
();
}
int
count
=
0
;
count
=
proc
.
repeated
<
SXFORMULA
>
(
0
,
0
);
while
(
count
--
)
{
m_arSXFORMULA
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
count
=
proc
.
repeated
<
FDB
>
(
0
,
0
);
while
(
count
--
)
{
m_arFDB
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
count
=
proc
.
repeated
<
DBB
>
(
0
,
0
);
while
(
count
--
)
{
m_arDBB
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
if
(
proc
.
optional
<
EOF_T
>
())
{
elements_
.
pop_back
();
}
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTCACHE.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
PIVOTCACHE
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
PIVOTCACHE
)
public:
PIVOTCACHE
();
~
PIVOTCACHE
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typePIVOTCACHE
;
BaseObjectPtr
m_SXDB
;
BaseObjectPtr
m_SXDBEx
;
std
::
vector
<
BaseObjectPtr
>
m_arSXFORMULA
;
std
::
vector
<
BaseObjectPtr
>
m_arFDB
;
std
::
vector
<
BaseObjectPtr
>
m_arDBB
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.cpp
View file @
87ae0b38
...
...
@@ -36,18 +36,14 @@
namespace
XLS
{
PIVOTRULE
::
PIVOTRULE
()
{
}
PIVOTRULE
::~
PIVOTRULE
()
{
}
BaseObjectPtr
PIVOTRULE
::
clone
()
{
return
BaseObjectPtr
(
new
PIVOTRULE
(
*
this
));
...
...
@@ -61,7 +57,14 @@ const bool PIVOTRULE::loadContent(BinProcessor& proc)
{
return
false
;
}
m_SxRule
=
elements_
.
back
();
elements_
.
pop_back
();
int
count
=
proc
.
repeated
<
PRFILTER
>
(
0
,
0
);
while
(
count
--
)
{
m_arPRFILTER
.
push_back
(
elements_
.
front
());
elements_
.
pop_front
();
}
return
true
;
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTRULE.h
View file @
87ae0b38
...
...
@@ -36,8 +36,6 @@
namespace
XLS
{
// Logical representation of PIVOTRULE union of records
class
PIVOTRULE
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
PIVOTRULE
)
...
...
@@ -49,7 +47,10 @@ public:
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typePIVOTRULE
;
static
const
ElementType
type
=
typePIVOTRULE
;
BaseObjectPtr
m_SxRule
;
std
::
vector
<
BaseObjectPtr
>
m_arPRFILTER
;
};
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/PIVOTSELECT.h
View file @
87ae0b38
...
...
@@ -36,8 +36,6 @@
namespace
XLS
{
// Logical representation of PIVOTSELECT union of records
class
PIVOTSELECT
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
PIVOTSELECT
)
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXDB.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXDB.h"
#include <Logic/Biff_unions/DREF.h>
#include <Logic/Biff_unions/SXTBL.h>
#include <Logic/Biff_unions/DBQUERY.h>
namespace
XLS
{
SXDB
::
SXDB
()
{
}
SXDB
::~
SXDB
()
{
}
BaseObjectPtr
SXDB
::
clone
()
{
return
BaseObjectPtr
(
new
SXDB
(
*
this
));
}
// SXDB = DREF / SXTBL / DBQUERY
const
bool
SXDB
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
optional
<
DREF
>
())
{
if
(
!
proc
.
optional
<
SXTBL
>
())
{
if
(
!
proc
.
optional
<
DBQUERY
>
())
{
return
false
;
}
}
}
m_source
=
elements_
.
back
();
elements_
.
pop_back
();
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXDB.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
SXDB
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXDB
)
public:
SXDB
();
~
SXDB
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typeSXDB
;
BaseObjectPtr
m_source
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFMLA_bu.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXFMLA_bu.h"
#include "../Biff_records/SxFmla.h"
#include "../Biff_records/SxName.h"
#include "../Biff_records/SXPair.h"
namespace
XLS
{
SXFMLA
::
SXFMLA
()
{
}
SXFMLA
::~
SXFMLA
()
{
}
BaseObjectPtr
SXFMLA
::
clone
()
{
return
BaseObjectPtr
(
new
SXFMLA
(
*
this
));
}
// SXFMLA = SxFmla *(SxName *SXPair)
const
bool
SXFMLA
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SxFmla
>
())
{
return
false
;
}
m_SxFmla
=
elements_
.
back
();
elements_
.
pop_back
();
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFMLA_bu.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
SXFMLA
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXFMLA
)
public:
SXFMLA
();
~
SXFMLA
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typeSXFMLA
;
BaseObjectPtr
m_SxFmla
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFORMULA_bu.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXFORMULA_bu.h"
#include "SXFMLA_bu.h"
#include "PIVOTRULE.h"
#include "../Biff_records/SXFormula.h"
namespace
XLS
{
SXFORMULA
::
SXFORMULA
()
{
}
SXFORMULA
::~
SXFORMULA
()
{
}
BaseObjectPtr
SXFORMULA
::
clone
()
{
return
BaseObjectPtr
(
new
SXFORMULA
(
*
this
));
}
// SXFORMULA = SXFMLA PIVOTRULE SXFormula
const
bool
SXFORMULA
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXFMLA
>
())
{
return
false
;
}
m_SXFMLA
=
elements_
.
back
();
elements_
.
pop_back
();
if
(
proc
.
mandatory
<
PIVOTRULE
>
())
{
m_PIVOTRULE
=
elements_
.
back
();
elements_
.
pop_back
();
}
if
(
proc
.
mandatory
<
SXFormula
>
())
{
m_SXFormula
=
elements_
.
back
();
elements_
.
pop_back
();
}
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXFORMULA_bu.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
SXFORMULA
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXFORMULA
)
public:
SXFORMULA
();
~
SXFORMULA
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typeSXFORMULA
;
BaseObjectPtr
m_SXFMLA
;
BaseObjectPtr
m_PIVOTRULE
;
BaseObjectPtr
m_SXFormula
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXOPER.h"
#include "../Biff_records/SxNil.h"
#include "../Biff_records/SXNum.h"
#include "../Biff_records/SxBool.h"
#include "../Biff_records/SxErr.h"
#include "../Biff_records/SXString.h"
#include "../Biff_records/SXDtr.h"
namespace
XLS
{
SXOPER
::
SXOPER
()
{
}
SXOPER
::~
SXOPER
()
{
}
BaseObjectPtr
SXOPER
::
clone
()
{
return
BaseObjectPtr
(
new
SXOPER
(
*
this
));
}
// SXOPER = SxNil / SXNum / SxBool / SxErr / SXString / SXDtr
const
bool
SXOPER
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
proc
.
optional
<
SxNil
>
())
{
}
if
(
proc
.
optional
<
SXNum
>
())
{
}
if
(
proc
.
optional
<
SxBool
>
())
{
}
if
(
proc
.
optional
<
SxErr
>
())
{
}
if
(
proc
.
optional
<
SXString
>
())
{
}
if
(
proc
.
optional
<
SXDtr
>
())
{
}
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
SXOPER
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXOPER
)
public:
SXOPER
();
~
SXOPER
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typeSXOPER
;
BaseObjectPtr
m_SXOPER
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXRANGE.cpp
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "SXRANGE.h"
#include "../Biff_records/SXRng.h"
#include "../Biff_records/SXNum.h"
#include "../Biff_records/SXDtr.h"
#include "../Biff_records/SXInt.h"
namespace
XLS
{
SXRANGE
::
SXRANGE
()
{
}
SXRANGE
::~
SXRANGE
()
{
}
BaseObjectPtr
SXRANGE
::
clone
()
{
return
BaseObjectPtr
(
new
SXRANGE
(
*
this
));
}
// SXRANGE = SXRng (3SXNum / (2SXDtr SXInt))
const
bool
SXRANGE
::
loadContent
(
BinProcessor
&
proc
)
{
if
(
!
proc
.
mandatory
<
SXRng
>
())
{
return
false
;
}
m_SXRng
=
elements_
.
back
();
elements_
.
pop_back
();
return
true
;
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXRANGE.h
0 → 100644
View file @
87ae0b38
/*
* (c) Copyright Ascensio System SIA 2010-2017
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#pragma once
#include <Logic/CompositeObject.h>
namespace
XLS
{
class
SXRANGE
:
public
CompositeObject
{
BASE_OBJECT_DEFINE_CLASS_NAME
(
SXRANGE
)
public:
SXRANGE
();
~
SXRANGE
();
BaseObjectPtr
clone
();
virtual
const
bool
loadContent
(
BinProcessor
&
proc
);
static
const
ElementType
type
=
typeSXRANGE
;
BaseObjectPtr
m_SXRng
;
};
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/GlobalWorkbookInfo.h
View file @
87ae0b38
...
...
@@ -99,6 +99,7 @@ public:
unsigned
int
last_AXES_id
;
const
static
unsigned
int
initial_AXES_id
=
0x2000000
;
std
::
map
<
int
,
BaseObjectPtr
>
mapPivotCache
;
std
::
map
<
std
::
wstring
,
std
::
vector
<
std
::
wstring
>>
mapDefineNames
;
std
::
vector
<
std
::
wstring
>
arDefineNames
;
std
::
vector
<
std
::
wstring
>
arExternalNames
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/GlobalsSubstream.cpp
View file @
87ae0b38
...
...
@@ -325,7 +325,10 @@ const bool GlobalsSubstream::loadContent(BinProcessor& proc)
count
--
;
}
}
break
;
case
rt_DocRoute
:
proc
.
repeated
<
DOCROUTE
>
(
0
,
0
);
break
;
case
rt_DocRoute
:
{
count
=
proc
.
repeated
<
DOCROUTE
>
(
0
,
0
);
}
break
;
case
rt_UserBView
:
{
count
=
proc
.
repeated
<
UserBView
>
(
0
,
0
);
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
View file @
87ae0b38
...
...
@@ -439,6 +439,7 @@ enum ElementType
typePHONETICINFO
,
typePICF
,
typePIVOTADDL
,
typePIVOTCACHE
,
typePIVOTCACHEDEFINITION
,
typePIVOTCORE
,
typePIVOTEX
,
...
...
@@ -498,6 +499,31 @@ enum ElementType
typeSXADDLSXMG
,
typeSXADDLSXMGS
,
typeSXADDLSXRULE
,
typeSXDB
,
typeSXDBEx
,
typeSxBool
,
typeSxErr
,
typeSxNil
,
typeSxIsxoper
,
typeSXFDBType
,
typeSXRng
,
typeSxName
,
typeSXDtr
,
typeSXInt
,
typeSXNum
,
typeSXPair
,
typeSXFormula
,
typeSxFmla
,
typeSXFDB
,
typeSXFORMULA
,
typeSXFMLA
,
typeSXDBB
,
typeSXOPER
,
typeSXRANGE
,
typeFDB
,
typeDBB
,
//typeGRPSXOPER,
//typeSRCSXOPER,
typeSXSRC
,
typeSXTBL
,
typeTABLESTYLES
,
...
...
ASCOfficeXlsFile2/source/XlsXlsxConverter/XlsConverter.cpp
View file @
87ae0b38
...
...
@@ -58,6 +58,7 @@
#include "../XlsFormat/Logic/Biff_unions/CHART.h"
#include "../XlsFormat/Logic/Biff_unions/BACKGROUND.h"
#include "../XlsFormat/Logic/Biff_unions/PIVOTVIEW.h"
#include "../XlsFormat/Logic/Biff_unions/PIVOTCACHE.h"
#include <Logic/Biff_records/BkHim.h>
#include <Logic/Biff_records/HLink.h>
...
...
@@ -135,28 +136,7 @@ XlsConverter::XlsConverter(const std::wstring & xls_file, const std::wstring & _
if
(
cfile
.
isError
())
{
//if (0 <= xls_file.rfind(L".xls"))//todooo lower
//{
// unsigned char* fileData = NULL;
// DWORD fileSize = 0;
// if (!NSFile::CFileBinary::ReadAllBytes(xls_file, &fileData, fileSize)) return;
// if (!fileData) return;
// //test/open as list
// std::wstring xls_file_new = _xlsx_path + FILE_SEPARATOR_STR + L"temp.xls";
// if (cfile.Open(xls_file_new, XLS::CompoundFile::cf_WriteMode))
// {
// XLS::CFStreamPtr stream = cfile.createWorkbookStream();
// if (stream)
// stream->write(fileData, fileSize);
// cfile.closeWorkbookStream();
// }
// delete []fileData;
// if (!cfile.Open(xls_file_new, XLS::CompoundFile::cf_ReadMode))
// return;
//}else
return
;
return
;
}
XLS
::
CFStreamPtr
summary
;
...
...
@@ -164,7 +144,7 @@ XlsConverter::XlsConverter(const std::wstring & xls_file, const std::wstring & _
try
{
summary
=
cfile
.
get
SummaryInformationStream
(
);
summary
=
cfile
.
get
NamedStream
(
"SummaryInformation"
);
}
catch
(...)
{
...
...
@@ -172,7 +152,7 @@ XlsConverter::XlsConverter(const std::wstring & xls_file, const std::wstring & _
try
{
doc_summary
=
cfile
.
get
DocumentSummaryInformationStream
(
);
doc_summary
=
cfile
.
get
NamedStream
(
"DocumentSummaryInformation"
);
}
catch
(...)
{
...
...
@@ -211,7 +191,33 @@ XlsConverter::XlsConverter(const std::wstring & xls_file, const std::wstring & _
{
is_encrypted
=
true
;
if
(
xls_global_info
->
decryptor
->
IsVerify
()
==
false
)
return
;
}
}
if
(
cfile
.
storage_
->
isDirectory
(
"_SX_DB_CUR"
))
{
std
::
list
<
std
::
string
>
listStream
=
cfile
.
storage_
->
entries
(
"_SX_DB_CUR"
);
for
(
std
::
list
<
std
::
string
>::
iterator
it
=
listStream
.
begin
();
it
!=
listStream
.
end
();
it
++
)
{
XLS
::
CFStreamCacheReader
pivot_cache_reader
(
cfile
.
getNamedStream
(
"_SX_DB_CUR/"
+
*
it
),
xls_global_info
);
XLS
::
BaseObjectPtr
pivot_cache
=
boost
::
shared_ptr
<
XLS
::
PIVOTCACHE
>
(
new
XLS
::
PIVOTCACHE
());
XLS
::
BinReaderProcessor
proc
(
pivot_cache_reader
,
pivot_cache
.
get
()
,
true
);
proc
.
mandatory
(
*
pivot_cache
.
get
());
int
index
=
0
;
try
{
index
=
atoi
(
it
->
c_str
());
}
catch
(...)
{
}
xls_global_info
->
mapPivotCache
.
insert
(
std
::
make_pair
(
index
,
pivot_cache
));
}
}
}
catch
(...)
{
...
...
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
View file @
87ae0b38
...
...
@@ -2433,6 +2433,38 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXAddl.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxBool.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxBool.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDB.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDB.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDBB.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDBB.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDBEx.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDBEx.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDI.cpp"
>
...
...
@@ -2441,6 +2473,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDI.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDtr.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXDtr.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxDXF.cpp"
>
...
...
@@ -2449,6 +2489,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxDXF.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxErr.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxErr.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXEx.cpp"
>
...
...
@@ -2457,6 +2505,22 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXEx.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXFDB.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXFDB.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXFDBType.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXFDBType.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxFilt.cpp"
>
...
...
@@ -2465,6 +2529,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxFilt.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxFmla.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxFmla.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxFormat.cpp"
>
...
...
@@ -2473,6 +2545,58 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxFormat.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXFormula.cpp"
>
<FileConfiguration
Name=
"Debug|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
ObjectFile=
"$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName=
"$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name=
"Debug|x64"
>
<Tool
Name=
"VCCLCompilerTool"
ObjectFile=
"$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName=
"$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name=
"Release|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
ObjectFile=
"$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName=
"$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name=
"Release|x64"
>
<Tool
Name=
"VCCLCompilerTool"
ObjectFile=
"$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName=
"$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXFormula.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXInt.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXInt.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxItm.cpp"
>
...
...
@@ -2497,6 +2621,38 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXLI.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxName.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxName.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxNil.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxNil.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXNum.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXNum.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXPair.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXPair.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXPI.cpp"
>
...
...
@@ -2513,6 +2669,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXPIEx.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXRng.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SXRng.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_records\SxRule.cpp"
>
...
...
@@ -5369,6 +5533,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_unions\DAT_bu.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\DBB.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\DBB.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\DBQUERY.cpp"
>
...
...
@@ -5441,6 +5613,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_unions\DVAXIS.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\FDB.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\FDB.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\FEAT.h"
>
...
...
@@ -5665,6 +5845,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_unions\PIVOTADDL.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\PIVOTCACHE.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\PIVOTCACHE.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\PIVOTCACHEDEFINITION.cpp"
>
...
...
@@ -6137,6 +6325,38 @@
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXADDLSXRULE.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXFMLA_bu.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXFMLA_bu.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXFORMULA_bu.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXFORMULA_bu.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXOPER.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXOPER.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXRANGE.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXRANGE.h"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_unions\SXSRC.cpp"
>
...
...
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