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
6d75b03c
Commit
6d75b03c
authored
Dec 05, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
303b62c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ASCOfficeOdfFile/src/odf/style_table_properties.cpp
ASCOfficeOdfFile/src/odf/style_table_properties.cpp
+2
-2
No files found.
ASCOfficeOdfFile/src/odf/style_table_properties.cpp
View file @
6d75b03c
...
@@ -115,13 +115,13 @@ void table_format_properties::docx_convert(oox::docx_conversion_context & Contex
...
@@ -115,13 +115,13 @@ void table_format_properties::docx_convert(oox::docx_conversion_context & Contex
if
(
style_rel_width_
)
if
(
style_rel_width_
)
{
{
int
w_w
=
(
int
)(
0.5
+
50.0
*
style_rel_width_
->
get_value
());
int
w_w
=
(
int
)(
0.5
+
50.0
*
style_rel_width_
->
get_value
());
_tblPr
<<
L"<w:tblW w:type=
\"
pct
\"
w:w=
\"
"
<<
w_w
<<
"
\"
/>"
;
_tblPr
<<
L"<w:tblW w:type=
\"
pct
\"
w:w=
\"
"
<<
w_w
<<
"
\"
/>"
;
}
}
else
if
(
style_width_
)
else
if
(
style_width_
)
{
{
int
w_w
=
(
int
)(
0.5
+
20.0
*
style_width_
->
get_value_unit
(
length
::
pt
));
int
w_w
=
(
int
)(
0.5
+
20.0
*
style_width_
->
get_value_unit
(
length
::
pt
));
if
(
w_w
>
31680
)
w_w
=
31680
;
if
(
w_w
>
31680
)
w_w
=
31680
;
_tblPr
<<
L"<w:tblW w:type=
\"
dxa
\"
w:w=
\"
"
<<
w_w
<<
"
\"
/>"
;
_tblPr
<<
L"<w:tblW w:type=
\"
dxa
\"
w:w=
\"
"
<<
w_w
<<
"
\"
/>"
;
}
}
else
else
{
{
...
...
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