Implemented page numbering for export documents