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
42257ca4
Commit
42257ca4
authored
May 12, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
verify ooxml file. developing...
parent
6f2fdcd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
DesktopEditor/xmlsec/src/OOXMLVerifier.h
DesktopEditor/xmlsec/src/OOXMLVerifier.h
+0
-31
No files found.
DesktopEditor/xmlsec/src/OOXMLVerifier.h
View file @
42257ca4
...
...
@@ -188,37 +188,6 @@ public:
}
friend
class
COOXMLVerifier
;
private:
XmlUtils
::
CXmlNode
GetById
(
const
std
::
string
&
id
)
{
return
GetByIdRec
(
m_node
,
id
);
}
XmlUtils
::
CXmlNode
GetByIdRec
(
XmlUtils
::
CXmlNode
&
node
,
const
std
::
string
&
id
)
{
XmlUtils
::
CXmlNode
retNode
;
XmlUtils
::
CXmlNodes
oNodes
;
if
(
node
.
GetChilds
(
oNodes
))
{
int
nCount
=
oNodes
.
GetCount
();
for
(
int
i
=
0
;
i
<
nCount
;
i
++
)
{
XmlUtils
::
CXmlNode
_node
;
oNodes
.
GetAt
(
i
,
_node
);
if
(
_node
.
GetAttributeA
(
"Id"
)
==
id
)
return
_node
;
retNode
=
GetByIdRec
(
_node
,
id
);
if
(
retNode
.
IsValid
())
return
retNode
;
}
}
return
retNode
;
}
};
class
COOXMLVerifier
...
...
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