Hi,
I need to calculate the exact position of all page breaks (according to the printer layout settings) in a document in order to show them while editing.
I though to simulate somehow the rendering performed during the printing of a document in order to calculate these positions precisely, but I couldn't find a way.
My tests included:
1. using IHTMLRenderer interface
2. calculating the absolute position of all the elements in a document
through the offsetTop property and comparing it with the printed document
height
3. trying to use the IE:LAYOUTRECT elements outside of the context of a
print layout template
Any help appreciated.
Regards