add number of page in the pdfDocument