public abstract class LoadOptions extends Object
LoadOptions type holds level of abstraction on individual load options
Modifier and Type | Class and Description |
---|---|
static class |
LoadOptions.MarginsAreaUsageModes
Represents mode of usage of margins area during conversion (like HTML, EPUB etc), defines
treatement of instructions of imported format related to usage of margins.
|
static class |
LoadOptions.PageSizeAdjustmentModes
ATTENTION!
|
static class |
LoadOptions.ResourceLoadingResult
Result of custom loading of resource
|
static interface |
LoadOptions.ResourceLoadingStrategy
Sometimes it's necessary to avoid usage of internal loader of external resources(like images
or CSSes) and supply custom method, that will get requested resources from somewhere.
|
Constructor and Description |
---|
LoadOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getLoadFormat()
Represents file format which
LoadOptions describes. |
WarningCallback |
getWarningHandler()
Callback to handle any warnings generated.
|
void |
setWarningHandler(WarningCallback value)
Callback to handle any warnings generated.
|
public WarningCallback getWarningHandler()
Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease.
public void setWarningHandler(WarningCallback value)
Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease.
value
- IWarningCallback valuepublic int getLoadFormat()
Represents file format which LoadOptions
describes.
LoadFormat