Package: u_traducefile Diagram Back to overview

TTraduceFile
class

Description
TTraduceFile

Inherits from: TAbsFileCopy
Implements: IFileCopyComponent
Attributes
Name Type Visibility
FTraduceOptions
TETraduceOptions   private
FResizeHeight
Longint   private
FResizeWidth
Longint   private
FKeepProportion
Boolean   private
FTraduceImage
Boolean   private
FBeforeCopyBuffer
TECopyEvent   private
FOnChange
TEChangeDirectoryEvent   private
FBufferSize
Integer   private
FSizeProgress
Integer   private
FOnSuccess
TECopyFinishEvent   private
FOnFailure
TECopyErrorEvent   private
FBeforeCopy
TEReturnEvent   private
FOnProgress
TECopyEvent   private
FDestinationOption
TEImageFileOption   private
FHeader
TCustomMemo   private
FEndOfFile
TCustomMemo   private
FSource
String   private
FDestination
String   private
FInProgress
Boolean   private
FInited
Boolean   protected
InProgress
  public
TraduceOptions
  public
TraduceImage
  public
BufferSize
  public
Header
  public
EndOfFile
  public
ResizeHeight
  public
ResizeWidth
  public
KeepProportion
  public
FileSource
  public
FileDestination
  public
ImageDestinationOption

Description
property ImageSourceOptions : TEImageFilesOption read FSourceOptions write FSourceOptions default lfo_TraduceDefaults ;

  public
OnSuccess
  public
OnFailure
  public
OnProgress
  public
OnBeforeCopyBuffer
  public
OnBeforeCopy
  public
OnChange
  public
Operations
Name Parameters Returns Visibility
SetDestination

Description
destination property

String AValue
 
  private
SetSource

Description
Source property and event

String AValue
 
  private
SaveToFile

Description
Function to save with original file

TImageData Adata
String as_source
String as_Destination
TImageFileFormat AFormat
Boolean AResized
 
Longint   protected
DoInit   Integer   protected
UnInit   Integer   protected
BeforeCopy

Description
Event beforecopy

  Boolean   protected
CreateDestination
String as_Destination
 
Boolean   protected
Notification
TComponent AComponent
TOperation Operation
 
  protected
Create

Description
D?clarations prot?g?es DoInit TTraduceFile component

TComponent AOwner
 
  public
IsCopyOk

Description
verifying traduced copy

Integer ai_Error
String as_Message
 
Boolean   public
InternalDefaultCopyFile

Description
let the system doing some thinks

String as_Source
String as_Destination
 
Boolean   public
InternalFinish

Description
Internal finish

String as_Source
String as_Destination
 
  public
PrepareCopy     public
CopyFile

Description
Copy image file and traducing it

String as_Source
String as_Destination
 
Integer   public
CopySourceToDestination

Description
overrided Copy to traduce image file

    public
Destroy     public