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
303b62c2
Commit
303b62c2
authored
Dec 05, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DocFormatReader - fix users file
parent
5109acb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ASCOfficeDocFile/DocDocxConverter/TablePropertiesMapping.cpp
ASCOfficeDocFile/DocDocxConverter/TablePropertiesMapping.cpp
+2
-2
ASCOfficeOdfFile/src/odf/draw_frame_docx.cpp
ASCOfficeOdfFile/src/odf/draw_frame_docx.cpp
+2
-0
No files found.
ASCOfficeDocFile/DocDocxConverter/TablePropertiesMapping.cpp
View file @
303b62c2
...
...
@@ -87,8 +87,8 @@ namespace DocFileFormat
case
sprmOldTDefTable
:
case
sprmTDefTable
:
{
//table definition
{
//table definition
SprmTDefTable
tDef
(
iter
->
Arguments
,
iter
->
argumentsSize
);
//Workaround for retrieving the indent of the table:
//In some files there is a indent but no sprmTWidthIndent is set.
...
...
ASCOfficeOdfFile/src/odf/draw_frame_docx.cpp
View file @
303b62c2
...
...
@@ -866,12 +866,14 @@ void common_draw_docx_convert(oox::docx_conversion_context & Context, const unio
if
(
attlists_
.
rel_size_
.
style_rel_width_
)
{
int
type
=
attlists_
.
rel_size_
.
style_rel_width_
->
get_type
();
if
(
type
==
odf_types
::
percent_or_scale
::
Percent
)
drawing
.
pctWidth
=
attlists_
.
rel_size_
.
style_rel_width_
->
get_percent
().
get_value
();
}
if
(
attlists_
.
rel_size_
.
style_rel_height_
)
{
int
type
=
attlists_
.
rel_size_
.
style_rel_height_
->
get_type
();
if
(
type
==
odf_types
::
percent_or_scale
::
Percent
)
drawing
.
pctHeight
=
attlists_
.
rel_size_
.
style_rel_height_
->
get_percent
().
get_value
();
}
...
...
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