Module RGhost::DocumentCallbackFacade
In: document_callback_facade.rb

This module is included inside of Document class. It will creates methods to easy the use.

Callback execution order

Example for a document with 4 pages, looking at the picture you can see the order in which the callbacks are executed

Methods

Public Instance methods

Executes after page create. Respond to :only and :except options

Executes after virtual page create. Respond to :only and :except options

Executes one time before document create.

Executes before page create. Respond to :only and :except options

Executes before virtual page create. Respond to :only and :except options

Executes on even pages create. Respond to :only and :except options

Executes one time on first page.

Executes one time on last page(end of document).

Executes on odd pages create. Respond to :only and :except options

[Validate]