TOleanderWord7/8 Events

AfterFormatString
Declaration
property AfterFormatString: TOleanderFormatStringEvent;
Description

The AfterFormatString event is activated when the OleanderPrinter finishes a call to the FormatString method. This event is the last action before FormatString returns to the caller.

By assigning a method to this property, you can take any special actions required by the event.

 

AfterFreeDoc
Declaration
property AfterFreeDoc: TNotifyEvent;
Description

The AfterFreeDoc event is activated when the OleanderPrinter finishes a call to the FreeDoc method. This event is the last action before FreeDoc returns to the caller.

By assigning a method to this property, you can take any special actions required by the event.

 

AfterInsertText
Declaration
property AfterInsertText: TOleanderInsertTextEvent;

Description

The AfterInsertText event is activated when the OleanderPrinter finishes a call to the InsertText method. This event is the last action before InsertText returns to the caller.

By assigning a method to this property, you can take any special actions required by the event.

 

AfterLoadDoc
Declaration
property AfterLoadDoc: TNotifyEvent;
Description

The AfterLoadDoc event is activated when the OleanderPrinter finishes a call to the LoadDoc method. This event is the last action before LoadDoc returns to the caller.

By assigning a method to this property, you can take any special actions required by the event.

 

AfterOLECreate
Declaration
property AfterOLECreate: TNotifyEvent;
Description

The AfterOLECreate event is activated when the OleanderPrinter finishes a call to the Open method. This event is the last action before Open returns to the caller.

By assigning a method to this property, you can take any special actions required by the event.

 

AfterOLERelease
Declaration
property AfterOLERelease: TNotifyEvent;
Description

The AfterOLERelease event is activated when the OleanderPrinter finishes a call to the Close method. This event is the last action before Close returns to the caller.

By assigning a method to this property, you can take any special actions required by the event.

 

AfterPrintDoc
Declaration
property AfterPrintDoc: TNotifyEvent;
Description

The AfterPrintDoc event is activated when the OleanderPrinter finishes a call to the PrintDoc method. This event is the last action before PrintDoc returns to the caller.

By assigning a method to this property, you can take any special actions required by the event.

 

BeforeFormatString
Declaration
property BeforeFormatString: TOleanderFormatStringEvent;
Description

The BeforeFormatString event is activated when the OleanderPrinter starts the FormatString method. This event is the first action in FormatString.

By assigning a method to this property, you can take any special actions required by the event. By raising an exception in this event handler, you can prevent the FormatString operation from occurring.

 

BeforeFreeDoc
Declaration
property BeforeFreeDoc: TNotifyEvent;
Description

The BeforeFreeDoc event is activated when the OleanderPrinter starts the FreeDoc method. This event is the first action in FreeDoc.

By assigning a method to this property, you can take any special actions required by the event. By raising an exception in this event handler, you can prevent the FreeDoc operation from occurring.

 

BeforeInsertText
Declaration
property BeforeInsertText: TOleanderInsertTextEvent;
Description

The BeforeInsertText event is activated when the OleanderPrinter starts the InsertText method. This event is the first action in InsertText.

By assigning a method to this property, you can take any special actions required by the event. By raising an exception in this event handler, you can prevent the InsertText operation from occurring.

 

BeforeLoadDoc
Declaration
property BeforeLoadDoc: TNotifyEvent;
Description

The BeforeLoadDoc event is activated when the OleanderPrinter starts the LoadDoc method. This event is the first action in LoadDoc.

By assigning a method to this property, you can take any special actions required by the event. By raising an exception in this event handler, you can prevent the LoadDoc operation from occurring.

 

BeforeOLECreate
Declaration
property BeforeOLECreate: TNotifyEvent;
Description

The BeforeOLECreate event is activated when the OleanderPrinter starts the Open method. This event is the first action in Open.

By assigning a method to this property, you can take any special actions required by the event. By raising an exception in this event handler, you can prevent the Open operation from occurring.

 

BeforeOLERelease
Declaration
property BeforeOLERelease: TNotifyEvent;
Description

The BeforeOLERelease event is activated when the OleanderPrinter starts the Close method. This event is the first action in Close.

By assigning a method to this property, you can take any special actions required by the event. By raising an exception in this event handler, you can prevent the Close operation from occurring.

 

BeforePrintDoc
Declaration
property BeforePrintDoc: TNotifyEvent;
Description

The BeforePrintDoc event is activated when the OleanderPrinter starts the PrintDoc method. This event is the first action in PrintDoc.

By assigning a method to this property, you can take any special actions required by the event. By raising an exception in this event handler, you can prevent the PrintDoc operation from occurring.

 

OnClose
Declaration
property OnClose: TNotifyEvent;
Description

The OnClose event is activated when the OleanderPrinter finishes a call to the Close method. This event is the last action before Close returns to the caller.

 

OnOpen
Declaration
property OnOpen: TNotifyEvent;
Description

The OnOpen event is activated when the OleanderPrinter finishes a call to the Open method. This event is the last action before Open returns to the caller.