|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
java.io.File |
createTemplate(java.util.Hashtable fieldValues,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages)
Creates an empty template. |
java.io.File |
fillDocument(java.io.InputStream input,
java.lang.String nameFile,
java.util.Hashtable fieldValues,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages)
Fills the template |
java.io.File |
fillDocument(java.io.InputStream input,
java.lang.String nameFile,
java.util.Hashtable fieldValues,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages,
java.util.Hashtable valuesPivotTable)
|
java.io.File |
fillDocument(java.lang.String resource,
java.util.Hashtable valuesDescriptions,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages)
Fills the specified template |
java.io.File |
fillDocument(java.lang.String resource,
java.util.Hashtable valuesDescriptions,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages,
java.util.Hashtable valuesPivotTable)
|
java.util.List |
queryTemplateFields(java.io.File template)
Creates a list with all data fields included in the template |
java.util.List |
queryTemplateFields(java.lang.String template)
Creates a list with all data fields included in the template |
void |
setCreateLabelsInTemplate(boolean createLabels)
|
void |
setDateFormat(java.text.DateFormat df)
Sets the date format to use in the dates of the document |
void |
setNumberFormat(java.text.NumberFormat nf)
Sets the number format to use in the numeric values of the document |
void |
setShowTemplate(boolean show)
Sets the value of the variable show. |
| Method Detail |
public java.io.File fillDocument(java.lang.String resource,
java.util.Hashtable valuesDescriptions,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages)
throws java.lang.Exception
valuesDescriptions - Values for the data fieldsvaluesTable - Table valuesvaluesImages - Image values
java.lang.Exception
public java.io.File fillDocument(java.lang.String resource,
java.util.Hashtable valuesDescriptions,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages,
java.util.Hashtable valuesPivotTable)
throws java.lang.Exception
java.lang.Exception
public java.io.File fillDocument(java.io.InputStream input,
java.lang.String nameFile,
java.util.Hashtable fieldValues,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages)
throws java.lang.Exception
input - :
Template to fill.nameFile - :
Name used to save the filled templatefieldValues - :
This object contains the data field values to insert in the
template. Keys must be the field names and values must have the
data field values to insert.valuesTable - :
The object contains the table values to insert in the template.
Each key must be the table entity name and value must be an
EntityResultvaluesImages - :
The object contains the image values to insert. Key must be the
image field name and value must be the image data. The value
could be an image object (Image), a BytesBlock or a File.
java.lang.Exception
public java.io.File fillDocument(java.io.InputStream input,
java.lang.String nameFile,
java.util.Hashtable fieldValues,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages,
java.util.Hashtable valuesPivotTable)
throws java.lang.Exception
java.lang.Exceptionpublic void setDateFormat(java.text.DateFormat df)
df - Formatpublic void setNumberFormat(java.text.NumberFormat nf)
nf - public void setShowTemplate(boolean show)
show - public void setCreateLabelsInTemplate(boolean createLabels)
public java.io.File createTemplate(java.util.Hashtable fieldValues,
java.util.Hashtable valuesTable,
java.util.Hashtable valuesImages)
throws java.lang.Exception
fieldValues - :
This object contains the data fields attributes and labels to
show in the templatevaluesTable - :
The object contains the table information to insert in the
template. This map must have the table entity name as key and
the value must be other Hashtable with the columns attributes
and names to show (column name - column label)
java.lang.Exception
public java.util.List queryTemplateFields(java.lang.String template)
throws java.lang.Exception
template - Template to query
java.lang.Exception
public java.util.List queryTemplateFields(java.io.File template)
throws java.lang.Exception
template - Template to query
java.lang.Exception
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||