Attributes |
Description |
String LNCSrvAddr |
The IPv4 address of the Launcher server Example: 192.168.1.3 |
String Doc |
Template name. Example: C:\\temp\\template.docx |
String WordPath |
Default directory of Word. |
String MrgType |
Can take the following values : • *NONE : no merge • *FILE : data source to merge comes from CSV file or database. |
String Unlink |
Can take the following values : • True : deleting blank fields • False : none |
String OutSave |
Can take the following values : • True : save the generated document • False : none |
String MrgSel |
Merge format : • *LTR : letter format • *CAT : catalog format |
String OutPdf |
Complete path of the PDF file to save. |
String OutPrn |
Complete path of the PRN file to save. |
String ExecMrg |
Can take the following values : • True : exécution of the mail merge • False : the document is only prepared for the mail merge |
String Printer |
Printer name |
String Copies |
Number of generated copies |
String Tray |
Name of the tray |
String FirstPAgeTray |
Number or name of the tray |
String OtherPageTray |
Number or name of the tray |
String DirectPrt |
Can take the following values : • True : direct printing • False : none |
String OneDoc |
Can take the following values : • True : merging temporary document • False : none |
String DltLgn |
Can take the following values : • True : delete blank lines after merging • False : none |
String MailTo |
A field of a CSV file or a database table, containing email addresses |
String MailSubj |
Email subject |
String HeaderSrc |
Name of the file that contains the headers. |
String TmpPdf |
PDF temporary file. |
String TmpPrn |
PRN temporary file. |
String DataSource |
Complete path of the CSV file if you do not use DataSource class. |
DataSource sourceData |
An instance of the DataSource class. |
String Output |
Can take the following values : • *PDF : if the generated document is in PDF format • *EMAIL : if the result is sent by email • *OUTPRN : file Print PRN • *PRINT : the document is sent to print |
String ShowDoc |
Can take the following values : • True : to show the document • False : document not visible |
String SavDoc |
Complete path of the result document Example: C:\\temp\\result.docx |
String SavFmt |
Can take the following values : • *NORMAL : format of the template file • *DOC : Word format • *HTM : HTML format
|
String EndOpt |
Can take the following values : • *NONE : no end processing option • *DOC : close Word document • *ALL : end of the command session and closing Word application • *APP : close Word application
|
All attributes are accessed and modified through Getters and Setters methods.
Attributes |
Getters (read) |
Setters (write) |
String LNCSrvAddr |
getLNCSrvAddr() |
setLNCSrvAddr() |
String Doc |
getDoc() |
setDoc() |
String WordPath |
getWordPath() |
setWordPath() |
String MrgType |
getMrgType() |
setMrgType() |
String Unlink |
getUnlink() |
setUnlink() |
String OutSave |
getOutsave() |
setOutSave() |
String MrgSel |
getMrgSel() |
setMrgSel() |
String OutPdf |
getOutPdf() |
setOutPdf() |
String OutPrn |
getOutPrn() |
setOutPrn() |
String ExecMrg |
getExecMrg() |
setExecMrg() |
String Printer |
getPrinter() |
setPrinter() |
String Copies |
getCopies() |
setCopies() |
String Tray |
getTray() |
setTray() |
String FirstPageTray |
getFirstPageTray() |
setFirstPageTray() |
String OtherPageTray |
getOtherPageTray() |
setOtherPageTray() |
String DirectPrt |
getDirectPrt() |
setDirectPrt() |
String OneDoc |
getOneDoc() |
setOneDoc() |
String DltLgn |
getDltLgn() |
setDltLgn() |
String MailTo |
getMailTo() |
setMailTo() |
String MailSubj |
getMailSubj() |
setMailSubj() |
String HeaderSrc |
getHeaderSrc() |
setHeaderSrc() |
String TmpPdf |
getTmpPdf() |
setTmpPdf() |
String TmpPrn |
getTmpPrn() |
setTmpPrn() |
String DataSource |
getDataSource() |
setDataSource() |
String Output |
getOutput() |
setOutput() |
String ShowDoc |
getShowDoc() |
setShowDoc() |
String SavDoc |
getSavDoc() |
setSavDoc() |
String SavFmt |
getSavFmt() |
setSavFmt() |
String EndOpt |
getEndOpt() |
setEndOpt() |
DataSource sourceData |
getSourceData() |
setSourceData() |
The method execute() allows to execute the command LNCPRTDOC.