HtmlSaveOptions.ResourceSavingStrategy

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

public abstract static class HtmlSaveOptions.ResourceSavingStrategy extends System.MulticastDelegate

对于此属性,您可以分配从自定义方法创建的委托,该方法实现了从 PDF 中提取的外部资源(字体或图像)的处理,并且在将 PDF 转换为 HTML 期间必须保存为外部资源。在这种情况下,处理(如保存在流或磁盘中)可以在该自定义代码中完成,并且该自定义代码必须返回路径(或任何其他不带引号的字符串),该路径随后将被合并到生成的 HTML 中,而不是该图像的原始假定路径资源。在这种情况下,所有用于保存图像的必要操作都必须在提供的方法代码中进行,因为在转换器代码中保存结果将不会被使用。如果出于某种原因必须由转换器代码本身而不是自定义代码来处理这个或那个文件,请在“resourceSavingInfo”参数变量的自定义代码标志“CustomProcessingCancelled”中设置它向转换器发出信号,表明处理的所有必要步骤该资源必须在转换器本身中完成,就好像没有任何外部自定义代码一样。

构造函数

构造函数描述
ResourceSavingStrategy()

方法

方法描述
combine(System.Delegate arg0, System.Delegate arg1)
combine(System.Delegate[] arg0)
equals(Object arg0)
getClass()
getInvocationList()
hashCode()
invoke(SaveOptions.ResourceSavingInfo resourceSavingInfo)调用的方法
notify()
notifyAll()
op_Equality(System.Delegate arg0, System.Delegate arg1)
op_Equality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
op_Inequality(System.Delegate arg0, System.Delegate arg1)
op_Inequality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)
peekOutRefParam(int arg0)
peekResult()
remove(System.Delegate arg0, System.Delegate arg1)
removeAll(System.Delegate arg0, System.Delegate arg1)
setException(RuntimeException arg0)
throwException()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ResourceSavingStrategy()

public ResourceSavingStrategy()

combine(System.Delegate arg0, System.Delegate arg1)

public static System.Delegate combine(System.Delegate arg0, System.Delegate arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Delegate
arg1com.aspose.ms.System.Delegate

退货: com.aspose.ms.System.Delegate

combine(System.Delegate[] arg0)

public static System.Delegate combine(System.Delegate[] arg0)

参数:

范围类型描述
arg0com.aspose.ms.System.Delegate[]

退货: com.aspose.ms.System.Delegate

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getInvocationList()

public final System.Delegate[] getInvocationList()

退货: com.aspose.ms.System.Delegate[]

hashCode()

public native int hashCode()

退货: 整数

invoke(SaveOptions.ResourceSavingInfo resourceSavingInfo)

public abstract String invoke(SaveOptions.ResourceSavingInfo resourceSavingInfo)

调用的方法

参数:

范围类型描述
resourceSavingInfoResourceSavingInfoSaveOptions.ResourceSavingInfo 对象

退货: java.lang.String - 字符串对象

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

op_Equality(System.Delegate arg0, System.Delegate arg1)

public static boolean op_Equality(System.Delegate arg0, System.Delegate arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Delegate
arg1com.aspose.ms.System.Delegate

退货: 布尔值

op_Equality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)

public static boolean op_Equality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.MulticastDelegate
arg1com.aspose.ms.System.MulticastDelegate

退货: 布尔值

op_Inequality(System.Delegate arg0, System.Delegate arg1)

public static boolean op_Inequality(System.Delegate arg0, System.Delegate arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Delegate
arg1com.aspose.ms.System.Delegate

退货: 布尔值

op_Inequality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)

public static boolean op_Inequality(System.MulticastDelegate arg0, System.MulticastDelegate arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.MulticastDelegate
arg1com.aspose.ms.System.MulticastDelegate

退货: 布尔值

peekOutRefParam(int arg0)

public Object peekOutRefParam(int arg0)

参数:

范围类型描述
arg0int

退货: java.lang.Object

peekResult()

public Object peekResult()

退货: java.lang.Object

remove(System.Delegate arg0, System.Delegate arg1)

public static System.Delegate remove(System.Delegate arg0, System.Delegate arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Delegate
arg1com.aspose.ms.System.Delegate

退货: com.aspose.ms.System.Delegate

removeAll(System.Delegate arg0, System.Delegate arg1)

public static System.Delegate removeAll(System.Delegate arg0, System.Delegate arg1)

参数:

范围类型描述
arg0com.aspose.ms.System.Delegate
arg1com.aspose.ms.System.Delegate

退货: com.aspose.ms.System.Delegate

setException(RuntimeException arg0)

public void setException(RuntimeException arg0)

参数:

范围类型描述
arg0java.lang.RuntimeException

throwException()

public void throwException()

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int