Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Code Block |
---|
import org.joget.apps.app.model.AppDefinition; import org.joget.apps.app.service.AppUtil; import org.joget.apps.form.service.FormPdfUtil; AppDefinition appDef = AppUtil.getCurrentAppDefinition(); String formId = "crm_account"; String id = "0001"; //generate the pdf file in bytes byte[] pdf = FormPdfUtil.createPdf(formId, id, appDef, null, null, null, null, null, null, null, null); |
Thai |
---|
กระบวนการ |
public static byte[] createPdf(java.lang.String formId, java.lang.String primaryKey, org.joget.apps.app.model.AppDefinition appDef, org.joget.workflow.model.WorkflowAssignment assignment, java.lang.Boolean hideEmpty, java.lang.String header, java.lang.String footer, java.lang.String css, java.lang.Boolean showAllSelectOptions, java.lang.Boolean repeatHeader, java.lang.Boolean repeatFooter)
...
public static java.lang.String formatHtml(java.lang.String html, java.lang.String header, java.lang.String footer, java.lang.String css, java.lang.Boolean showAllSelectOptions, java.lang.Boolean repeatHeader, java.lang.Boolean repeatFooter)
English |
---|
Prepare the HTML for PDF generation |
Thai |
---|
เตรียม HTML สำหรับการสร้าง PDF |
...