Formatting Object Model Reference > Application > Events > fTemplateEvents interface
  
fTemplateEvents interface
This object defines events that can be triggered during formatting or printing.
editBarChanged attribute
This function will be called when the current tag in the edit bar is switched to a new tag.
This function will be called with the following arguments:
[0] = stream (fStream)
editBarChanged
Access
read-write
Returns
Object
modeChanged attribute
This function wlll be called when the mode is changed.
This function will be called with the following arguments:
[0] = mode (int)
modeChanged
Access
read-write
Returns
Object
pageChanged attribute
This function wlll be called when the current page is changed. This event will not be triggered during formatting or printing.
This function will be called with the following arguments:
[0] = pos (int)
[1] = currentPage (fPage)
pageChanged
Access
read-write
Returns
Object
selectedFrameChanged attribute
This function wlll be called when the selected frame is changed.
This function will be called with the following arguments:
[0] = frame (fFrame)
selectedFrameChanged
Access
read-write
Returns
Object
selectedLayerChanged attribute
This function wlll be called when the selected layer is changed.
This function will be called with the following arguments:
[0] = layer (fLayer)
selectedLayerChanged
Access
read-write
Returns
Object
templateClose attribute
This function will be called before the template is closed.
This function will be called with the following arguments:
[0] = path (fPath)
templateClose
Access
read-write
Returns
Object
templateOpen attribute
This function will be called after the template is opened.
This function will be called with the following arguments:
[0] = path (fPath)
templateOpen
Access
read-write
Returns
Object
templateSave attribute
This function will be called before the template is saved.
This function will be called with the following arguments:
[0] = path (fPath)
templateSave
Access
read-write
Returns
Object