PdfConverter

Inheritance: java.lang.Object

public class PdfConverter

Converter for converting template file to pdf.

Example

         PdfConverter.process("template.xlsx", "res.pdf");

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
loadOptionsLowCodeLoadOptionsOptions for input and loading
saveOptionsLowCodeSaveOptionsOptions for output and saving

process(String templateFile, String resultFile)

public static void process(String templateFile, String resultFile)

Converts given template file to pdf.

Parameters:

ParameterTypeDescription
templateFilejava.lang.StringThe template file to be converted
resultFilejava.lang.StringThe 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int