![]() |
ScroogeXHTML for Object Pascal 9.3
|
Interface for image extraction. More...
Public Member Functions | |
addPicture () | |
Processes an embedded picture in the RTF code. | |
beforeConvert () | |
Initializes the PictureAdapter implementation. | |
finalizePicture () | |
Finalizes the processing of an embedded picture. | |
TEmbeddedPicture | getCurrentPicture () |
Retrieves the current embedded picture. | |
string | getPictureHTML () |
Generates the HTML code for the embedded picture. | |
SetBase (const string ABase) | |
Sets the base URL for picture references. | |
SetConverter (const IPictureConverter AConverter) | |
Sets the picture converter. | |
<, > TObjectDictionary | TEmbeddedPicture () |
Retrieves a map of all pictures in the current document. |
Interface for image extraction.
This interface defines methods for handling embedded pictures in RTF code. It provides functionality for initialization, processing, and finalizing embedded pictures, as well as generating HTML output and managing picture data.
IPictureAdapter::addPicture | ( | ) |
Processes an embedded picture in the RTF code.
This method is called by the converter every time it encounters an embedded picture.
IPictureAdapter::beforeConvert | ( | ) |
Initializes the PictureAdapter implementation.
This method is called by the converter before it starts processing the RTF code.
IPictureAdapter::finalizePicture | ( | ) |
Finalizes the processing of an embedded picture.
This method is called by the converter when it reaches the end of an embedded picture. After this, the converter invokes the getPictureHTML method to generate the HTML code.
TEmbeddedPicture IPictureAdapter::getCurrentPicture | ( | ) |
Retrieves the current embedded picture.
string IPictureAdapter::getPictureHTML | ( | ) |
Generates the HTML code for the embedded picture.
IPictureAdapter::SetBase | ( | const string | ABase | ) |
Sets the base URL for picture references.
ABase | The base URL as a string. |
IPictureAdapter::SetConverter | ( | const IPictureConverter | AConverter | ) |
Sets the picture converter.
AConverter | The IPictureConverter to be used for picture conversion. |
<, > TObjectDictionary IPictureAdapter::TEmbeddedPicture | ( | ) |
Retrieves a map of all pictures in the current document.