We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5da781 commit c009761Copy full SHA for c009761
2 files changed
src/EPPlus/Style/HeaderFooterTextFormat/ExcelHeaderFooterTextCollection.cs
@@ -645,8 +645,9 @@ internal void ReadHeaderFooterFormat(string hfText)
645
if (hfText[i] == '+' || hfText[i] == '-')
646
{
647
temp.PageNumberSuffix += hfText[i];
648
+ i++;
649
}
- i++;
650
+
651
while (char.IsDigit( hfText[i]))
652
653
src/EPPlusTest/Issues/WorksheetIssues.cs
@@ -1049,5 +1049,15 @@ public void issue2191()
1049
1050
Assert.AreEqual("B2", dbv.Address);
1051
1052
+ [TestMethod]
1053
+ public void i2240()
1054
+ {
1055
+ using (var package = OpenTemplatePackage("i2240.xlsx"))
1056
1057
+ var theText = package.Workbook.Worksheets.First().HeaderFooter.OddFooter.LeftAlignedText;
1058
1059
+ SaveAndCleanup(package);
1060
+ }
1061
1062
1063
0 commit comments