NewPageFactory

interface NewPageFactory

Interface definition of a factory that returns NewPage instances. To use a factory, set it in the document editor using setNewPageFactory. The document editor will ask the used factory for a new instance every time the user wants to add a new page. If the factory is backed by a user interface (for example a dialog) it must itself care for proper retention of its state across configuration changes, as the document editor wont do this.

Inheritors

Types

Link copied to clipboard
Listens for return of a NewPage instance to the editor.

Functions

Link copied to clipboard
This method is called every time the factory should create a NewPage instance.