Add method to get page number from Page/Outline objects