Returns the number of pages in the document or <code>-1</code> if the document has not been completely paginated.
a PrintCompositor.
the number of pages in the document or <code>-1</code> if the document has not been completely paginated.