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
475bfaf9
Commit
475bfaf9
authored
Dec 13, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/hotfix/v5.0.7' into develop
parents
d71552bd
1a8af4d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
Common/3dParty/cef/download.ps1
Common/3dParty/cef/download.ps1
+1
-1
Common/DocxFormat/Source/DocxFormat/Logic/Pict.h
Common/DocxFormat/Source/DocxFormat/Logic/Pict.h
+13
-3
No files found.
Common/3dParty/cef/download.ps1
View file @
475bfaf9
...
...
@@ -10,7 +10,7 @@ function Download-File
$downloadRequired
=
$true
if
(
Test-Path
$file
)
{
$localModified
=
(
Get-Item
$file
)
.
LastWrite
Time
$localModified
=
(
Get-Item
$file
)
.
Creation
Time
$webRequest
=
[
System.Net.
HttpWebRequest
]::
Create
(
$url
)
$webRequest
.
Method
=
"HEAD"
$webResponse
=
$webRequest
.
GetResponse
()
...
...
Common/DocxFormat/Source/DocxFormat/Logic/Pict.h
View file @
475bfaf9
...
...
@@ -142,7 +142,13 @@ namespace OOX
virtual
void
fromXML
(
XmlUtils
::
CXmlNode
&
oNode
)
{
// TO DO: Реализовать CPicture::fromXML(XmlUtils::CXmlNode &oNode)
if
(
oNode
.
IsValid
()
==
false
)
return
;
m_sXml
.
Init
();
*
m_sXml
=
oNode
.
GetXml
();
//для pptx dll
fromStringXML
(
m_sXml
.
get
());
}
virtual
void
fromXML
(
XmlUtils
::
CXmlLiteReader
&
oReader
)
...
...
@@ -152,11 +158,15 @@ namespace OOX
m_sXml
.
Init
();
*
m_sXml
=
oReader
.
GetOuterXml
();
//для pptx dll
fromStringXML
(
m_sXml
.
get
());
}
void
fromStringXML
(
const
std
::
wstring
&
xml_string
)
{
std
::
wstring
sBegin
(
L"<root xmlns:wpc=
\"
http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas
\"
xmlns:mc=
\"
http://schemas.openxmlformats.org/markup-compatibility/2006
\"
xmlns:o=
\"
urn:schemas-microsoft-com:office:office
\"
xmlns:r=
\"
http://schemas.openxmlformats.org/officeDocument/2006/relationships
\"
xmlns:m=
\"
http://schemas.openxmlformats.org/officeDocument/2006/math
\"
xmlns:v=
\"
urn:schemas-microsoft-com:vml
\"
xmlns:wp14=
\"
http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing
\"
xmlns:wp=
\"
http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
\"
xmlns:w10=
\"
urn:schemas-microsoft-com:office:word
\"
xmlns:w=
\"
http://schemas.openxmlformats.org/wordprocessingml/2006/main
\"
xmlns:w14=
\"
http://schemas.microsoft.com/office/word/2010/wordml
\"
xmlns:wpg=
\"
http://schemas.microsoft.com/office/word/2010/wordprocessingGroup
\"
xmlns:wpi=
\"
http://schemas.microsoft.com/office/word/2010/wordprocessingInk
\"
xmlns:wne=
\"
http://schemas.microsoft.com/office/word/2006/wordml
\"
xmlns:wps=
\"
http://schemas.microsoft.com/office/word/2010/wordprocessingShape
\"
>"
);
std
::
wstring
sEnd
(
L"</root>"
);
std
::
wstring
sXml
=
sBegin
+
m_sXml
.
get
()
+
sEnd
;
std
::
wstring
sXml
=
sBegin
+
xml_string
+
sEnd
;
XmlUtils
::
CXmlLiteReader
oSubReader
;
...
...
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