This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace QWERTYkez.WordProcessor;
|
||||
using MathOfficeMath = DocumentFormat.OpenXml.Math.OfficeMath;
|
||||
|
||||
namespace QWERTYkez.WordProcessor;
|
||||
|
||||
abstract class ParagraphBuilderBase : IParagraph, IFormula
|
||||
{
|
||||
@@ -176,7 +178,7 @@ abstract class ParagraphBuilderBase : IParagraph, IFormula
|
||||
// Метод AddFormula для IParagraphBuilder
|
||||
IParagraph IParagraph.AddFormula(Action<IFormula> configure)
|
||||
{
|
||||
var math = new OfficeMath();
|
||||
var math = new MathOfficeMath();
|
||||
try
|
||||
{
|
||||
_mathContextStack.Push(math);
|
||||
@@ -196,7 +198,7 @@ abstract class ParagraphBuilderBase : IParagraph, IFormula
|
||||
// Метод AddFormula для IParagraphBuilder
|
||||
IParagraph IParagraph.AddFormulaBreak(Action<IFormula> configure)
|
||||
{
|
||||
var math = new OfficeMath();
|
||||
var math = new MathOfficeMath();
|
||||
try
|
||||
{
|
||||
_mathContextStack.Push(math);
|
||||
|
||||
Reference in New Issue
Block a user