WPTools Manual



Search


(press enter to search)

Class TWPToolsBasicEnviroment

Hierarchy

System.TObject | System.Classes.TPersistent | System.Classes.TComponent | TWPToolsBasicEnviroment

Subclasses

WPCTRMemo.TWPToolsEnviroment

Description

This class is required once in a project and will be used by all TWPRTFProps unless such a class has been explicitely created and assigned to the RTFProp for example to create a multithreaded application. In this case don't forget to register the reader and writer you intend to use.

Properties

Property CombinedPrintPageCount : Integer

Property DefaultImageClass : TWPObjectClass

Property LockedDC : Boolean

Property PrinterReference : TObject

Property ScreenReference : TObject

Property WPToolsCustomLanguage : IWPToolsCustomLanguage

Methods

Events

OnCreate : TNotifyEvent= procedure (Sender : TObject) of Object

Useful event to call RegisterReader and RegisterWriter to register the classes

OnCreateObject : TWPToolsEnviromentCreateObjectEvent= TWPToolsEnviromentCreateObjectEvent

Use this event to create objects for certain file types 'OnDemand'

OnMailMergeGetText : TWPEnviromentMailMergeGetTextEvent= TWPEnviromentMailMergeGetTextEvent

Used or referenced by

-Constructor TWPRTFProps.CreateInEnv(Environment:TWPToolsBasicEnviroment)