We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Page x of y in header/footer fields

I just read the FAQ, and note that it says Aspose.Words does not support total page count. That implies to me that it cannot handle the popular "Page of " header and footer fields. Is that a correct interpretation?

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. No, Aspose.Words does not evaluate PAGE and PAGES fields. MS Word automatically updates these fields. Also you can update fields in your document manually or using macro. See the following link to learn more.

http://support.microsoft.com/kb/832897

Best regards.

Okay, that makes sense. However, if I pass the document directly Aspose.PDF within the program (without ever going back to Word), will the PDF document have the fields properly evaluated and displayed?

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Page numbers will be updated during converting DOC to PDF. So in the output PDF you will get correct values. Please attach your document for testing if this does not work for you.

Best regards.