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
d405cd4e
Commit
d405cd4e
authored
Jun 27, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XlsFormat ...
parent
f6328550
Changes
27
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
194 additions
and
74 deletions
+194
-74
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/FrtFontList.cpp
...File2/source/XlsFormat/Logic/Biff_records/FrtFontList.cpp
+9
-13
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/FrtFontList.h
...lsFile2/source/XlsFormat/Logic/Biff_records/FrtFontList.h
+9
-7
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RealTimeData.cpp
...ile2/source/XlsFormat/Logic/Biff_records/RealTimeData.cpp
+2
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RecipName.cpp
...lsFile2/source/XlsFormat/Logic/Biff_records/RecipName.cpp
+2
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RichTextStream.cpp
...e2/source/XlsFormat/Logic/Biff_records/RichTextStream.cpp
+7
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RichTextStream.h
...ile2/source/XlsFormat/Logic/Biff_records/RichTextStream.h
+6
-4
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SCENARIO.cpp
...XlsFile2/source/XlsFormat/Logic/Biff_records/SCENARIO.cpp
+2
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/ScenMan.cpp
...eXlsFile2/source/XlsFormat/Logic/Biff_records/ScenMan.cpp
+2
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/WOpt.cpp
...ficeXlsFile2/source/XlsFormat/Logic/Biff_records/WOpt.cpp
+2
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/WebPub.cpp
...ceXlsFile2/source/XlsFormat/Logic/Biff_records/WebPub.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/YMult.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_records/YMult.cpp
+5
-13
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/YMult.h
...fficeXlsFile2/source/XlsFormat/Logic/Biff_records/YMult.h
+10
-6
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FontIndex.h
...sFile2/source/XlsFormat/Logic/Biff_structures/FontIndex.h
+0
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FontInfo.cpp
...File2/source/XlsFormat/Logic/Biff_structures/FontInfo.cpp
+53
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FontInfo.h
...lsFile2/source/XlsFormat/Logic/Biff_structures/FontInfo.h
+56
-0
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgArea3d.cpp
...ile2/source/XlsFormat/Logic/Biff_structures/PtgArea3d.cpp
+1
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgAreaErr3d.cpp
...2/source/XlsFormat/Logic/Biff_structures/PtgAreaErr3d.cpp
+1
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgName.cpp
...sFile2/source/XlsFormat/Logic/Biff_structures/PtgName.cpp
+1
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgNameX.cpp
...File2/source/XlsFormat/Logic/Biff_structures/PtgNameX.cpp
+2
-4
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgRef3d.cpp
...File2/source/XlsFormat/Logic/Biff_structures/PtgRef3d.cpp
+2
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgRefErr3d.cpp
...e2/source/XlsFormat/Logic/Biff_structures/PtgRefErr3d.cpp
+2
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgSxName.cpp
...ile2/source/XlsFormat/Logic/Biff_structures/PtgSxName.cpp
+2
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/XFProps.h
...XlsFile2/source/XlsFormat/Logic/Biff_structures/XFProps.h
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
+1
-0
ASCOfficeXlsFile2/source/linux/XlsFormatLib.pro
ASCOfficeXlsFile2/source/linux/XlsFormatLib.pro
+4
-0
ASCOfficeXlsFile2/source/linux/xlsformatlib_logic.cpp
ASCOfficeXlsFile2/source/linux/xlsformatlib_logic.cpp
+2
-0
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
+9
-1
No files found.
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/FrtFontList.cpp
View file @
d405cd4e
...
@@ -35,16 +35,6 @@
...
@@ -35,16 +35,6 @@
namespace
XLS
namespace
XLS
{
{
FrtFontList
::
FrtFontList
()
{
}
FrtFontList
::~
FrtFontList
()
{
}
BaseObjectPtr
FrtFontList
::
clone
()
BaseObjectPtr
FrtFontList
::
clone
()
{
{
return
BaseObjectPtr
(
new
FrtFontList
(
*
this
));
return
BaseObjectPtr
(
new
FrtFontList
(
*
this
));
...
@@ -52,9 +42,15 @@ BaseObjectPtr FrtFontList::clone()
...
@@ -52,9 +42,15 @@ BaseObjectPtr FrtFontList::clone()
void
FrtFontList
::
readFields
(
CFRecord
&
record
)
void
FrtFontList
::
readFields
(
CFRecord
&
record
)
{
{
#pragma message("####################### FrtFontList record is not implemented")
unsigned
char
reserved
;
Log
::
error
(
"FrtFontList record is not implemented."
);
record
>>
frtHeaderOld
>>
verExcel
>>
reserved
>>
cFont
;
//record >> some_value;
FontInfo
val
;
for
(
unsigned
short
i
=
0
;
i
<
cFont
;
i
++
)
{
record
>>
val
;
rgFontInfo
.
push_back
(
val
);
}
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/FrtFontList.h
View file @
d405cd4e
...
@@ -32,28 +32,30 @@
...
@@ -32,28 +32,30 @@
#pragma once
#pragma once
#include "BiffRecord.h"
#include "BiffRecord.h"
#include "../Biff_structures/FrtHeaderOld.h"
#include "../Biff_structures/FontInfo.h"
namespace
XLS
namespace
XLS
{
{
// Logical representation of FrtFontList record in BIFF8
class
FrtFontList
:
public
BiffRecord
class
FrtFontList
:
public
BiffRecord
{
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
FrtFontList
)
BIFF_RECORD_DEFINE_TYPE_INFO
(
FrtFontList
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
FrtFontList
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
FrtFontList
)
public:
public:
FrtFontList
()
;
FrtFontList
()
{}
~
FrtFontList
()
;
~
FrtFontList
()
{}
BaseObjectPtr
clone
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeFrtFontList
;
static
const
ElementType
type
=
typeFrtFontList
;
FrtHeaderOld
frtHeaderOld
;
unsigned
char
verExcel
;
unsigned
short
cFont
;
std
::
vector
<
FontInfo
>
rgFontInfo
;
};
};
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RealTimeData.cpp
View file @
d405cd4e
...
@@ -55,7 +55,8 @@ void RealTimeData::readFields(CFRecord& record)
...
@@ -55,7 +55,8 @@ void RealTimeData::readFields(CFRecord& record)
{
{
#pragma message("####################### RealTimeData record is not implemented")
#pragma message("####################### RealTimeData record is not implemented")
Log
::
error
(
"RealTimeData record is not implemented."
);
Log
::
error
(
"RealTimeData record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RecipName.cpp
View file @
d405cd4e
...
@@ -55,7 +55,8 @@ void RecipName::readFields(CFRecord& record)
...
@@ -55,7 +55,8 @@ void RecipName::readFields(CFRecord& record)
{
{
#pragma message("####################### RecipName record is not implemented")
#pragma message("####################### RecipName record is not implemented")
Log
::
error
(
"RecipName record is not implemented."
);
Log
::
error
(
"RecipName record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RichTextStream.cpp
View file @
d405cd4e
...
@@ -52,9 +52,13 @@ BaseObjectPtr RichTextStream::clone()
...
@@ -52,9 +52,13 @@ BaseObjectPtr RichTextStream::clone()
void
RichTextStream
::
readFields
(
CFRecord
&
record
)
void
RichTextStream
::
readFields
(
CFRecord
&
record
)
{
{
#pragma message("####################### RichTextStream record is not implemented")
record
>>
frtHeader
>>
dwCheckSum
>>
cb
;
Log
::
error
(
"RichTextStream record is not implemented."
);
//record >> some_value;
if
(
cb
>
0
&&
cb
<
0xffff
)
{
rgb
=
std
::
string
(
record
.
getCurData
<
char
>
(),
cb
);
record
.
skipNunBytes
(
cb
);
}
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/RichTextStream.h
View file @
d405cd4e
...
@@ -32,12 +32,11 @@
...
@@ -32,12 +32,11 @@
#pragma once
#pragma once
#include "BiffRecord.h"
#include "BiffRecord.h"
#include "../Biff_structures/FrtHeader.h"
namespace
XLS
namespace
XLS
{
{
// Logical representation of RichTextStream record in BIFF8
class
RichTextStream
:
public
BiffRecord
class
RichTextStream
:
public
BiffRecord
{
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
RichTextStream
)
BIFF_RECORD_DEFINE_TYPE_INFO
(
RichTextStream
)
...
@@ -48,11 +47,14 @@ public:
...
@@ -48,11 +47,14 @@ public:
BaseObjectPtr
clone
();
BaseObjectPtr
clone
();
void
readFields
(
CFRecord
&
record
);
void
readFields
(
CFRecord
&
record
);
static
const
ElementType
type
=
typeRichTextStream
;
static
const
ElementType
type
=
typeRichTextStream
;
FrtHeader
frtHeader
;
_UINT32
dwCheckSum
;
_UINT32
cb
;
std
::
string
rgb
;
};
};
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/SCENARIO.cpp
View file @
d405cd4e
...
@@ -54,7 +54,8 @@ void SCENARIO::readFields(CFRecord& record)
...
@@ -54,7 +54,8 @@ void SCENARIO::readFields(CFRecord& record)
{
{
#pragma message("####################### SCENARIO record is not implemented")
#pragma message("####################### SCENARIO record is not implemented")
Log
::
error
(
"SCENARIO record is not implemented."
);
Log
::
error
(
"SCENARIO record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/ScenMan.cpp
View file @
d405cd4e
...
@@ -55,7 +55,8 @@ void ScenMan::readFields(CFRecord& record)
...
@@ -55,7 +55,8 @@ void ScenMan::readFields(CFRecord& record)
{
{
#pragma message("####################### ScenMan record is not implemented")
#pragma message("####################### ScenMan record is not implemented")
Log
::
error
(
"ScenMan record is not implemented."
);
Log
::
error
(
"ScenMan record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/WOpt.cpp
View file @
d405cd4e
...
@@ -54,7 +54,8 @@ void WOpt::readFields(CFRecord& record)
...
@@ -54,7 +54,8 @@ void WOpt::readFields(CFRecord& record)
{
{
#pragma message("####################### WOpt record is not implemented")
#pragma message("####################### WOpt record is not implemented")
Log
::
error
(
"WOpt record is not implemented."
);
Log
::
error
(
"WOpt record is not implemented."
);
//record >> some_value;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/WebPub.cpp
View file @
d405cd4e
...
@@ -55,7 +55,7 @@ void WebPub::readFields(CFRecord& record)
...
@@ -55,7 +55,7 @@ void WebPub::readFields(CFRecord& record)
#pragma message("####################### WebPub record is not implemented")
#pragma message("####################### WebPub record is not implemented")
Log
::
error
(
"WebPub record is not implemented."
);
Log
::
error
(
"WebPub record is not implemented."
);
//record >> some_value
;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
())
;
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/YMult.cpp
View file @
d405cd4e
...
@@ -35,16 +35,6 @@
...
@@ -35,16 +35,6 @@
namespace
XLS
namespace
XLS
{
{
YMult
::
YMult
()
{
}
YMult
::~
YMult
()
{
}
BaseObjectPtr
YMult
::
clone
()
BaseObjectPtr
YMult
::
clone
()
{
{
return
BaseObjectPtr
(
new
YMult
(
*
this
));
return
BaseObjectPtr
(
new
YMult
(
*
this
));
...
@@ -52,10 +42,12 @@ BaseObjectPtr YMult::clone()
...
@@ -52,10 +42,12 @@ BaseObjectPtr YMult::clone()
void
YMult
::
readFields
(
CFRecord
&
record
)
void
YMult
::
readFields
(
CFRecord
&
record
)
{
{
#pragma message("####################### YMult record is not implemented")
unsigned
short
flags
;
Log
::
error
(
"YMult record is not implemented."
);
record
>>
frtHeaderOld
>>
axmid
>>
numLabelMultiplier
>>
flags
;
record
.
skipNunBytes
(
record
.
getDataSize
()
-
record
.
getRdPtr
());
fAutoShowMultiplier
=
GETBIT
(
flags
,
0
);
fBeingEditted
=
GETBIT
(
flags
,
1
);
}
}
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_records/YMult.h
View file @
d405cd4e
...
@@ -32,19 +32,18 @@
...
@@ -32,19 +32,18 @@
#pragma once
#pragma once
#include "BiffRecord.h"
#include "BiffRecord.h"
#include "../Biff_structures/FrtHeaderOld.h"
#include "../Biff_structures/Xnum.h"
namespace
XLS
namespace
XLS
{
{
// Logical representation of YMult record in BIFF8
class
YMult
:
public
BiffRecord
class
YMult
:
public
BiffRecord
{
{
BIFF_RECORD_DEFINE_TYPE_INFO
(
YMult
)
BIFF_RECORD_DEFINE_TYPE_INFO
(
YMult
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
YMult
)
BASE_OBJECT_DEFINE_CLASS_NAME
(
YMult
)
public:
public:
YMult
()
;
YMult
()
{}
~
YMult
()
;
~
YMult
()
{}
BaseObjectPtr
clone
();
BaseObjectPtr
clone
();
...
@@ -52,6 +51,11 @@ public:
...
@@ -52,6 +51,11 @@ public:
static
const
ElementType
type
=
typeYMult
;
static
const
ElementType
type
=
typeYMult
;
FrtHeaderOld
frtHeaderOld
;
short
axmid
;
Xnum
numLabelMultiplier
;
bool
fAutoShowMultiplier
;
bool
fBeingEditted
;
};
};
}
// namespace XLS
}
// namespace XLS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FontIndex.h
View file @
d405cd4e
...
@@ -32,8 +32,6 @@
...
@@ -32,8 +32,6 @@
#pragma once
#pragma once
#include "BiffAttribute.h"
#include "BiffAttribute.h"
//#include <Logic/Biff_structures/Phs.h>
//#include <Logic/Biff_structures/BiffString.h>
namespace
XLS
namespace
XLS
{
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FontInfo.cpp
0 → 100644
View file @
d405cd4e
/*
* (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 "TxtWf.h"
#include <Binary/CFRecord.h>
namespace
XLS
{
BiffStructurePtr
FontInfo
::
clone
()
{
return
BiffStructurePtr
(
new
FontInfo
(
*
this
));
}
void
FontInfo
::
load
(
CFRecord
&
record
)
{
unsigned
short
flags
;
record
>>
flags
>>
ifnt
;
fScaled
=
GETBIT
(
flags
,
0
);
}
}
// namespace XLS
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FontInfo.h
0 → 100644
View file @
d405cd4e
/*
* (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 "FontIndex.h"
namespace
XLS
{
class
FontInfo
:
public
BiffStructure
{
BASE_STRUCTURE_DEFINE_CLASS_NAME
(
FontInfo
)
public:
BiffStructurePtr
clone
();
FontInfo
(){}
~
FontInfo
(){}
static
const
ElementType
type
=
typeFontInfo
;
virtual
void
load
(
CFRecord
&
record
);
bool
fScaled
;
FontIndex
ifnt
;
};
}
// namespace XLS
\ No newline at end of file
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgArea3d.cpp
View file @
d405cd4e
...
@@ -102,8 +102,7 @@ void PtgArea3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool f
...
@@ -102,8 +102,7 @@ void PtgArea3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool f
RevExternPtr
tab_ids
;
RevExternPtr
tab_ids
;
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
{
{
#pragma message("####################### PtgArea3d struct for revisions is not implemented")
Log
::
info
(
"PtgArea3d struct for revisions is not assemble."
);
Log
::
info
(
"PtgArea3d struct for revisions is not implemented."
);
ptg_stack
.
push
(
L""
);
ptg_stack
.
push
(
L""
);
extra_data
.
pop
();
extra_data
.
pop
();
return
;
return
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgAreaErr3d.cpp
View file @
d405cd4e
...
@@ -57,8 +57,7 @@ void PtgAreaErr3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, boo
...
@@ -57,8 +57,7 @@ void PtgAreaErr3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, boo
RevExternPtr
tab_ids
;
RevExternPtr
tab_ids
;
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
{
{
#pragma message("####################### PtgAreaErr3d struct for revisions is not implemented")
Log
::
info
(
"PtgAreaErr3d struct for revisions is not assemble."
);
Log
::
info
(
"PtgAreaErr3d struct for revisions is not implemented."
);
ptg_stack
.
push
(
L""
);
ptg_stack
.
push
(
L""
);
extra_data
.
pop
();
extra_data
.
pop
();
return
;
return
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgName.cpp
View file @
d405cd4e
...
@@ -77,9 +77,7 @@ void PtgName::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool ful
...
@@ -77,9 +77,7 @@ void PtgName::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool ful
RevNameTabidPtr
tab_id
;
RevNameTabidPtr
tab_id
;
if
(
!
extra_data
.
empty
()
&&
(
tab_id
=
boost
::
dynamic_pointer_cast
<
RevNameTabid
>
(
extra_data
.
front
())))
if
(
!
extra_data
.
empty
()
&&
(
tab_id
=
boost
::
dynamic_pointer_cast
<
RevNameTabid
>
(
extra_data
.
front
())))
{
{
Log
::
info
(
"PtgName struct for revisions is not assemble."
);
#pragma message("####################### PtgName struct for revisions is not checked")
Log
::
info
(
"PtgName struct for revisions is not checked."
);
ptg_stack
.
push
(
tab_id
->
toString
());
ptg_stack
.
push
(
tab_id
->
toString
());
extra_data
.
pop
();
extra_data
.
pop
();
return
;
return
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgNameX.cpp
View file @
d405cd4e
...
@@ -81,8 +81,7 @@ void PtgNameX::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool fu
...
@@ -81,8 +81,7 @@ void PtgNameX::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool fu
RevNamePtr
tab_id
;
RevNamePtr
tab_id
;
if
(
!
extra_data
.
empty
()
&&
(
tab_id
=
boost
::
dynamic_pointer_cast
<
RevName
>
(
extra_data
.
front
())))
if
(
!
extra_data
.
empty
()
&&
(
tab_id
=
boost
::
dynamic_pointer_cast
<
RevName
>
(
extra_data
.
front
())))
{
{
#pragma message("####################### PtgNameX struct for revisions is not implemented")
Log
::
error
(
"PtgNameX struct for revisions is not assemble."
);
Log
::
error
(
"PtgNameX struct for revisions is not implemented."
);
ptg_stack
.
push
(
L"#REF!"
);
ptg_stack
.
push
(
L"#REF!"
);
extra_data
.
pop
();
extra_data
.
pop
();
return
;
return
;
...
@@ -113,8 +112,7 @@ void PtgNameX::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool fu
...
@@ -113,8 +112,7 @@ void PtgNameX::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool fu
}
}
else
else
{
{
#pragma message("####################### PtgNameX struct is not implemented")
Log
::
warning
(
"PtgNameX structure is not assemble."
);
Log
::
warning
(
"PtgNameX structure is not implemented."
);
//ptg_stack.push(L"#UNDEFINED_EXTERN_NAME(" + STR::int2wstr(nameindex) + L")!");
//ptg_stack.push(L"#UNDEFINED_EXTERN_NAME(" + STR::int2wstr(nameindex) + L")!");
ptg_stack
.
push
(
L""
);
// This would let us to continue without an error
ptg_stack
.
push
(
L""
);
// This would let us to continue without an error
}
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgRef3d.cpp
View file @
d405cd4e
...
@@ -96,8 +96,8 @@ void PtgRef3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool fu
...
@@ -96,8 +96,8 @@ void PtgRef3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool fu
RevExternPtr
tab_ids
;
RevExternPtr
tab_ids
;
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
{
{
#pragma message("####################### PtgRef3d struct for revisions is not implemented")
Log
::
info
(
"PtgRef3d struct for revisions is not assemble."
);
Log
::
info
(
"PtgRef3d struct for revisions is not implemented."
);
ptg_stack
.
push
(
L""
);
ptg_stack
.
push
(
L""
);
extra_data
.
pop
();
extra_data
.
pop
();
return
;
return
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgRefErr3d.cpp
View file @
d405cd4e
...
@@ -68,8 +68,8 @@ void PtgRefErr3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool
...
@@ -68,8 +68,8 @@ void PtgRefErr3d::assemble(AssemblerStack& ptg_stack, PtgQueue& extra_data, bool
RevExternPtr
tab_ids
;
RevExternPtr
tab_ids
;
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
if
(
!
extra_data
.
empty
()
&&
(
tab_ids
=
boost
::
dynamic_pointer_cast
<
RevExtern
>
(
extra_data
.
front
())))
{
{
#pragma message("####################### PtgRefErr3d struct for revisions is not implemented")
Log
::
info
(
"PtgRefErr3d struct for revisions is not assemble."
);
Log
::
info
(
"PtgRefErr3d struct for revisions is not implemented."
);
ptg_stack
.
push
(
L""
);
ptg_stack
.
push
(
L""
);
extra_data
.
pop
();
extra_data
.
pop
();
return
;
return
;
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/PtgSxName.cpp
View file @
d405cd4e
...
@@ -47,11 +47,10 @@ void PtgSxName::loadFields(CFRecord& record)
...
@@ -47,11 +47,10 @@ void PtgSxName::loadFields(CFRecord& record)
record
>>
sxIndex
;
record
>>
sxIndex
;
}
}
void
PtgSxName
::
assemble
(
AssemblerStack
&
ptg_stack
,
PtgQueue
&
extra_data
,
bool
full_ref
)
void
PtgSxName
::
assemble
(
AssemblerStack
&
ptg_stack
,
PtgQueue
&
extra_data
,
bool
full_ref
)
{
{
#pragma message("####################### PtgSxName struct is not implemented")
Log
::
info
(
"PtgSxName structure is not assemble."
);
Log
::
info
(
"PtgSxName structure is not implemented."
);
ptg_stack
.
push
(
L"#REF!"
);
ptg_stack
.
push
(
L"#REF!"
);
}
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/XFProps.h
View file @
d405cd4e
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#pragma once
#pragma once
#include "BiffStructure.h"
#include "BiffStructure.h"
#include
<Logic/Biff_structures/XFProp.h>
#include
"../Biff_structures/XFProp.h"
namespace
XLS
namespace
XLS
{
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/XlsElementsType.h
View file @
d405cd4e
...
@@ -172,6 +172,7 @@ enum ElementType
...
@@ -172,6 +172,7 @@ enum ElementType
typeFnGroupName
,
typeFnGroupName
,
typeFnGrp12
,
typeFnGrp12
,
typeFont
,
typeFont
,
typeFontInfo
,
typeFontX
,
typeFontX
,
typeFooter
,
typeFooter
,
typeForceFullCalculation
,
typeForceFullCalculation
,
...
...
ASCOfficeXlsFile2/source/linux/XlsFormatLib.pro
View file @
d405cd4e
...
@@ -772,6 +772,8 @@ SOURCES += \
...
@@ -772,6 +772,8 @@ SOURCES += \
..
/
XlsFormat
/
Logic
/
Biff_structures
/
AFDOperXNum
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
AFDOperXNum
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_unions
/
IMDATAOBJECT
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_unions
/
IMDATAOBJECT
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_records
/
IMDATA
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_records
/
IMDATA
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
PBT
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
FontInfo
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
CFDatabar
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
CFDatabar
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
CFGradient
.
cpp
..
/
XlsFormat
/
Logic
/
Biff_structures
/
CFGradient
.
cpp
}
}
...
@@ -1392,6 +1394,8 @@ HEADERS += \
...
@@ -1392,6 +1394,8 @@ HEADERS += \
..
/
XlsFormat
/
Logic
/
Biff_structures
/
DConnStringSequence
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
DConnStringSequence
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
TxtWf
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
TxtWf
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
Xnum
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
Xnum
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
PBT
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
FontInfo
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
ODRAW
/
IMsoArray
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
ODRAW
/
IMsoArray
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
ODRAW
/
MSOCR
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
ODRAW
/
MSOCR
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
ODRAW
/
MSO_enums
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
ODRAW
/
MSO_enums
.
h
\
...
...
ASCOfficeXlsFile2/source/linux/xlsformatlib_logic.cpp
View file @
d405cd4e
...
@@ -765,3 +765,5 @@
...
@@ -765,3 +765,5 @@
#include "../XlsFormat/Logic/Biff_structures/DConnStringSequence.cpp"
#include "../XlsFormat/Logic/Biff_structures/DConnStringSequence.cpp"
#include "../XlsFormat/Logic/Biff_structures/TxtWf.cpp"
#include "../XlsFormat/Logic/Biff_structures/TxtWf.cpp"
#include "../XlsFormat/Logic/Biff_structures/Xnum.cpp"
#include "../XlsFormat/Logic/Biff_structures/Xnum.cpp"
#include "../XlsFormat/Logic/Biff_structures/PBT.cpp"
#include "../XlsFormat/Logic/Biff_structures/FontInfo.cpp"
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
View file @
d405cd4e
...
@@ -3649,6 +3649,14 @@
...
@@ -3649,6 +3649,14 @@
RelativePath=
"..\XlsFormat\Logic\Biff_structures\FontIndex.h"
RelativePath=
"..\XlsFormat\Logic\Biff_structures\FontIndex.h"
>
>
</File>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_structures\FontInfo.cpp"
>
</File>
<File
RelativePath=
"..\XlsFormat\Logic\Biff_structures\FontInfo.h"
>
</File>
<File
<File
RelativePath=
"..\XlsFormat\Logic\Biff_structures\FormatRun.cpp"
RelativePath=
"..\XlsFormat\Logic\Biff_structures\FormatRun.cpp"
>
>
...
@@ -4822,7 +4830,7 @@
...
@@ -4822,7 +4830,7 @@
>
>
</File>
</File>
<File
<File
RelativePath=
"..\XlsFormat\Logic\Biff_structures\TxtW
F
.h"
RelativePath=
"..\XlsFormat\Logic\Biff_structures\TxtW
f
.h"
>
>
</File>
</File>
<File
<File
...
...
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