PdfConverter
Inheritance: java.lang.Object
public class PdfConverter
Converter for converting template file to pdf.
Example
PdfConverter.process("template.xlsx", "res.pdf");
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions) | Converts template file to pdf |
process(String templateFile, String resultFile) | Converts given template file to pdf. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions)
public static void process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions)
Converts template file to pdf
Parameters:
Parameter | Type | Description |
---|---|---|
loadOptions | LowCodeLoadOptions | Options for input and loading |
saveOptions | LowCodeSaveOptions | Options for output and saving |
process(String templateFile, String resultFile)
public static void process(String templateFile, String resultFile)
Converts given template file to pdf.
Parameters:
Parameter | Type | Description |
---|---|---|
templateFile | java.lang.String | The template file to be converted |
resultFile | java.lang.String | The resultant file, it must be pdf file. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |