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
41da15d8
Commit
41da15d8
authored
Jan 19, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
ea3db693
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
27 deletions
+17
-27
ASCOfficePPTXFile/PPTXFormat/DocxFormat/FileTypes.h
ASCOfficePPTXFile/PPTXFormat/DocxFormat/FileTypes.h
+2
-2
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/File.h
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/File.h
+2
-3
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/RelationShip.h
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/RelationShip.h
+2
-2
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/RelationTable.h
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/RelationTable.h
+1
-2
Common/DocxFormat/Source/DocxFormat/Rels.h
Common/DocxFormat/Source/DocxFormat/Rels.h
+10
-18
No files found.
ASCOfficePPTXFile/PPTXFormat/DocxFormat/FileTypes.h
View file @
41da15d8
...
...
@@ -33,7 +33,7 @@
#ifndef PPTXOOX_FILE_TYPES_INCLUDE_H_
#define PPTXOOX_FILE_TYPES_INCLUDE_H_
#include "../../Common/DocxFormat/Source/DocxFormat/FileType.h"
#include "../../
../
Common/DocxFormat/Source/DocxFormat/FileType.h"
namespace
OOX
{
...
...
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/File.h
View file @
41da15d8
...
...
@@ -34,10 +34,9 @@
#define PPTXOOX_RELS_FILE_INCLUDE_H_
#include "RelationTable.h"
#include "../FileTypes.h"
#include "../../Common/DocxFormat/Source/DocxFormat/FileTypes.h"
#include "../../Common/DocxFormat/Source/DocxFormat/RId.h"
#include "../../Common/DocxFormat/Source/DocxFormat/External/External.h"
#include "../../../../Common/DocxFormat/Source/DocxFormat/FileTypes.h"
#include "../../../../Common/DocxFormat/Source/Base/SmartPtr.h"
#include "../../../../Common/DocxFormat/Source/SystemUtility/SystemUtility.h"
...
...
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/RelationShip.h
View file @
41da15d8
...
...
@@ -34,8 +34,8 @@
#define PPTXOOX_RELS_RELATION_SHIP_INCLUDE_H_
#include "./../WritingElement.h"
#include "../../Common/DocxFormat/Source/DocxFormat/RId.h"
#include "../../Common/DocxFormat/Source/DocxFormat/External/External.h"
#include "../../
../
Common/DocxFormat/Source/DocxFormat/RId.h"
#include "../../
../
Common/DocxFormat/Source/DocxFormat/External/External.h"
#include <boost/algorithm/string.hpp>
...
...
ASCOfficePPTXFile/PPTXFormat/DocxFormat/Rels/RelationTable.h
View file @
41da15d8
...
...
@@ -35,7 +35,6 @@
#include "./../WritingVector.h"
#include "RelationShip.h"
#include "../../Common/DocxFormat/Source/DocxFormat/RId.h"
namespace
PPTX
{
class
External
;}
...
...
Common/DocxFormat/Source/DocxFormat/Rels.h
View file @
41da15d8
...
...
@@ -55,20 +55,21 @@ namespace OOX
{
public:
WritingElement_AdditionConstructors
(
CRelationShip
)
CRelationShip
(
const
OOX
::
RId
&
rId
,
const
std
::
wstring
&
sType
,
const
OOX
::
CPath
&
oFilePath
)
:
m_rId
(
rId
),
m_oTarget
(
oFilePath
),
m_sType
(
sType
)
{
boost
::
algorithm
::
replace_all
(
m_oTarget
.
m_strFilename
,
L" "
,
L"_"
);
}
CRelationShip
(
const
OOX
::
RId
&
rId
,
const
smart_ptr
<
External
>
pExternal
)
:
m_rId
(
rId
),
m_oTarget
(
pExternal
->
Uri
()),
m_sType
(
pExternal
->
type
().
RelationType
())
{
m_sMode
=
new
std
::
wstring
(
_T
(
"External"
)
);
}
virtual
~
CRelationShip
()
{
}
public:
virtual
void
fromXML
(
XmlUtils
::
CXmlLiteReader
&
oReader
)
{
ReadAttributes
(
oReader
);
...
...
@@ -124,13 +125,6 @@ namespace OOX
m_oTarget
.
SetName
(
sTempTarget
,
true
);
}
public:
//const bool operator <(const CRelationShip& rhs) const
//{
// return m_rId < rhs.m_rId;
//}
public:
const
std
::
wstring
Type
()
const
...
...
@@ -187,8 +181,6 @@ namespace OOX
}
public:
void
Read
(
const
CPath
&
oFilePath
)
{
CPath
oRelsPath
=
CreateFileName
(
oFilePath
);
...
...
@@ -216,7 +208,7 @@ namespace OOX
sName
=
oReader
.
GetName
();
if
(
_T
(
"Relationship"
)
==
sName
)
{
Rels
::
CRelationShip
*
oRel
=
new
Rels
::
CRelationShip
(
oReader
);
OOX
::
Rels
::
CRelationShip
*
oRel
=
new
OOX
::
Rels
::
CRelationShip
(
oReader
);
if
(
oRel
)
m_arrRelations
.
push_back
(
oRel
);
}
}
...
...
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