public static class SaveOptions.ResourceSavingInfo extends Object
This class represents set of data that related to external resource file's saving that occures during conversion of PDF to some other format (f.e. HTML)
Modifier and Type | Method and Description |
---|---|
byte[] |
getContentStream()
Set by converter.
|
int |
getResourceType()
Set by converter.
|
String |
getSupposedFileName()
Set by converter.
|
boolean |
isCustomProcessingCancelled()
this flag must set to "true" in custom code if for some reasons proposed file should be
processed not with custom code but with converter's code itself in standard for converter
way.
|
void |
setCustomProcessingCancelled(boolean customProcessingCancelled)
this flag must set to "true" in custom code if for some reasons proposed file should be
processed not with custom code but with converter's code itself in standard for converter
way.
|
public int getResourceType()
Set by converter. Supposed file name that goes from converter to code of custom method Can be use in custom code to decide how to process or where save that file
SaveOptions.NodeLevelResourceType
public String getSupposedFileName()
Set by converter. Supposed file name that goes from converter to code of custom method Can be use in custom code to decide how to process or where save that file
public byte[] getContentStream()
Set by converter. Represents binary content of saved file.
public boolean isCustomProcessingCancelled()
this flag must set to "true" in custom code if for some reasons proposed file should be processed not with custom code but with converter's code itself in standard for converter way. So, it' setting set to true means that custom code did not process referenced file and converter must handle it itself (in both sences - for saving somewhere and for naming in referencing file).
public void setCustomProcessingCancelled(boolean customProcessingCancelled)
this flag must set to "true" in custom code if for some reasons proposed file should be processed not with custom code but with converter's code itself in standard for converter way. So, it' setting set to true means that custom code did not process referenced file and converter must handle it itself (in both senses - for saving somewhere and for naming in referencing file).
customProcessingCancelled
- boolean value