Kaydet (Commit) 8168d6d3 authored tarafından Luboš Luňák's avatar Luboš Luňák

implement sum properly in docx mathml

üst 500b6af7
...@@ -472,6 +472,7 @@ void SmOoxmlExport::HandleOperator( const SmOperNode* pNode, int nLevel ) ...@@ -472,6 +472,7 @@ void SmOoxmlExport::HandleOperator( const SmOperNode* pNode, int nLevel )
case TLLLINT: case TLLLINT:
case TPROD: case TPROD:
case TCOPROD: case TCOPROD:
case TSUM:
{ {
const SmSubSupNode* subsup = pNode->GetSubNode( 0 )->GetType() == NSUBSUP const SmSubSupNode* subsup = pNode->GetSubNode( 0 )->GetType() == NSUBSUP
? static_cast< const SmSubSupNode* >( pNode->GetSubNode( 0 )) : NULL; ? static_cast< const SmSubSupNode* >( pNode->GetSubNode( 0 )) : NULL;
......
...@@ -486,6 +486,9 @@ OUString SmOoxmlImport::handleNary() ...@@ -486,6 +486,9 @@ OUString SmOoxmlImport::handleNary()
case MS_COPROD: case MS_COPROD:
ret = STR( "coprod" ); ret = STR( "coprod" );
break; break;
case MS_SUM:
ret = STR( "sum" );
break;
default: default:
fprintf( stderr, "Unknown m:nary chr '%d'\n", chr ); fprintf( stderr, "Unknown m:nary chr '%d'\n", chr );
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment