Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Weird REFPAGE bug

$
0
0
Hi
I am currently using the Aspose PDF Generator version 9.7, using the XML method, along with Visual Studio 2010, and .NET 4.0 to generate some reports from our system.
I have found a version strange bug surrounding the #$REFPAGE directive.
The following steps illustrate what I think is going on:
  1. Add a paragraph with an ID and some text.
  2. Add another paragraph, with a REFPAGE referencing the ID of the first paragraph.
Now, if the REFPAGE appears on the last line of the paragraph, everything is fine. However, if the REFPAGE appears on any other line within the paragraph, it always prints the number "888".
I have attached a sample XML document to illustrate this problem in greater detail.

This problem is quite urgent, as we are currently testing the application that uses this functionality, with a view to a production release in the near future.

Thanks
Chris Fairall.

Viewing all articles
Browse latest Browse all 3131

Trending Articles