Formula Debug
All checks were successful
Publish NuGet packages / publish (push) Successful in 27s

This commit is contained in:
melekhin
2026-06-15 14:37:25 +07:00
parent 6817da6334
commit 282be475d5
2 changed files with 54 additions and 52 deletions

View File

@@ -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);