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
6e736c48
Commit
6e736c48
authored
Aug 26, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x2t ver. 2.0.2.387
parent
2f6c564e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
54 deletions
+60
-54
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertVml.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertVml.cpp
+6
-5
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
+6
-5
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/PPTShape/CustomGeomShape.h
...ditor/Drawing/Shapes/BaseShape/PPTShape/CustomGeomShape.h
+41
-41
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
+6
-2
X2tConverter/build/Qt/X2tConverter.pro
X2tConverter/build/Qt/X2tConverter.pro
+1
-1
No files found.
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertVml.cpp
View file @
6e736c48
...
@@ -797,9 +797,9 @@ void OoxConverter::convert(OOX::Vml::CGroup *vml_group)
...
@@ -797,9 +797,9 @@ void OoxConverter::convert(OOX::Vml::CGroup *vml_group)
bool
bSet
=
false
;
bool
bSet
=
false
;
if
(
vml
)
if
(
vml
)
{
{
OOX
::
Vml
::
SptType
sptType
=
static_cast
<
OOX
::
Vml
::
SptType
>
(
vml
->
m_oSpt
.
GetValue
());
if
(
vml
->
m_oSpt
.
IsInit
())
if
(
sptType
!=
OOX
::
Vml
::
SptType
::
sptNotPrimitive
)
{
{
OOX
::
Vml
::
SptType
sptType
=
static_cast
<
OOX
::
Vml
::
SptType
>
(
vml
->
m_oSpt
->
GetValue
());
odf_context
()
->
drawing_context
()
->
start_shape
(
OOX
::
Spt2ShapeType
(
sptType
));
odf_context
()
->
drawing_context
()
->
start_shape
(
OOX
::
Spt2ShapeType
(
sptType
));
bSet
=
true
;
bSet
=
true
;
}
}
...
@@ -827,7 +827,8 @@ void OoxConverter::convert(OOX::Vml::CGroup *vml_group)
...
@@ -827,7 +827,8 @@ void OoxConverter::convert(OOX::Vml::CGroup *vml_group)
case
OOX
:
:
et_v_shapetype
:
case
OOX
:
:
et_v_shapetype
:
{
{
OOX
::
Vml
::
CShapeType
*
vml
=
static_cast
<
OOX
::
Vml
::
CShapeType
*>
(
vml_group
->
m_arrItems
[
i
]);
OOX
::
Vml
::
CShapeType
*
vml
=
static_cast
<
OOX
::
Vml
::
CShapeType
*>
(
vml_group
->
m_arrItems
[
i
]);
OOX
::
Vml
::
SptType
sptType
=
static_cast
<
OOX
::
Vml
::
SptType
>
(
vml
->
m_oSpt
.
GetValue
());
OOX
::
Vml
::
SptType
sptType
=
vml
->
m_oSpt
.
IsInit
()
?
static_cast
<
OOX
::
Vml
::
SptType
>
(
vml
->
m_oSpt
->
GetValue
())
:
OOX
::
Vml
::
sptNotPrimitive
;
odf_context
()
->
drawing_context
()
->
start_shape
(
OOX
::
Spt2ShapeType
(
sptType
));
odf_context
()
->
drawing_context
()
->
start_shape
(
OOX
::
Spt2ShapeType
(
sptType
));
OoxConverter
::
convert
(
vml
);
OoxConverter
::
convert
(
vml
);
odf_context
()
->
drawing_context
()
->
end_shape
();
odf_context
()
->
drawing_context
()
->
end_shape
();
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
View file @
6e736c48
...
@@ -2003,7 +2003,7 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic)
...
@@ -2003,7 +2003,7 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic)
}
}
else
if
(
oox_pic
->
m_oShapeType
.
IsInit
())
else
if
(
oox_pic
->
m_oShapeType
.
IsInit
())
{
{
OOX
::
Vml
::
SptType
sptType
=
static_cast
<
OOX
::
Vml
::
SptType
>
(
oox_pic
->
m_oShapeType
->
m_oSpt
.
GetValue
())
;
OOX
::
Vml
::
SptType
sptType
=
oox_pic
->
m_oShapeType
->
m_oSpt
.
IsInit
()
?
static_cast
<
OOX
::
Vml
::
SptType
>
(
oox_pic
->
m_oShapeType
->
m_oSpt
->
GetValue
())
:
OOX
::
Vml
::
sptNotPrimitive
;
odf_context
()
->
drawing_context
()
->
set_name
(
std
::
wstring
(
L"Custom"
)
+
boost
::
lexical_cast
<
std
::
wstring
>
(
sptType
));
odf_context
()
->
drawing_context
()
->
set_name
(
std
::
wstring
(
L"Custom"
)
+
boost
::
lexical_cast
<
std
::
wstring
>
(
sptType
));
odf_context
()
->
drawing_context
()
->
start_shape
(
OOX
::
Spt2ShapeType
(
sptType
));
odf_context
()
->
drawing_context
()
->
start_shape
(
OOX
::
Spt2ShapeType
(
sptType
));
...
@@ -2018,7 +2018,7 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic)
...
@@ -2018,7 +2018,7 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic)
bool
bSet
=
false
;
bool
bSet
=
false
;
if
(
oox_pic
->
m_oShape
.
IsInit
())
if
(
oox_pic
->
m_oShape
.
IsInit
())
{
{
OOX
::
Vml
::
SptType
sptType
=
static_cast
<
OOX
::
Vml
::
SptType
>
(
oox_pic
->
m_oShape
->
m_oSpt
.
GetValue
())
;
OOX
::
Vml
::
SptType
sptType
=
oox_pic
->
m_oShapeType
->
m_oSpt
.
IsInit
()
?
static_cast
<
OOX
::
Vml
::
SptType
>
(
oox_pic
->
m_oShapeType
->
m_oSpt
->
GetValue
())
:
OOX
::
Vml
::
sptNotPrimitive
;
if
(
sptType
!=
OOX
::
Vml
::
SptType
::
sptNotPrimitive
)
if
(
sptType
!=
OOX
::
Vml
::
SptType
::
sptNotPrimitive
)
{
{
odf_context
()
->
drawing_context
()
->
set_name
(
std
::
wstring
(
L"Custom"
)
+
boost
::
lexical_cast
<
std
::
wstring
>
(
sptType
));
odf_context
()
->
drawing_context
()
->
set_name
(
std
::
wstring
(
L"Custom"
)
+
boost
::
lexical_cast
<
std
::
wstring
>
(
sptType
));
...
@@ -2075,7 +2075,8 @@ void DocxConverter::convert(OOX::Logic::CObject* oox_obj)
...
@@ -2075,7 +2075,8 @@ void DocxConverter::convert(OOX::Logic::CObject* oox_obj)
bool
bSet
=
false
;
bool
bSet
=
false
;
if
(
oox_obj
->
m_oShape
.
IsInit
())
if
(
oox_obj
->
m_oShape
.
IsInit
())
{
{
OOX
::
Vml
::
SptType
sptType
=
static_cast
<
OOX
::
Vml
::
SptType
>
(
oox_obj
->
m_oShape
->
m_oSpt
.
GetValue
());
OOX
::
Vml
::
SptType
sptType
=
oox_obj
->
m_oShapeType
->
m_oSpt
.
IsInit
()
?
static_cast
<
OOX
::
Vml
::
SptType
>
(
oox_obj
->
m_oShapeType
->
m_oSpt
->
GetValue
())
:
OOX
::
Vml
::
sptNotPrimitive
;
if
(
sptType
!=
OOX
::
Vml
::
SptType
::
sptNotPrimitive
)
if
(
sptType
!=
OOX
::
Vml
::
SptType
::
sptNotPrimitive
)
{
{
odf_context
()
->
drawing_context
()
->
set_name
(
std
::
wstring
(
L"Custom"
)
+
boost
::
lexical_cast
<
std
::
wstring
>
(
sptType
));
odf_context
()
->
drawing_context
()
->
set_name
(
std
::
wstring
(
L"Custom"
)
+
boost
::
lexical_cast
<
std
::
wstring
>
(
sptType
));
...
...
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/PPTShape/CustomGeomShape.h
View file @
6e736c48
...
@@ -118,7 +118,7 @@ namespace NSCustomVML
...
@@ -118,7 +118,7 @@ namespace NSCustomVML
m_nCount
=
value
;
m_nCount
=
value
;
break
;
break
;
}
}
return
max
(
1
,
repeate
);
return
std
::
max
(
1
,
repeate
);
}
}
void
Read
(
POLE
::
Stream
*
pStream
)
void
Read
(
POLE
::
Stream
*
pStream
)
{
{
...
...
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
View file @
6e736c48
...
@@ -19,8 +19,12 @@ include(../../../Common/base.pri)
...
@@ -19,8 +19,12 @@ include(../../../Common/base.pri)
#
BOOST
#
BOOST
include
(
$$
PWD
/../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
include
(
$$
PWD
/../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
DEFINES
+=
UNICODE
_UNICODE
_USE_LIBXML2_READER_
_USE_XMLLITE_READER_
USE_LITE_READER
LIBXML_READER_ENABLED
DEFINES
+=
UNICODE
_UNICODE
_USE_LIBXML2_READER_
_USE_XMLLITE_READER_
USE_LITE_READER
LIBXML_READER_ENABLED
PPT_DEF
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
INCLUDEPATH
+=
\
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
\
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
core_mac
{
core_mac
{
DEFINES
+=
\
DEFINES
+=
\
...
...
X2tConverter/build/Qt/X2tConverter.pro
View file @
6e736c48
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
QT
-=
core
QT
-=
core
QT
-=
gui
QT
-=
gui
VERSION
=
2.0
.
2.38
6
VERSION
=
2.0
.
2.38
7
DEFINES
+=
INTVER
=
$$
VERSION
DEFINES
+=
INTVER
=
$$
VERSION
TEMPLATE
=
app
TEMPLATE
=
app
...
...
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