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
d0a0d896
Commit
d0a0d896
authored
Mar 29, 2016
by
ElenaSubbotina
Committed by
Alexander Trofimov
May 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x2t - разрешение на поддержку xls версии 5.0
parent
9f3f79f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Common/OfficeFileFormatChecker2.cpp
Common/OfficeFileFormatChecker2.cpp
+8
-2
No files found.
Common/OfficeFileFormatChecker2.cpp
View file @
d0a0d896
...
@@ -94,12 +94,18 @@ bool COfficeFileFormatChecker::isXlsFormatFile (POLE::Storage * storage)
...
@@ -94,12 +94,18 @@ bool COfficeFileFormatChecker::isXlsFormatFile (POLE::Storage * storage)
{
{
if
(
storage
==
NULL
)
return
false
;
if
(
storage
==
NULL
)
return
false
;
POLE
::
Stream
stream
(
storage
,
"Workbook"
);
unsigned
char
buffer
[
10
];
POLE
::
Stream
stream
(
storage
,
"Workbook"
);
unsigned
char
buffer
[
10
];
if
(
stream
.
read
(
buffer
,
10
)
>
0
)
if
(
stream
.
read
(
buffer
,
10
)
>
0
)
return
true
;
return
true
;
POLE
::
Stream
stream2
(
storage
,
"Book"
);
if
(
stream2
.
read
(
buffer
,
10
)
>
0
)
return
true
;
return
false
;
return
false
;
}
}
bool
COfficeFileFormatChecker
::
isPptFormatFile
(
POLE
::
Storage
*
storage
)
bool
COfficeFileFormatChecker
::
isPptFormatFile
(
POLE
::
Storage
*
storage
)
...
...
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