public BookPage(DocumentFile document, bool chapterPage = false) { this.Document = document; this.Chapter = chapterPage; if (this.Chapter) { this.SubPages = new List<BookPage>(); } }