com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class HtmlSaveOptions.HtmlPageMarkupSavingStrategy

  • java.lang.Object
    • com.aspose.ms.System.Delegate
      • com.aspose.ms.System.MulticastDelegate
        • com.aspose.pdf.HtmlSaveOptions.HtmlPageMarkupSavingStrategy
  • Enclosing class:
    HtmlSaveOptions


    public abstract static class HtmlSaveOptions.HtmlPageMarkupSavingStrategy
    extends com.aspose.ms.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 .

    • Constructor Detail

      • HtmlPageMarkupSavingStrategy

        public HtmlPageMarkupSavingStrategy()
    • Method Detail

      • beginInvoke

        public final com.aspose.ms.System.IAsyncResult beginInvoke(HtmlSaveOptions.HtmlPageMarkupSavingInfo htmlSavingInfo,
                                                                   com.aspose.ms.System.AsyncCallback callback,
                                                                   Object state)
        Internal beginInvoke method
        Parameters:
        htmlSavingInfo - SaveOptions.ResourceSavingInfo object
        callback - AsyncCallback object
        state - state object
        Returns:
        IAsyncResult object
      • endInvoke

        public final void endInvoke(com.aspose.ms.System.IAsyncResult result)
        Internal endInvoke method
        Parameters:
        result - IAsyncResult object