TPictureAdapter Class Reference

Picture conversion support adapter class. More...

Inheritance diagram for TPictureAdapter:

TNullPictureAdapter TWMFAdapter

List of all members.

Public Member Functions

 IncPictNumber ()
 Increment the picture number.
 Init ()
 Initialize the new picture.
 Write (const Byte B)
 Add the next byte to the picture data buffer.
 Finalize ()
 Clean up.
AnsiString PictureHTML ()
 Returns the picture code for the document.

Public Attributes

AnsiString DocName
 Current input document name.
AnsiString ImagePath
 Output path.
TStream OutStream
 Output stream.
Integer PictNumber
 Picture sequence number.
TPictureInformation PicInfo
 Picture information structure.

Protected Member Functions

AnsiString PictureFile ()
 Picture file name.
AnsiString DefaultPictExtension ()
 Default picture file extension.


Detailed Description

Picture conversion support adapter class.

Member Function Documentation

TPictureAdapter::PictureFile (  )  [protected]

Picture file name.

TPictureAdapter::DefaultPictExtension (  )  [protected]

Default picture file extension.

TPictureAdapter::IncPictNumber (  ) 

Increment the picture number.

1 = first picture in this document, 2 = second picture ...

TPictureAdapter.Init (  ) 

Initialize the new picture.

Reimplemented in TWMFAdapter, and TNullPictureAdapter.

TPictureAdapter.Write ( const Byte  B  ) 

Add the next byte to the picture data buffer.

Reimplemented in TWMFAdapter, and TNullPictureAdapter.

TPictureAdapter.Finalize (  ) 

Clean up.

Reimplemented in TWMFAdapter, and TNullPictureAdapter.

TPictureAdapter::PictureHTML (  ) 

Returns the picture code for the document.

Reimplemented in TWMFAdapter.


Member Data Documentation

AnsiString TPictureAdapter.DocName

Current input document name.

See also:
GetDocName For reading

SetDocName For writing

AnsiString TPictureAdapter.ImagePath

Output path.

See also:
GetImagePath For reading

SetImagePath For writing

TStream TPictureAdapter.OutStream

Output stream.

See also:
GetOutStream For reading

SetOutStream For writing

Integer TPictureAdapter.PictNumber

Picture sequence number.

See also:
GetPictNumber For reading

SetPictNumber For writing

TPictureInformation TPictureAdapter.PicInfo

Picture information structure.

See also:
GetPicInfo For reading


Generated on Fri Feb 1 11:24:25 2008 for ScroogeXHTML for Delphi(tm) by  doxygen 1.5.4