public class SvgResourceKeeperCallback extends Object implements ISvgResourceKeeperCallback
The resource keeper callback
Constructor and Description |
---|
SvgResourceKeeperCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onFontResourceReady(FontStoringArgs args)
Called when [font resource ready].
|
String |
onImageResourceReady(byte[] imageData,
int imageType,
String suggestedFileName,
boolean[] useEmbeddedImage)
Called when image resource ready.
|
String |
onSvgDocumentReady(byte[] htmlData,
String suggestedFileName)
Called when SVG document ready.
|
public String onImageResourceReady(byte[] imageData, int imageType, String suggestedFileName, boolean[] useEmbeddedImage)
Called when image resource ready.
onImageResourceReady
in interface ISvgResourceKeeperCallback
imageData
- The resource data.imageType
- Type of the image.suggestedFileName
- Name of the suggested file.useEmbeddedImage
- if set to true
the embedded image must be used.public void onFontResourceReady(FontStoringArgs args)
Called when [font resource ready].
onFontResourceReady
in interface ISvgResourceKeeperCallback
args
- The arguments.public String onSvgDocumentReady(byte[] htmlData, String suggestedFileName)
Called when SVG document ready.
onSvgDocumentReady
in interface ISvgResourceKeeperCallback
htmlData
- The SVG data.suggestedFileName
- Name of the suggested file.