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
1ffc2893
Commit
1ffc2893
authored
Nov 01, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
88a753b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
ASCOfficeOdfFile/src/docx/docx_conversion_context.cpp
ASCOfficeOdfFile/src/docx/docx_conversion_context.cpp
+6
-5
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
+3
-3
No files found.
ASCOfficeOdfFile/src/docx/docx_conversion_context.cpp
View file @
1ffc2893
...
@@ -867,11 +867,7 @@ void docx_conversion_context::docx_serialize_paragraph_style(std::wostream & str
...
@@ -867,11 +867,7 @@ void docx_conversion_context::docx_serialize_paragraph_style(std::wostream & str
CP_XML_STREAM
()
<<
paragraph_style
.
str
();
CP_XML_STREAM
()
<<
paragraph_style
.
str
();
docx_serialize_list_properties
(
CP_XML_STREAM
());
docx_serialize_list_properties
(
CP_XML_STREAM
());
if
(
!
get_text_tracked_context
().
dumpPPr_
.
empty
())
{
CP_XML_STREAM
()
<<
get_text_tracked_context
().
dumpPPr_
;
get_text_tracked_context
().
dumpPPr_
.
clear
();
}
if
((
run_style
.
tellp
()
>
0
&&
in_styles
==
false
)
||
!
get_text_tracked_context
().
dumpRPrInsDel_
.
empty
())
if
((
run_style
.
tellp
()
>
0
&&
in_styles
==
false
)
||
!
get_text_tracked_context
().
dumpRPrInsDel_
.
empty
())
{
{
CP_XML_NODE
(
L"w:rPr"
)
CP_XML_NODE
(
L"w:rPr"
)
...
@@ -883,6 +879,11 @@ void docx_conversion_context::docx_serialize_paragraph_style(std::wostream & str
...
@@ -883,6 +879,11 @@ void docx_conversion_context::docx_serialize_paragraph_style(std::wostream & str
}
}
get_text_tracked_context
().
dumpRPrInsDel_
.
clear
();
get_text_tracked_context
().
dumpRPrInsDel_
.
clear
();
}
}
if
(
!
get_text_tracked_context
().
dumpPPr_
.
empty
())
{
CP_XML_STREAM
()
<<
get_text_tracked_context
().
dumpPPr_
;
get_text_tracked_context
().
dumpPPr_
.
clear
();
}
}
}
}
}
}
}
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
View file @
1ffc2893
...
@@ -1090,10 +1090,10 @@ void DocxConverter::convert(OOX::Logic::CParagraphProperty *oox_paragraph_pr, cp
...
@@ -1090,10 +1090,10 @@ void DocxConverter::convert(OOX::Logic::CParagraphProperty *oox_paragraph_pr, cp
{
{
if
(
rule
==
SimpleTypes
::
linespacingruleExact
)
if
(
rule
==
SimpleTypes
::
linespacingruleExact
)
{
{
_CP_OPT
(
odf_types
::
length
)
length
;
_CP_OPT
(
odf_types
::
length
)
length
_
;
convert
(
static_cast
<
SimpleTypes
::
CUniversalMeasure
*>
(
oox_paragraph_pr
->
m_oSpacing
->
m_oLine
.
GetPointer
()),
length
);
convert
(
static_cast
<
SimpleTypes
::
CUniversalMeasure
*>
(
oox_paragraph_pr
->
m_oSpacing
->
m_oLine
.
GetPointer
()),
length
_
);
paragraph_properties
->
content
().
fo_line_height_
=
odf_types
::
line_width
(
length
);
paragraph_properties
->
content
().
fo_line_height_
=
odf_types
::
line_width
(
*
length_
);
}
}
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