private function AddAllPages()
    {
        $page = $this->pageTree->TopMost();
        while ($page)
        {
            $this->AddPageBranch($page);
            $page = $this->pageTree->NextOf($page);
        }
    }