![]() |
ScroogeXHTML for Object Pascal 8.5
|
Defines methods for image extraction. More...
Public Member Functions | |
addPicture () | |
The converter will call this method every time when it encounters an embedded picture in the RTF code. | |
beforeConvert () | |
The converter will call this method before it starts to convert the RTF code. | |
finalizePicture () | |
The converter will call this method every time when it reaches the end of an embedded picture. | |
TEmbeddedPicture | getCurrentPicture () |
For internal use only. | |
string | getPictureHTML () |
This function returns the HTML code for the embedded picture. | |
SetBase (const string ABase) | |
The base URL. | |
SetConverter (const IPictureConverter AConverter) | |
Set the picture converter. | |
<, > TObjectDictionary | TEmbeddedPicture () |
Return the map of the pictures in the current document. | |
Defines methods for image extraction.
IPictureAdapter::addPicture | ( | ) |
The converter will call this method every time when it encounters an embedded picture in the RTF code.
IPictureAdapter::beforeConvert | ( | ) |
The converter will call this method before it starts to convert the RTF code.
It can be used for initialization of the PictureAdapter implementation.
IPictureAdapter::finalizePicture | ( | ) |
The converter will call this method every time when it reaches the end of an embedded picture.
After calling this method, the converter will invoke the getPictureHTML method to build and add the HTML code to the output document.
TEmbeddedPicture IPictureAdapter::getCurrentPicture | ( | ) |
For internal use only.
string IPictureAdapter::getPictureHTML | ( | ) |
This function returns the HTML code for the embedded picture.
Implemented in TMemoryPictureAdapterDataURI.
IPictureAdapter::SetBase | ( | const string | ABase | ) |
The base URL.
Implemented in TMemoryPictureAdapterDataURI.
IPictureAdapter::SetConverter | ( | const IPictureConverter | AConverter | ) |
Set the picture converter.
Implemented in TMemoryPictureAdapterDataURI.
<, > TObjectDictionary IPictureAdapter::TEmbeddedPicture | ( | ) |
Return the map of the pictures in the current document.
Implemented in TMemoryPictureAdapterDataURI.