HtmlSaveOptions.HtmlPageMarkupSavingStrategy

Inheritance: java.lang.Object, com.aspose.ms.System.Delegate, com.aspose.ms.System.MulticastDelegate

public abstract static class HtmlSaveOptions.HtmlPageMarkupSavingStrategy extends System.MulticastDelegate

Result of conversion can contain one or several HTML-pages ( that also can reference external files like images or fonts) You can assign to this property delegate created from custom method that implements processing of got HTML-page(HTML itself) that was created during conversion. In such case processing (like saving in stream or disk) can be done in that custom code . In such case All the necessary actions for saving of HTML page’s markup must be undertaken in code of supplied method, because saving of result in code of converter will be not in use. If processing for this or that case for some reason must be done by converter’s code itself, not in custom code, please set in custom code flag ‘CustomProcessingCancelled’ of ‘htmlSavingInfo’ parameter’s variable : it signals to converter that all the necessary steps for processing of that resource must be done in converter itself in same way as if there was no any external custom saving code .

Constructors

ConstructorDescription
HtmlPageMarkupSavingStrategy()

Methods

MethodDescription
invoke(HtmlSaveOptions.HtmlPageMarkupSavingInfo htmlSavingInfo)Invoked method
beginInvoke(HtmlSaveOptions.HtmlPageMarkupSavingInfo htmlSavingInfo, System.AsyncCallback callback, Object state)Internal beginInvoke method
endInvoke(System.IAsyncResult result)Internal endInvoke method

HtmlPageMarkupSavingStrategy()

public HtmlPageMarkupSavingStrategy()

invoke(HtmlSaveOptions.HtmlPageMarkupSavingInfo htmlSavingInfo)

public abstract void invoke(HtmlSaveOptions.HtmlPageMarkupSavingInfo htmlSavingInfo)

Invoked method

Parameters:

ParameterTypeDescription
htmlSavingInfoHtmlPageMarkupSavingInfoSaveOptions.ResourceSavingInfo object

beginInvoke(HtmlSaveOptions.HtmlPageMarkupSavingInfo htmlSavingInfo, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginInvoke(HtmlSaveOptions.HtmlPageMarkupSavingInfo htmlSavingInfo, System.AsyncCallback callback, Object state)

Internal beginInvoke method

Parameters:

ParameterTypeDescription
htmlSavingInfoHtmlPageMarkupSavingInfoSaveOptions.ResourceSavingInfo object
callbackcom.aspose.ms.System.AsyncCallbackAsyncCallback object
statejava.lang.Objectstate object

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult object

endInvoke(System.IAsyncResult result)

public final void endInvoke(System.IAsyncResult result)

Internal endInvoke method

Parameters:

ParameterTypeDescription
resultcom.aspose.ms.System.IAsyncResultIAsyncResult object