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
da2493ed
Commit
da2493ed
authored
Feb 01, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OdfFormatReader - fix math matrix
parent
0a183f35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
ASCOfficeOdfFile/src/docx/pptx_drawing.cpp
ASCOfficeOdfFile/src/docx/pptx_drawing.cpp
+0
-1
ASCOfficeOdfFile/src/odf/math_table_elements.cpp
ASCOfficeOdfFile/src/odf/math_table_elements.cpp
+2
-2
No files found.
ASCOfficeOdfFile/src/docx/pptx_drawing.cpp
View file @
da2493ed
...
...
@@ -236,7 +236,6 @@ void pptx_serialize_table(std::wostream & strm, _pptx_drawing & val)
if
(
strTableContent
)
{
std
::
wstring
ttt
=
strTableContent
.
get
();
CP_XML_STREAM
()
<<
strTableContent
.
get
();
}
}
...
...
ASCOfficeOdfFile/src/odf/math_table_elements.cpp
View file @
da2493ed
...
...
@@ -94,10 +94,10 @@ void math_mtr::oox_convert(oox::math_context & Context)
strm
<<
L"<m:mr>"
;
for
(
int
i
=
0
;
i
<
content_
.
size
();
i
++
)
{
strm
<<
L"<m:e>"
;
//strm << L"<m:e>"; // EqArray записался в числитель вместо знаменателя.docx - дублирование
office_math_element
*
math_element
=
dynamic_cast
<
office_math_element
*>
(
content_
[
i
].
get
());
math_element
->
oox_convert
(
Context
);
strm
<<
L"</m:e>"
;
//
strm << L"</m:e>";
}
strm
<<
L"</m:mr>"
;
}
...
...
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