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
b7bc0229
Commit
b7bc0229
authored
Jun 21, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OdfFormatReader - мс офис не воспринимает вложенность графики в текстбоксы, ссылки ...
parent
64b50cba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
7 deletions
+42
-7
ASCOfficeOdfFile/src/odf/draw_shapes_docx.cpp
ASCOfficeOdfFile/src/odf/draw_shapes_docx.cpp
+42
-7
No files found.
ASCOfficeOdfFile/src/odf/draw_shapes_docx.cpp
View file @
b7bc0229
...
...
@@ -85,7 +85,12 @@ void draw_shape::common_docx_convert(oox::docx_conversion_context & Context)
void
draw_rect
::
docx_convert
(
oox
::
docx_conversion_context
&
Context
)
{
//if (Context.get_drawing_context().get_current_level() >0 )return;
if
(
Context
.
get_drawing_context
().
get_current_level
()
>
0
&&
!
Context
.
get_drawing_context
().
in_group
()
)
{
if
(
Context
.
delayed_converting_
==
false
)
Context
.
add_delayed_element
(
this
);
return
;
}
common_docx_convert
(
Context
);
//...
draw_shape
::
docx_convert
(
Context
);
...
...
@@ -94,7 +99,12 @@ void draw_rect::docx_convert(oox::docx_conversion_context & Context)
void
draw_ellipse
::
docx_convert
(
oox
::
docx_conversion_context
&
Context
)
{
//if (Context.get_drawing_context().get_current_level() >0 )return;
if
(
Context
.
get_drawing_context
().
get_current_level
()
>
0
&&
!
Context
.
get_drawing_context
().
in_group
()
)
{
if
(
Context
.
delayed_converting_
==
false
)
Context
.
add_delayed_element
(
this
);
return
;
}
common_docx_convert
(
Context
);
//...
draw_shape
::
docx_convert
(
Context
);
...
...
@@ -102,7 +112,12 @@ void draw_ellipse::docx_convert(oox::docx_conversion_context & Context)
void
draw_circle
::
docx_convert
(
oox
::
docx_conversion_context
&
Context
)
{
//if (Context.get_drawing_context().get_current_level() >0 )return;
if
(
Context
.
get_drawing_context
().
get_current_level
()
>
0
&&
!
Context
.
get_drawing_context
().
in_group
()
)
{
if
(
Context
.
delayed_converting_
==
false
)
Context
.
add_delayed_element
(
this
);
return
;
}
common_docx_convert
(
Context
);
//...
draw_shape
::
docx_convert
(
Context
);
...
...
@@ -121,7 +136,12 @@ void draw_line::docx_convert(oox::docx_conversion_context & Context)
void
draw_path
::
docx_convert
(
oox
::
docx_conversion_context
&
Context
)
{
//if (Context.get_drawing_context().get_current_level() >0 )return;
if
(
Context
.
get_drawing_context
().
get_current_level
()
>
0
&&
!
Context
.
get_drawing_context
().
in_group
()
)
{
if
(
Context
.
delayed_converting_
==
false
)
Context
.
add_delayed_element
(
this
);
return
;
}
common_docx_convert
(
Context
);
//...
reset_svg_path
();
...
...
@@ -140,7 +160,12 @@ void draw_connector::docx_convert(oox::docx_conversion_context & Context)
void
draw_polygon
::
docx_convert
(
oox
::
docx_conversion_context
&
Context
)
{
//if (Context.get_drawing_context().get_current_level() >0 )return;
if
(
Context
.
get_drawing_context
().
get_current_level
()
>
0
&&
!
Context
.
get_drawing_context
().
in_group
()
)
{
if
(
Context
.
delayed_converting_
==
false
)
Context
.
add_delayed_element
(
this
);
return
;
}
common_docx_convert
(
Context
);
//...
reset_polygon_path
();
...
...
@@ -158,7 +183,12 @@ void draw_polyline::docx_convert(oox::docx_conversion_context & Context)
void
draw_custom_shape
::
docx_convert
(
oox
::
docx_conversion_context
&
Context
)
{
//if (Context.get_drawing_context().get_current_level() >0 )return;
if
(
Context
.
get_drawing_context
().
get_current_level
()
>
0
&&
!
Context
.
get_drawing_context
().
in_group
()
)
{
if
(
Context
.
delayed_converting_
==
false
)
Context
.
add_delayed_element
(
this
);
return
;
}
common_docx_convert
(
Context
);
//...
draw_shape
::
docx_convert
(
Context
);
...
...
@@ -166,7 +196,12 @@ void draw_custom_shape::docx_convert(oox::docx_conversion_context & Context)
void
draw_caption
::
docx_convert
(
oox
::
docx_conversion_context
&
Context
)
{
//if (Context.get_drawing_context().get_current_level() >0 )return;
if
(
Context
.
get_drawing_context
().
get_current_level
()
>
0
&&
!
Context
.
get_drawing_context
().
in_group
()
)
{
if
(
Context
.
delayed_converting_
==
false
)
Context
.
add_delayed_element
(
this
);
return
;
}
common_docx_convert
(
Context
);
//...
draw_shape
::
docx_convert
(
Context
);
...
...
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