Number of Pages in Footer Not Converted Properly

Technical support for Spire.Doc

Moderator: iceblue support

Number of Pages in Footer Not Converted Properly

Postby kriskm59 » Wed Feb 22, 2012 11:02 am

Using Spire.Doc to generate word doc file.
Then we need this file to be saved as .doc and .pdf.
In doc file all is ok, but in pdf number of pages have default font (I change font for footer) - see attached file.

This is code:
Spire.Doc.Fields.TextRange tRangeC31 = paragraphC3.AppendField("pagenumber", Spire.Doc.FieldType.FieldPage);
tRangeC31.CharacterFormat.FontSize = footerFontSize;

Spire.Doc.Fields.TextRange tRangeC32 = paragraphC3.AppendText(" / ");
tRangeC32.CharacterFormat.FontSize = footerFontSize;

Spire.Doc.Fields.TextRange tRangeC33 = paragraphC3.AppendField("numberofpages", Spire.Doc.FieldType.FieldNumPages);
tRangeC33.CharacterFormat.FontSize = footerFontSize;

Have a nice day.
You do not have the required permissions to view the files attached to this post.
Posts: 11
Joined: Mon Oct 17, 2011 1:32 pm

Re: Number of Pages in Footer Not Converted Properly

Postby Suvi.Wu » Thu Feb 23, 2012 3:20 am

Hello kriskm59,

Thank you for reporting this problem to us.

We are so sorry that we need some more time to fix this problem. At the moment I cannot provide you any reliable estimate regarding this issue. However, you will surely be notified as soon as it is resolved. Sorry for inconvenience.

In case of any ambiguity, please let me know. Have a great day!

e-iceblue support
User avatar
Posts: 156
Joined: Thu Oct 20, 2011 2:53 am

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests