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
cff6f305
Commit
cff6f305
authored
May 26, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/ONLYOFFICE/core
into develop
parents
50600712
d64109ea
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
5 deletions
+16
-5
ASCOfficePPTXFile/PPTXFormat/Logic/Shape.cpp
ASCOfficePPTXFile/PPTXFormat/Logic/Shape.cpp
+1
-1
ASCOfficePPTXFile/PPTXFormat/Logic/SpTreeElem.cpp
ASCOfficePPTXFile/PPTXFormat/Logic/SpTreeElem.cpp
+2
-2
ASCOfficePPTXFile/PPTXFormat/Logic/SpTreeElem.h
ASCOfficePPTXFile/PPTXFormat/Logic/SpTreeElem.h
+1
-1
DesktopEditor/xmlsec/src/src/OOXMLSigner.cpp
DesktopEditor/xmlsec/src/src/OOXMLSigner.cpp
+7
-0
X2tConverter/src/cextracttools.h
X2tConverter/src/cextracttools.h
+5
-1
No files found.
ASCOfficePPTXFile/PPTXFormat/Logic/Shape.cpp
View file @
cff6f305
...
...
@@ -553,7 +553,7 @@ namespace PPTX
std
::
wstring
strFillNode
;
std
::
wstring
strStrokeNode
;;
CalculateFill
(
spPr
,
style
,
oTheme
,
oClrMap
,
strFillAttr
,
strFillNode
,
bOle
);
CalculateFill
(
spPr
,
style
,
oTheme
,
oClrMap
,
strFillAttr
,
strFillNode
,
bOle
,
bSignature
);
CalculateLine
(
spPr
,
style
,
oTheme
,
oClrMap
,
strStrokeAttr
,
strStrokeNode
,
bOle
,
bSignature
);
pWriter
->
StartNode
(
L"v:shape"
);
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/SpTreeElem.cpp
View file @
cff6f305
...
...
@@ -59,7 +59,7 @@ namespace PPTX
}
void
CalculateFill
(
PPTX
::
Logic
::
SpPr
&
oSpPr
,
nullable
<
ShapeStyle
>&
pShapeStyle
,
NSCommon
::
smart_ptr
<
PPTX
::
Theme
>&
oTheme
,
NSCommon
::
smart_ptr
<
PPTX
::
Logic
::
ClrMap
>&
oClrMap
,
std
::
wstring
&
strAttr
,
std
::
wstring
&
strNode
,
bool
bOle
)
NSCommon
::
smart_ptr
<
PPTX
::
Logic
::
ClrMap
>&
oClrMap
,
std
::
wstring
&
strAttr
,
std
::
wstring
&
strNode
,
bool
bOle
,
bool
bSignature
)
{
PPTX
::
Logic
::
UniFill
fill
;
DWORD
ARGB
=
0
;
...
...
@@ -113,7 +113,7 @@ namespace PPTX
std
::
wstring
strId
=
oBlip
.
blip
->
embed
->
ToString
();
if
(
bOl
e
)
if
(
bOle
||
bSignatur
e
)
{
strAttr
=
_T
(
" filled=
\"
f
\"
"
);
strNode
=
_T
(
"<v:imagedata r:id=
\"
"
)
+
strId
+
_T
(
"
\"
o:title=
\"\"
/>"
);
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/SpTreeElem.h
View file @
cff6f305
...
...
@@ -44,7 +44,7 @@ namespace PPTX
namespace
Logic
{
void
CalculateFill
(
PPTX
::
Logic
::
SpPr
&
oSpPr
,
nullable
<
ShapeStyle
>&
pShapeStyle
,
smart_ptr
<
PPTX
::
Theme
>&
oTheme
,
smart_ptr
<
PPTX
::
Logic
::
ClrMap
>&
oClrMap
,
std
::
wstring
&
strAttr
,
std
::
wstring
&
strNode
,
bool
bOle
=
false
);
smart_ptr
<
PPTX
::
Logic
::
ClrMap
>&
oClrMap
,
std
::
wstring
&
strAttr
,
std
::
wstring
&
strNode
,
bool
bOle
=
false
,
bool
bSignature
=
false
);
void
CalculateLine
(
PPTX
::
Logic
::
SpPr
&
oSpPr
,
nullable
<
ShapeStyle
>&
pShapeStyle
,
smart_ptr
<
PPTX
::
Theme
>&
oTheme
,
smart_ptr
<
PPTX
::
Logic
::
ClrMap
>&
oClrMap
,
std
::
wstring
&
strAttr
,
std
::
wstring
&
strNode
,
bool
bOle
=
false
,
bool
bSignature
=
false
);
...
...
DesktopEditor/xmlsec/src/src/OOXMLSigner.cpp
View file @
cff6f305
...
...
@@ -77,6 +77,11 @@ public:
std
::
wstring
GetImageBase64
(
const
std
::
wstring
&
file
)
{
if
(
0
==
file
.
find
(
L"data:image/"
))
{
return
file
.
substr
(
file
.
find
(
L","
)
+
1
);
}
BYTE
*
pData
=
NULL
;
DWORD
dwLen
=
0
;
if
(
!
NSFile
::
CFileBinary
::
ReadAllBytes
(
file
,
&
pData
,
dwLen
))
...
...
@@ -97,6 +102,8 @@ public:
std
::
wstring
GetRelsReference
(
const
std
::
wstring
&
file
)
{
COOXMLRelationships
oRels
(
m_sFolder
+
file
,
true
);
if
(
oRels
.
rels
.
size
()
==
0
)
return
L""
;
if
(
L"/_rels/.rels"
==
file
)
{
...
...
X2tConverter/src/cextracttools.h
View file @
cff6f305
...
...
@@ -486,6 +486,9 @@ namespace NExtractTools
m_sTempDir
=
new
std
::
wstring
(
sValue
);
}
else
if
(
_T
(
"m_nCsvDelimiterChar"
)
==
sName
)
{
std
::
wstring
sNil
;
if
(
!
oXmlNode
.
GetAttributeIfExist
(
L"xsi:nil"
,
sNil
))
{
m_sCsvDelimiterChar
=
new
std
::
wstring
(
L""
);
}
...
...
@@ -493,6 +496,7 @@ namespace NExtractTools
}
}
}
}
return
true
;
}
std
::
wstring
getPassword
()
const
...
...
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