PDA

View Full Version : Footers and Page Numbers


craigbonline
January 22, 2004, 00:21:26
I am using the ActiveX 10.1 for evaluation and have a quesiton reguarding footers and page numbers.

Steps to produce the problem I am seeing...

Load an MS Word document using the LoadFromMemory method.
Append some address information to the document footer.
Save the document using the SaveToMemoryBuffer method.

Problem Description

if there are page numbers in the footer that gets updated then they
disappear.

Example "Page 1" gets written out as "Page "
The number 1 is missing.

If I simply load the file and save it without appending data to the
footer then all works well.

Any idea on what may be wrong?

Meik Dankleff
January 22, 2004, 17:39:04
Did you set the CurSelection parameter in the LoadFrom-/SaveToMemory calls to true or ommit it? Then the header and footer won't be loaded.

craigbonline
January 22, 2004, 17:42:05
It is false.

As I said. The header and footers are showing up and all is fine except if I try to manipulate the footer programmatically.

The page numbers are not part of the footer text.

Example

"Page 1" is showing up as "Page "