https://blog.aspose.com/words/re-engineer-decrease-footer-logic/