createInitialPages

abstract fun createInitialPages(totalPageCount: Int, pageFormat: BookSettings.PageFormat, isCompactWindow: Boolean): List<BookPage>

Creates the initial list of book pages based on the display format and total page count.

Return

Initial list of BookPage items.

Parameters

totalPageCount

Total number of pages in the book.

pageFormat

Page display format setting.

isCompactWindow

Whether the current window is compact (used to resolve BookSettings.PageFormat.Auto).