Skip to content

Commit

Permalink
Fix footer style parsing
Browse files Browse the repository at this point in the history
Style set to FirstPage when should be AllPages
  • Loading branch information
nickjudson committed Jun 4, 2017
1 parent 27ca4e1 commit bfc3b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/RtfDomParser/RTFDomDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ private void Load(RTFReader reader , DocumentFormatInfo parentFormat)
{
// analyse footer
RTFDomFooter footer = new RTFDomFooter();
footer.Style = HeaderFooterStyle.FirstPage;
footer.Style = HeaderFooterStyle.AllPages;
this.AppendChild(footer);
Load(reader, parentFormat);
footer.Locked = true;
Expand Down

0 comments on commit bfc3b67

Please sign in to comment.