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
8b7ba434
Commit
8b7ba434
authored
May 18, 2016
by
ElenaSubbotina
Committed by
Alexander Trofimov
May 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XlsFormat ....
parent
fefb9d3f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
ASCOfficeOdfFile/src/odf/draw_frame_xlsx.cpp
ASCOfficeOdfFile/src/odf/draw_frame_xlsx.cpp
+2
-7
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.cpp
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertySet.h
...t/Logic/SummaryInformationStream/Structures/PropertySet.h
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertySetStream.cpp
...SummaryInformationStream/Structures/PropertySetStream.cpp
+8
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertySetStream.h
...c/SummaryInformationStream/Structures/PropertySetStream.h
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/SummaryInformation.h
...ormat/Logic/SummaryInformationStream/SummaryInformation.h
+1
-1
No files found.
ASCOfficeOdfFile/src/odf/draw_frame_xlsx.cpp
View file @
8b7ba434
...
@@ -37,14 +37,9 @@ namespace odf_reader {
...
@@ -37,14 +37,9 @@ namespace odf_reader {
void
draw_g
::
xlsx_convert
(
oox
::
xlsx_conversion_context
&
Context
)
void
draw_g
::
xlsx_convert
(
oox
::
xlsx_conversion_context
&
Context
)
{
{
int
i
=
0
;
for
(
int
i
=
0
;
i
<
content_
.
size
();
i
++
)
int
size
=
content_
.
size
();
while
(
true
)
{
{
if
(
i
>=
size
)
break
;
content_
[
i
]
->
xlsx_convert
(
Context
);
office_element_ptr
const
&
elm
=
content_
[
i
];
elm
->
xlsx_convert
(
Context
);
i
++
;
}
}
}
}
void
draw_frame
::
xlsx_convert
(
oox
::
xlsx_conversion_context
&
Context
)
void
draw_frame
::
xlsx_convert
(
oox
::
xlsx_conversion_context
&
Context
)
...
...
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.cpp
View file @
8b7ba434
...
@@ -16,7 +16,7 @@ CFStream::CFStream(POLE::Stream* stream)
...
@@ -16,7 +16,7 @@ CFStream::CFStream(POLE::Stream* stream)
{
{
if
(
NULL
==
stream
)
if
(
NULL
==
stream
)
{
{
throw
;
//
EXCEPT::RT::CompoundFileFormatError("Wrong IStream pointer (NULL)");
return
;
// throw;
EXCEPT::RT::CompoundFileFormatError("Wrong IStream pointer (NULL)");
}
}
stream_
=
stream
;
stream_
=
stream
;
}
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertySet.h
View file @
8b7ba434
#pragma once
#pragma once
#include "Property.h"
#include "Property.h"
#include
<Binary/BinSmartPointers.h>
#include
"../../../Binary/BinSmartPointers.h"
#include <vector>
#include <vector>
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertySetStream.cpp
View file @
8b7ba434
...
@@ -23,10 +23,15 @@ PropertySetStream::PropertySetStream(XLS::CFStreamPtr stream)
...
@@ -23,10 +23,15 @@ PropertySetStream::PropertySetStream(XLS::CFStreamPtr stream)
if
(
Version
!=
0x01
&&
Version
!=
0x00
)
if
(
Version
!=
0x01
&&
Version
!=
0x00
)
return
;
return
;
*
stream
>>
SystemIdentifier
>>
Clsid
>>
NumPropertySets
;
*
stream
>>
SystemIdentifier
>>
Clsid
;
*
stream
>>
NumPropertySets
;
if
(
NumPropertySets
!=
0x01
&&
NumPropertySets
!=
0x02
)
if
(
NumPropertySets
!=
0x01
&&
NumPropertySets
!=
0x02
)
return
;
{
NumPropertySets
=
0x01
;
stream
->
seekFromBegin
(
28
);
}
std
::
vector
<
unsigned
int
>
property_sets_offsets
;
std
::
vector
<
unsigned
int
>
property_sets_offsets
;
for
(
unsigned
int
i
=
0
;
i
<
NumPropertySets
;
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
NumPropertySets
;
++
i
)
...
@@ -35,7 +40,7 @@ PropertySetStream::PropertySetStream(XLS::CFStreamPtr stream)
...
@@ -35,7 +40,7 @@ PropertySetStream::PropertySetStream(XLS::CFStreamPtr stream)
unsigned
int
Offset
;
unsigned
int
Offset
;
*
stream
>>
FMTID
>>
Offset
;
*
stream
>>
FMTID
>>
Offset
;
if
(
Offset
>
0
)
if
(
Offset
<
stream
->
getStreamSize
()
)
property_sets_offsets
.
push_back
(
Offset
);
property_sets_offsets
.
push_back
(
Offset
);
}
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertySetStream.h
View file @
8b7ba434
#pragma once
#pragma once
#include
<Binary/BinSmartPointers.h>
#include
"../../../Binary/BinSmartPointers.h"
#include "PropertySet.h"
#include "PropertySet.h"
namespace
OLEPS
namespace
OLEPS
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/SummaryInformation.h
View file @
8b7ba434
#pragma once
#pragma once
#include
<Binary/BinSmartPointers.h>
#include
"../../Binary/BinSmartPointers.h"
#include "Structures/PropertySetStream.h"
#include "Structures/PropertySetStream.h"
namespace
OLEPS
namespace
OLEPS
...
...
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