diff --git a/bin/jasperstarter/CHANGES b/bin/jasperstarter/CHANGES index e3147b2..0d263a6 100644 --- a/bin/jasperstarter/CHANGES +++ b/bin/jasperstarter/CHANGES @@ -2,6 +2,109 @@ JasperStarter - Running JasperReports from command line ======================================================== +Release notes - JasperStarter - Version 3.5.0 +--------------------------------------------- + +** Bug + * [JAS-134] - "InterruptedException" should not be ignored in App.java + * [JAS-135] - comparisons between unrelated types in Config.java + +** New Feature + * [JAS-131] - Jasperstarter does not provide a way to use the query string saved in the report itself + +** Task + * [JAS-133] - Release Pipeline takes longer than before + * [JAS-136] - Throwable.printStackTrace(...) should not be called in Report.java setLookAndFeel() + * [JAS-137] - Do not use a bitwise operator with a Boolean-like operand in ParameterPanel.java + * [JAS-138] - Do not use a bitwise operator with a Boolean-like operand in ParameterPrompt.java + + +Release notes - JasperStarter - Version 3.4.1 +--------------------------------------------- + +** Bug + * [JAS-132] - Security alert on org.springframework:spring-core + Updated springframework to 4.3.21 + + CVE-2016-5007 - moderate severity - Vulnerable versions: < 4.3.1 + CVE-2018-1275 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1272 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1271 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1270 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1257 - moderate severity - Vulnerable versions: < 4.3.17 + + +Release notes - JasperStarter - Version 3.4.0 +--------------------------------------------- + + JasperStarter-3.2.0 silently dropped Java7 support by using the + latest available JasperReports Library. + JasperReports-6.4.0 is the last release which works with Java7 so + JasperStarter-3.1.0 was the latest release supporting Java7. + + Now JasperStarter needs Java8 at a minimum and is manually tested + with OpenJDK-8, OpenJDK-10, OpenJDK-11. Automatic testing is on the + way (see JAS-128). + There will be a special release supporting Java7. + + "Diskless" operation using stdin and stdout for input data and + output is now complete. See ([JAS-97] and [JAS-89]). + + A public API allows direct integration with Python using jpy + ([JAS-125]). + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with + reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-111] - JRE 1.7 incompatibility - not fixed in the main + release but clarified. + * [JAS-122] - Runtime error if a chart with "chart customizers" is + used + * [JAS-126] - Jasperstarter does not usefully propagate + compilation errors + +** New Feature + * [JAS-97] - Use stdout for the resulting PDF (so we don't have to + write to the hosting server's storage) + * [JAS-125] - Make report fill accessible via API + +** Task + * [JAS-127] - Enable dependency caching in build pipeline + * [JAS-129] - Remove test dependency to font Arial + * [JAS-130] - launch4j-maven-plugin:1.5.2 depends on 32bit + libraries + + +Release notes - JasperStarter - Version 3.3.0 +--------------------------------------------- + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-116] - SSL error + * [JAS-121] - Container 'Build' exceeded memory limit. + * [JAS-122] - Runtime error if a chart with "chart customizers" is used + +** New Feature + * [JAS-113] - JSONQL data source support + +** Task + * [JAS-102] - Pipeline: enable build artifact upload to download section + * [JAS-119] - Include JasperReports-6.7.0 + +** Improvement + * [JAS-89] - Accept stdin for datafile input + + Release Notes - JasperStarter - Version 3.2.1 --------------------------------------------- diff --git a/bin/jasperstarter/README.md b/bin/jasperstarter/README.md index 1ca00c3..0c315f0 100644 --- a/bin/jasperstarter/README.md +++ b/bin/jasperstarter/README.md @@ -9,7 +9,7 @@ The official homepage is [jasperstater.cenote.de][]. It has the following features: - * Run any JasperReport that needs a jdbc, csv, xml, json or empty datasource + * Run any JasperReport that needs a jdbc, csv, xml, json, jsonql or empty datasource * Use with any database for which a jdbc driver is available * Run reports with subreports * Execute reports that need runtime parameters. Any parameter whose class has @@ -29,10 +29,11 @@ It has the following features: * Integrate in non Java applications (for example PHP, Python) * Binary executable on Windows * Includes JasperReports so this is the only tool you need to install + * "Diskless" operation using stdin and stdout for input data and output. Requirements: - * Java 1.6 or higher + * Java 1.8 or higher * A JDBC 2.1 driver for your database @@ -67,6 +68,43 @@ Example with hsql using database type generic: For more information take a look in the docs directory of the distibution archive or read the [Usage][] page online. +### Python Integration using public API + +JasperStarter exposes an API which can be used with [jpy][] to +provide direct access from Python: + + # + # Load the JVM. See the jpy docs for details. + # + import jpyutil + jpyutil.init_jvm(jvm_maxmem='512M', jvm_classpath=['.../jasperstarter.jar']) + # + # Load the Java types needed. + # + import jpy + Arrays = jpy.get_type('java.util.Arrays') + File = jpy.get_type('java.io.File') + Report = jpy.get_type('de.cenote.jasperstarter.Report') + Config = jpy.get_type('de.cenote.jasperstarter.Config') + DsType = jpy.get_type('de.cenote.jasperstarter.types.DsType') + # + # Create the JasperStarter configuration. See Config.java for details. + # + config = Config() + config.setInput('jsonql.jrxml') + config.setOutput('contacts.pdf') + config.setDbType(DsType.json) + config.setDataFile(File('contacts.json')) + config.setJsonQuery('contacts.person') + config.setOutputFormats(Arrays.asList([])) + # + # Run the report. See Report.java for details. + # + instance = Report(config, File(config.getInput())) + instance.fill() + instance.exportPdf() + +See the examples/python directory for a fuller example. ### Release Notes @@ -88,23 +126,26 @@ and create a bug or feature request. If you like the software you can write a [review][] :-) -### Developement +### Development The sourcecode is available at [bitbucket.org/cenote/jasperstarter][], the project website is hosted at [Sourceforge][]. JasperStarter is build with [Maven][]. -On Linux 64 bit the launch4j-maven-plugin may fail. You need the folloing libs in a 32 bit version: +On Linux 64 bit the launch4j-maven-plugin may fail. In this case, may you need the following libs in a 32 bit version: * z1 * ncurses5 * bz2-1.0 -On Ubuntu 14.04 for example use this command: +Install on Ubuntu 14.04 or above: $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 +Install on Fedora 27 or above: + + $sudo dnf install ncurses-compat-libs.i686 To get a distribution package run: @@ -187,3 +228,4 @@ limitations under the License. [Usage]:http://jasperstarter.sourceforge.net/usage.html [Issues]:https://cenote-issues.atlassian.net/browse/JAS [Changes]:changes.html +[jpy]:https://github.com/bcdev/jpy \ No newline at end of file diff --git a/bin/jasperstarter/bin/jasperstarter.exe b/bin/jasperstarter/bin/jasperstarter.exe index 67bee7d..c0bb57f 100755 Binary files a/bin/jasperstarter/bin/jasperstarter.exe and b/bin/jasperstarter/bin/jasperstarter.exe differ diff --git a/bin/jasperstarter/docs/apidocs/allclasses-frame.html b/bin/jasperstarter/docs/apidocs/allclasses-frame.html new file mode 100644 index 0000000..8e0e32b --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/allclasses-frame.html @@ -0,0 +1,29 @@ + + + +
+ + +Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+ASK |
+"ask" |
+
+
+public static final String |
+COMMAND |
+"command" |
+
+
+public static final String |
+COPIES |
+"copies" |
+
+
+public static final String |
+CSV_CHARSET |
+"csv-charset" |
+
+
+public static final String |
+CSV_COLUMNS |
+"csv-columns" |
+
+
+public static final String |
+CSV_FIELD_DEL |
+"csv-field-del" |
+
+
+public static final String |
+CSV_FIRST_ROW |
+"csv-first-row" |
+
+
+public static final String |
+CSV_RECORD_DEL |
+"csv-record-del" |
+
+
+public static final String |
+DATA_FILE |
+"data-file" |
+
+
+public static final String |
+DB_DRIVER |
+"db-driver" |
+
+
+public static final String |
+DB_HOST |
+"db-host" |
+
+
+public static final String |
+DB_NAME |
+"db-name" |
+
+
+public static final String |
+DB_PASSWD |
+"db-passwd" |
+
+
+public static final String |
+DB_PORT |
+"db-port" |
+
+
+public static final String |
+DB_SID |
+"db-sid" |
+
+
+public static final String |
+DB_URL |
+"db-url" |
+
+
+public static final String |
+DB_USER |
+"db-user" |
+
+
+public static final String |
+DEBUG |
+"debug" |
+
+
+public static final String |
+DS_TYPE |
+"db-type" |
+
+
+public static final String |
+INPUT |
+"input" |
+
+
+public static final String |
+JDBC_DIR |
+"jdbc-dir" |
+
+
+public static final String |
+JSON_QUERY |
+"json-query" |
+
+
+public static final String |
+JSONQL_QUERY |
+"jsonql-query" |
+
+
+public static final String |
+LOCALE |
+"locale" |
+
+
+public static final String |
+OUT_CHARSET |
+"out-charset" |
+
+
+public static final String |
+OUT_FIELD_DEL |
+"out-field-del" |
+
+
+public static final String |
+OUTPUT |
+"output" |
+
+
+public static final String |
+OUTPUT_FORMATS |
+"output-formats" |
+
+
+public static final String |
+PARAMS |
+"params" |
+
+
+public static final String |
+PRINTER_NAME |
+"printer-name" |
+
+
+public static final String |
+REPORT_NAME |
+"set-report-name" |
+
+
+public static final String |
+RESOURCE |
+"resource" |
+
+
+public static final String |
+WITH_PRINT_DIALOG |
+"with-print-dialog" |
+
+
+public static final String |
+WRITE_JASPER |
+"write-jasper" |
+
+
+public static final String |
+XML_XPATH |
+"xml-xpath" |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/App.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/App.html new file mode 100644 index 0000000..8a4b183 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/App.html @@ -0,0 +1,313 @@ + + + + + + +public class App +extends Object+
App class.
Modifier and Type | +Method and Description | +
---|---|
static void |
+listReportParams(Config config,
+ File input)
+listReportParams.
+ |
+
static void |
+main(String[] args)
+main.
+ |
+
public static void main(String[] args)+
main.
args
- the command line argumentspublic static void listReportParams(Config config, + File input) + throws IllegalArgumentException+
listReportParams.
config
- a Config
object.input
- a File
object.IllegalArgumentException
- if any.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Config.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Config.html new file mode 100644 index 0000000..509ac16 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Config.html @@ -0,0 +1,1947 @@ + + + + + + +public class Config +extends Object+
Constructor and Description | +
---|
Config()
+Constructor for Config.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AskFilter |
+getAskFilter()
+Getter for the field
+askFilter . |
+
String |
+getCommand()
+Getter for the field
+command . |
+
Integer |
+getCopies()
+Getter for the field
+copies . |
+
String |
+getCsvCharset()
+Getter for the field
+csvCharset . |
+
String[] |
+getCsvColumns()
+Getter for the field
+csvColumns . |
+
char |
+getCsvFieldDel()
+Getter for the field
+csvFieldDel . |
+
boolean |
+getCsvFirstRow()
+Getter for the field
+csvFirstRow . |
+
String |
+getCsvRecordDel()
+Getter for the field
+csvRecordDel . |
+
File |
+getDataFile()
+Getter for the field
+dataFile . |
+
InputStream |
+getDataFileInputStream()
+Get InputStream corresponding to the configured dataFile.
+ |
+
String |
+getDataFileName()
+Get name of the configured dataFile.
+ |
+
String |
+getDbDriver()
+Getter for the field
+dbDriver . |
+
String |
+getDbHost()
+Getter for the field
+dbHost . |
+
String |
+getDbName()
+Getter for the field
+dbName . |
+
String |
+getDbPasswd()
+Getter for the field
+dbPasswd . |
+
Integer |
+getDbPort()
+Getter for the field
+dbPort . |
+
String |
+getDbSid()
+Getter for the field
+dbSid . |
+
DsType |
+getDbType()
+Getter for the field
+dbType . |
+
String |
+getDbUrl()
+Getter for the field
+dbUrl . |
+
String |
+getDbUser()
+Getter for the field
+dbUser . |
+
String |
+getInput()
+Getter for the field
+input . |
+
File |
+getJdbcDir()
+Getter for the field
+jdbcDir . |
+
String |
+getJsonQLQuery()
+Getter for the field
+jsonQLQuery . |
+
String |
+getJsonQuery()
+Getter for the field
+jsonQuery . |
+
Locale |
+getLocale()
+Getter for the field
+locale . |
+
String |
+getOutCharset()
+Getter for the field
+outCharset . |
+
String |
+getOutFieldDel()
+Getter for the field
+outFieldDel . |
+
String |
+getOutput()
+Getter for the field
+output . |
+
List<OutputFormat> |
+getOutputFormats()
+Getter for the field
+outputFormats . |
+
List<String> |
+getParams()
+Getter for the field
+params . |
+
String |
+getPrinterName()
+Getter for the field
+printerName . |
+
String |
+getReportName()
+Getter for the field
+reportName . |
+
String |
+getResource()
+Getter for the field
+resource . |
+
String |
+getVersionString()
+Getter for the field
+versionString . |
+
String |
+getXmlXpath()
+Getter for the field
+xmlXpath . |
+
boolean |
+hasAskFilter()
+hasAskFilter.
+ |
+
boolean |
+hasCopies()
+hasCopies.
+ |
+
boolean |
+hasDbType()
+hasDbType.
+ |
+
boolean |
+hasJdbcDir()
+hasJdbcDir.
+ |
+
boolean |
+hasLocale()
+hasLocale.
+ |
+
boolean |
+hasOutput()
+hasOutput.
+ |
+
boolean |
+hasParams()
+hasParams.
+ |
+
boolean |
+hasPrinterName()
+hasPrinterName.
+ |
+
boolean |
+hasReportName()
+hasReportName.
+ |
+
boolean |
+hasResource()
+hasResource.
+ |
+
boolean |
+isVerbose()
+isVerbose.
+ |
+
boolean |
+isWithPrintDialog()
+isWithPrintDialog.
+ |
+
boolean |
+isWriteJasper()
+isWriteJasper.
+ |
+
void |
+setAskFilter(AskFilter value)
+Setter for the field
+askFilter . |
+
void |
+setCommand(String value)
+Setter for the field
+command . |
+
void |
+setCopies(Integer value)
+Setter for the field
+copies . |
+
void |
+setCsvCharset(String value)
+Setter for the field
+csvCharset . |
+
void |
+setCsvColumns(String value)
+Setter for the field
+csvColumns . |
+
void |
+setCsvFieldDel(String value)
+Setter for the field
+csvFieldDel . |
+
void |
+setCsvFirstRow(boolean value)
+Setter for the field
+csvFirstRow . |
+
void |
+setCsvRecordDel(String value)
+Setter for the field
+csvRecordDel . |
+
void |
+setDataFile(File value)
+Setter for the field
+dataFile . |
+
void |
+setDbDriver(String value)
+Setter for the field
+dbDriver . |
+
void |
+setDbHost(String value)
+Setter for the field
+dbHost . |
+
void |
+setDbName(String value)
+Setter for the field
+dbName . |
+
void |
+setDbPasswd(String value)
+Setter for the field
+dbPasswd . |
+
void |
+setDbPort(Integer value)
+Setter for the field
+dbPort . |
+
void |
+setDbSid(String value)
+Setter for the field
+dbSid . |
+
void |
+setDbType(DsType value)
+Setter for the field
+dbType . |
+
void |
+setDbUrl(String value)
+Setter for the field
+dbUrl . |
+
void |
+setDbUser(String value)
+Setter for the field
+dbUser . |
+
void |
+setInput(String value)
+Setter for the field
+input . |
+
void |
+setJdbcDir(File value)
+Setter for the field
+jdbcDir . |
+
void |
+setJsonQLQuery(String value)
+Setter for the field
+jsonQLQuery . |
+
void |
+setJsonQuery(String value)
+Setter for the field
+jsonQuery . |
+
void |
+setLocale(String value)
+Setter for the field
+locale . |
+
void |
+setOutCharset(String value)
+Setter for the field
+outCharset . |
+
void |
+setOutFieldDel(String value)
+Setter for the field
+outFieldDel . |
+
void |
+setOutput(String value)
+Setter for the field
+output . |
+
void |
+setOutputFormats(List<OutputFormat> value)
+Setter for the field
+outputFormats . |
+
void |
+setParams(List<String> value)
+Setter for the field
+params . |
+
void |
+setPrinterName(String value)
+Setter for the field
+printerName . |
+
void |
+setReportName(String value)
+Setter for the field
+reportName . |
+
void |
+setResource(String value)
+Setter for the field
+resource . |
+
void |
+setVerbose(boolean value)
+Setter for the field
+verbose . |
+
void |
+setWithPrintDialog(boolean value)
+Setter for the field
+withPrintDialog . |
+
void |
+setWriteJasper(boolean value)
+Setter for the field
+writeJasper . |
+
void |
+setXmlXpath(String value)
+Setter for the field
+xmlXpath . |
+
public String getVersionString()+
Getter for the field versionString
.
public AskFilter getAskFilter()+
Getter for the field askFilter
.
AskFilter
object.public void setAskFilter(AskFilter value)+
Setter for the field askFilter
.
value
- a AskFilter
object.public boolean hasAskFilter()+
hasAskFilter.
public String getCommand()+
Getter for the field command
.
String
object.public void setCommand(String value)+
Setter for the field command
.
value
- a String
object.public String getDbDriver()+
Getter for the field dbDriver
.
String
object.public void setDbDriver(String value)+
Setter for the field dbDriver
.
value
- a String
object.public String getDbHost()+
Getter for the field dbHost
.
String
object.public void setDbHost(String value)+
Setter for the field dbHost
.
value
- a String
object.public String getDbName()+
Getter for the field dbName
.
String
object.public void setDbName(String value)+
Setter for the field dbName
.
value
- a String
object.public String getDbPasswd()+
Getter for the field dbPasswd
.
String
object.public void setDbPasswd(String value)+
Setter for the field dbPasswd
.
value
- a String
object.public Integer getDbPort()+
Getter for the field dbPort
.
Integer
object.public void setDbPort(Integer value)+
Setter for the field dbPort
.
value
- a Integer
object.public String getDbSid()+
Getter for the field dbSid
.
String
object.public void setDbSid(String value)+
Setter for the field dbSid
.
value
- a String
object.public DsType getDbType()+
Getter for the field dbType
.
DsType
object.public void setDbType(DsType value)+
Setter for the field dbType
. This setting determines what
+ other configuration options may apply. For example, if dbType
+ is DsType.jsonql
, then setJsonQLQuery(String)
+ may be used to set the query string.
value
- a DsType
object.public boolean hasDbType()+
hasDbType.
public String getDbUrl()+
Getter for the field dbUrl
.
String
object.public void setDbUrl(String value)+
Setter for the field dbUrl
.
value
- a String
object.public String getDbUser()+
Getter for the field dbUser
.
String
object.public void setDbUser(String value)+
Setter for the field dbUser
.
value
- a String
object.public boolean isVerbose()+
isVerbose.
public void setVerbose(boolean value)+
Setter for the field verbose
.
value
- a boolean.public String getInput()+
Getter for the field input
.
String
object.public void setInput(String value)+
Setter for the field input
.
value
- a String
object.public File getJdbcDir()+
Getter for the field jdbcDir
.
File
object.public void setJdbcDir(File value)+
Setter for the field jdbcDir
.
value
- a File
object.public boolean hasJdbcDir()+
hasJdbcDir.
public File getDataFile()+
Getter for the field dataFile
.
File
object.public void setDataFile(File value)+
Setter for the field dataFile
.
value
- a File
object.public InputStream getDataFileInputStream() + throws net.sf.jasperreports.engine.JRException+
InputStream
object.net.sf.jasperreports.engine.JRException
- if any.public String getDataFileName()+
String
object.public boolean getCsvFirstRow()+
Getter for the field csvFirstRow
.
public void setCsvFirstRow(boolean value)+
Setter for the field csvFirstRow
.
value
- a boolean.public String[] getCsvColumns()+
Getter for the field csvColumns
.
String
objects.public void setCsvColumns(String value)+
Setter for the field csvColumns
.
value
- a String
object.public String getCsvRecordDel()+
Getter for the field csvRecordDel
.
String
object.public void setCsvRecordDel(String value)+
Setter for the field csvRecordDel
.
value
- a String
object.public char getCsvFieldDel()+
Getter for the field csvFieldDel
.
public void setCsvFieldDel(String value)+
Setter for the field csvFieldDel
.
value
- a String
object.public String getCsvCharset()+
Getter for the field csvCharset
.
String
object.public void setCsvCharset(String value)+
Setter for the field csvCharset
.
value
- a String
object.public String getXmlXpath()+
Getter for the field xmlXpath
.
String
object.public void setXmlXpath(String value)+
Setter for the field xmlXpath
.
value
- a String
object.public String getJsonQuery()+
Getter for the field jsonQuery
.
String
object.public void setJsonQuery(String value)+
Setter for the field jsonQuery
.
value
- a String
object.public String getJsonQLQuery()+
Getter for the field jsonQLQuery
.
String
object.public void setJsonQLQuery(String value)+
Setter for the field jsonQLQuery
.
value
- a String
object.public Locale getLocale()+
Getter for the field locale
.
Locale
object.public void setLocale(String value)+
Setter for the field locale
.
value
- a String
object.public boolean hasLocale()+
hasLocale.
public String getOutput()+
Getter for the field output
.
String
object.public void setOutput(String value)+
Setter for the field output
.
value
- a String
object.public boolean hasOutput()+
hasOutput.
public List<OutputFormat> getOutputFormats()+
Getter for the field outputFormats
.
List
object.public void setOutputFormats(List<OutputFormat> value)+
Setter for the field outputFormats
.
value
- a List
object.public List<String> getParams()+
Getter for the field params
.
List
object.public void setParams(List<String> value)+
Setter for the field params
. Each entry in the list is
+ a String
of the form:
+ name=value ++ +
where name is the name of a parameter defined in the .jrxml + and value is the Java representation (e.g. boolean truth is + "true" or "false").
value
- a List
object.public boolean hasParams()+
hasParams.
public String getPrinterName()+
Getter for the field printerName
.
String
object.public void setPrinterName(String value)+
Setter for the field printerName
.
value
- a String
object.public boolean hasPrinterName()+
hasPrinterName.
public String getReportName()+
Getter for the field reportName
.
String
object.public void setReportName(String value)+
Setter for the field reportName
.
value
- a String
object.public boolean hasReportName()+
hasReportName.
public String getResource()+
Getter for the field resource
.
String
object.public void setResource(String value)+
Setter for the field resource
.
value
- a String
object.public boolean hasResource()+
hasResource.
public boolean isWithPrintDialog()+
isWithPrintDialog.
public void setWithPrintDialog(boolean value)+
Setter for the field withPrintDialog
.
value
- a boolean.public boolean isWriteJasper()+
isWriteJasper.
public void setWriteJasper(boolean value)+
Setter for the field writeJasper
.
value
- a boolean.public Integer getCopies()+
Getter for the field copies
.
Integer
object.public void setCopies(Integer value)+
Setter for the field copies
.
value
- a Integer
object.public boolean hasCopies()+
hasCopies.
public String getOutFieldDel()+
Getter for the field outFieldDel
.
String
object.public void setOutFieldDel(String value)+
Setter for the field outFieldDel
.
value
- a String
object.public String getOutCharset()+
Getter for the field outCharset
.
String
object.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Db.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Db.html new file mode 100644 index 0000000..5e6c4b6 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Db.html @@ -0,0 +1,397 @@ + + + + + + +public class Db +extends Object+
Db class.
Constructor and Description | +
---|
Db()
+Constructor for Db.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Connection |
+getConnection(Config config)
+getConnection.
+ |
+
net.sf.jasperreports.engine.data.JRCsvDataSource |
+getCsvDataSource(Config config)
+getCsvDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonDataSource |
+getJsonDataSource(Config config)
+getJsonDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonQLDataSource |
+getJsonQLDataSource(Config config)
+getJsonQLDataSource.
+ |
+
net.sf.jasperreports.engine.data.JRXmlDataSource |
+getXmlDataSource(Config config)
+getXmlDataSource.
+ |
+
public net.sf.jasperreports.engine.data.JRCsvDataSource getCsvDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getCsvDataSource.
config
- a Config
object.JRCsvDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JRXmlDataSource getXmlDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getXmlDataSource.
config
- a Config
object.JRXmlDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonDataSource getJsonDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getJsonDataSource.
config
- a Config
object.JsonDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonQLDataSource getJsonQLDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getJsonQLDataSource.
config
- a Config
object.JsonQLDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public Connection getConnection(Config config) + throws ClassNotFoundException, + SQLException+
getConnection.
config
- a Config
object.Connection
object.ClassNotFoundException
- if any.SQLException
- if any.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Report.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Report.html new file mode 100644 index 0000000..a61f5ba --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/Report.html @@ -0,0 +1,761 @@ + + + + + + +public class Report +extends Object+
Report class.
Constructor and Description | +
---|
Report(Config config,
+ File inputFile)
+Constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+compileToFile()
+Emit a .jasper compiled version of the report definition .jrxml file.
+ |
+
void |
+exportCsv()
+exportCsv.
+ |
+
void |
+exportCsvMeta()
+exportCsvMeta.
+ |
+
void |
+exportDocx()
+exportDocx.
+ |
+
void |
+exportHtml()
+exportHtml.
+ |
+
void |
+exportJrprint()
+exportJrprint.
+ |
+
void |
+exportOds()
+exportOds.
+ |
+
void |
+exportOdt()
+exportOdt.
+ |
+
void |
+exportPdf()
+exportPdf.
+ |
+
void |
+exportPptx()
+exportPptx.
+ |
+
void |
+exportRtf()
+exportRtf.
+ |
+
void |
+exportXhtml()
+exportXhtml.
+ |
+
void |
+exportXls()
+exportXls.
+ |
+
void |
+exportXlsMeta()
+exportXlsMeta.
+ |
+
void |
+exportXlsx()
+exportXlsx.
+ |
+
void |
+exportXml()
+exportXml.
+ |
+
void |
+fill()
+Process report content into internal form.
+ |
+
String |
+getMainDatasetQuery()
+For JSON, JSONQL and any other data types that need a query to be provided,
+ an obvious default is to use the one written into the report, since that is
+ likely what the report designer debugged/intended to be used.
+ |
+
net.sf.jasperreports.engine.JRParameter[] |
+getReportParameters()
+getReportParameters.
+ |
+
void |
+print()
+print.
+ |
+
static void |
+setLookAndFeel()
+setLookAndFeel.
+ |
+
void |
+view()
+view.
+ |
+
public Report(Config config, + File inputFile) + throws IllegalArgumentException+
outputFormat
and inputFile
in the
+ configuration are ignored.dbType
determines what other configuration options
+ may apply. See Config.setDbType(DsType)
.
+ After construction, call either compileToFile()
, getReportParameters()
+ or fill()
.
config
- A configuration object.inputFile
- The .jrxml report definition file to use.IllegalArgumentException
- if any.public void compileToFile()+
public void fill() + throws InterruptedException+
print()
,
+ view()
, exportCsv()
, exportCsvMeta()
,
+ exportDocx()
, exportHtml()
, exportJrprint()
,
+ exportOds()
, exportOdt()
, exportPdf()
,
+ exportPptx()
, exportRtf()
, exportXhtml()
,
+ exportXls()
, exportXlsMeta()
, exportXlsx()
+ or exportXml()
. Multiple calls to the content output methods
+ are permitted.InterruptedException
- if any.public void print() + throws net.sf.jasperreports.engine.JRException+
print.
net.sf.jasperreports.engine.JRException
- if any.public void view() + throws net.sf.jasperreports.engine.JRException+
view.
net.sf.jasperreports.engine.JRException
- if any.public void exportJrprint() + throws net.sf.jasperreports.engine.JRException+
exportJrprint.
net.sf.jasperreports.engine.JRException
- if any.public void exportPdf() + throws net.sf.jasperreports.engine.JRException+
exportPdf.
net.sf.jasperreports.engine.JRException
- if any.public void exportRtf() + throws net.sf.jasperreports.engine.JRException+
exportRtf.
net.sf.jasperreports.engine.JRException
- if any.public void exportDocx() + throws net.sf.jasperreports.engine.JRException+
exportDocx.
net.sf.jasperreports.engine.JRException
- if any.public void exportOdt() + throws net.sf.jasperreports.engine.JRException+
exportOdt.
net.sf.jasperreports.engine.JRException
- if any.public void exportHtml() + throws net.sf.jasperreports.engine.JRException+
exportHtml.
net.sf.jasperreports.engine.JRException
- if any.public void exportXml() + throws net.sf.jasperreports.engine.JRException+
exportXml.
net.sf.jasperreports.engine.JRException
- if any.public void exportXls() + throws net.sf.jasperreports.engine.JRException+
exportXls.
net.sf.jasperreports.engine.JRException
- if any.public void exportXlsMeta() + throws net.sf.jasperreports.engine.JRException+
exportXlsMeta.
net.sf.jasperreports.engine.JRException
- if any.public void exportXlsx() + throws net.sf.jasperreports.engine.JRException+
exportXlsx.
net.sf.jasperreports.engine.JRException
- if any.public void exportCsv() + throws net.sf.jasperreports.engine.JRException+
exportCsv.
net.sf.jasperreports.engine.JRException
- if any.public void exportCsvMeta() + throws net.sf.jasperreports.engine.JRException+
exportCsvMeta.
net.sf.jasperreports.engine.JRException
- if any.public void exportOds() + throws net.sf.jasperreports.engine.JRException+
exportOds.
net.sf.jasperreports.engine.JRException
- if any.public void exportPptx() + throws net.sf.jasperreports.engine.JRException+
exportPptx.
net.sf.jasperreports.engine.JRException
- if any.public void exportXhtml() + throws net.sf.jasperreports.engine.JRException+
exportXhtml.
net.sf.jasperreports.engine.JRException
- if any.public static void setLookAndFeel()+
setLookAndFeel.
public net.sf.jasperreports.engine.JRParameter[] getReportParameters() + throws IllegalArgumentException+
getReportParameters.
JRParameter
objects.IllegalArgumentException
- if any.public String getMainDatasetQuery() + throws IllegalArgumentException+
IllegalArgumentException
- on an unexpected input type.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/App.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/App.html new file mode 100644 index 0000000..5fff766 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/App.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Config.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Config.html new file mode 100644 index 0000000..c6ff5a6 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Config.html @@ -0,0 +1,213 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
Modifier and Type | +Method and Description | +
---|---|
Connection |
+Db.getConnection(Config config)
+getConnection.
+ |
+
net.sf.jasperreports.engine.data.JRCsvDataSource |
+Db.getCsvDataSource(Config config)
+getCsvDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonDataSource |
+Db.getJsonDataSource(Config config)
+getJsonDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonQLDataSource |
+Db.getJsonQLDataSource(Config config)
+getJsonQLDataSource.
+ |
+
net.sf.jasperreports.engine.data.JRXmlDataSource |
+Db.getXmlDataSource(Config config)
+getXmlDataSource.
+ |
+
static void |
+App.listReportParams(Config config,
+ File input)
+listReportParams.
+ |
+
Constructor and Description | +
---|
Report(Config config,
+ File inputFile)
+Constructor.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Db.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Db.html new file mode 100644 index 0000000..0c8db05 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Db.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Report.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Report.html new file mode 100644 index 0000000..3b3e307 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/class-use/Report.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-frame.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-frame.html new file mode 100644 index 0000000..f357504 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-tree.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-tree.html new file mode 100644 index 0000000..9fb3953 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-tree.html @@ -0,0 +1,142 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-use.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-use.html new file mode 100644 index 0000000..18308b8 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/package-use.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
Class and Description | +
---|
Config
+ This POJO is intended to contain all command line parameters and other
+ configuration values.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/AskFilter.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/AskFilter.html new file mode 100644 index 0000000..c5ee9a4 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/AskFilter.html @@ -0,0 +1,416 @@ + + + + + + +public enum AskFilter +extends Enum<AskFilter>+
AskFilter class.
Enum Constant and Description | +
---|
a
+all (user and system definded) prarms
+ |
+
ae
+all empty params
+ |
+
p
+user params marked for prompting
+ |
+
pe
+empty user params markted for prompting
+ |
+
u
+user params
+ |
+
ue
+empty user params
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static AskFilter |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AskFilter[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final AskFilter a+
public static final AskFilter ae+
public static final AskFilter u+
public static final AskFilter ue+
public static final AskFilter p+
public static final AskFilter pe+
public static AskFilter[] values()+
+for (AskFilter c : AskFilter.values()) + System.out.println(c); +
public static AskFilter valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/Command.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/Command.html new file mode 100644 index 0000000..f14a41b --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/Command.html @@ -0,0 +1,468 @@ + + + + + + +public enum Command +extends Enum<Command>+
Command class.
Enum Constant and Description | +
---|
COMPILE |
+
CP |
+
LIST_PARAMETERS |
+
LIST_PRINTERS |
+
LPA |
+
LPR |
+
PARAMS |
+
PR |
+
PRINTERS |
+
PROCESS |
+
Modifier and Type | +Method and Description | +
---|---|
static Command |
+getCommand(String name)
+getCommand.
+ |
+
static Command |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Command[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Command COMPILE+
public static final Command CP+
public static final Command PROCESS+
public static final Command PR+
public static final Command LIST_PRINTERS+
public static final Command PRINTERS+
public static final Command LPR+
public static final Command LIST_PARAMETERS+
public static final Command PARAMS+
public static final Command LPA+
public static Command[] values()+
+for (Command c : Command.values()) + System.out.println(c); +
public static Command valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/Dest.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/Dest.html new file mode 100644 index 0000000..7cf5f1a --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/Dest.html @@ -0,0 +1,911 @@ + + + + + + +public interface Dest
+Dest interface.
Modifier and Type | +Field and Description | +
---|---|
static String |
+ASK
+Constant
+ASK="ask" |
+
static String |
+COMMAND
+Constant
+COMMAND="command" |
+
static String |
+COPIES
+Constant
+COPIES="copies" |
+
static String |
+CSV_CHARSET
+Constant
+CSV_CHARSET="csv-charset" |
+
static String |
+CSV_COLUMNS
+Constant
+CSV_COLUMNS="csv-columns" |
+
static String |
+CSV_FIELD_DEL
+Constant
+CSV_FIELD_DEL="csv-field-del" |
+
static String |
+CSV_FIRST_ROW
+Constant
+CSV_FIRST_ROW="csv-first-row" |
+
static String |
+CSV_RECORD_DEL
+Constant
+CSV_RECORD_DEL="csv-record-del" |
+
static String |
+DATA_FILE
+Constant
+DATA_FILE="data-file" |
+
static String |
+DB_DRIVER
+Constant
+DB_DRIVER="db-driver" |
+
static String |
+DB_HOST
+Constant
+DB_HOST="db-host" |
+
static String |
+DB_NAME
+Constant
+DB_NAME="db-name" |
+
static String |
+DB_PASSWD
+Constant
+DB_PASSWD="db-passwd" |
+
static String |
+DB_PORT
+Constant
+DB_PORT="db-port" |
+
static String |
+DB_SID
+Constant
+DB_SID="db-sid" |
+
static String |
+DB_URL
+Constant
+DB_URL="db-url" |
+
static String |
+DB_USER
+Constant
+DB_USER="db-user" |
+
static String |
+DEBUG
+Constant
+DEBUG="debug" |
+
static String |
+DS_TYPE
+Constant
+DS_TYPE="db-type" |
+
static String |
+INPUT
+Constant
+INPUT="input" |
+
static String |
+JDBC_DIR
+Constant
+JDBC_DIR="jdbc-dir" |
+
static String |
+JSON_QUERY
+Constant
+JSON_QUERY="json-query" |
+
static String |
+JSONQL_QUERY
+Constant
+JSONQL_QUERY="jsonql-query" |
+
static String |
+LOCALE
+Constant
+LOCALE="locale" |
+
static String |
+OUT_CHARSET
+Constant
+OUT_CHARSET="out-charset" |
+
static String |
+OUT_FIELD_DEL
+Constant
+OUT_FIELD_DEL="out-field-del" |
+
static String |
+OUTPUT
+Constant
+OUTPUT="output" |
+
static String |
+OUTPUT_FORMATS
+Constant
+OUTPUT_FORMATS="output-formats" |
+
static String |
+PARAMS
+Constant
+PARAMS="params" |
+
static String |
+PRINTER_NAME
+Constant
+PRINTER_NAME="printer-name" |
+
static String |
+REPORT_NAME
+Constant
+REPORT_NAME="set-report-name" |
+
static String |
+RESOURCE
+Constant
+RESOURCE="resource" |
+
static String |
+WITH_PRINT_DIALOG
+Constant
+WITH_PRINT_DIALOG="with-print-dialog" |
+
static String |
+WRITE_JASPER
+Constant
+WRITE_JASPER="write-jasper" |
+
static String |
+XML_XPATH
+Constant
+XML_XPATH="xml-xpath" |
+
static final String COMMAND+
COMMAND="command"
static final String OUTPUT_FORMATS+
OUTPUT_FORMATS="output-formats"
static final String INPUT+
INPUT="input"
static final String OUTPUT+
OUTPUT="output"
static final String LOCALE+
LOCALE="locale"
static final String DEBUG+
DEBUG="debug"
static final String ASK+
ASK="ask"
static final String PARAMS+
PARAMS="params"
static final String RESOURCE+
RESOURCE="resource"
static final String DS_TYPE+
DS_TYPE="db-type"
static final String DB_HOST+
DB_HOST="db-host"
static final String DB_USER+
DB_USER="db-user"
static final String DB_PASSWD+
DB_PASSWD="db-passwd"
static final String DB_NAME+
DB_NAME="db-name"
static final String DB_SID+
DB_SID="db-sid"
static final String DB_PORT+
DB_PORT="db-port"
static final String DB_DRIVER+
DB_DRIVER="db-driver"
static final String DB_URL+
DB_URL="db-url"
static final String JDBC_DIR+
JDBC_DIR="jdbc-dir"
static final String DATA_FILE+
DATA_FILE="data-file"
static final String CSV_FIRST_ROW+
CSV_FIRST_ROW="csv-first-row"
static final String CSV_COLUMNS+
CSV_COLUMNS="csv-columns"
static final String CSV_RECORD_DEL+
CSV_RECORD_DEL="csv-record-del"
static final String CSV_FIELD_DEL+
CSV_FIELD_DEL="csv-field-del"
static final String CSV_CHARSET+
CSV_CHARSET="csv-charset"
static final String XML_XPATH+
XML_XPATH="xml-xpath"
static final String JSON_QUERY+
JSON_QUERY="json-query"
static final String JSONQL_QUERY+
JSONQL_QUERY="jsonql-query"
static final String OUT_FIELD_DEL+
OUT_FIELD_DEL="out-field-del"
static final String OUT_CHARSET+
OUT_CHARSET="out-charset"
static final String PRINTER_NAME+
PRINTER_NAME="printer-name"
static final String WITH_PRINT_DIALOG+
WITH_PRINT_DIALOG="with-print-dialog"
static final String REPORT_NAME+
REPORT_NAME="set-report-name"
static final String WRITE_JASPER+
WRITE_JASPER="write-jasper"
static final String COPIES+
COPIES="copies"
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/DsType.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/DsType.html new file mode 100644 index 0000000..274ba91 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/DsType.html @@ -0,0 +1,474 @@ + + + + + + +public enum DsType +extends Enum<DsType>+
Enum Constant and Description | +
---|
csv |
+
generic |
+
json |
+
jsonql |
+
mysql |
+
none |
+
oracle |
+
postgres |
+
xml |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getDriver()
+Getter for the field
+driver . |
+
Integer |
+getPort()
+Getter for the field
+port . |
+
static DsType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DsType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final DsType none+
public static final DsType csv+
public static final DsType xml+
public static final DsType json+
public static final DsType jsonql+
public static final DsType mysql+
public static final DsType postgres+
public static final DsType oracle+
public static final DsType generic+
public static DsType[] values()+
+for (DsType c : DsType.values()) + System.out.println(c); +
public static DsType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDriver()+
Getter for the field driver
.
String
object.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/InputType.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/InputType.html new file mode 100644 index 0000000..38ecb7c --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/InputType.html @@ -0,0 +1,362 @@ + + + + + + +public enum InputType +extends Enum<InputType>+
InputType class.
Enum Constant and Description | +
---|
JASPER_DESIGN |
+
JASPER_PRINT |
+
JASPER_REPORT |
+
Modifier and Type | +Method and Description | +
---|---|
static InputType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static InputType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final InputType JASPER_DESIGN+
public static final InputType JASPER_REPORT+
public static final InputType JASPER_PRINT+
public static InputType[] values()+
+for (InputType c : InputType.values()) + System.out.println(c); +
public static InputType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/OutputFormat.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/OutputFormat.html new file mode 100644 index 0000000..f6683df --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/OutputFormat.html @@ -0,0 +1,530 @@ + + + + + + +public enum OutputFormat +extends Enum<OutputFormat>+
OutputFormat class.
Enum Constant and Description | +
---|
csv |
+
csvMeta |
+
docx |
+
html |
+
jrprint |
+
ods |
+
odt |
+
pdf |
+
pptx |
+
print |
+
rtf |
+
view |
+
xhtml |
+
xls |
+
xlsMeta |
+
xlsx |
+
xml |
+
Modifier and Type | +Method and Description | +
---|---|
static OutputFormat |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OutputFormat[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final OutputFormat view+
public static final OutputFormat print+
public static final OutputFormat jrprint+
public static final OutputFormat pdf+
public static final OutputFormat rtf+
public static final OutputFormat docx+
public static final OutputFormat odt+
public static final OutputFormat html+
public static final OutputFormat xml+
public static final OutputFormat xls+
public static final OutputFormat xlsMeta+
public static final OutputFormat xlsx+
public static final OutputFormat csv+
public static final OutputFormat csvMeta+
public static final OutputFormat ods+
public static final OutputFormat pptx+
public static final OutputFormat xhtml+
public static OutputFormat[] values()+
+for (OutputFormat c : OutputFormat.values()) + System.out.println(c); +
public static OutputFormat valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html new file mode 100644 index 0000000..7714b0f --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
AskFilter |
+Config.getAskFilter()
+Getter for the field
+askFilter . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setAskFilter(AskFilter value)
+Setter for the field
+askFilter . |
+
Modifier and Type | +Method and Description | +
---|---|
static AskFilter |
+AskFilter.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AskFilter[] |
+AskFilter.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/Command.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/Command.html new file mode 100644 index 0000000..9376ce9 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/Command.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
static Command |
+Command.getCommand(String name)
+getCommand.
+ |
+
static Command |
+Command.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Command[] |
+Command.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html new file mode 100644 index 0000000..e7a8ec4 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html new file mode 100644 index 0000000..bf4aac1 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
DsType |
+Config.getDbType()
+Getter for the field
+dbType . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setDbType(DsType value)
+Setter for the field
+dbType . |
+
Modifier and Type | +Method and Description | +
---|---|
static DsType |
+DsType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DsType[] |
+DsType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html new file mode 100644 index 0000000..c1e5e06 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html @@ -0,0 +1,175 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
static InputType |
+InputType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static InputType[] |
+InputType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html new file mode 100644 index 0000000..56c05e6 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
List<OutputFormat> |
+Config.getOutputFormats()
+Getter for the field
+outputFormats . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setOutputFormats(List<OutputFormat> value)
+Setter for the field
+outputFormats . |
+
Modifier and Type | +Method and Description | +
---|---|
static OutputFormat |
+OutputFormat.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OutputFormat[] |
+OutputFormat.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-frame.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-frame.html new file mode 100644 index 0000000..0e559b1 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Interface | +Description | +
---|---|
Dest | +
+ Dest interface.
+ |
+
Enum | +Description | +
---|---|
AskFilter | +
+ AskFilter class.
+ |
+
Command | +
+ Command class.
+ |
+
DsType | +
+ Types of Datasources
+ |
+
InputType | +
+ InputType class.
+ |
+
OutputFormat | +
+ OutputFormat class.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-tree.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-tree.html new file mode 100644 index 0000000..de4f1c6 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-use.html b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-use.html new file mode 100644 index 0000000..d09a9ed --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/de/cenote/jasperstarter/types/package-use.html @@ -0,0 +1,212 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Class and Description | +
---|
AskFilter
+ AskFilter class.
+ |
+
DsType
+ Types of Datasources
+ |
+
OutputFormat
+ OutputFormat class.
+ |
+
Class and Description | +
---|
AskFilter
+ AskFilter class.
+ |
+
Command
+ Command class.
+ |
+
DsType
+ Types of Datasources
+ |
+
InputType
+ InputType class.
+ |
+
OutputFormat
+ OutputFormat class.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/deprecated-list.html b/bin/jasperstarter/docs/apidocs/deprecated-list.html new file mode 100644 index 0000000..2eafa24 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/help-doc.html b/bin/jasperstarter/docs/apidocs/help-doc.html new file mode 100644 index 0000000..6cbc3a7 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/index-all.html b/bin/jasperstarter/docs/apidocs/index-all.html new file mode 100644 index 0000000..43fd65e --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/index-all.html @@ -0,0 +1,937 @@ + + + + + + +ASK="ask"
COMMAND="command"
COPIES="copies"
CSV_CHARSET="csv-charset"
CSV_COLUMNS="csv-columns"
CSV_FIELD_DEL="csv-field-del"
CSV_FIRST_ROW="csv-first-row"
CSV_RECORD_DEL="csv-record-del"
DATA_FILE="data-file"
DB_DRIVER="db-driver"
DB_HOST="db-host"
DB_NAME="db-name"
DB_PASSWD="db-passwd"
DB_PORT="db-port"
DB_SID="db-sid"
DB_URL="db-url"
DB_USER="db-user"
DEBUG="debug"
DS_TYPE="db-type"
askFilter
.command
.copies
.csvCharset
.csvColumns
.csvFieldDel
.csvFirstRow
.csvRecordDel
.dataFile
.dbDriver
.dbHost
.dbName
.dbPasswd
.dbPort
.dbSid
.dbType
.dbUrl
.dbUser
.driver
.input
.jdbcDir
.jsonQLQuery
.jsonQuery
.locale
.outCharset
.outFieldDel
.output
.outputFormats
.params
.port
.printerName
.reportName
.resource
.versionString
.xmlXpath
.INPUT="input"
JDBC_DIR="jdbc-dir"
JSON_QUERY="json-query"
JSONQL_QUERY="jsonql-query"
LOCALE="locale"
OUT_CHARSET="out-charset"
OUT_FIELD_DEL="out-field-del"
OUTPUT="output"
OUTPUT_FORMATS="output-formats"
PARAMS="params"
PRINTER_NAME="printer-name"
REPORT_NAME="set-report-name"
RESOURCE="resource"
askFilter
.command
.copies
.csvCharset
.csvColumns
.csvFieldDel
.csvFirstRow
.csvRecordDel
.dataFile
.dbDriver
.dbHost
.dbName
.dbPasswd
.dbPort
.dbSid
.dbType
.dbUrl
.dbUser
.input
.jdbcDir
.jsonQLQuery
.jsonQuery
.locale
.outCharset
.outFieldDel
.output
.outputFormats
.params
.printerName
.reportName
.resource
.verbose
.withPrintDialog
.writeJasper
.xmlXpath
.WITH_PRINT_DIALOG="with-print-dialog"
WRITE_JASPER="write-jasper"
XML_XPATH="xml-xpath"
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/index.html b/bin/jasperstarter/docs/apidocs/index.html new file mode 100644 index 0000000..c560b22 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/index.html @@ -0,0 +1,76 @@ + + + + + + ++ + diff --git a/bin/jasperstarter/docs/apidocs/overview-summary.html b/bin/jasperstarter/docs/apidocs/overview-summary.html new file mode 100644 index 0000000..661479d --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +
Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/overview-tree.html b/bin/jasperstarter/docs/apidocs/overview-tree.html new file mode 100644 index 0000000..70b5cd4 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/overview-tree.html @@ -0,0 +1,163 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/apidocs/package-list b/bin/jasperstarter/docs/apidocs/package-list new file mode 100644 index 0000000..7e73c81 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/package-list @@ -0,0 +1,2 @@ +de.cenote.jasperstarter +de.cenote.jasperstarter.types diff --git a/bin/jasperstarter/docs/apidocs/script.js b/bin/jasperstarter/docs/apidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/bin/jasperstarter/docs/apidocs/stylesheet.css b/bin/jasperstarter/docs/apidocs/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/bin/jasperstarter/docs/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/bin/jasperstarter/docs/changes.html b/bin/jasperstarter/docs/changes.html new file mode 100644 index 0000000..c4dfc6e --- /dev/null +++ b/bin/jasperstarter/docs/changes.html @@ -0,0 +1,597 @@ + + + + + + ++JasperStarter - Running JasperReports from command line +======================================================== + +Release notes - JasperStarter - Version 3.5.0 +--------------------------------------------- + +** Bug + * [JAS-134] - "InterruptedException" should not be ignored in App.java + * [JAS-135] - comparisons between unrelated types in Config.java + +** New Feature + * [JAS-131] - Jasperstarter does not provide a way to use the query string saved in the report itself + +** Task + * [JAS-133] - Release Pipeline takes longer than before + * [JAS-136] - Throwable.printStackTrace(...) should not be called in Report.java setLookAndFeel() + * [JAS-137] - Do not use a bitwise operator with a Boolean-like operand in ParameterPanel.java + * [JAS-138] - Do not use a bitwise operator with a Boolean-like operand in ParameterPrompt.java + + +Release notes - JasperStarter - Version 3.4.1 +--------------------------------------------- + +** Bug + * [JAS-132] - Security alert on org.springframework:spring-core + Updated springframework to 4.3.21 + + CVE-2016-5007 - moderate severity - Vulnerable versions: < 4.3.1 + CVE-2018-1275 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1272 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1271 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1270 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1257 - moderate severity - Vulnerable versions: < 4.3.17 + + +Release notes - JasperStarter - Version 3.4.0 +--------------------------------------------- + + JasperStarter-3.2.0 silently dropped Java7 support by using the + latest available JasperReports Library. + JasperReports-6.4.0 is the last release which works with Java7 so + JasperStarter-3.1.0 was the latest release supporting Java7. + + Now JasperStarter needs Java8 at a minimum and is manually tested + with OpenJDK-8, OpenJDK-10, OpenJDK-11. Automatic testing is on the + way (see JAS-128). + There will be a special release supporting Java7. + + "Diskless" operation using stdin and stdout for input data and + output is now complete. See ([JAS-97] and [JAS-89]). + + A public API allows direct integration with Python using jpy + ([JAS-125]). + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with + reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-111] - JRE 1.7 incompatibility - not fixed in the main + release but clarified. + * [JAS-122] - Runtime error if a chart with "chart customizers" is + used + * [JAS-126] - Jasperstarter does not usefully propagate + compilation errors + +** New Feature + * [JAS-97] - Use stdout for the resulting PDF (so we don't have to + write to the hosting server's storage) + * [JAS-125] - Make report fill accessible via API + +** Task + * [JAS-127] - Enable dependency caching in build pipeline + * [JAS-129] - Remove test dependency to font Arial + * [JAS-130] - launch4j-maven-plugin:1.5.2 depends on 32bit + libraries + + +Release notes - JasperStarter - Version 3.3.0 +--------------------------------------------- + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-116] - SSL error + * [JAS-121] - Container 'Build' exceeded memory limit. + * [JAS-122] - Runtime error if a chart with "chart customizers" is used + +** New Feature + * [JAS-113] - JSONQL data source support + +** Task + * [JAS-102] - Pipeline: enable build artifact upload to download section + * [JAS-119] - Include JasperReports-6.7.0 + +** Improvement + * [JAS-89] - Accept stdin for datafile input + + +Release Notes - JasperStarter - Version 3.2.1 +--------------------------------------------- + +** Task + * [JAS-109] - Include JasperReports-6.4.3 + + +Release Notes - JasperStarter - Version 3.2.0 +--------------------------------------------- + +** Bug + * [JAS-96] - Enable JavaScript in expression + * [JAS-99] - jasperreports-functions not in maven central + * [JAS-100] - Pipeline build failed: Font "Arial" is not available to the JVM + * [JAS-101] - Pipeline build failed: net.sf.launch4j.ExecException: java.io.IOException: Cannot run program + * [JAS-107] - JasperStarter could not run reports with Barcode4J barcodes + +** Task + * [JAS-108] - Include JasperReports 6.4.1 + + +Release Notes - JasperStarter - Version 3.1.0 +--------------------------------------------- + +** New Feature + * [JAS-83] - JSON file as a data source + +** Task + * [JAS-95] - Include JasperReports 6.4.0 + +** Improvement + * [JAS-84] - How to pass $P{XML_DATA_DOCUMENT} to sub report - additional documentation + + +Release Notes - JasperStarter - Version 3.0.0 +--------------------------------------------- + +This Release works with Java8. + +** Bug + * [JAS-69] - Calls of assertEquals have the arguments actual and + expected interchanged + * [JAS-70] - Example report csv.jrxml truncates data + * [JAS-80] - jasperstarter by default is missing some important + jasper studio builtin libraries + * [JAS-81] - Eclipse compiler error when running using Java 8 + +** Improvement + * [JAS-68] - Expand documentation with calls of running the + example reports + +** New Feature + * [JAS-67] - Ability to produce CSV Metadata reports + * [JAS-72] - Ability to produce XLS Metadata reports + +** Task + * [JAS-57] - Switching from Mercurial to Git + * [JAS-59] - Include JasperReports 6.0.0 + * [JAS-61] - update dependencies + * [JAS-65] - Include JasperReports 6.0.2 + * [JAS-66] - Include JasperReports 6.0.3 + * [JAS-76] - Git version and revision information in manifest file + * [JAS-79] - Include JasperReports 6.0.4 + + +Release Notes - JasperStarter - Version 2.2.2 +---------------------------------------------- + +** Bug + * [JAS-63] - Version 2.2 WindowsSetup replace the path variable + + +Release Notes - JasperStarter - Version 2.2.1 +---------------------------------------------- + +** Bug + * [JAS-58] - DB type generic should not require a username + * [JAS-62] - Linux startup script does not work if called via symlink + +** Task + * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2) + + +Release Notes - JasperStarter - Version 2.2.0 +---------------------------------------------- + +** Bug + * [JAS-54] - Eclipse complains: Plugin execution not covered by + lifecycle configuration + +** New Feature + * [JAS-56] - Support for XML data sources + +** Task + * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0 + * [JAS-49] - Rewrite code reported by -Xlint:unchecked + + +Release Notes - JasperStarter - Version 2.1.2 +--------------------------------------------- + +** Bug + * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided + + +Release Notes - JasperStarter - Version 2.1.1 +---------------------------------------------- + +** Task + * [JAS-52] - Include JasperReports 5.6.1 + + +Release Notes - JasperStarter - Version 2.1.0 +---------------------------------------------- + +** Bug + * [JAS-40] - No page title is set in index.html + +** New Feature + * [JAS-50] - Accept number of copies when printing + +** Task + * [JAS-47] - Include JasperReports 5.6.0 + + +Release Notes - JasperStarter - Version 2.0.0 +---------------------------------------------- + +The command line syntax has changed in this release! +<input> is now an argument and the format of report parameters has changed. +Specifying the parameter type is no longer necessary. The type is determined +from the report and it is no longer possible to provide a non existent +parameter. +The major new feature is support for csv files as a datasource. + +** Bug + * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been + relocated to commons-io:commons-io:jar:1.3.2 + * [JAS-41] - Command "jasperstarter params" gives no useful result if param + has no description + +** Improvement + * [JAS-15] - Report parameters should be handled in a more generic way + * [JAS-42] - Accept <input> as positional argument instead of an option + +** New Feature + * [JAS-30] - CSV as a datasource for Jasperstarter + +** Task + * [JAS-23] - create unit test + * [JAS-24] - create example reports + * [JAS-34] - site translation de for release 2.0 + * [JAS-35] - site translation cz for release 2.0 + * [JAS-38] - Update build dependencies + * [JAS-39] - Include JasperReports 5.2.0 + + +Release Notes - JasperStarter - Version 1.4.2 +---------------------------------------------- + +** Bug + * [JAS-41] - Command "jasperstarter params" gives no useful result + if param has no description + + +Release Notes - JasperStarter - Version 1.4.1 +---------------------------------------------- + +** Bug + * [JAS-33] - Report parameter with space produces error on Unix + like systems + + +Release Notes - JasperStarter - Version 1.4.0 +---------------------------------------------- + +** Bug + * [JAS-29] - Documentation typo java.awt.image + +** Task + * [JAS-31] - Include JasperReports 5.1.2 + * [JAS-32] - Include argparse4j 0.4.1 + + +Release Notes - JasperStarter - Version 1.3.0 +---------------------------------------------- + +This release is mainly due to the new JasperReports library version 5.1.0. + +** Improvement + * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the + user + - Argument abbreviations + - Subcommand abbreviations + +** Task + * [JAS-27] - Include JasperReports 5.1.0 + + +Release Notes - JasperStarter - Version 1.2.0 +---------------------------------------------- + +This release is mainly due to the new JasperReports library version 5.0.4. + +** Improvement + * [JAS-25] - Implement command aliases + +** Task + * [JAS-19] - create an independent configuration bean as replacement for the + parser dependend namspace object + * [JAS-20] - move any call of System.exit() to App.main() + * [JAS-21] - remove obsolete option --keep + * [JAS-26] - Use jasperreports library 5.0.4 + + +Release Notes - JasperStarter - Version 1.1.0 +---------------------------------------------- + +JasperStarter is now able to prompt for report parameters. + +** Bug + * [JAS-5] - Maven site does not create index.html if called directly + * [JAS-6] - Maven site does not generate translation if called directly + * [JAS-11] - Maven site does not create index.html if called via package + * [JAS-16] - Selection of the report locale yields unexpected results in + some cases + +** Improvement + * [JAS-13] - new parameter type locale to specify report locale independent + from gui locale + +** New Feature + * [JAS-12] - new option to specify report resources like resource bundles or + icons + * [JAS-14] - New option: prompt for report parameters + * [JAS-17] - New Command: List report parameters + +** Task + * [JAS-7] - Site translation cs + * [JAS-22] - site translation de + + +-------- + + 1.0.1 [JAS-18] - Unable to save output into Excel format + + 1.0.0 + JasperStarter now has commands: pr - process, lp - list printers. + New command: cp - compile, can compile one file or all .jrxml in a + directory. + New input file types for command pr allowed: + jrxml - compiles implicit + jrprint - print, view or export previously filled reports. + New output type: jrprint. This makes --keep obsolete. + New parameter -w writes compiled file to imput dir if jrxml is + processed. + Parameter -t defaults to "none" and can therefore be omited if no + database is needed. + Input file is read once. No temporary files needed anymore. + Setup checks for previous versions and creates menuitems for uninstall + and help. + Setup is available in English, Chinese (Simplified), Czech, French, + Hungarian, German, Polish, Romanian, Thai, Ukrainian. + [JAS-2] - runtime parameter value cannot contain equal sign + Contains JasperReports 5.0.1 + German translation for Site/docs + [JAS-4] - java.lang.Integer cannot be cast to java.lang.String + [JAS-8] - java.lang.String cannot be cast to java.lang.Integer + [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException: + URI has an authority component + + 0.10.0 New report parameter types: double, image (see usage). + New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml. + Windows setup available. + --version shows included JasperReports version. + Fixed some minor bugs. + +V 0.9.1 Bugfix release fixed problems with --jdbc-dir option. + +V 0.9.0 First public release + Switched from Commons CLI to argparse4j. + Project documentation in generated site. + README uses markdown syntay, renamed to README.md. + Applied Apache License 2.0 to the software. + JasperStarter now starts via executable files in ./bin. + Windows binary jasperstarter.exe is generated with launch4j. + +V 0.8.0 Switched to maven. + +V 0.7.1 Fixed issue: duplicated option -n + +V 0.7.0 new option --set-report-name to temporary change the reportname when + printing. This is useful if you want to change the printjob name for + printing to a pdf printer like cups-pfd which uses the document name as + part of the pdf name by default. + +V 0.6.0 new options --printer-name --with-print-dialog --list-printers + printername matches .toLowercase().startWith() and spaces can be escaped + by the underline character _. + print dialog and viewer appear in system look an feel. + +V 0.5.0 support for postgres, oracle and generic jdbc + password is no longer a required option except for oracle + jrprint file is stored in system temp dir and deleted after processing + new options --jdbc-dir, --debug, --keep-jrprint + file extension .jasper is added to input if omitted + output can be omitted or can be file or directory + +V 0.4.0 jdbc drivers are loaded from jdbc dir + new parameter: db-type: none, mysql (none provides JREmptyDataSource() + for a non database report) + support for barcode4j + +V 0.3.1 Bugfix: removed jasperreports-javaflow + added barbecue barcode lib + +V 0.3.0 Print preview + nicer help message + package renamed + +V 0.2.0 Print support added + Added exportformats html, odt + Added report parameter type date. + New parameter db-name - database name + +V 0.1.0 First working version + Supports export to PDF, DOCX, RTF. + Simple report parameters of type string and int. +
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+ASK |
+"ask" |
+
+
+public static final String |
+COMMAND |
+"command" |
+
+
+public static final String |
+COPIES |
+"copies" |
+
+
+public static final String |
+CSV_CHARSET |
+"csv-charset" |
+
+
+public static final String |
+CSV_COLUMNS |
+"csv-columns" |
+
+
+public static final String |
+CSV_FIELD_DEL |
+"csv-field-del" |
+
+
+public static final String |
+CSV_FIRST_ROW |
+"csv-first-row" |
+
+
+public static final String |
+CSV_RECORD_DEL |
+"csv-record-del" |
+
+
+public static final String |
+DATA_FILE |
+"data-file" |
+
+
+public static final String |
+DB_DRIVER |
+"db-driver" |
+
+
+public static final String |
+DB_HOST |
+"db-host" |
+
+
+public static final String |
+DB_NAME |
+"db-name" |
+
+
+public static final String |
+DB_PASSWD |
+"db-passwd" |
+
+
+public static final String |
+DB_PORT |
+"db-port" |
+
+
+public static final String |
+DB_SID |
+"db-sid" |
+
+
+public static final String |
+DB_URL |
+"db-url" |
+
+
+public static final String |
+DB_USER |
+"db-user" |
+
+
+public static final String |
+DEBUG |
+"debug" |
+
+
+public static final String |
+DS_TYPE |
+"db-type" |
+
+
+public static final String |
+INPUT |
+"input" |
+
+
+public static final String |
+JDBC_DIR |
+"jdbc-dir" |
+
+
+public static final String |
+JSON_QUERY |
+"json-query" |
+
+
+public static final String |
+JSONQL_QUERY |
+"jsonql-query" |
+
+
+public static final String |
+LOCALE |
+"locale" |
+
+
+public static final String |
+OUT_CHARSET |
+"out-charset" |
+
+
+public static final String |
+OUT_FIELD_DEL |
+"out-field-del" |
+
+
+public static final String |
+OUTPUT |
+"output" |
+
+
+public static final String |
+OUTPUT_FORMATS |
+"output-formats" |
+
+
+public static final String |
+PARAMS |
+"params" |
+
+
+public static final String |
+PRINTER_NAME |
+"printer-name" |
+
+
+public static final String |
+REPORT_NAME |
+"set-report-name" |
+
+
+public static final String |
+RESOURCE |
+"resource" |
+
+
+public static final String |
+WITH_PRINT_DIALOG |
+"with-print-dialog" |
+
+
+public static final String |
+WRITE_JASPER |
+"write-jasper" |
+
+
+public static final String |
+XML_XPATH |
+"xml-xpath" |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/App.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/App.html new file mode 100644 index 0000000..3dc07b7 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/App.html @@ -0,0 +1,313 @@ + + + + + + +public class App +extends Object+
App class.
Modifier and Type | +Method and Description | +
---|---|
static void |
+listReportParams(Config config,
+ File input)
+listReportParams.
+ |
+
static void |
+main(String[] args)
+main.
+ |
+
public static void main(String[] args)+
main.
args
- the command line argumentspublic static void listReportParams(Config config, + File input) + throws IllegalArgumentException+
listReportParams.
config
- a Config
object.input
- a File
object.IllegalArgumentException
- if any.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Config.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Config.html new file mode 100644 index 0000000..8722e78 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Config.html @@ -0,0 +1,1947 @@ + + + + + + +public class Config +extends Object+
Constructor and Description | +
---|
Config()
+Constructor for Config.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AskFilter |
+getAskFilter()
+Getter for the field
+askFilter . |
+
String |
+getCommand()
+Getter for the field
+command . |
+
Integer |
+getCopies()
+Getter for the field
+copies . |
+
String |
+getCsvCharset()
+Getter for the field
+csvCharset . |
+
String[] |
+getCsvColumns()
+Getter for the field
+csvColumns . |
+
char |
+getCsvFieldDel()
+Getter for the field
+csvFieldDel . |
+
boolean |
+getCsvFirstRow()
+Getter for the field
+csvFirstRow . |
+
String |
+getCsvRecordDel()
+Getter for the field
+csvRecordDel . |
+
File |
+getDataFile()
+Getter for the field
+dataFile . |
+
InputStream |
+getDataFileInputStream()
+Get InputStream corresponding to the configured dataFile.
+ |
+
String |
+getDataFileName()
+Get name of the configured dataFile.
+ |
+
String |
+getDbDriver()
+Getter for the field
+dbDriver . |
+
String |
+getDbHost()
+Getter for the field
+dbHost . |
+
String |
+getDbName()
+Getter for the field
+dbName . |
+
String |
+getDbPasswd()
+Getter for the field
+dbPasswd . |
+
Integer |
+getDbPort()
+Getter for the field
+dbPort . |
+
String |
+getDbSid()
+Getter for the field
+dbSid . |
+
DsType |
+getDbType()
+Getter for the field
+dbType . |
+
String |
+getDbUrl()
+Getter for the field
+dbUrl . |
+
String |
+getDbUser()
+Getter for the field
+dbUser . |
+
String |
+getInput()
+Getter for the field
+input . |
+
File |
+getJdbcDir()
+Getter for the field
+jdbcDir . |
+
String |
+getJsonQLQuery()
+Getter for the field
+jsonQLQuery . |
+
String |
+getJsonQuery()
+Getter for the field
+jsonQuery . |
+
Locale |
+getLocale()
+Getter for the field
+locale . |
+
String |
+getOutCharset()
+Getter for the field
+outCharset . |
+
String |
+getOutFieldDel()
+Getter for the field
+outFieldDel . |
+
String |
+getOutput()
+Getter for the field
+output . |
+
List<OutputFormat> |
+getOutputFormats()
+Getter for the field
+outputFormats . |
+
List<String> |
+getParams()
+Getter for the field
+params . |
+
String |
+getPrinterName()
+Getter for the field
+printerName . |
+
String |
+getReportName()
+Getter for the field
+reportName . |
+
String |
+getResource()
+Getter for the field
+resource . |
+
String |
+getVersionString()
+Getter for the field
+versionString . |
+
String |
+getXmlXpath()
+Getter for the field
+xmlXpath . |
+
boolean |
+hasAskFilter()
+hasAskFilter.
+ |
+
boolean |
+hasCopies()
+hasCopies.
+ |
+
boolean |
+hasDbType()
+hasDbType.
+ |
+
boolean |
+hasJdbcDir()
+hasJdbcDir.
+ |
+
boolean |
+hasLocale()
+hasLocale.
+ |
+
boolean |
+hasOutput()
+hasOutput.
+ |
+
boolean |
+hasParams()
+hasParams.
+ |
+
boolean |
+hasPrinterName()
+hasPrinterName.
+ |
+
boolean |
+hasReportName()
+hasReportName.
+ |
+
boolean |
+hasResource()
+hasResource.
+ |
+
boolean |
+isVerbose()
+isVerbose.
+ |
+
boolean |
+isWithPrintDialog()
+isWithPrintDialog.
+ |
+
boolean |
+isWriteJasper()
+isWriteJasper.
+ |
+
void |
+setAskFilter(AskFilter value)
+Setter for the field
+askFilter . |
+
void |
+setCommand(String value)
+Setter for the field
+command . |
+
void |
+setCopies(Integer value)
+Setter for the field
+copies . |
+
void |
+setCsvCharset(String value)
+Setter for the field
+csvCharset . |
+
void |
+setCsvColumns(String value)
+Setter for the field
+csvColumns . |
+
void |
+setCsvFieldDel(String value)
+Setter for the field
+csvFieldDel . |
+
void |
+setCsvFirstRow(boolean value)
+Setter for the field
+csvFirstRow . |
+
void |
+setCsvRecordDel(String value)
+Setter for the field
+csvRecordDel . |
+
void |
+setDataFile(File value)
+Setter for the field
+dataFile . |
+
void |
+setDbDriver(String value)
+Setter for the field
+dbDriver . |
+
void |
+setDbHost(String value)
+Setter for the field
+dbHost . |
+
void |
+setDbName(String value)
+Setter for the field
+dbName . |
+
void |
+setDbPasswd(String value)
+Setter for the field
+dbPasswd . |
+
void |
+setDbPort(Integer value)
+Setter for the field
+dbPort . |
+
void |
+setDbSid(String value)
+Setter for the field
+dbSid . |
+
void |
+setDbType(DsType value)
+Setter for the field
+dbType . |
+
void |
+setDbUrl(String value)
+Setter for the field
+dbUrl . |
+
void |
+setDbUser(String value)
+Setter for the field
+dbUser . |
+
void |
+setInput(String value)
+Setter for the field
+input . |
+
void |
+setJdbcDir(File value)
+Setter for the field
+jdbcDir . |
+
void |
+setJsonQLQuery(String value)
+Setter for the field
+jsonQLQuery . |
+
void |
+setJsonQuery(String value)
+Setter for the field
+jsonQuery . |
+
void |
+setLocale(String value)
+Setter for the field
+locale . |
+
void |
+setOutCharset(String value)
+Setter for the field
+outCharset . |
+
void |
+setOutFieldDel(String value)
+Setter for the field
+outFieldDel . |
+
void |
+setOutput(String value)
+Setter for the field
+output . |
+
void |
+setOutputFormats(List<OutputFormat> value)
+Setter for the field
+outputFormats . |
+
void |
+setParams(List<String> value)
+Setter for the field
+params . |
+
void |
+setPrinterName(String value)
+Setter for the field
+printerName . |
+
void |
+setReportName(String value)
+Setter for the field
+reportName . |
+
void |
+setResource(String value)
+Setter for the field
+resource . |
+
void |
+setVerbose(boolean value)
+Setter for the field
+verbose . |
+
void |
+setWithPrintDialog(boolean value)
+Setter for the field
+withPrintDialog . |
+
void |
+setWriteJasper(boolean value)
+Setter for the field
+writeJasper . |
+
void |
+setXmlXpath(String value)
+Setter for the field
+xmlXpath . |
+
public String getVersionString()+
Getter for the field versionString
.
public AskFilter getAskFilter()+
Getter for the field askFilter
.
AskFilter
object.public void setAskFilter(AskFilter value)+
Setter for the field askFilter
.
value
- a AskFilter
object.public boolean hasAskFilter()+
hasAskFilter.
public String getCommand()+
Getter for the field command
.
String
object.public void setCommand(String value)+
Setter for the field command
.
value
- a String
object.public String getDbDriver()+
Getter for the field dbDriver
.
String
object.public void setDbDriver(String value)+
Setter for the field dbDriver
.
value
- a String
object.public String getDbHost()+
Getter for the field dbHost
.
String
object.public void setDbHost(String value)+
Setter for the field dbHost
.
value
- a String
object.public String getDbName()+
Getter for the field dbName
.
String
object.public void setDbName(String value)+
Setter for the field dbName
.
value
- a String
object.public String getDbPasswd()+
Getter for the field dbPasswd
.
String
object.public void setDbPasswd(String value)+
Setter for the field dbPasswd
.
value
- a String
object.public Integer getDbPort()+
Getter for the field dbPort
.
Integer
object.public void setDbPort(Integer value)+
Setter for the field dbPort
.
value
- a Integer
object.public String getDbSid()+
Getter for the field dbSid
.
String
object.public void setDbSid(String value)+
Setter for the field dbSid
.
value
- a String
object.public DsType getDbType()+
Getter for the field dbType
.
DsType
object.public void setDbType(DsType value)+
Setter for the field dbType
. This setting determines what
+ other configuration options may apply. For example, if dbType
+ is DsType.jsonql
, then setJsonQLQuery(String)
+ may be used to set the query string.
value
- a DsType
object.public boolean hasDbType()+
hasDbType.
public String getDbUrl()+
Getter for the field dbUrl
.
String
object.public void setDbUrl(String value)+
Setter for the field dbUrl
.
value
- a String
object.public String getDbUser()+
Getter for the field dbUser
.
String
object.public void setDbUser(String value)+
Setter for the field dbUser
.
value
- a String
object.public boolean isVerbose()+
isVerbose.
public void setVerbose(boolean value)+
Setter for the field verbose
.
value
- a boolean.public String getInput()+
Getter for the field input
.
String
object.public void setInput(String value)+
Setter for the field input
.
value
- a String
object.public File getJdbcDir()+
Getter for the field jdbcDir
.
File
object.public void setJdbcDir(File value)+
Setter for the field jdbcDir
.
value
- a File
object.public boolean hasJdbcDir()+
hasJdbcDir.
public File getDataFile()+
Getter for the field dataFile
.
File
object.public void setDataFile(File value)+
Setter for the field dataFile
.
value
- a File
object.public InputStream getDataFileInputStream() + throws net.sf.jasperreports.engine.JRException+
InputStream
object.net.sf.jasperreports.engine.JRException
- if any.public String getDataFileName()+
String
object.public boolean getCsvFirstRow()+
Getter for the field csvFirstRow
.
public void setCsvFirstRow(boolean value)+
Setter for the field csvFirstRow
.
value
- a boolean.public String[] getCsvColumns()+
Getter for the field csvColumns
.
String
objects.public void setCsvColumns(String value)+
Setter for the field csvColumns
.
value
- a String
object.public String getCsvRecordDel()+
Getter for the field csvRecordDel
.
String
object.public void setCsvRecordDel(String value)+
Setter for the field csvRecordDel
.
value
- a String
object.public char getCsvFieldDel()+
Getter for the field csvFieldDel
.
public void setCsvFieldDel(String value)+
Setter for the field csvFieldDel
.
value
- a String
object.public String getCsvCharset()+
Getter for the field csvCharset
.
String
object.public void setCsvCharset(String value)+
Setter for the field csvCharset
.
value
- a String
object.public String getXmlXpath()+
Getter for the field xmlXpath
.
String
object.public void setXmlXpath(String value)+
Setter for the field xmlXpath
.
value
- a String
object.public String getJsonQuery()+
Getter for the field jsonQuery
.
String
object.public void setJsonQuery(String value)+
Setter for the field jsonQuery
.
value
- a String
object.public String getJsonQLQuery()+
Getter for the field jsonQLQuery
.
String
object.public void setJsonQLQuery(String value)+
Setter for the field jsonQLQuery
.
value
- a String
object.public Locale getLocale()+
Getter for the field locale
.
Locale
object.public void setLocale(String value)+
Setter for the field locale
.
value
- a String
object.public boolean hasLocale()+
hasLocale.
public String getOutput()+
Getter for the field output
.
String
object.public void setOutput(String value)+
Setter for the field output
.
value
- a String
object.public boolean hasOutput()+
hasOutput.
public List<OutputFormat> getOutputFormats()+
Getter for the field outputFormats
.
List
object.public void setOutputFormats(List<OutputFormat> value)+
Setter for the field outputFormats
.
value
- a List
object.public List<String> getParams()+
Getter for the field params
.
List
object.public void setParams(List<String> value)+
Setter for the field params
. Each entry in the list is
+ a String
of the form:
+ name=value ++ +
where name is the name of a parameter defined in the .jrxml + and value is the Java representation (e.g. boolean truth is + "true" or "false").
value
- a List
object.public boolean hasParams()+
hasParams.
public String getPrinterName()+
Getter for the field printerName
.
String
object.public void setPrinterName(String value)+
Setter for the field printerName
.
value
- a String
object.public boolean hasPrinterName()+
hasPrinterName.
public String getReportName()+
Getter for the field reportName
.
String
object.public void setReportName(String value)+
Setter for the field reportName
.
value
- a String
object.public boolean hasReportName()+
hasReportName.
public String getResource()+
Getter for the field resource
.
String
object.public void setResource(String value)+
Setter for the field resource
.
value
- a String
object.public boolean hasResource()+
hasResource.
public boolean isWithPrintDialog()+
isWithPrintDialog.
public void setWithPrintDialog(boolean value)+
Setter for the field withPrintDialog
.
value
- a boolean.public boolean isWriteJasper()+
isWriteJasper.
public void setWriteJasper(boolean value)+
Setter for the field writeJasper
.
value
- a boolean.public Integer getCopies()+
Getter for the field copies
.
Integer
object.public void setCopies(Integer value)+
Setter for the field copies
.
value
- a Integer
object.public boolean hasCopies()+
hasCopies.
public String getOutFieldDel()+
Getter for the field outFieldDel
.
String
object.public void setOutFieldDel(String value)+
Setter for the field outFieldDel
.
value
- a String
object.public String getOutCharset()+
Getter for the field outCharset
.
String
object.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Db.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Db.html new file mode 100644 index 0000000..ecd7a64 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Db.html @@ -0,0 +1,397 @@ + + + + + + +public class Db +extends Object+
Db class.
Constructor and Description | +
---|
Db()
+Constructor for Db.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Connection |
+getConnection(Config config)
+getConnection.
+ |
+
net.sf.jasperreports.engine.data.JRCsvDataSource |
+getCsvDataSource(Config config)
+getCsvDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonDataSource |
+getJsonDataSource(Config config)
+getJsonDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonQLDataSource |
+getJsonQLDataSource(Config config)
+getJsonQLDataSource.
+ |
+
net.sf.jasperreports.engine.data.JRXmlDataSource |
+getXmlDataSource(Config config)
+getXmlDataSource.
+ |
+
public net.sf.jasperreports.engine.data.JRCsvDataSource getCsvDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getCsvDataSource.
config
- a Config
object.JRCsvDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JRXmlDataSource getXmlDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getXmlDataSource.
config
- a Config
object.JRXmlDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonDataSource getJsonDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getJsonDataSource.
config
- a Config
object.JsonDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonQLDataSource getJsonQLDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getJsonQLDataSource.
config
- a Config
object.JsonQLDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public Connection getConnection(Config config) + throws ClassNotFoundException, + SQLException+
getConnection.
config
- a Config
object.Connection
object.ClassNotFoundException
- if any.SQLException
- if any.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Report.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Report.html new file mode 100644 index 0000000..4b856cf --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/Report.html @@ -0,0 +1,761 @@ + + + + + + +public class Report +extends Object+
Report class.
Constructor and Description | +
---|
Report(Config config,
+ File inputFile)
+Constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+compileToFile()
+Emit a .jasper compiled version of the report definition .jrxml file.
+ |
+
void |
+exportCsv()
+exportCsv.
+ |
+
void |
+exportCsvMeta()
+exportCsvMeta.
+ |
+
void |
+exportDocx()
+exportDocx.
+ |
+
void |
+exportHtml()
+exportHtml.
+ |
+
void |
+exportJrprint()
+exportJrprint.
+ |
+
void |
+exportOds()
+exportOds.
+ |
+
void |
+exportOdt()
+exportOdt.
+ |
+
void |
+exportPdf()
+exportPdf.
+ |
+
void |
+exportPptx()
+exportPptx.
+ |
+
void |
+exportRtf()
+exportRtf.
+ |
+
void |
+exportXhtml()
+exportXhtml.
+ |
+
void |
+exportXls()
+exportXls.
+ |
+
void |
+exportXlsMeta()
+exportXlsMeta.
+ |
+
void |
+exportXlsx()
+exportXlsx.
+ |
+
void |
+exportXml()
+exportXml.
+ |
+
void |
+fill()
+Process report content into internal form.
+ |
+
String |
+getMainDatasetQuery()
+For JSON, JSONQL and any other data types that need a query to be provided,
+ an obvious default is to use the one written into the report, since that is
+ likely what the report designer debugged/intended to be used.
+ |
+
net.sf.jasperreports.engine.JRParameter[] |
+getReportParameters()
+getReportParameters.
+ |
+
void |
+print()
+print.
+ |
+
static void |
+setLookAndFeel()
+setLookAndFeel.
+ |
+
void |
+view()
+view.
+ |
+
public Report(Config config, + File inputFile) + throws IllegalArgumentException+
outputFormat
and inputFile
in the
+ configuration are ignored.dbType
determines what other configuration options
+ may apply. See Config.setDbType(DsType)
.
+ After construction, call either compileToFile()
, getReportParameters()
+ or fill()
.
config
- A configuration object.inputFile
- The .jrxml report definition file to use.IllegalArgumentException
- if any.public void compileToFile()+
public void fill() + throws InterruptedException+
print()
,
+ view()
, exportCsv()
, exportCsvMeta()
,
+ exportDocx()
, exportHtml()
, exportJrprint()
,
+ exportOds()
, exportOdt()
, exportPdf()
,
+ exportPptx()
, exportRtf()
, exportXhtml()
,
+ exportXls()
, exportXlsMeta()
, exportXlsx()
+ or exportXml()
. Multiple calls to the content output methods
+ are permitted.InterruptedException
- if any.public void print() + throws net.sf.jasperreports.engine.JRException+
print.
net.sf.jasperreports.engine.JRException
- if any.public void view() + throws net.sf.jasperreports.engine.JRException+
view.
net.sf.jasperreports.engine.JRException
- if any.public void exportJrprint() + throws net.sf.jasperreports.engine.JRException+
exportJrprint.
net.sf.jasperreports.engine.JRException
- if any.public void exportPdf() + throws net.sf.jasperreports.engine.JRException+
exportPdf.
net.sf.jasperreports.engine.JRException
- if any.public void exportRtf() + throws net.sf.jasperreports.engine.JRException+
exportRtf.
net.sf.jasperreports.engine.JRException
- if any.public void exportDocx() + throws net.sf.jasperreports.engine.JRException+
exportDocx.
net.sf.jasperreports.engine.JRException
- if any.public void exportOdt() + throws net.sf.jasperreports.engine.JRException+
exportOdt.
net.sf.jasperreports.engine.JRException
- if any.public void exportHtml() + throws net.sf.jasperreports.engine.JRException+
exportHtml.
net.sf.jasperreports.engine.JRException
- if any.public void exportXml() + throws net.sf.jasperreports.engine.JRException+
exportXml.
net.sf.jasperreports.engine.JRException
- if any.public void exportXls() + throws net.sf.jasperreports.engine.JRException+
exportXls.
net.sf.jasperreports.engine.JRException
- if any.public void exportXlsMeta() + throws net.sf.jasperreports.engine.JRException+
exportXlsMeta.
net.sf.jasperreports.engine.JRException
- if any.public void exportXlsx() + throws net.sf.jasperreports.engine.JRException+
exportXlsx.
net.sf.jasperreports.engine.JRException
- if any.public void exportCsv() + throws net.sf.jasperreports.engine.JRException+
exportCsv.
net.sf.jasperreports.engine.JRException
- if any.public void exportCsvMeta() + throws net.sf.jasperreports.engine.JRException+
exportCsvMeta.
net.sf.jasperreports.engine.JRException
- if any.public void exportOds() + throws net.sf.jasperreports.engine.JRException+
exportOds.
net.sf.jasperreports.engine.JRException
- if any.public void exportPptx() + throws net.sf.jasperreports.engine.JRException+
exportPptx.
net.sf.jasperreports.engine.JRException
- if any.public void exportXhtml() + throws net.sf.jasperreports.engine.JRException+
exportXhtml.
net.sf.jasperreports.engine.JRException
- if any.public static void setLookAndFeel()+
setLookAndFeel.
public net.sf.jasperreports.engine.JRParameter[] getReportParameters() + throws IllegalArgumentException+
getReportParameters.
JRParameter
objects.IllegalArgumentException
- if any.public String getMainDatasetQuery() + throws IllegalArgumentException+
IllegalArgumentException
- on an unexpected input type.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/App.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/App.html new file mode 100644 index 0000000..cc56c64 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/App.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Config.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Config.html new file mode 100644 index 0000000..576f346 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Config.html @@ -0,0 +1,213 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
Modifier and Type | +Method and Description | +
---|---|
Connection |
+Db.getConnection(Config config)
+getConnection.
+ |
+
net.sf.jasperreports.engine.data.JRCsvDataSource |
+Db.getCsvDataSource(Config config)
+getCsvDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonDataSource |
+Db.getJsonDataSource(Config config)
+getJsonDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonQLDataSource |
+Db.getJsonQLDataSource(Config config)
+getJsonQLDataSource.
+ |
+
net.sf.jasperreports.engine.data.JRXmlDataSource |
+Db.getXmlDataSource(Config config)
+getXmlDataSource.
+ |
+
static void |
+App.listReportParams(Config config,
+ File input)
+listReportParams.
+ |
+
Constructor and Description | +
---|
Report(Config config,
+ File inputFile)
+Constructor.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Db.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Db.html new file mode 100644 index 0000000..5fe78a7 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Db.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Report.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Report.html new file mode 100644 index 0000000..7745d3c --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/class-use/Report.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-frame.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-frame.html new file mode 100644 index 0000000..4b863e4 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-tree.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-tree.html new file mode 100644 index 0000000..c4f8dc4 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-tree.html @@ -0,0 +1,142 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-use.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-use.html new file mode 100644 index 0000000..1663645 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/package-use.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
Class and Description | +
---|
Config
+ This POJO is intended to contain all command line parameters and other
+ configuration values.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/AskFilter.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/AskFilter.html new file mode 100644 index 0000000..6248641 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/AskFilter.html @@ -0,0 +1,416 @@ + + + + + + +public enum AskFilter +extends Enum<AskFilter>+
AskFilter class.
Enum Constant and Description | +
---|
a
+all (user and system definded) prarms
+ |
+
ae
+all empty params
+ |
+
p
+user params marked for prompting
+ |
+
pe
+empty user params markted for prompting
+ |
+
u
+user params
+ |
+
ue
+empty user params
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static AskFilter |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AskFilter[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final AskFilter a+
public static final AskFilter ae+
public static final AskFilter u+
public static final AskFilter ue+
public static final AskFilter p+
public static final AskFilter pe+
public static AskFilter[] values()+
+for (AskFilter c : AskFilter.values()) + System.out.println(c); +
public static AskFilter valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/Command.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/Command.html new file mode 100644 index 0000000..5a7b0a0 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/Command.html @@ -0,0 +1,468 @@ + + + + + + +public enum Command +extends Enum<Command>+
Command class.
Enum Constant and Description | +
---|
COMPILE |
+
CP |
+
LIST_PARAMETERS |
+
LIST_PRINTERS |
+
LPA |
+
LPR |
+
PARAMS |
+
PR |
+
PRINTERS |
+
PROCESS |
+
Modifier and Type | +Method and Description | +
---|---|
static Command |
+getCommand(String name)
+getCommand.
+ |
+
static Command |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Command[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Command COMPILE+
public static final Command CP+
public static final Command PROCESS+
public static final Command PR+
public static final Command LIST_PRINTERS+
public static final Command PRINTERS+
public static final Command LPR+
public static final Command LIST_PARAMETERS+
public static final Command PARAMS+
public static final Command LPA+
public static Command[] values()+
+for (Command c : Command.values()) + System.out.println(c); +
public static Command valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/Dest.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/Dest.html new file mode 100644 index 0000000..ea4b26e --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/Dest.html @@ -0,0 +1,911 @@ + + + + + + +public interface Dest
+Dest interface.
Modifier and Type | +Field and Description | +
---|---|
static String |
+ASK
+Constant
+ASK="ask" |
+
static String |
+COMMAND
+Constant
+COMMAND="command" |
+
static String |
+COPIES
+Constant
+COPIES="copies" |
+
static String |
+CSV_CHARSET
+Constant
+CSV_CHARSET="csv-charset" |
+
static String |
+CSV_COLUMNS
+Constant
+CSV_COLUMNS="csv-columns" |
+
static String |
+CSV_FIELD_DEL
+Constant
+CSV_FIELD_DEL="csv-field-del" |
+
static String |
+CSV_FIRST_ROW
+Constant
+CSV_FIRST_ROW="csv-first-row" |
+
static String |
+CSV_RECORD_DEL
+Constant
+CSV_RECORD_DEL="csv-record-del" |
+
static String |
+DATA_FILE
+Constant
+DATA_FILE="data-file" |
+
static String |
+DB_DRIVER
+Constant
+DB_DRIVER="db-driver" |
+
static String |
+DB_HOST
+Constant
+DB_HOST="db-host" |
+
static String |
+DB_NAME
+Constant
+DB_NAME="db-name" |
+
static String |
+DB_PASSWD
+Constant
+DB_PASSWD="db-passwd" |
+
static String |
+DB_PORT
+Constant
+DB_PORT="db-port" |
+
static String |
+DB_SID
+Constant
+DB_SID="db-sid" |
+
static String |
+DB_URL
+Constant
+DB_URL="db-url" |
+
static String |
+DB_USER
+Constant
+DB_USER="db-user" |
+
static String |
+DEBUG
+Constant
+DEBUG="debug" |
+
static String |
+DS_TYPE
+Constant
+DS_TYPE="db-type" |
+
static String |
+INPUT
+Constant
+INPUT="input" |
+
static String |
+JDBC_DIR
+Constant
+JDBC_DIR="jdbc-dir" |
+
static String |
+JSON_QUERY
+Constant
+JSON_QUERY="json-query" |
+
static String |
+JSONQL_QUERY
+Constant
+JSONQL_QUERY="jsonql-query" |
+
static String |
+LOCALE
+Constant
+LOCALE="locale" |
+
static String |
+OUT_CHARSET
+Constant
+OUT_CHARSET="out-charset" |
+
static String |
+OUT_FIELD_DEL
+Constant
+OUT_FIELD_DEL="out-field-del" |
+
static String |
+OUTPUT
+Constant
+OUTPUT="output" |
+
static String |
+OUTPUT_FORMATS
+Constant
+OUTPUT_FORMATS="output-formats" |
+
static String |
+PARAMS
+Constant
+PARAMS="params" |
+
static String |
+PRINTER_NAME
+Constant
+PRINTER_NAME="printer-name" |
+
static String |
+REPORT_NAME
+Constant
+REPORT_NAME="set-report-name" |
+
static String |
+RESOURCE
+Constant
+RESOURCE="resource" |
+
static String |
+WITH_PRINT_DIALOG
+Constant
+WITH_PRINT_DIALOG="with-print-dialog" |
+
static String |
+WRITE_JASPER
+Constant
+WRITE_JASPER="write-jasper" |
+
static String |
+XML_XPATH
+Constant
+XML_XPATH="xml-xpath" |
+
static final String COMMAND+
COMMAND="command"
static final String OUTPUT_FORMATS+
OUTPUT_FORMATS="output-formats"
static final String INPUT+
INPUT="input"
static final String OUTPUT+
OUTPUT="output"
static final String LOCALE+
LOCALE="locale"
static final String DEBUG+
DEBUG="debug"
static final String ASK+
ASK="ask"
static final String PARAMS+
PARAMS="params"
static final String RESOURCE+
RESOURCE="resource"
static final String DS_TYPE+
DS_TYPE="db-type"
static final String DB_HOST+
DB_HOST="db-host"
static final String DB_USER+
DB_USER="db-user"
static final String DB_PASSWD+
DB_PASSWD="db-passwd"
static final String DB_NAME+
DB_NAME="db-name"
static final String DB_SID+
DB_SID="db-sid"
static final String DB_PORT+
DB_PORT="db-port"
static final String DB_DRIVER+
DB_DRIVER="db-driver"
static final String DB_URL+
DB_URL="db-url"
static final String JDBC_DIR+
JDBC_DIR="jdbc-dir"
static final String DATA_FILE+
DATA_FILE="data-file"
static final String CSV_FIRST_ROW+
CSV_FIRST_ROW="csv-first-row"
static final String CSV_COLUMNS+
CSV_COLUMNS="csv-columns"
static final String CSV_RECORD_DEL+
CSV_RECORD_DEL="csv-record-del"
static final String CSV_FIELD_DEL+
CSV_FIELD_DEL="csv-field-del"
static final String CSV_CHARSET+
CSV_CHARSET="csv-charset"
static final String XML_XPATH+
XML_XPATH="xml-xpath"
static final String JSON_QUERY+
JSON_QUERY="json-query"
static final String JSONQL_QUERY+
JSONQL_QUERY="jsonql-query"
static final String OUT_FIELD_DEL+
OUT_FIELD_DEL="out-field-del"
static final String OUT_CHARSET+
OUT_CHARSET="out-charset"
static final String PRINTER_NAME+
PRINTER_NAME="printer-name"
static final String WITH_PRINT_DIALOG+
WITH_PRINT_DIALOG="with-print-dialog"
static final String REPORT_NAME+
REPORT_NAME="set-report-name"
static final String WRITE_JASPER+
WRITE_JASPER="write-jasper"
static final String COPIES+
COPIES="copies"
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/DsType.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/DsType.html new file mode 100644 index 0000000..96d9fd9 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/DsType.html @@ -0,0 +1,474 @@ + + + + + + +public enum DsType +extends Enum<DsType>+
Enum Constant and Description | +
---|
csv |
+
generic |
+
json |
+
jsonql |
+
mysql |
+
none |
+
oracle |
+
postgres |
+
xml |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getDriver()
+Getter for the field
+driver . |
+
Integer |
+getPort()
+Getter for the field
+port . |
+
static DsType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DsType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final DsType none+
public static final DsType csv+
public static final DsType xml+
public static final DsType json+
public static final DsType jsonql+
public static final DsType mysql+
public static final DsType postgres+
public static final DsType oracle+
public static final DsType generic+
public static DsType[] values()+
+for (DsType c : DsType.values()) + System.out.println(c); +
public static DsType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDriver()+
Getter for the field driver
.
String
object.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/InputType.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/InputType.html new file mode 100644 index 0000000..7d5ffe6 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/InputType.html @@ -0,0 +1,362 @@ + + + + + + +public enum InputType +extends Enum<InputType>+
InputType class.
Enum Constant and Description | +
---|
JASPER_DESIGN |
+
JASPER_PRINT |
+
JASPER_REPORT |
+
Modifier and Type | +Method and Description | +
---|---|
static InputType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static InputType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final InputType JASPER_DESIGN+
public static final InputType JASPER_REPORT+
public static final InputType JASPER_PRINT+
public static InputType[] values()+
+for (InputType c : InputType.values()) + System.out.println(c); +
public static InputType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/OutputFormat.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/OutputFormat.html new file mode 100644 index 0000000..9f1a8df --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/OutputFormat.html @@ -0,0 +1,530 @@ + + + + + + +public enum OutputFormat +extends Enum<OutputFormat>+
OutputFormat class.
Enum Constant and Description | +
---|
csv |
+
csvMeta |
+
docx |
+
html |
+
jrprint |
+
ods |
+
odt |
+
pdf |
+
pptx |
+
print |
+
rtf |
+
view |
+
xhtml |
+
xls |
+
xlsMeta |
+
xlsx |
+
xml |
+
Modifier and Type | +Method and Description | +
---|---|
static OutputFormat |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OutputFormat[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final OutputFormat view+
public static final OutputFormat print+
public static final OutputFormat jrprint+
public static final OutputFormat pdf+
public static final OutputFormat rtf+
public static final OutputFormat docx+
public static final OutputFormat odt+
public static final OutputFormat html+
public static final OutputFormat xml+
public static final OutputFormat xls+
public static final OutputFormat xlsMeta+
public static final OutputFormat xlsx+
public static final OutputFormat csv+
public static final OutputFormat csvMeta+
public static final OutputFormat ods+
public static final OutputFormat pptx+
public static final OutputFormat xhtml+
public static OutputFormat[] values()+
+for (OutputFormat c : OutputFormat.values()) + System.out.println(c); +
public static OutputFormat valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html new file mode 100644 index 0000000..3b32c54 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
AskFilter |
+Config.getAskFilter()
+Getter for the field
+askFilter . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setAskFilter(AskFilter value)
+Setter for the field
+askFilter . |
+
Modifier and Type | +Method and Description | +
---|---|
static AskFilter |
+AskFilter.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AskFilter[] |
+AskFilter.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/Command.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/Command.html new file mode 100644 index 0000000..2fccdb5 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/Command.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
static Command |
+Command.getCommand(String name)
+getCommand.
+ |
+
static Command |
+Command.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Command[] |
+Command.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html new file mode 100644 index 0000000..cb5953b --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html new file mode 100644 index 0000000..93b0804 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
DsType |
+Config.getDbType()
+Getter for the field
+dbType . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setDbType(DsType value)
+Setter for the field
+dbType . |
+
Modifier and Type | +Method and Description | +
---|---|
static DsType |
+DsType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DsType[] |
+DsType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html new file mode 100644 index 0000000..b26c192 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html @@ -0,0 +1,175 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
static InputType |
+InputType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static InputType[] |
+InputType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html new file mode 100644 index 0000000..0979106 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
List<OutputFormat> |
+Config.getOutputFormats()
+Getter for the field
+outputFormats . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setOutputFormats(List<OutputFormat> value)
+Setter for the field
+outputFormats . |
+
Modifier and Type | +Method and Description | +
---|---|
static OutputFormat |
+OutputFormat.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OutputFormat[] |
+OutputFormat.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-frame.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-frame.html new file mode 100644 index 0000000..6cdf287 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Interface | +Description | +
---|---|
Dest | +
+ Dest interface.
+ |
+
Enum | +Description | +
---|---|
AskFilter | +
+ AskFilter class.
+ |
+
Command | +
+ Command class.
+ |
+
DsType | +
+ Types of Datasources
+ |
+
InputType | +
+ InputType class.
+ |
+
OutputFormat | +
+ OutputFormat class.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-tree.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-tree.html new file mode 100644 index 0000000..f7d5db6 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-use.html b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-use.html new file mode 100644 index 0000000..e577858 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/de/cenote/jasperstarter/types/package-use.html @@ -0,0 +1,212 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Class and Description | +
---|
AskFilter
+ AskFilter class.
+ |
+
DsType
+ Types of Datasources
+ |
+
OutputFormat
+ OutputFormat class.
+ |
+
Class and Description | +
---|
AskFilter
+ AskFilter class.
+ |
+
Command
+ Command class.
+ |
+
DsType
+ Types of Datasources
+ |
+
InputType
+ InputType class.
+ |
+
OutputFormat
+ OutputFormat class.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/deprecated-list.html b/bin/jasperstarter/docs/cs/apidocs/deprecated-list.html new file mode 100644 index 0000000..e2e8889 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/help-doc.html b/bin/jasperstarter/docs/cs/apidocs/help-doc.html new file mode 100644 index 0000000..7214a74 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/index-all.html b/bin/jasperstarter/docs/cs/apidocs/index-all.html new file mode 100644 index 0000000..4448d3b --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/index-all.html @@ -0,0 +1,937 @@ + + + + + + +ASK="ask"
COMMAND="command"
COPIES="copies"
CSV_CHARSET="csv-charset"
CSV_COLUMNS="csv-columns"
CSV_FIELD_DEL="csv-field-del"
CSV_FIRST_ROW="csv-first-row"
CSV_RECORD_DEL="csv-record-del"
DATA_FILE="data-file"
DB_DRIVER="db-driver"
DB_HOST="db-host"
DB_NAME="db-name"
DB_PASSWD="db-passwd"
DB_PORT="db-port"
DB_SID="db-sid"
DB_URL="db-url"
DB_USER="db-user"
DEBUG="debug"
DS_TYPE="db-type"
askFilter
.command
.copies
.csvCharset
.csvColumns
.csvFieldDel
.csvFirstRow
.csvRecordDel
.dataFile
.dbDriver
.dbHost
.dbName
.dbPasswd
.dbPort
.dbSid
.dbType
.dbUrl
.dbUser
.driver
.input
.jdbcDir
.jsonQLQuery
.jsonQuery
.locale
.outCharset
.outFieldDel
.output
.outputFormats
.params
.port
.printerName
.reportName
.resource
.versionString
.xmlXpath
.INPUT="input"
JDBC_DIR="jdbc-dir"
JSON_QUERY="json-query"
JSONQL_QUERY="jsonql-query"
LOCALE="locale"
OUT_CHARSET="out-charset"
OUT_FIELD_DEL="out-field-del"
OUTPUT="output"
OUTPUT_FORMATS="output-formats"
PARAMS="params"
PRINTER_NAME="printer-name"
REPORT_NAME="set-report-name"
RESOURCE="resource"
askFilter
.command
.copies
.csvCharset
.csvColumns
.csvFieldDel
.csvFirstRow
.csvRecordDel
.dataFile
.dbDriver
.dbHost
.dbName
.dbPasswd
.dbPort
.dbSid
.dbType
.dbUrl
.dbUser
.input
.jdbcDir
.jsonQLQuery
.jsonQuery
.locale
.outCharset
.outFieldDel
.output
.outputFormats
.params
.printerName
.reportName
.resource
.verbose
.withPrintDialog
.writeJasper
.xmlXpath
.WITH_PRINT_DIALOG="with-print-dialog"
WRITE_JASPER="write-jasper"
XML_XPATH="xml-xpath"
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/index.html b/bin/jasperstarter/docs/cs/apidocs/index.html new file mode 100644 index 0000000..494ba34 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/bin/jasperstarter/docs/cs/apidocs/overview-summary.html b/bin/jasperstarter/docs/cs/apidocs/overview-summary.html new file mode 100644 index 0000000..683d878 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +
Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/overview-tree.html b/bin/jasperstarter/docs/cs/apidocs/overview-tree.html new file mode 100644 index 0000000..8b53461 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/overview-tree.html @@ -0,0 +1,163 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/cs/apidocs/package-list b/bin/jasperstarter/docs/cs/apidocs/package-list new file mode 100644 index 0000000..7e73c81 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/package-list @@ -0,0 +1,2 @@ +de.cenote.jasperstarter +de.cenote.jasperstarter.types diff --git a/bin/jasperstarter/docs/cs/apidocs/script.js b/bin/jasperstarter/docs/cs/apidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/bin/jasperstarter/docs/cs/apidocs/stylesheet.css b/bin/jasperstarter/docs/cs/apidocs/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/bin/jasperstarter/docs/cs/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/bin/jasperstarter/docs/cs/changes.html b/bin/jasperstarter/docs/cs/changes.html new file mode 100644 index 0000000..e9f8e51 --- /dev/null +++ b/bin/jasperstarter/docs/cs/changes.html @@ -0,0 +1,594 @@ + + + + + + ++JasperStarter - Running JasperReports from command line +======================================================== + +Release notes - JasperStarter - Version 3.5.0 +--------------------------------------------- + +** Bug + * [JAS-134] - "InterruptedException" should not be ignored in App.java + * [JAS-135] - comparisons between unrelated types in Config.java + +** New Feature + * [JAS-131] - Jasperstarter does not provide a way to use the query string saved in the report itself + +** Task + * [JAS-133] - Release Pipeline takes longer than before + * [JAS-136] - Throwable.printStackTrace(...) should not be called in Report.java setLookAndFeel() + * [JAS-137] - Do not use a bitwise operator with a Boolean-like operand in ParameterPanel.java + * [JAS-138] - Do not use a bitwise operator with a Boolean-like operand in ParameterPrompt.java + + +Release notes - JasperStarter - Version 3.4.1 +--------------------------------------------- + +** Bug + * [JAS-132] - Security alert on org.springframework:spring-core + Updated springframework to 4.3.21 + + CVE-2016-5007 - moderate severity - Vulnerable versions: < 4.3.1 + CVE-2018-1275 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1272 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1271 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1270 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1257 - moderate severity - Vulnerable versions: < 4.3.17 + + +Release notes - JasperStarter - Version 3.4.0 +--------------------------------------------- + + JasperStarter-3.2.0 silently dropped Java7 support by using the + latest available JasperReports Library. + JasperReports-6.4.0 is the last release which works with Java7 so + JasperStarter-3.1.0 was the latest release supporting Java7. + + Now JasperStarter needs Java8 at a minimum and is manually tested + with OpenJDK-8, OpenJDK-10, OpenJDK-11. Automatic testing is on the + way (see JAS-128). + There will be a special release supporting Java7. + + "Diskless" operation using stdin and stdout for input data and + output is now complete. See ([JAS-97] and [JAS-89]). + + A public API allows direct integration with Python using jpy + ([JAS-125]). + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with + reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-111] - JRE 1.7 incompatibility - not fixed in the main + release but clarified. + * [JAS-122] - Runtime error if a chart with "chart customizers" is + used + * [JAS-126] - Jasperstarter does not usefully propagate + compilation errors + +** New Feature + * [JAS-97] - Use stdout for the resulting PDF (so we don't have to + write to the hosting server's storage) + * [JAS-125] - Make report fill accessible via API + +** Task + * [JAS-127] - Enable dependency caching in build pipeline + * [JAS-129] - Remove test dependency to font Arial + * [JAS-130] - launch4j-maven-plugin:1.5.2 depends on 32bit + libraries + + +Release notes - JasperStarter - Version 3.3.0 +--------------------------------------------- + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-116] - SSL error + * [JAS-121] - Container 'Build' exceeded memory limit. + * [JAS-122] - Runtime error if a chart with "chart customizers" is used + +** New Feature + * [JAS-113] - JSONQL data source support + +** Task + * [JAS-102] - Pipeline: enable build artifact upload to download section + * [JAS-119] - Include JasperReports-6.7.0 + +** Improvement + * [JAS-89] - Accept stdin for datafile input + + +Release Notes - JasperStarter - Version 3.2.1 +--------------------------------------------- + +** Task + * [JAS-109] - Include JasperReports-6.4.3 + + +Release Notes - JasperStarter - Version 3.2.0 +--------------------------------------------- + +** Bug + * [JAS-96] - Enable JavaScript in expression + * [JAS-99] - jasperreports-functions not in maven central + * [JAS-100] - Pipeline build failed: Font "Arial" is not available to the JVM + * [JAS-101] - Pipeline build failed: net.sf.launch4j.ExecException: java.io.IOException: Cannot run program + * [JAS-107] - JasperStarter could not run reports with Barcode4J barcodes + +** Task + * [JAS-108] - Include JasperReports 6.4.1 + + +Release Notes - JasperStarter - Version 3.1.0 +--------------------------------------------- + +** New Feature + * [JAS-83] - JSON file as a data source + +** Task + * [JAS-95] - Include JasperReports 6.4.0 + +** Improvement + * [JAS-84] - How to pass $P{XML_DATA_DOCUMENT} to sub report - additional documentation + + +Release Notes - JasperStarter - Version 3.0.0 +--------------------------------------------- + +This Release works with Java8. + +** Bug + * [JAS-69] - Calls of assertEquals have the arguments actual and + expected interchanged + * [JAS-70] - Example report csv.jrxml truncates data + * [JAS-80] - jasperstarter by default is missing some important + jasper studio builtin libraries + * [JAS-81] - Eclipse compiler error when running using Java 8 + +** Improvement + * [JAS-68] - Expand documentation with calls of running the + example reports + +** New Feature + * [JAS-67] - Ability to produce CSV Metadata reports + * [JAS-72] - Ability to produce XLS Metadata reports + +** Task + * [JAS-57] - Switching from Mercurial to Git + * [JAS-59] - Include JasperReports 6.0.0 + * [JAS-61] - update dependencies + * [JAS-65] - Include JasperReports 6.0.2 + * [JAS-66] - Include JasperReports 6.0.3 + * [JAS-76] - Git version and revision information in manifest file + * [JAS-79] - Include JasperReports 6.0.4 + + +Release Notes - JasperStarter - Version 2.2.2 +---------------------------------------------- + +** Bug + * [JAS-63] - Version 2.2 WindowsSetup replace the path variable + + +Release Notes - JasperStarter - Version 2.2.1 +---------------------------------------------- + +** Bug + * [JAS-58] - DB type generic should not require a username + * [JAS-62] - Linux startup script does not work if called via symlink + +** Task + * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2) + + +Release Notes - JasperStarter - Version 2.2.0 +---------------------------------------------- + +** Bug + * [JAS-54] - Eclipse complains: Plugin execution not covered by + lifecycle configuration + +** New Feature + * [JAS-56] - Support for XML data sources + +** Task + * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0 + * [JAS-49] - Rewrite code reported by -Xlint:unchecked + + +Release Notes - JasperStarter - Version 2.1.2 +--------------------------------------------- + +** Bug + * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided + + +Release Notes - JasperStarter - Version 2.1.1 +---------------------------------------------- + +** Task + * [JAS-52] - Include JasperReports 5.6.1 + + +Release Notes - JasperStarter - Version 2.1.0 +---------------------------------------------- + +** Bug + * [JAS-40] - No page title is set in index.html + +** New Feature + * [JAS-50] - Accept number of copies when printing + +** Task + * [JAS-47] - Include JasperReports 5.6.0 + + +Release Notes - JasperStarter - Version 2.0.0 +---------------------------------------------- + +The command line syntax has changed in this release! +<input> is now an argument and the format of report parameters has changed. +Specifying the parameter type is no longer necessary. The type is determined +from the report and it is no longer possible to provide a non existent +parameter. +The major new feature is support for csv files as a datasource. + +** Bug + * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been + relocated to commons-io:commons-io:jar:1.3.2 + * [JAS-41] - Command "jasperstarter params" gives no useful result if param + has no description + +** Improvement + * [JAS-15] - Report parameters should be handled in a more generic way + * [JAS-42] - Accept <input> as positional argument instead of an option + +** New Feature + * [JAS-30] - CSV as a datasource for Jasperstarter + +** Task + * [JAS-23] - create unit test + * [JAS-24] - create example reports + * [JAS-34] - site translation de for release 2.0 + * [JAS-35] - site translation cz for release 2.0 + * [JAS-38] - Update build dependencies + * [JAS-39] - Include JasperReports 5.2.0 + + +Release Notes - JasperStarter - Version 1.4.2 +---------------------------------------------- + +** Bug + * [JAS-41] - Command "jasperstarter params" gives no useful result + if param has no description + + +Release Notes - JasperStarter - Version 1.4.1 +---------------------------------------------- + +** Bug + * [JAS-33] - Report parameter with space produces error on Unix + like systems + + +Release Notes - JasperStarter - Version 1.4.0 +---------------------------------------------- + +** Bug + * [JAS-29] - Documentation typo java.awt.image + +** Task + * [JAS-31] - Include JasperReports 5.1.2 + * [JAS-32] - Include argparse4j 0.4.1 + + +Release Notes - JasperStarter - Version 1.3.0 +---------------------------------------------- + +This release is mainly due to the new JasperReports library version 5.1.0. + +** Improvement + * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the + user + - Argument abbreviations + - Subcommand abbreviations + +** Task + * [JAS-27] - Include JasperReports 5.1.0 + + +Release Notes - JasperStarter - Version 1.2.0 +---------------------------------------------- + +This release is mainly due to the new JasperReports library version 5.0.4. + +** Improvement + * [JAS-25] - Implement command aliases + +** Task + * [JAS-19] - create an independent configuration bean as replacement for the + parser dependend namspace object + * [JAS-20] - move any call of System.exit() to App.main() + * [JAS-21] - remove obsolete option --keep + * [JAS-26] - Use jasperreports library 5.0.4 + + +Release Notes - JasperStarter - Version 1.1.0 +---------------------------------------------- + +JasperStarter is now able to prompt for report parameters. + +** Bug + * [JAS-5] - Maven site does not create index.html if called directly + * [JAS-6] - Maven site does not generate translation if called directly + * [JAS-11] - Maven site does not create index.html if called via package + * [JAS-16] - Selection of the report locale yields unexpected results in + some cases + +** Improvement + * [JAS-13] - new parameter type locale to specify report locale independent + from gui locale + +** New Feature + * [JAS-12] - new option to specify report resources like resource bundles or + icons + * [JAS-14] - New option: prompt for report parameters + * [JAS-17] - New Command: List report parameters + +** Task + * [JAS-7] - Site translation cs + * [JAS-22] - site translation de + + +-------- + + 1.0.1 [JAS-18] - Unable to save output into Excel format + + 1.0.0 + JasperStarter now has commands: pr - process, lp - list printers. + New command: cp - compile, can compile one file or all .jrxml in a + directory. + New input file types for command pr allowed: + jrxml - compiles implicit + jrprint - print, view or export previously filled reports. + New output type: jrprint. This makes --keep obsolete. + New parameter -w writes compiled file to imput dir if jrxml is + processed. + Parameter -t defaults to "none" and can therefore be omited if no + database is needed. + Input file is read once. No temporary files needed anymore. + Setup checks for previous versions and creates menuitems for uninstall + and help. + Setup is available in English, Chinese (Simplified), Czech, French, + Hungarian, German, Polish, Romanian, Thai, Ukrainian. + [JAS-2] - runtime parameter value cannot contain equal sign + Contains JasperReports 5.0.1 + German translation for Site/docs + [JAS-4] - java.lang.Integer cannot be cast to java.lang.String + [JAS-8] - java.lang.String cannot be cast to java.lang.Integer + [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException: + URI has an authority component + + 0.10.0 New report parameter types: double, image (see usage). + New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml. + Windows setup available. + --version shows included JasperReports version. + Fixed some minor bugs. + +V 0.9.1 Bugfix release fixed problems with --jdbc-dir option. + +V 0.9.0 First public release + Switched from Commons CLI to argparse4j. + Project documentation in generated site. + README uses markdown syntay, renamed to README.md. + Applied Apache License 2.0 to the software. + JasperStarter now starts via executable files in ./bin. + Windows binary jasperstarter.exe is generated with launch4j. + +V 0.8.0 Switched to maven. + +V 0.7.1 Fixed issue: duplicated option -n + +V 0.7.0 new option --set-report-name to temporary change the reportname when + printing. This is useful if you want to change the printjob name for + printing to a pdf printer like cups-pfd which uses the document name as + part of the pdf name by default. + +V 0.6.0 new options --printer-name --with-print-dialog --list-printers + printername matches .toLowercase().startWith() and spaces can be escaped + by the underline character _. + print dialog and viewer appear in system look an feel. + +V 0.5.0 support for postgres, oracle and generic jdbc + password is no longer a required option except for oracle + jrprint file is stored in system temp dir and deleted after processing + new options --jdbc-dir, --debug, --keep-jrprint + file extension .jasper is added to input if omitted + output can be omitted or can be file or directory + +V 0.4.0 jdbc drivers are loaded from jdbc dir + new parameter: db-type: none, mysql (none provides JREmptyDataSource() + for a non database report) + support for barcode4j + +V 0.3.1 Bugfix: removed jasperreports-javaflow + added barbecue barcode lib + +V 0.3.0 Print preview + nicer help message + package renamed + +V 0.2.0 Print support added + Added exportformats html, odt + Added report parameter type date. + New parameter db-name - database name + +V 0.1.0 First working version + Supports export to PDF, DOCX, RTF. + Simple report parameters of type string and int. +
Seznam závislostí kompilace projektu. Tyto závislosti jsou vyžadované pro kompilaci a spuštění aplikace:
+Id skupiny | +Id artefaktu | +Verze | +Typ | +Licence | +Volitelný |
---|---|---|---|---|---|
com.toedter | +jcalendar | +1.4 | +jar | +GNU LESSER GENERAL PUBLIC LICENSE | +Ne |
commons-io | +commons-io | +2.5 | +jar | +Apache License, Version 2.0 | +Ne |
commons-lang | +commons-lang | +2.6 | +jar | +The Apache Software License, Version 2.0 | +Ne |
javax.servlet | +servlet-api | +2.5 | +jar | +- | +Ne |
log4j | +log4j | +1.2.17 | +jar | +The Apache Software License, Version 2.0 | +Ne |
net.sf.barcode4j | +barcode4j | +2.1 | +jar | +The Apache Software License, Version 2.0 | +Ne |
net.sf.jasperreports | +jasperreports | +6.7.0 | +jar | +GNU Lesser General Public License | +Ne |
net.sf.jasperreports | +jasperreports-chart-customizers | +6.7.0 | +jar | +GNU Lesser General Public License | +Ne |
net.sf.jasperreports | +jasperreports-chart-themes | +6.7.0 | +jar | +GNU Lesser General Public License | +Ne |
net.sf.jasperreports | +jasperreports-fonts | +6.0.0 | +jar | +GNU Lesser General Public License | +Ne |
net.sf.jasperreports | +jasperreports-functions | +6.7.0 | +jar | +GNU Lesser General Public License | +Ne |
net.sourceforge.argparse4j | +argparse4j | +0.5.0 | +jar | +MIT | +Ne |
net.sourceforge.barbecue | +barbecue | +1.5-beta1 | +jar | +- | +Ne |
org.antlr | +antlr | +3.0b5 | +jar | +BSD License | +Ne |
org.apache.poi | +poi | +3.17 | +jar | +The Apache Software License, Version 2.0 | +Ne |
org.apache.xmlgraphics | +xmlgraphics-commons | +2.2 | +jar | +The Apache Software License, Version 2.0 | +Ne |
org.codehaus.groovy | +groovy-all | +2.4.12 | +jar | +The Apache Software License, Version 2.0 | +Ne |
org.mozilla | +rhino | +1.7.7.2 | +jar | +Mozilla Public License, Version 2.0 | +Ne |
org.springframework | +spring-beans | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +Ne |
org.springframework | +spring-core | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +Ne |
org.springframework | +spring-expression | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +Ne |
org.apache.xmlgraphics | +batik-awt-util | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-bridge | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-css | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-dom | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-gvt | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-script | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-svg-dom | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-svggen | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
org.apache.xmlgraphics | +batik-util | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ano |
Seznam závislostí testů projektu. Tyto závislosti jsou vyžadované pouze pro kompilaci a spuštění jednotkových testů pro aplikaci:
+Id skupiny | +Id artefaktu | +Verze | +Typ | +Licence |
---|---|---|---|---|
org.hsqldb | +hsqldb | +2.4.0 | +jar | +HSQLDB License, a BSD open source license |
org.testng | +testng | +6.11 | +jar | +Apache 2.0 |
Seznam přechodných závislostí projektu. Přechodné závislosti jsou závislosti projektových závislostí.
+Seznam závislostí kompilace projektu. Tyto závislosti jsou vyžadované pro kompilaci a spuštění aplikace:
+Id skupiny | +Id artefaktu | +Verze | +Typ | +Licence |
---|---|---|---|---|
antlr | +antlr | +2.7.7 | +jar | +BSD License |
avalon-framework | +avalon-framework-impl | +4.2.0 | +jar | +- |
com.fasterxml.jackson.core | +jackson-annotations | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.fasterxml.jackson.core | +jackson-core | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.fasterxml.jackson.core | +jackson-databind | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.ibm.icu | +icu4j | +57.1 | +jar | +ICU License |
com.lowagie | +itext | +2.1.7.js6 | +jar | +- |
commons-beanutils | +commons-beanutils | +1.9.3 | +jar | +Apache License, Version 2.0 |
commons-cli | +commons-cli | +1.0 | +jar | +- |
commons-codec | +commons-codec | +1.10 | +jar | +Apache License, Version 2.0 |
commons-collections | +commons-collections | +3.2.2 | +jar | +Apache License, Version 2.0 |
commons-digester | +commons-digester | +2.1 | +jar | +The Apache Software License, Version 2.0 |
commons-logging | +commons-logging | +1.1.1 | +jar | +The Apache Software License, Version 2.0 |
javax.inject | +javax.inject | +1 | +jar | +The Apache Software License, Version 2.0 |
javax.xml.stream | +stax-api | +1.0-2 | +jar | +GNU General Public Library-COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 |
joda-time | +joda-time | +2.9.9 | +jar | +Apache 2 |
org.antlr | +stringtemplate | +3.0 | +jar | +BSD License |
org.apache.ant | +ant | +1.7.1 | +jar | +- |
org.apache.ant | +ant-launcher | +1.7.1 | +jar | +- |
org.apache.commons | +commons-collections4 | +4.1 | +jar | +Apache License, Version 2.0 |
org.apache.xmlgraphics | +batik-anim | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-constants | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-ext | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-i18n | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-parser | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-xml | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.bouncycastle | +bcprov-jdk15on | +1.52 | +jar | +Bouncy Castle Licence |
org.codehaus.castor | +castor-core | +1.3.3 | +jar | +- |
org.codehaus.castor | +castor-xml | +1.3.3 | +jar | +- |
org.eclipse.jdt.core.compiler | +ecj | +4.4.2 | +jar | +Eclipse Public License v1.0 |
org.jfree | +jcommon | +1.0.23 | +jar | +GNU Lesser General Public Licence |
org.jfree | +jfreechart | +1.0.19 | +jar | +GNU Lesser General Public Licence |
org.python | +jython | +2.7.0 | +jar | +Jython Software License |
stax | +stax | +1.2.0 | +jar | +- |
stax | +stax-api | +1.0.1 | +jar | +The Apache Software License, Version 2.0 |
xalan | +serializer | +2.7.2 | +jar | +The Apache Software License, Version 2.0 |
xalan | +xalan | +2.7.2 | +jar | +The Apache Software License, Version 2.0 |
xml-apis | +xml-apis | +1.3.04 | +jar | +The Apache Software License, Version 2.0 |
xml-apis | +xml-apis-ext | +1.3.04 | +jar | +The Apache Software License, Version 2.0 |
Seznam závislostí testů projektu. Tyto závislosti jsou vyžadované pouze pro kompilaci a spuštění jednotkových testů pro aplikaci:
+Id skupiny | +Id artefaktu | +Verze | +Typ | +Licence |
---|---|---|---|---|
com.beust | +jcommander | +1.64 | +jar | +Apache 2.0 |
org.yaml | +snakeyaml | +1.17 | +jar | +Apache License, Version 2.0 |
GNU LESSER GENERAL PUBLIC LICENSE: JCalendar
+Apache 2.0: jcommander, testng
+HSQLDB License, a BSD open source license: HyperSQL Database
+Mozilla Public License, Version 2.0: Mozilla Rhino
+Jython Software License: Jython
+Eclipse Public License v1.0: Eclipse ECJ
+Neznámý: CLI, Castor CORE - Core code/functionality, Castor XML - core, StAX, ant-launcher, avalon-framework-impl, barbecue, itext, org.apache.tools.ant, servlet-api
+ICU License: ICU4J
+GNU Lesser General Public License: JasperReports, JasperReports Chart Customizers, JasperReports Chart Themes, JasperReports Font Extension, JasperReports Functions
+Bouncy Castle Licence: Bouncy Castle Provider
+Apache 2: Joda-Time
+GNU General Public Library: Streaming API for XML
+BSD License: AntLR Parser Generator, Stringtemplate
+Apache License, Version 2.0: Apache Commons BeanUtils, Apache Commons Codec, Apache Commons Collections, Apache Commons IO, SnakeYAML, Spring Beans, Spring Core, Spring Expression Language (SpEL)
+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: Streaming API for XML
+MIT: argparse4j
+GNU Lesser General Public Licence: JCommon, JFreeChart
+The Apache Software License, Version 2.0: Apache Groovy, Apache Log4j, Apache POI, Apache XML Graphics Commons, Barcode4J, Commons Digester, Commons Lang, Commons Logging, Jackson-annotations, Jackson-core, JasperStarter, StAX API, XML Commons External Components XML APIs, XML Commons External Components XML APIs Extensions, Xalan Java, Xalan Java Serializer, jackson-databind, javax.inject, org.apache.xmlgraphics:batik-anim, org.apache.xmlgraphics:batik-awt-util, org.apache.xmlgraphics:batik-bridge, org.apache.xmlgraphics:batik-constants, org.apache.xmlgraphics:batik-css, org.apache.xmlgraphics:batik-dom, org.apache.xmlgraphics:batik-ext, org.apache.xmlgraphics:batik-gvt, org.apache.xmlgraphics:batik-i18n, org.apache.xmlgraphics:batik-parser, org.apache.xmlgraphics:batik-script, org.apache.xmlgraphics:batik-svg-dom, org.apache.xmlgraphics:batik-svggen, org.apache.xmlgraphics:batik-util, org.apache.xmlgraphics:batik-xml
Název souboru | +Velikost | +Záznamy | +Třídy | +Balíky | +Rev JDK | +Debug | +Zapečetění |
---|---|---|---|---|---|---|---|
antlr-2.7.7.jar | +434,85 kB | +239 | +224 | +12 | +1.2 | +debug | +- |
avalon-framework-impl-4.2.0.jar | +59,30 kB | +45 | +30 | +7 | +1.1 | +debug | +- |
jcommander-1.64.jar | +64,05 kB | +65 | +64 | +5 | +1.6 | +debug | +- |
jackson-annotations-2.9.5.jar | +65,41 kB | +80 | +68 | +1 | +1.6 | +debug | +- |
jackson-core-2.9.5.jar | +314,05 kB | +130 | +105 | +11 | +1.6 | +debug | +- |
jackson-databind-2.9.5.jar | +1,28 MB | +658 | +624 | +20 | +1.6 | +debug | +- |
icu4j-57.1.jar | +10,77 MB | +4 440 | +1 198 | +11 | +1.6 | +debug | +- |
itext-2.1.7.js6.jar | +1,08 MB | +522 | +474 | +22 | +1.5 | +release | +- |
jcalendar-1.4.jar | +161,18 kB | +209 | +58 | +4 | +1.4 | +release | +- |
commons-beanutils-1.9.3.jar | +240,40 kB | +154 | +137 | +5 | +1.6 | +debug | +- |
commons-cli-1.0.jar | +29,41 kB | +27 | +20 | +1 | +1.1 | +debug | +- |
commons-codec-1.10.jar | +277,52 kB | +238 | +92 | +6 | +1.6 | +debug | +- |
commons-collections-3.2.2.jar | +574,55 kB | +484 | +460 | +12 | +1.3 | +debug | +- |
commons-digester-2.1.jar | +192,16 kB | +182 | +155 | +14 | +1.5 | +debug | +- |
commons-io-2.5.jar | +203,81 kB | +142 | +123 | +7 | +1.6 | +debug | +- |
commons-lang-2.6.jar | +277,56 kB | +155 | +133 | +10 | +1.3 | +debug | +- |
commons-logging-1.1.1.jar | +59,26 kB | +42 | +28 | +2 | +1.1 | +debug | +- |
javax.inject-1.jar | +2,44 kB | +8 | +6 | +1 | +1.5 | +release | +- |
servlet-api-2.5.jar | +102,65 kB | +68 | +42 | +2 | +1.5 | +debug | +- |
stax-api-1.0-2.jar | +22,80 kB | +44 | +37 | +3 | +1.5 | +debug | +- |
joda-time-2.9.9.jar | +619,19 kB | +763 | +247 | +7 | +1.5 | +debug | +- |
log4j-1.2.17.jar | +478,40 kB | +353 | +314 | +21 | +1.4 | +debug | +- |
barcode4j-2.1.jar | +267,97 kB | +174 | +145 | +21 | +1.4 | +debug | +- |
jasperreports-6.7.0.jar | +5,28 MB | +3 700 | +3 312 | +131 | +1.6 | +debug | +- |
jasperreports-chart-customizers-6.7.0.jar | +42,94 kB | +53 | +37 | +6 | +1.6 | +debug | +- |
jasperreports-chart-themes-6.7.0.jar | +174,92 kB | +82 | +55 | +4 | +1.6 | +debug | +- |
jasperreports-fonts-6.0.0.jar | +2,37 MB | +27 | +0 | +0 | +- | +release | +- |
jasperreports-functions-6.7.0.jar | +31,35 kB | +23 | +8 | +1 | +1.6 | +debug | +- |
argparse4j-0.5.0.jar | +81,85 kB | +75 | +55 | +9 | +1.5 | +debug | +- |
barbecue-1.5-beta1.jar | +88,94 kB | +79 | +59 | +13 | +1.3 | +release | +- |
antlr-3.0b5.jar | +474,83 kB | +206 | +172 | +9 | +1.4 | +debug | +- |
stringtemplate-3.0.jar | +124,75 kB | +82 | +74 | +4 | +1.4 | +release | +- |
ant-1.7.1.jar | +1,26 MB | +818 | +769 | +29 | +1.2 | +debug | +- |
ant-launcher-1.7.1.jar | +11,86 kB | +12 | +5 | +1 | +1.2 | +debug | +- |
commons-collections4-4.1.jar | +733,63 kB | +548 | +518 | +18 | +1.6 | +debug | +- |
poi-3.17.jar | +2,58 MB | +1 793 | +1 715 | +64 | +1.6 | +debug | +- |
batik-anim-1.9.1.jar | +467,51 kB | +417 | +396 | +4 | +1.6 | +debug | +- |
batik-constants-1.9.1.jar | +8,06 kB | +14 | +1 | +1 | +1.6 | +release | +- |
batik-ext-1.9.1.jar | +12,72 kB | +28 | +15 | +2 | +1.6 | +debug | +- |
batik-i18n-1.9.1.jar | +11,00 kB | +17 | +4 | +1 | +1.6 | +debug | +- |
batik-parser-1.9.1.jar | +74,62 kB | +73 | +55 | +1 | +1.6 | +debug | +- |
batik-xml-1.9.1.jar | +32,70 kB | +22 | +6 | +1 | +1.6 | +debug | +- |
xmlgraphics-commons-2.2.jar | +631,36 kB | +427 | +374 | +34 | +1.5 | +debug | +- |
bcprov-jdk15on-1.52.jar | +2,77 MB | +2 568 | +2 430 | +126 | +1.5 | +release | +- |
castor-core-1.3.3.jar | +48,35 kB | +63 | +38 | +9 | +1.5 | +debug | +sealed |
Celkem | +Velikost | +Záznamy | +Třídy | +Balíky | +Rev JDK | +Debug | +Zapečetění |
45 | +34,70 MB | +20 349 | +14 882 | +673 | +1.6 | +37 | +1 |
compile: 44 | +compile: 34,63 MB | +compile: 20 284 | +compile: 14 818 | +compile: 668 | +- | +compile: 36 | +compile: 1 |
test: 1 | +test: 64,05 kB | +test: 65 | +test: 64 | +test: 5 | +- | +test: 1 | +- |
Distribuční soubory JasperStarteru mají následující konvenci pro pojmenování:
+ +JasperStarter-<version>-<type>.<archiveTye> +
Číslování verzí produktu:
+ +<major>.<minor>.<bugfix> +
Číslování kandidátů na zveřejnění - většinou jsou zralé pro zveřejnění, ale ještě je musíte otestovat ;-) :
+ +<major>.<minor>-RC<N> +
Číslování testovacích verzí - nevhodných pro produktivní použití:
+ +<major>.<minor>-SNAPSHOT-<git-short-commit-id> +
Typy:
+ +Vyberte si svůj oblíbený typ archivu. Obsah je naprosto identický.
Obsah distribučního archivu:
+ +bin/ - spouštěcí programy pro Windows, Mac OSX, Linux, atd. +docs/ - JasperStarter Dokumentace ve formátu html +jdbc/ - Adresář pro vaše JDBC Drivery (soubory jar) +lib/ - potřebné knihovny +CHANGES +LICENSE +NOTICE +README.md +
Prosím neměňte strukturu adresářů, JasperStarter by pak nefungoval.
+Více informací naleznete v README.md, které se nachází v distribučním archivu.
JasperStarter je open-source spouštěč pro příkazový řádek a batch kompilátor pro JasperReports.
+Má následující vlastnosti:
+ +Požadavky
+ +nebo jednoduše ve windows vyvolejte setup.exe
uložte své jdbc drivery do adresáře ./jdbc vaší instalace nebo odkažte na jiný adresář pomocí --jdbc-dir
Vyvoláním JasperStarteru s -h získáte přehled:
+ +$ jasperstarter -h +
Vyvoláním JasperStarteru s process -h získáte nápovědu k příkazu process
+ +$ jasperstarter process -h +
Příklad s parametry reportu:
+ +$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost \ + -n mydb -o report -p secret -P CustomerNo=10 StartFrom=2012-10-01 +
Příklad s hsql s použitím databáze typu generic:
+ +$ jasperstarter pr report.jasper -t generic -f pdf -o report -u sa \ +--db-driver org.hsqldb.jdbcDriver \ +--db-url jdbc:hsqldb:hsql://localhost +
Další informace naleznete v distribučním archivu v adresáři docs nebo online na stránce Použití. Usage
See the english version for the history of changes.
Zpětná vazba je vítaná! Pokud máte dotazy či návrhy, neváhejte a napište nám do discussion fóra. Našli jste bug nebo postrádáte jistou funkci? Přihlašte se do našeho Issuetrackeru a vytvořte nový požadavek.
+Jste se softwarem spokojení? Napište hodnocení review :-)
Zdrojový kód je dostupný na bitbucket.org/cenote/jasperstarter, webové stránky projektu hostuje Sourceforge.
+JasperStarter je vytvořen pomocí Maven. Distribuční balíček získáte vyvoláním:
+ +$ mvn package -P release +
nebo, pokud tvoříte z aktualní větve (default branch), raději:
+ +$ mvn package -P release,snapshot +
Pozor! target/jasperstarter.jar nelze přímo spustit, pokud v adresáři ../lib nemáte závislosti! Viz profil dev níže!
+Pokud chcete vytvořit setup pro Windows, musíte mít v proměnné path nsis (funguje i v Linuxu, zkompilovanou verzi naleznete na soufceforge ve složce build-tools), k příkazu musíte přidat windows-setup profil:
+ +$ mvn package -P release,windows-setup +
nebo
+ +$ mvn package -P release,windows-setup,snapshot +
Během vývoje možná oceníte rychlejší build. Profil dev se obejde bez některých déle trvajících reportů a bez tvorby zabalených archivů. Místo toho je výsledek uložený do target/jasperstarter-dev-bin.
+ +$ mvn package -P dev +
Teď můžete spustit JasperStarter bez IDE:
+ +$ target/jasperstarter-dev-bin/bin/jasperstarter +
nebo
+ +$ java -jar target/jasperstarter-dev-bin/lib/jasperstarter.jar +
Pokud vás během vývoje omezují testy, zkuste následující užitečnou možnost:
+ +$ package -P dev -D skipTests +
nebo
+ +$ package -P dev -D maven.test.failure.ignore=true +
Pokud chcete sputit JasperStarter v rámci vašeho IDE, přidejte k seznamu příkazů v konfiguraci --jdbc-dir jdbc. Bez toho dostanete chybovou hlášku:
+ +Error, (...)/JasperStarter/target/classes/jdbc is not a directory! +
Zkopírujte vaše jdbc drivery do adresáře ./jdbc vašeho projektu, abyste mohli vyvolat JasperStarter v rámci vašeho IDE a získali report z databáze.
Copyright 2012, 2013, 2014 Cenote GmbH.
+Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Tento projekt používá Jira, aplikaci pro sledování problémů a správu projektu založenou na J2EE.
t |
Dokument | +Popis |
---|---|
Souhrn projektu | +Tento dokument je přehledem ostatních souvisejících informací o projektu. |
Licence projektu | +Odkaz na definice licencí projektu. |
Tým projektu | +Tento dokument poskytuje informace o členech projektu. Jde o jednotlivce, kteří do projektu nějak přispěli. |
Repozitář zdrojových kódů | +Odkaz na online repozitář zdrojových kódu, který může být prohlížen webovým prohlížečem. |
Sledování problémů | +Toto je odkaz na systém sledování problémů tohoto projektu. Použitím tohoto odkazu můžete vytvářet a vyhledávat problémy (chyby, vlastnosti, požadavky na změnu). |
Závislosti | +Tento dokument obsahuje seznamem závislostí projektu a poskytuje informaci o každé z nich. |
Pole | +Hodnota |
---|---|
Název | +JasperStarter |
Popis | +JasperStarter is a command line launcher for JasperReports. |
Domovská stránka | +http://jasperstarter.cenote.de/ |
Tento projekt používá GIT ke správě zdrojových kódů. Návod na použití GIT je k dispozici na http://git-scm.com/documentation.
Zdrojový kód může být z GIT stažen anonymně tímto příkazem (viz http://git-scm.com/docs/git-clone):
+$ git clone https://bitbucket.org/cenote/jasperstarter.git
Prostřednictvím této metody mohou přistupovat ke stromu GIT pouze vývojáři projektu (viz http://git-scm.com/docs/git-clone).
+$ git clone git@bitbucket.org:cenote/jasperstarter.git
Úspěšný projekt vyžaduje mnoho lidí, aby sehráli řadu rolí. Někteří členové píší kód nebo dokumentaci, zatímco jiní jsou cenní jako testeři, autoři oprav a námětů.
+Tým je složený ze členů a přispěvatelů. Členové mají přímý přístup ke zdrojovým kódům projektu a aktivně vyvíjejí kód. Přispěvatelé vylepšují projekt prostřednictvím vkládání oprav a námětů členům. Počet přispěvatelů projektu není omezený. Zapojte se, všechny příspěvky projektu jsou velmi ceněny.
+Seznam vývojářů s právy zápisu, kteří do projektu nějak přispěli.
+Obrázek | +Id | +Jméno | +Organizace | +Odkaz na organizaci | +Role | |
---|---|---|---|---|---|---|
vosskaem | +Volker Voßkämper | +vosskaem@users.sourceforge.net | +Cenote GmbH | +http://www.cenote.de | +architect, developer |
Následující lidé přispěli do projektu svými náměty, opravami, vylepšeními nebo dokumentací.
+Obrázek | +Jméno | +Organizace | +Role | |
---|---|---|---|---|
Barbora Berlinger | +boraber@users.sourceforge.net | +Cenote GmbH | +translator |
Mnoho lidí, kteří používají JasperReports, unikód vůbec neřeší. Prostě zvolí vybraný font pro pole formuláře a statický text, vygenerují report a hotovo. Ale pokud váš report obsahuje znaky, které znaková sada vašeho defaultního neunikódového operačního systému neobsahuje, budete překvapení. Tiskový náhled a tisk budou v pořádku, ale pdf export nebude. Některé znaky budou chybět.
+Tento problém jsem měl a to, co jsem našel na internetu, bylo matoucí. Od "je to bud itextové knihovny" až po komplikovaná řešení za pomoci zastaralých funkcí JasperReports.
+Ale správné řešení je naštěstí docela jednoduché...
Pro požadované pole zvolte font "DejaVu Sans". Podle toho, jaké znaky váš report obsahuje, nejspíš zjistíte, že se nyní zobrazují i v pdf.
+(Skupina fontů DejaVu je sice trošku omezená, ale třeba azbuku se vám exportovat podaří. Více informací najdete na http://dejavu-fonts.org.)
Název písma pro dané pole je správně nastavený na "DejaVu Sans" a na výše uvedené webové stránce jste se ujistili, že font dané znaky opravdu obsahuje. Vaše pdf ale znaky nezobrazuje?
+Vrtali jste se předtím v zastaralých volbách jako "PDF Font name" nebo "PDF Encoding"? Přesně to by mohlo způsobovat problém. I když tyto volby přepnete zpátky na jejich default hodnoty, může to být příčinou špatného zobrazování pdf. Musíte šablonu reportu přepnout do xml náhledu a zkontrolovat , že tyto volby vůbec nejsou obsaženy!
+Takže například toto nefunguje:
+<staticText> + <reportElement x="14" y="63" width="521" height="24"/> + <textElement> + <font fontName="DejaVu Sans" size="15" pdfFontName="DejaVu Sans" pdfEncoding="Identity-H"/> + </textElement> + <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text> +</staticText>
Toto fungovat bude, protože se tu vlastnosti pdfFontName a pdfEncoding vůbec nevyskytují:
+<staticText> + <reportElement x="14" y="63" width="521" height="24"/> + <textElement> + <font fontName="DejaVu Sans" size="15"/> + </textElement> + <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text> +</staticText>
Může se stát, že znaky, které potřebujete, font DejaVu nezobrazí nebo se vám prostě nelíbí. Což takhle použít Arial nebo jiný unikódový font?
+Takový font musíte do JasperReports integrovat speciálním způsobem. Musíte je všechny uložit do souboru .jar, který musí obsahovat dodatečné informace v souboru s vlastnostmi a speciální xml soubor, který obsažené fonty popisuje. Tento jar soubor musí být v java classpath během generování reportu. Zní to moc komplikovaně? Žádnou paniku... ;-)
+Takový fontový jar soubor můžete ve dvou krocích vytvořit pomocí grafického editoru reportů iReport který už možná dokonce používáte.
+Když rozbalíte v iReports výběrové menu pro název fontu, všimněte si, že na začátku seznamu je jen několik položek, a pak následuje delší seznam fontů oddělených pomlčkou. Tento delší seznam pod pomlčkou jsou fonty, které jsou instalované ve vašem operačním systému, fonty nad pomlčku jsou instalované v iReports. A jenom ty lze v iReports použít pro export unikódových znaků do pdf. Takže prvním krokem bude nainstalování vašeho oblíbeného fontu do iReports.
+Nyní vidíte seznam všech již instalovaných fontů. Tři DejaVue fonty jsou instalovýny defaultně, ostatní jsou generické alias fontu.
+Teď by měl export vašeho reportu do pdf v iReports fungovat - i s použitím nově instalovaného fontu a cizích znaků
+Poznámka pro uživatele Windows 7:
+Při pokusu instalovat nový font do iReport s největší pravděpodobností dostanete chybovou hlášku, protože nemáte práva pro zápis do souboru. Změňte nastavení adresáře
+C:\Program Files\Jaspersoft\iReport-4.1.1\ireport\fonts
nebo
+C:\Program Files (x86)\Jaspersoft\iReport-4.1.1\ireport\fonts
tak, aby měl uživatel právo zápisu.
Právě jste získali fontový jar, který můžete použít v JasperReports. Stačí ho přidat do classpath vaší aplikace.
Pokud jste přidali složku bin do proměnné PATH, stačí pro vyvolání programu zadat
+$ jasperstarter
Pokud ne, můžete zadat absolutní cestu. V Linuxu:
+/opt/jasperstarter/bin/jasperstarter
a ve Windows:
+C:\App\jasperstarter\bin\jasperstarter.exe
pokud jste se řídili příkladem v kapitole instalace.
+Pokud máte problém s binárním souborem nebo s shell skriptem nebo pokud potřebujete pro java VM specifikovat jiné volby, vyvolejte program přímo:
+$ java -jar /opt/jasperstarter/lib/jasperstarter.jar
nebo
+$ java -cp /opt/jasperstarter/lib/jasperstarter.jar de.cenote.jasperstarter.App
JasperReports zná tři typy souborů:
+Jedná se o xml soubor, který definuje report. Můžete si je napsat ručně, ale spíš použijete jeden z těch hezkých dostupných GUI nástrojů.
Tento soubor je výsledkem kompilování souboru .jrxml.
Tento soubor získáte po vyvolání reportu. Data získaná z požadovaného datového zdroje vyplní kompilovaný report a výsledek je možné uložit jako .jrprint soubor.
JasperStarter obsahuje několik globálních příkazů a voleb. Každý příkaz může mít vlastní volby.
+Přehled získáte vyvoláním jasperstarter s -h, které vám ukáže všechny globální volby a příkazy, které máte k dispozici.
+$ jasperstarter -h +usage: jasperstarter [-h] [--locale <lang>] [-v] [-V] <cmd> ... + +optional arguments: + -h, --help show this help message and exit + --locale <lang> set locale with two-letter ISO-639 code or a + combination of ISO-639 and ISO-3166 like de_DE + -v, --verbose display additional messages + -V, --version display version information and exit + +commands: + <cmd> type <cmd> -h to get help on command + compile (cp) compile reports + process (pr) view, print or export an existing report + list_printers (printers,lpr) + lists available printers + list_parameters (params,lpa) + list parameters from a given report +
Každý příkaz má také vlastní nápovědu, kterou lze vyvolat pomocí <command> -h.
+Příkaz compile slouží ke kompilování jednoho nebo všech reportů v adresáři. cp je alias pro compile.
+$ jasperstarter cp -h +usage: jasperstarter compile [-h] [-o <output>] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + <input> input file (.jrxml) or directory + -o <output> directory or basename of outputfile(s) +
Příkaz process slouží ke zpracování jednoho reportu. Může to být náhled, tisk nebo export. pr je alias pro process.
+$ jasperstarter pr -h +usage: jasperstarter process [-h] -f <fmt> [<fmt> ...] [-o <output>] [-w] + [-a [<filter>]] [-P <param> [<param> ...]] + [-r [<resource>]] [-t <dstype>] [-H <dbhost>] + [-u <dbuser>] [-p <dbpasswd>] [-n <dbname>] + [--db-sid <sid>] [--db-port <port>] + [--db-driver <name>] [--db-url <jdbcUrl>] + [--jdbc-dir <dir>] [--data-file <file>] + [--csv-first-row] [--csv-columns <list>] + [--csv-record-del <delimiter>] + [--csv-field-del <delimiter>] + [--csv-charset <charset>] [--xml-xpath <xpath>] + [--json-query <jsonquery>] + [--jsonql-query <jsonqlquery>] [-N <printername>] [-d] + [-s <reportname>] [-c <copies>] + [--out-field-del <delimiter>] + [--out-charset <charset>] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + -f <fmt> [<fmt> ...] view, print, pdf, rtf, xls, xlsMeta, xlsx, docx, + odt, ods, pptx, csv, csvMeta, html, xhtml, xml, + jrprint + <input> input file (.jrxml|.jasper|.jrprint) + -o <output> directory or basename of outputfile(s), use '-' + for stdout + +compile options: + -w, --write-jasper write .jasper file to imput dir if jrxml is + processed + +fill options: + -a [<filter>] ask for report parameters. Filter: a, ae, u, ue, + p, pe (see usage) + -P <param> [<param> ...] + report parameter: name=value [...] + -r [<resource>] path to report resource dir or jar file. If + <resource> is not given the input directory is + used. + +datasource options: + -t <dstype> datasource type: none, csv, xml, json, jsonql, + mysql, postgres, oracle, generic (jdbc) + -H <dbhost> database host + -u <dbuser> database user + -p <dbpasswd> database password + -n <dbname> database name + --db-sid <sid> oracle sid + --db-port <port> database port + --db-driver <name> jdbc driver class name for use with type: generic + --db-url <jdbcUrl> jdbc url without user, passwd with type:generic + --jdbc-dir <dir> directory where jdbc driver jars are located. + Defaults to ./jdbc + --data-file <file> input file for file based datasource, use '-' for + stdin + --csv-first-row first row contains column headers + --csv-columns <list> Comma separated list of column names + --csv-record-del <delimiter> + CSV Record Delimiter - defaults to line.separator + --csv-field-del <delimiter> + CSV Field Delimiter - defaults to "," + --csv-charset <charset> + CSV charset - defaults to "utf-8" + --xml-xpath <xpath> XPath for XML Datasource + --json-query <jsonquery> + JSON query string for JSON Datasource + --jsonql-query <jsonqlquery> + JSONQL query string for JSONQL Datasource + +output options: + -N <printername> name of printer + -d show print dialog when printing + -s <reportname> set internal report/document name when printing + -c <copies> number of copies. Defaults to 1 + --out-field-del <delimiter> + Export CSV (Metadata) Field Delimiter - defaults + to "," + --out-charset <charset> + Export CSV (Metadata) Charset - defaults to "utf- + 8" +
Příkaz list_printers nemá žádné volby. Vypíše všechny tiskárny dostupné ve vašem systému, které můžete použít s volbou -N u příkazu process. printers, lpr je alias pro list_printers.
Příkaz list_parameterss nabídne seznam všech parametrů reportu definovaných uživatelem. params, lpa are aliases for list_parameters.
+$ jasperstarter params -h +usage: jasperstarter list_parameters [-h] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + <input> input file (.jrxml) or (.jasper) +
Sloupce mají následující význam:
+Příklad výstupu:
+$ jasperstarter params myreport.jasper +P background java.awt.Image Background image +P MyName java.lang.String Title of some component +P MyDate java.util.Date
Každý příkaz, volbu nebo argument, které JasperStarter akceptuje, můžete uložit do souboru, který pak po přidání @ můžete přidat k vyvolání.
+Takový soubor by měl obsahovat na jednom řádku pouze jeden příkaz/volbu/argument.
+Příklad (db.conf):
+-t +mysql +-H +localhost +-n +mydb +-u +volker
Příklad vyvolání s příkazovým souborem:
+$ jasperstarter pr myreport -f view @db.conf
Pozor! Příkazový soubor nesmí obsahovat žádné prázdné řádky a musí být zakončen jedním zalomením řádku!
Aby došlo ke zpracování reportu, zadejte příkaz pr, který potřebuje následující volby:
+Všechny ostatní volby jsou nepovinné.
+Pro výstup -o viz kapitola "Zacházení se soubory".
+<input> je nyní pouze parametr. Na pořadí voleb a tohoto parametru nezáleží, ale parametr nelze umístit za volbu, která sama má jistý počet parametrů. Tyto volby jsou:
+Následující případ tedy fungovat nebude:
+$ jasperstarter pr -f view myreport.jasper
Ale tento bude:
+$ jasperstarter pr -f print pdf -d myreport.jasper +$ jasperstarter pr -f view -t mysql myreport.jasper -H localhost -u myuser -n mydb
The easiest way to circumvent any problems regarding arguments is to always place <input> at the first position right behind the command as shown in the following examples.
+Pro zpracování reportu s prázdnou databází potřebujete minimálně následující volby:
+$ jasperstarter pr myreport.jasper -f view
Pro zpracování reportu, který potřebuje připojení k databázi, musíte zadat minimálně následující volby:
+$ jasperstarter pr myreport.jasper -f pdf -t mysql -H localhost -n mydb -u appuser
Report je možné pouze vyplnit. Náhled, tisk a export je možný i později.
+Pouhé vyplnění reportu:
+$ jasperstarter pr myreport.jasper -f jrprint -t mysql -H localhost -n mydb -u appuser
Náhled již vyplněného reportu:
+$ jasperstarter pr myreport.jrprint -f view
Znaková sada souborů CSV je defaultně UTF-8. Další často používané znakové sady jsou cp1252 (Windows), ISO-8859-1 or ISO-8859-15 (Linux). Znakovou sadu CSV souboru lze specifikovat parametrem --csv-charset.
+Jednotlivé údaje jsou obvykle odděleny novým řádkem, nemusí tak tomu ale být. separátor je závislý na defaultním separátoru celého systému a ten se v každém operačním systému liší. Pokud používáte CSV soubory z jiného systému, musíte tedy zadat správný separátor pomocí parametru --csv-record-del:
+Jednotlivá pole mohou být oddělena jakýmkoliv znakem a navíc být uzavřena do například uvozovkami. Separátor pole je defaultně ,
+Jednoduchý příklad:
+$ jasperstarter pr csv.jrxml -f view -t csv --data-file data.csv --csv-first-row
Složitější příklad:
+$ jasperstarter pr csv.jrxml -f view -t csv --data-file data.csv \ +--csv-columns Name,Phone --csv-record-del="\n" --csv-field-del="|" \ +--csv-charset=cp1252
Parametry reportu se mohou skládat z více typů (classes). JasperStarter umí zacházet se všemi typy, které mají konstruktor typu String. Navíc má JasperStarter speciální funkce pro typy, které nemají konstruktor typu String nebo potřebují speciální zacházení. Jedná se o:
+Parametry s více hodnotami se oddělují mezerami. Parameter má následující formu:
+Míso name dosaďte název parametru ve vašem reportu. U názvů parametrů dbejte na velká a malá písmena!
+Datum je v ISO formátu a má tvar: YYYY-MM-DD Parametr typu date akceptuje datum v ISO formátu a ve tvaru YYYY-MM-DD
+Parametr typu locale může mít dvě písmena - jazykový kód ISO-639 - nebo se skládat z kódu pro jazyk (ISO-639) a z kódu pro zemi (ISO-3166) spojených podtržítkem. Například de nebo de_DE.
+$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P CustomerNo=10 StartFrom=2012-10-01
Report lze snadno upravit přidáním loga či obrázku v pozadí jako parametr. V následujícím příkladu použijeme background jako název parametru pro obrázek:
+Nyní můžete report zpracovat pomocí JasperStarteru:
+$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P background=/tmp/mybackgroundimage.jpg
Především uživatelé windows budou určitě muset pracovat s názvy souborů, které obsahují mezery. Existují dva způsoby. Zadejte do uvozovek buď hodnotu:
+c:\jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P background="C:\Temp Files\My Image.jpg" otherValue=1
nebo celý parametr:
+c:\jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P "background=C:\Temp Files\My Image.jpg" otherValue=1
JasperStarter umí požádat o zadání parametrů volbou -a.
+Lze zobrazit každý parametr, který je v reportu definovaný, ale zadat lze pouze takový, který má typ (class) s konstruktorem, který vyžaduje jeden string coby argumen nebo pro něj existuje extra funkce.
+Je možné zúžit výběr zobrazených parametrů pomocí následujících nepovinných argumentů:
+V následujících příkladech se podíváme na report bez databáze, který má dva parametry:
+Uživatel bude vyzván, aby zadal tyto dva parametry:
+$ jasperstarter pr myreport.jasper -f view -a
Uživatel bude vyzván, aby zadal dva parametry. Paramet MyDate již je vyplněný, lze ho ale změnit:
+$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a
Uživatel bude vyzván pouze k zadání prázdného parametru MyText. Parametr MyDate již je vyplněný a nezobrazí se:
+$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a pe
Reporty mohou používat několik různých zdrojů, jako třeba resource balíčky i18n, ikony či obrázky.
+Pokud se zdroje nacházejí ve stejném adresáři jako report, specifikujte pouze -r bez argumentů:
+$ jasperstarter pr myreport.jasper -f view -r
Pokud se zdroje nacházejí v jiném adresáři, nebo v souboru jar, můžete jako argument zadat cestu:
+$ jasperstarter pr myreport.jasper -f view -r myresources/
nebo
+$ jasperstarter pr myreport.jasper -f view -r myresources.jar
Pokud vstupní soubor (volba -i ) nebyl nalezen, je k názvu souboru přidáno nejdřív .jasper, pokud soubor opět nebyl nalezen, je k názvu souboru přidáno .jrxml. Koncovku souboru tedy můžete vynechat.
+Pokud je použitý soubor .jrxml, zkompiluje se a uloží pro další zpracování. Pokud zadáte volbu -w, zkompilovaný soubor se zapíše do adresáře input.
+Jako vstupní soubor můžete použít i soubor .jrprint, musíte však zadat celý název souboru.
+Pokud není uveden výstupní soubor nebo adresář ( volba -o ), bude pro uložení výstupního souboru použit nadřazený adresář a základní název vstupního souboru:
+(...) myreports/report1 -f pdf odt
nebo
+(...) myreports/report1.jasper -f pdf odt
nebo
+(...) myreports/report1.jrxml -f pdf odt
výsledek:
+myreports/report1.odt +myreports/report1.pdf
Pokud existuje adresář output, základní název input poslouží pro pojmenování souboru v adresáři:
+(...) myreports/report1.jasper -f pdf odt -o month01/
výsledek:
+month01/report1.odt +month01/report1.pdf
Pokud adresář output neexistuje, jeho název poslouží pro pojmenování souborů:
+(...) myreports/report1.jasper -f pdf odt -o month01/journal.xyz
výsledek:
+month01/journal.xyz.odt +month01/journal.xyz.pdf
Modifier and Type | +Constant Field | +Value | +
---|---|---|
+
+public static final String |
+ASK |
+"ask" |
+
+
+public static final String |
+COMMAND |
+"command" |
+
+
+public static final String |
+COPIES |
+"copies" |
+
+
+public static final String |
+CSV_CHARSET |
+"csv-charset" |
+
+
+public static final String |
+CSV_COLUMNS |
+"csv-columns" |
+
+
+public static final String |
+CSV_FIELD_DEL |
+"csv-field-del" |
+
+
+public static final String |
+CSV_FIRST_ROW |
+"csv-first-row" |
+
+
+public static final String |
+CSV_RECORD_DEL |
+"csv-record-del" |
+
+
+public static final String |
+DATA_FILE |
+"data-file" |
+
+
+public static final String |
+DB_DRIVER |
+"db-driver" |
+
+
+public static final String |
+DB_HOST |
+"db-host" |
+
+
+public static final String |
+DB_NAME |
+"db-name" |
+
+
+public static final String |
+DB_PASSWD |
+"db-passwd" |
+
+
+public static final String |
+DB_PORT |
+"db-port" |
+
+
+public static final String |
+DB_SID |
+"db-sid" |
+
+
+public static final String |
+DB_URL |
+"db-url" |
+
+
+public static final String |
+DB_USER |
+"db-user" |
+
+
+public static final String |
+DEBUG |
+"debug" |
+
+
+public static final String |
+DS_TYPE |
+"db-type" |
+
+
+public static final String |
+INPUT |
+"input" |
+
+
+public static final String |
+JDBC_DIR |
+"jdbc-dir" |
+
+
+public static final String |
+JSON_QUERY |
+"json-query" |
+
+
+public static final String |
+JSONQL_QUERY |
+"jsonql-query" |
+
+
+public static final String |
+LOCALE |
+"locale" |
+
+
+public static final String |
+OUT_CHARSET |
+"out-charset" |
+
+
+public static final String |
+OUT_FIELD_DEL |
+"out-field-del" |
+
+
+public static final String |
+OUTPUT |
+"output" |
+
+
+public static final String |
+OUTPUT_FORMATS |
+"output-formats" |
+
+
+public static final String |
+PARAMS |
+"params" |
+
+
+public static final String |
+PRINTER_NAME |
+"printer-name" |
+
+
+public static final String |
+REPORT_NAME |
+"set-report-name" |
+
+
+public static final String |
+RESOURCE |
+"resource" |
+
+
+public static final String |
+WITH_PRINT_DIALOG |
+"with-print-dialog" |
+
+
+public static final String |
+WRITE_JASPER |
+"write-jasper" |
+
+
+public static final String |
+XML_XPATH |
+"xml-xpath" |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/App.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/App.html new file mode 100644 index 0000000..4ffb63e --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/App.html @@ -0,0 +1,313 @@ + + + + + + +public class App +extends Object+
App class.
Modifier and Type | +Method and Description | +
---|---|
static void |
+listReportParams(Config config,
+ File input)
+listReportParams.
+ |
+
static void |
+main(String[] args)
+main.
+ |
+
public static void main(String[] args)+
main.
args
- the command line argumentspublic static void listReportParams(Config config, + File input) + throws IllegalArgumentException+
listReportParams.
config
- a Config
object.input
- a File
object.IllegalArgumentException
- if any.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Config.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Config.html new file mode 100644 index 0000000..d2d6f44 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Config.html @@ -0,0 +1,1947 @@ + + + + + + +public class Config +extends Object+
Constructor and Description | +
---|
Config()
+Constructor for Config.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
AskFilter |
+getAskFilter()
+Getter for the field
+askFilter . |
+
String |
+getCommand()
+Getter for the field
+command . |
+
Integer |
+getCopies()
+Getter for the field
+copies . |
+
String |
+getCsvCharset()
+Getter for the field
+csvCharset . |
+
String[] |
+getCsvColumns()
+Getter for the field
+csvColumns . |
+
char |
+getCsvFieldDel()
+Getter for the field
+csvFieldDel . |
+
boolean |
+getCsvFirstRow()
+Getter for the field
+csvFirstRow . |
+
String |
+getCsvRecordDel()
+Getter for the field
+csvRecordDel . |
+
File |
+getDataFile()
+Getter for the field
+dataFile . |
+
InputStream |
+getDataFileInputStream()
+Get InputStream corresponding to the configured dataFile.
+ |
+
String |
+getDataFileName()
+Get name of the configured dataFile.
+ |
+
String |
+getDbDriver()
+Getter for the field
+dbDriver . |
+
String |
+getDbHost()
+Getter for the field
+dbHost . |
+
String |
+getDbName()
+Getter for the field
+dbName . |
+
String |
+getDbPasswd()
+Getter for the field
+dbPasswd . |
+
Integer |
+getDbPort()
+Getter for the field
+dbPort . |
+
String |
+getDbSid()
+Getter for the field
+dbSid . |
+
DsType |
+getDbType()
+Getter for the field
+dbType . |
+
String |
+getDbUrl()
+Getter for the field
+dbUrl . |
+
String |
+getDbUser()
+Getter for the field
+dbUser . |
+
String |
+getInput()
+Getter for the field
+input . |
+
File |
+getJdbcDir()
+Getter for the field
+jdbcDir . |
+
String |
+getJsonQLQuery()
+Getter for the field
+jsonQLQuery . |
+
String |
+getJsonQuery()
+Getter for the field
+jsonQuery . |
+
Locale |
+getLocale()
+Getter for the field
+locale . |
+
String |
+getOutCharset()
+Getter for the field
+outCharset . |
+
String |
+getOutFieldDel()
+Getter for the field
+outFieldDel . |
+
String |
+getOutput()
+Getter for the field
+output . |
+
List<OutputFormat> |
+getOutputFormats()
+Getter for the field
+outputFormats . |
+
List<String> |
+getParams()
+Getter for the field
+params . |
+
String |
+getPrinterName()
+Getter for the field
+printerName . |
+
String |
+getReportName()
+Getter for the field
+reportName . |
+
String |
+getResource()
+Getter for the field
+resource . |
+
String |
+getVersionString()
+Getter for the field
+versionString . |
+
String |
+getXmlXpath()
+Getter for the field
+xmlXpath . |
+
boolean |
+hasAskFilter()
+hasAskFilter.
+ |
+
boolean |
+hasCopies()
+hasCopies.
+ |
+
boolean |
+hasDbType()
+hasDbType.
+ |
+
boolean |
+hasJdbcDir()
+hasJdbcDir.
+ |
+
boolean |
+hasLocale()
+hasLocale.
+ |
+
boolean |
+hasOutput()
+hasOutput.
+ |
+
boolean |
+hasParams()
+hasParams.
+ |
+
boolean |
+hasPrinterName()
+hasPrinterName.
+ |
+
boolean |
+hasReportName()
+hasReportName.
+ |
+
boolean |
+hasResource()
+hasResource.
+ |
+
boolean |
+isVerbose()
+isVerbose.
+ |
+
boolean |
+isWithPrintDialog()
+isWithPrintDialog.
+ |
+
boolean |
+isWriteJasper()
+isWriteJasper.
+ |
+
void |
+setAskFilter(AskFilter value)
+Setter for the field
+askFilter . |
+
void |
+setCommand(String value)
+Setter for the field
+command . |
+
void |
+setCopies(Integer value)
+Setter for the field
+copies . |
+
void |
+setCsvCharset(String value)
+Setter for the field
+csvCharset . |
+
void |
+setCsvColumns(String value)
+Setter for the field
+csvColumns . |
+
void |
+setCsvFieldDel(String value)
+Setter for the field
+csvFieldDel . |
+
void |
+setCsvFirstRow(boolean value)
+Setter for the field
+csvFirstRow . |
+
void |
+setCsvRecordDel(String value)
+Setter for the field
+csvRecordDel . |
+
void |
+setDataFile(File value)
+Setter for the field
+dataFile . |
+
void |
+setDbDriver(String value)
+Setter for the field
+dbDriver . |
+
void |
+setDbHost(String value)
+Setter for the field
+dbHost . |
+
void |
+setDbName(String value)
+Setter for the field
+dbName . |
+
void |
+setDbPasswd(String value)
+Setter for the field
+dbPasswd . |
+
void |
+setDbPort(Integer value)
+Setter for the field
+dbPort . |
+
void |
+setDbSid(String value)
+Setter for the field
+dbSid . |
+
void |
+setDbType(DsType value)
+Setter for the field
+dbType . |
+
void |
+setDbUrl(String value)
+Setter for the field
+dbUrl . |
+
void |
+setDbUser(String value)
+Setter for the field
+dbUser . |
+
void |
+setInput(String value)
+Setter for the field
+input . |
+
void |
+setJdbcDir(File value)
+Setter for the field
+jdbcDir . |
+
void |
+setJsonQLQuery(String value)
+Setter for the field
+jsonQLQuery . |
+
void |
+setJsonQuery(String value)
+Setter for the field
+jsonQuery . |
+
void |
+setLocale(String value)
+Setter for the field
+locale . |
+
void |
+setOutCharset(String value)
+Setter for the field
+outCharset . |
+
void |
+setOutFieldDel(String value)
+Setter for the field
+outFieldDel . |
+
void |
+setOutput(String value)
+Setter for the field
+output . |
+
void |
+setOutputFormats(List<OutputFormat> value)
+Setter for the field
+outputFormats . |
+
void |
+setParams(List<String> value)
+Setter for the field
+params . |
+
void |
+setPrinterName(String value)
+Setter for the field
+printerName . |
+
void |
+setReportName(String value)
+Setter for the field
+reportName . |
+
void |
+setResource(String value)
+Setter for the field
+resource . |
+
void |
+setVerbose(boolean value)
+Setter for the field
+verbose . |
+
void |
+setWithPrintDialog(boolean value)
+Setter for the field
+withPrintDialog . |
+
void |
+setWriteJasper(boolean value)
+Setter for the field
+writeJasper . |
+
void |
+setXmlXpath(String value)
+Setter for the field
+xmlXpath . |
+
public String getVersionString()+
Getter for the field versionString
.
public AskFilter getAskFilter()+
Getter for the field askFilter
.
AskFilter
object.public void setAskFilter(AskFilter value)+
Setter for the field askFilter
.
value
- a AskFilter
object.public boolean hasAskFilter()+
hasAskFilter.
public String getCommand()+
Getter for the field command
.
String
object.public void setCommand(String value)+
Setter for the field command
.
value
- a String
object.public String getDbDriver()+
Getter for the field dbDriver
.
String
object.public void setDbDriver(String value)+
Setter for the field dbDriver
.
value
- a String
object.public String getDbHost()+
Getter for the field dbHost
.
String
object.public void setDbHost(String value)+
Setter for the field dbHost
.
value
- a String
object.public String getDbName()+
Getter for the field dbName
.
String
object.public void setDbName(String value)+
Setter for the field dbName
.
value
- a String
object.public String getDbPasswd()+
Getter for the field dbPasswd
.
String
object.public void setDbPasswd(String value)+
Setter for the field dbPasswd
.
value
- a String
object.public Integer getDbPort()+
Getter for the field dbPort
.
Integer
object.public void setDbPort(Integer value)+
Setter for the field dbPort
.
value
- a Integer
object.public String getDbSid()+
Getter for the field dbSid
.
String
object.public void setDbSid(String value)+
Setter for the field dbSid
.
value
- a String
object.public DsType getDbType()+
Getter for the field dbType
.
DsType
object.public void setDbType(DsType value)+
Setter for the field dbType
. This setting determines what
+ other configuration options may apply. For example, if dbType
+ is DsType.jsonql
, then setJsonQLQuery(String)
+ may be used to set the query string.
value
- a DsType
object.public boolean hasDbType()+
hasDbType.
public String getDbUrl()+
Getter for the field dbUrl
.
String
object.public void setDbUrl(String value)+
Setter for the field dbUrl
.
value
- a String
object.public String getDbUser()+
Getter for the field dbUser
.
String
object.public void setDbUser(String value)+
Setter for the field dbUser
.
value
- a String
object.public boolean isVerbose()+
isVerbose.
public void setVerbose(boolean value)+
Setter for the field verbose
.
value
- a boolean.public String getInput()+
Getter for the field input
.
String
object.public void setInput(String value)+
Setter for the field input
.
value
- a String
object.public File getJdbcDir()+
Getter for the field jdbcDir
.
File
object.public void setJdbcDir(File value)+
Setter for the field jdbcDir
.
value
- a File
object.public boolean hasJdbcDir()+
hasJdbcDir.
public File getDataFile()+
Getter for the field dataFile
.
File
object.public void setDataFile(File value)+
Setter for the field dataFile
.
value
- a File
object.public InputStream getDataFileInputStream() + throws net.sf.jasperreports.engine.JRException+
InputStream
object.net.sf.jasperreports.engine.JRException
- if any.public String getDataFileName()+
String
object.public boolean getCsvFirstRow()+
Getter for the field csvFirstRow
.
public void setCsvFirstRow(boolean value)+
Setter for the field csvFirstRow
.
value
- a boolean.public String[] getCsvColumns()+
Getter for the field csvColumns
.
String
objects.public void setCsvColumns(String value)+
Setter for the field csvColumns
.
value
- a String
object.public String getCsvRecordDel()+
Getter for the field csvRecordDel
.
String
object.public void setCsvRecordDel(String value)+
Setter for the field csvRecordDel
.
value
- a String
object.public char getCsvFieldDel()+
Getter for the field csvFieldDel
.
public void setCsvFieldDel(String value)+
Setter for the field csvFieldDel
.
value
- a String
object.public String getCsvCharset()+
Getter for the field csvCharset
.
String
object.public void setCsvCharset(String value)+
Setter for the field csvCharset
.
value
- a String
object.public String getXmlXpath()+
Getter for the field xmlXpath
.
String
object.public void setXmlXpath(String value)+
Setter for the field xmlXpath
.
value
- a String
object.public String getJsonQuery()+
Getter for the field jsonQuery
.
String
object.public void setJsonQuery(String value)+
Setter for the field jsonQuery
.
value
- a String
object.public String getJsonQLQuery()+
Getter for the field jsonQLQuery
.
String
object.public void setJsonQLQuery(String value)+
Setter for the field jsonQLQuery
.
value
- a String
object.public Locale getLocale()+
Getter for the field locale
.
Locale
object.public void setLocale(String value)+
Setter for the field locale
.
value
- a String
object.public boolean hasLocale()+
hasLocale.
public String getOutput()+
Getter for the field output
.
String
object.public void setOutput(String value)+
Setter for the field output
.
value
- a String
object.public boolean hasOutput()+
hasOutput.
public List<OutputFormat> getOutputFormats()+
Getter for the field outputFormats
.
List
object.public void setOutputFormats(List<OutputFormat> value)+
Setter for the field outputFormats
.
value
- a List
object.public List<String> getParams()+
Getter for the field params
.
List
object.public void setParams(List<String> value)+
Setter for the field params
. Each entry in the list is
+ a String
of the form:
+ name=value ++ +
where name is the name of a parameter defined in the .jrxml + and value is the Java representation (e.g. boolean truth is + "true" or "false").
value
- a List
object.public boolean hasParams()+
hasParams.
public String getPrinterName()+
Getter for the field printerName
.
String
object.public void setPrinterName(String value)+
Setter for the field printerName
.
value
- a String
object.public boolean hasPrinterName()+
hasPrinterName.
public String getReportName()+
Getter for the field reportName
.
String
object.public void setReportName(String value)+
Setter for the field reportName
.
value
- a String
object.public boolean hasReportName()+
hasReportName.
public String getResource()+
Getter for the field resource
.
String
object.public void setResource(String value)+
Setter for the field resource
.
value
- a String
object.public boolean hasResource()+
hasResource.
public boolean isWithPrintDialog()+
isWithPrintDialog.
public void setWithPrintDialog(boolean value)+
Setter for the field withPrintDialog
.
value
- a boolean.public boolean isWriteJasper()+
isWriteJasper.
public void setWriteJasper(boolean value)+
Setter for the field writeJasper
.
value
- a boolean.public Integer getCopies()+
Getter for the field copies
.
Integer
object.public void setCopies(Integer value)+
Setter for the field copies
.
value
- a Integer
object.public boolean hasCopies()+
hasCopies.
public String getOutFieldDel()+
Getter for the field outFieldDel
.
String
object.public void setOutFieldDel(String value)+
Setter for the field outFieldDel
.
value
- a String
object.public String getOutCharset()+
Getter for the field outCharset
.
String
object.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Db.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Db.html new file mode 100644 index 0000000..acf88f0 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Db.html @@ -0,0 +1,397 @@ + + + + + + +public class Db +extends Object+
Db class.
Constructor and Description | +
---|
Db()
+Constructor for Db.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Connection |
+getConnection(Config config)
+getConnection.
+ |
+
net.sf.jasperreports.engine.data.JRCsvDataSource |
+getCsvDataSource(Config config)
+getCsvDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonDataSource |
+getJsonDataSource(Config config)
+getJsonDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonQLDataSource |
+getJsonQLDataSource(Config config)
+getJsonQLDataSource.
+ |
+
net.sf.jasperreports.engine.data.JRXmlDataSource |
+getXmlDataSource(Config config)
+getXmlDataSource.
+ |
+
public net.sf.jasperreports.engine.data.JRCsvDataSource getCsvDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getCsvDataSource.
config
- a Config
object.JRCsvDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JRXmlDataSource getXmlDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getXmlDataSource.
config
- a Config
object.JRXmlDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonDataSource getJsonDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getJsonDataSource.
config
- a Config
object.JsonDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public net.sf.jasperreports.engine.data.JsonQLDataSource getJsonQLDataSource(Config config) + throws net.sf.jasperreports.engine.JRException+
getJsonQLDataSource.
config
- a Config
object.JsonQLDataSource
object.net.sf.jasperreports.engine.JRException
- if any.public Connection getConnection(Config config) + throws ClassNotFoundException, + SQLException+
getConnection.
config
- a Config
object.Connection
object.ClassNotFoundException
- if any.SQLException
- if any.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Report.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Report.html new file mode 100644 index 0000000..5549f3e --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/Report.html @@ -0,0 +1,761 @@ + + + + + + +public class Report +extends Object+
Report class.
Constructor and Description | +
---|
Report(Config config,
+ File inputFile)
+Constructor.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+compileToFile()
+Emit a .jasper compiled version of the report definition .jrxml file.
+ |
+
void |
+exportCsv()
+exportCsv.
+ |
+
void |
+exportCsvMeta()
+exportCsvMeta.
+ |
+
void |
+exportDocx()
+exportDocx.
+ |
+
void |
+exportHtml()
+exportHtml.
+ |
+
void |
+exportJrprint()
+exportJrprint.
+ |
+
void |
+exportOds()
+exportOds.
+ |
+
void |
+exportOdt()
+exportOdt.
+ |
+
void |
+exportPdf()
+exportPdf.
+ |
+
void |
+exportPptx()
+exportPptx.
+ |
+
void |
+exportRtf()
+exportRtf.
+ |
+
void |
+exportXhtml()
+exportXhtml.
+ |
+
void |
+exportXls()
+exportXls.
+ |
+
void |
+exportXlsMeta()
+exportXlsMeta.
+ |
+
void |
+exportXlsx()
+exportXlsx.
+ |
+
void |
+exportXml()
+exportXml.
+ |
+
void |
+fill()
+Process report content into internal form.
+ |
+
String |
+getMainDatasetQuery()
+For JSON, JSONQL and any other data types that need a query to be provided,
+ an obvious default is to use the one written into the report, since that is
+ likely what the report designer debugged/intended to be used.
+ |
+
net.sf.jasperreports.engine.JRParameter[] |
+getReportParameters()
+getReportParameters.
+ |
+
void |
+print()
+print.
+ |
+
static void |
+setLookAndFeel()
+setLookAndFeel.
+ |
+
void |
+view()
+view.
+ |
+
public Report(Config config, + File inputFile) + throws IllegalArgumentException+
outputFormat
and inputFile
in the
+ configuration are ignored.dbType
determines what other configuration options
+ may apply. See Config.setDbType(DsType)
.
+ After construction, call either compileToFile()
, getReportParameters()
+ or fill()
.
config
- A configuration object.inputFile
- The .jrxml report definition file to use.IllegalArgumentException
- if any.public void compileToFile()+
public void fill() + throws InterruptedException+
print()
,
+ view()
, exportCsv()
, exportCsvMeta()
,
+ exportDocx()
, exportHtml()
, exportJrprint()
,
+ exportOds()
, exportOdt()
, exportPdf()
,
+ exportPptx()
, exportRtf()
, exportXhtml()
,
+ exportXls()
, exportXlsMeta()
, exportXlsx()
+ or exportXml()
. Multiple calls to the content output methods
+ are permitted.InterruptedException
- if any.public void print() + throws net.sf.jasperreports.engine.JRException+
print.
net.sf.jasperreports.engine.JRException
- if any.public void view() + throws net.sf.jasperreports.engine.JRException+
view.
net.sf.jasperreports.engine.JRException
- if any.public void exportJrprint() + throws net.sf.jasperreports.engine.JRException+
exportJrprint.
net.sf.jasperreports.engine.JRException
- if any.public void exportPdf() + throws net.sf.jasperreports.engine.JRException+
exportPdf.
net.sf.jasperreports.engine.JRException
- if any.public void exportRtf() + throws net.sf.jasperreports.engine.JRException+
exportRtf.
net.sf.jasperreports.engine.JRException
- if any.public void exportDocx() + throws net.sf.jasperreports.engine.JRException+
exportDocx.
net.sf.jasperreports.engine.JRException
- if any.public void exportOdt() + throws net.sf.jasperreports.engine.JRException+
exportOdt.
net.sf.jasperreports.engine.JRException
- if any.public void exportHtml() + throws net.sf.jasperreports.engine.JRException+
exportHtml.
net.sf.jasperreports.engine.JRException
- if any.public void exportXml() + throws net.sf.jasperreports.engine.JRException+
exportXml.
net.sf.jasperreports.engine.JRException
- if any.public void exportXls() + throws net.sf.jasperreports.engine.JRException+
exportXls.
net.sf.jasperreports.engine.JRException
- if any.public void exportXlsMeta() + throws net.sf.jasperreports.engine.JRException+
exportXlsMeta.
net.sf.jasperreports.engine.JRException
- if any.public void exportXlsx() + throws net.sf.jasperreports.engine.JRException+
exportXlsx.
net.sf.jasperreports.engine.JRException
- if any.public void exportCsv() + throws net.sf.jasperreports.engine.JRException+
exportCsv.
net.sf.jasperreports.engine.JRException
- if any.public void exportCsvMeta() + throws net.sf.jasperreports.engine.JRException+
exportCsvMeta.
net.sf.jasperreports.engine.JRException
- if any.public void exportOds() + throws net.sf.jasperreports.engine.JRException+
exportOds.
net.sf.jasperreports.engine.JRException
- if any.public void exportPptx() + throws net.sf.jasperreports.engine.JRException+
exportPptx.
net.sf.jasperreports.engine.JRException
- if any.public void exportXhtml() + throws net.sf.jasperreports.engine.JRException+
exportXhtml.
net.sf.jasperreports.engine.JRException
- if any.public static void setLookAndFeel()+
setLookAndFeel.
public net.sf.jasperreports.engine.JRParameter[] getReportParameters() + throws IllegalArgumentException+
getReportParameters.
JRParameter
objects.IllegalArgumentException
- if any.public String getMainDatasetQuery() + throws IllegalArgumentException+
IllegalArgumentException
- on an unexpected input type.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/App.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/App.html new file mode 100644 index 0000000..688bb67 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/App.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Config.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Config.html new file mode 100644 index 0000000..63ca7ed --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Config.html @@ -0,0 +1,213 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
Modifier and Type | +Method and Description | +
---|---|
Connection |
+Db.getConnection(Config config)
+getConnection.
+ |
+
net.sf.jasperreports.engine.data.JRCsvDataSource |
+Db.getCsvDataSource(Config config)
+getCsvDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonDataSource |
+Db.getJsonDataSource(Config config)
+getJsonDataSource.
+ |
+
net.sf.jasperreports.engine.data.JsonQLDataSource |
+Db.getJsonQLDataSource(Config config)
+getJsonQLDataSource.
+ |
+
net.sf.jasperreports.engine.data.JRXmlDataSource |
+Db.getXmlDataSource(Config config)
+getXmlDataSource.
+ |
+
static void |
+App.listReportParams(Config config,
+ File input)
+listReportParams.
+ |
+
Constructor and Description | +
---|
Report(Config config,
+ File inputFile)
+Constructor.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Db.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Db.html new file mode 100644 index 0000000..e66a48c --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Db.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Report.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Report.html new file mode 100644 index 0000000..f5ac74b --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/class-use/Report.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-frame.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-frame.html new file mode 100644 index 0000000..a7ea176 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-tree.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-tree.html new file mode 100644 index 0000000..20170ac --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-tree.html @@ -0,0 +1,142 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-use.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-use.html new file mode 100644 index 0000000..d82e1d9 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/package-use.html @@ -0,0 +1,162 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
Class and Description | +
---|
Config
+ This POJO is intended to contain all command line parameters and other
+ configuration values.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/AskFilter.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/AskFilter.html new file mode 100644 index 0000000..17daeed --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/AskFilter.html @@ -0,0 +1,416 @@ + + + + + + +public enum AskFilter +extends Enum<AskFilter>+
AskFilter class.
Enum Constant and Description | +
---|
a
+all (user and system definded) prarms
+ |
+
ae
+all empty params
+ |
+
p
+user params marked for prompting
+ |
+
pe
+empty user params markted for prompting
+ |
+
u
+user params
+ |
+
ue
+empty user params
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static AskFilter |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AskFilter[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final AskFilter a+
public static final AskFilter ae+
public static final AskFilter u+
public static final AskFilter ue+
public static final AskFilter p+
public static final AskFilter pe+
public static AskFilter[] values()+
+for (AskFilter c : AskFilter.values()) + System.out.println(c); +
public static AskFilter valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/Command.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/Command.html new file mode 100644 index 0000000..77ac5f8 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/Command.html @@ -0,0 +1,468 @@ + + + + + + +public enum Command +extends Enum<Command>+
Command class.
Enum Constant and Description | +
---|
COMPILE |
+
CP |
+
LIST_PARAMETERS |
+
LIST_PRINTERS |
+
LPA |
+
LPR |
+
PARAMS |
+
PR |
+
PRINTERS |
+
PROCESS |
+
Modifier and Type | +Method and Description | +
---|---|
static Command |
+getCommand(String name)
+getCommand.
+ |
+
static Command |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Command[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Command COMPILE+
public static final Command CP+
public static final Command PROCESS+
public static final Command PR+
public static final Command LIST_PRINTERS+
public static final Command PRINTERS+
public static final Command LPR+
public static final Command LIST_PARAMETERS+
public static final Command PARAMS+
public static final Command LPA+
public static Command[] values()+
+for (Command c : Command.values()) + System.out.println(c); +
public static Command valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/Dest.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/Dest.html new file mode 100644 index 0000000..7434f5d --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/Dest.html @@ -0,0 +1,911 @@ + + + + + + +public interface Dest
+Dest interface.
Modifier and Type | +Field and Description | +
---|---|
static String |
+ASK
+Constant
+ASK="ask" |
+
static String |
+COMMAND
+Constant
+COMMAND="command" |
+
static String |
+COPIES
+Constant
+COPIES="copies" |
+
static String |
+CSV_CHARSET
+Constant
+CSV_CHARSET="csv-charset" |
+
static String |
+CSV_COLUMNS
+Constant
+CSV_COLUMNS="csv-columns" |
+
static String |
+CSV_FIELD_DEL
+Constant
+CSV_FIELD_DEL="csv-field-del" |
+
static String |
+CSV_FIRST_ROW
+Constant
+CSV_FIRST_ROW="csv-first-row" |
+
static String |
+CSV_RECORD_DEL
+Constant
+CSV_RECORD_DEL="csv-record-del" |
+
static String |
+DATA_FILE
+Constant
+DATA_FILE="data-file" |
+
static String |
+DB_DRIVER
+Constant
+DB_DRIVER="db-driver" |
+
static String |
+DB_HOST
+Constant
+DB_HOST="db-host" |
+
static String |
+DB_NAME
+Constant
+DB_NAME="db-name" |
+
static String |
+DB_PASSWD
+Constant
+DB_PASSWD="db-passwd" |
+
static String |
+DB_PORT
+Constant
+DB_PORT="db-port" |
+
static String |
+DB_SID
+Constant
+DB_SID="db-sid" |
+
static String |
+DB_URL
+Constant
+DB_URL="db-url" |
+
static String |
+DB_USER
+Constant
+DB_USER="db-user" |
+
static String |
+DEBUG
+Constant
+DEBUG="debug" |
+
static String |
+DS_TYPE
+Constant
+DS_TYPE="db-type" |
+
static String |
+INPUT
+Constant
+INPUT="input" |
+
static String |
+JDBC_DIR
+Constant
+JDBC_DIR="jdbc-dir" |
+
static String |
+JSON_QUERY
+Constant
+JSON_QUERY="json-query" |
+
static String |
+JSONQL_QUERY
+Constant
+JSONQL_QUERY="jsonql-query" |
+
static String |
+LOCALE
+Constant
+LOCALE="locale" |
+
static String |
+OUT_CHARSET
+Constant
+OUT_CHARSET="out-charset" |
+
static String |
+OUT_FIELD_DEL
+Constant
+OUT_FIELD_DEL="out-field-del" |
+
static String |
+OUTPUT
+Constant
+OUTPUT="output" |
+
static String |
+OUTPUT_FORMATS
+Constant
+OUTPUT_FORMATS="output-formats" |
+
static String |
+PARAMS
+Constant
+PARAMS="params" |
+
static String |
+PRINTER_NAME
+Constant
+PRINTER_NAME="printer-name" |
+
static String |
+REPORT_NAME
+Constant
+REPORT_NAME="set-report-name" |
+
static String |
+RESOURCE
+Constant
+RESOURCE="resource" |
+
static String |
+WITH_PRINT_DIALOG
+Constant
+WITH_PRINT_DIALOG="with-print-dialog" |
+
static String |
+WRITE_JASPER
+Constant
+WRITE_JASPER="write-jasper" |
+
static String |
+XML_XPATH
+Constant
+XML_XPATH="xml-xpath" |
+
static final String COMMAND+
COMMAND="command"
static final String OUTPUT_FORMATS+
OUTPUT_FORMATS="output-formats"
static final String INPUT+
INPUT="input"
static final String OUTPUT+
OUTPUT="output"
static final String LOCALE+
LOCALE="locale"
static final String DEBUG+
DEBUG="debug"
static final String ASK+
ASK="ask"
static final String PARAMS+
PARAMS="params"
static final String RESOURCE+
RESOURCE="resource"
static final String DS_TYPE+
DS_TYPE="db-type"
static final String DB_HOST+
DB_HOST="db-host"
static final String DB_USER+
DB_USER="db-user"
static final String DB_PASSWD+
DB_PASSWD="db-passwd"
static final String DB_NAME+
DB_NAME="db-name"
static final String DB_SID+
DB_SID="db-sid"
static final String DB_PORT+
DB_PORT="db-port"
static final String DB_DRIVER+
DB_DRIVER="db-driver"
static final String DB_URL+
DB_URL="db-url"
static final String JDBC_DIR+
JDBC_DIR="jdbc-dir"
static final String DATA_FILE+
DATA_FILE="data-file"
static final String CSV_FIRST_ROW+
CSV_FIRST_ROW="csv-first-row"
static final String CSV_COLUMNS+
CSV_COLUMNS="csv-columns"
static final String CSV_RECORD_DEL+
CSV_RECORD_DEL="csv-record-del"
static final String CSV_FIELD_DEL+
CSV_FIELD_DEL="csv-field-del"
static final String CSV_CHARSET+
CSV_CHARSET="csv-charset"
static final String XML_XPATH+
XML_XPATH="xml-xpath"
static final String JSON_QUERY+
JSON_QUERY="json-query"
static final String JSONQL_QUERY+
JSONQL_QUERY="jsonql-query"
static final String OUT_FIELD_DEL+
OUT_FIELD_DEL="out-field-del"
static final String OUT_CHARSET+
OUT_CHARSET="out-charset"
static final String PRINTER_NAME+
PRINTER_NAME="printer-name"
static final String WITH_PRINT_DIALOG+
WITH_PRINT_DIALOG="with-print-dialog"
static final String REPORT_NAME+
REPORT_NAME="set-report-name"
static final String WRITE_JASPER+
WRITE_JASPER="write-jasper"
static final String COPIES+
COPIES="copies"
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/DsType.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/DsType.html new file mode 100644 index 0000000..b598d8b --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/DsType.html @@ -0,0 +1,474 @@ + + + + + + +public enum DsType +extends Enum<DsType>+
Enum Constant and Description | +
---|
csv |
+
generic |
+
json |
+
jsonql |
+
mysql |
+
none |
+
oracle |
+
postgres |
+
xml |
+
Modifier and Type | +Method and Description | +
---|---|
String |
+getDriver()
+Getter for the field
+driver . |
+
Integer |
+getPort()
+Getter for the field
+port . |
+
static DsType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DsType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final DsType none+
public static final DsType csv+
public static final DsType xml+
public static final DsType json+
public static final DsType jsonql+
public static final DsType mysql+
public static final DsType postgres+
public static final DsType oracle+
public static final DsType generic+
public static DsType[] values()+
+for (DsType c : DsType.values()) + System.out.println(c); +
public static DsType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDriver()+
Getter for the field driver
.
String
object.Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/InputType.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/InputType.html new file mode 100644 index 0000000..283550b --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/InputType.html @@ -0,0 +1,362 @@ + + + + + + +public enum InputType +extends Enum<InputType>+
InputType class.
Enum Constant and Description | +
---|
JASPER_DESIGN |
+
JASPER_PRINT |
+
JASPER_REPORT |
+
Modifier and Type | +Method and Description | +
---|---|
static InputType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static InputType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final InputType JASPER_DESIGN+
public static final InputType JASPER_REPORT+
public static final InputType JASPER_PRINT+
public static InputType[] values()+
+for (InputType c : InputType.values()) + System.out.println(c); +
public static InputType valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/OutputFormat.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/OutputFormat.html new file mode 100644 index 0000000..f0b48b4 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/OutputFormat.html @@ -0,0 +1,530 @@ + + + + + + +public enum OutputFormat +extends Enum<OutputFormat>+
OutputFormat class.
Enum Constant and Description | +
---|
csv |
+
csvMeta |
+
docx |
+
html |
+
jrprint |
+
ods |
+
odt |
+
pdf |
+
pptx |
+
print |
+
rtf |
+
view |
+
xhtml |
+
xls |
+
xlsMeta |
+
xlsx |
+
xml |
+
Modifier and Type | +Method and Description | +
---|---|
static OutputFormat |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OutputFormat[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final OutputFormat view+
public static final OutputFormat print+
public static final OutputFormat jrprint+
public static final OutputFormat pdf+
public static final OutputFormat rtf+
public static final OutputFormat docx+
public static final OutputFormat odt+
public static final OutputFormat html+
public static final OutputFormat xml+
public static final OutputFormat xls+
public static final OutputFormat xlsMeta+
public static final OutputFormat xlsx+
public static final OutputFormat csv+
public static final OutputFormat csvMeta+
public static final OutputFormat ods+
public static final OutputFormat pptx+
public static final OutputFormat xhtml+
public static OutputFormat[] values()+
+for (OutputFormat c : OutputFormat.values()) + System.out.println(c); +
public static OutputFormat valueOf(String name)+
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html new file mode 100644 index 0000000..09a5e6b --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/AskFilter.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
AskFilter |
+Config.getAskFilter()
+Getter for the field
+askFilter . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setAskFilter(AskFilter value)
+Setter for the field
+askFilter . |
+
Modifier and Type | +Method and Description | +
---|---|
static AskFilter |
+AskFilter.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static AskFilter[] |
+AskFilter.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/Command.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/Command.html new file mode 100644 index 0000000..444589c --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/Command.html @@ -0,0 +1,181 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
static Command |
+Command.getCommand(String name)
+getCommand.
+ |
+
static Command |
+Command.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Command[] |
+Command.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html new file mode 100644 index 0000000..f53bdec --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/Dest.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html new file mode 100644 index 0000000..c742628 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/DsType.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
DsType |
+Config.getDbType()
+Getter for the field
+dbType . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setDbType(DsType value)
+Setter for the field
+dbType . |
+
Modifier and Type | +Method and Description | +
---|---|
static DsType |
+DsType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static DsType[] |
+DsType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html new file mode 100644 index 0000000..952a4de --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/InputType.html @@ -0,0 +1,175 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
static InputType |
+InputType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static InputType[] |
+InputType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html new file mode 100644 index 0000000..3b1ff43 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/class-use/OutputFormat.html @@ -0,0 +1,214 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Modifier and Type | +Method and Description | +
---|---|
List<OutputFormat> |
+Config.getOutputFormats()
+Getter for the field
+outputFormats . |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Config.setOutputFormats(List<OutputFormat> value)
+Setter for the field
+outputFormats . |
+
Modifier and Type | +Method and Description | +
---|---|
static OutputFormat |
+OutputFormat.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static OutputFormat[] |
+OutputFormat.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-frame.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-frame.html new file mode 100644 index 0000000..c1795bd --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Interface | +Description | +
---|---|
Dest | +
+ Dest interface.
+ |
+
Enum | +Description | +
---|---|
AskFilter | +
+ AskFilter class.
+ |
+
Command | +
+ Command class.
+ |
+
DsType | +
+ Types of Datasources
+ |
+
InputType | +
+ InputType class.
+ |
+
OutputFormat | +
+ OutputFormat class.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-tree.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-tree.html new file mode 100644 index 0000000..25fee03 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-use.html b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-use.html new file mode 100644 index 0000000..f240887 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/de/cenote/jasperstarter/types/package-use.html @@ -0,0 +1,212 @@ + + + + + + +Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Class and Description | +
---|
AskFilter
+ AskFilter class.
+ |
+
DsType
+ Types of Datasources
+ |
+
OutputFormat
+ OutputFormat class.
+ |
+
Class and Description | +
---|
AskFilter
+ AskFilter class.
+ |
+
Command
+ Command class.
+ |
+
DsType
+ Types of Datasources
+ |
+
InputType
+ InputType class.
+ |
+
OutputFormat
+ OutputFormat class.
+ |
+
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/deprecated-list.html b/bin/jasperstarter/docs/de/apidocs/deprecated-list.html new file mode 100644 index 0000000..79288d0 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/help-doc.html b/bin/jasperstarter/docs/de/apidocs/help-doc.html new file mode 100644 index 0000000..b25d8da --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/index-all.html b/bin/jasperstarter/docs/de/apidocs/index-all.html new file mode 100644 index 0000000..fbc30b9 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/index-all.html @@ -0,0 +1,937 @@ + + + + + + +ASK="ask"
COMMAND="command"
COPIES="copies"
CSV_CHARSET="csv-charset"
CSV_COLUMNS="csv-columns"
CSV_FIELD_DEL="csv-field-del"
CSV_FIRST_ROW="csv-first-row"
CSV_RECORD_DEL="csv-record-del"
DATA_FILE="data-file"
DB_DRIVER="db-driver"
DB_HOST="db-host"
DB_NAME="db-name"
DB_PASSWD="db-passwd"
DB_PORT="db-port"
DB_SID="db-sid"
DB_URL="db-url"
DB_USER="db-user"
DEBUG="debug"
DS_TYPE="db-type"
askFilter
.command
.copies
.csvCharset
.csvColumns
.csvFieldDel
.csvFirstRow
.csvRecordDel
.dataFile
.dbDriver
.dbHost
.dbName
.dbPasswd
.dbPort
.dbSid
.dbType
.dbUrl
.dbUser
.driver
.input
.jdbcDir
.jsonQLQuery
.jsonQuery
.locale
.outCharset
.outFieldDel
.output
.outputFormats
.params
.port
.printerName
.reportName
.resource
.versionString
.xmlXpath
.INPUT="input"
JDBC_DIR="jdbc-dir"
JSON_QUERY="json-query"
JSONQL_QUERY="jsonql-query"
LOCALE="locale"
OUT_CHARSET="out-charset"
OUT_FIELD_DEL="out-field-del"
OUTPUT="output"
OUTPUT_FORMATS="output-formats"
PARAMS="params"
PRINTER_NAME="printer-name"
REPORT_NAME="set-report-name"
RESOURCE="resource"
askFilter
.command
.copies
.csvCharset
.csvColumns
.csvFieldDel
.csvFirstRow
.csvRecordDel
.dataFile
.dbDriver
.dbHost
.dbName
.dbPasswd
.dbPort
.dbSid
.dbType
.dbUrl
.dbUser
.input
.jdbcDir
.jsonQLQuery
.jsonQuery
.locale
.outCharset
.outFieldDel
.output
.outputFormats
.params
.printerName
.reportName
.resource
.verbose
.withPrintDialog
.writeJasper
.xmlXpath
.WITH_PRINT_DIALOG="with-print-dialog"
WRITE_JASPER="write-jasper"
XML_XPATH="xml-xpath"
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/index.html b/bin/jasperstarter/docs/de/apidocs/index.html new file mode 100644 index 0000000..a8f8f84 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/index.html @@ -0,0 +1,76 @@ + + + + + + +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version.
++ + diff --git a/bin/jasperstarter/docs/de/apidocs/overview-summary.html b/bin/jasperstarter/docs/de/apidocs/overview-summary.html new file mode 100644 index 0000000..4e16727 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +
Package | +Description | +
---|---|
de.cenote.jasperstarter | ++ |
de.cenote.jasperstarter.types | ++ |
Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/overview-tree.html b/bin/jasperstarter/docs/de/apidocs/overview-tree.html new file mode 100644 index 0000000..4f3504d --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/overview-tree.html @@ -0,0 +1,163 @@ + + + + + + +Copyright © 2012–2019 Cenote GmbH. All rights reserved.
+ + diff --git a/bin/jasperstarter/docs/de/apidocs/package-list b/bin/jasperstarter/docs/de/apidocs/package-list new file mode 100644 index 0000000..7e73c81 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/package-list @@ -0,0 +1,2 @@ +de.cenote.jasperstarter +de.cenote.jasperstarter.types diff --git a/bin/jasperstarter/docs/de/apidocs/script.js b/bin/jasperstarter/docs/de/apidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/bin/jasperstarter/docs/de/apidocs/stylesheet.css b/bin/jasperstarter/docs/de/apidocs/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/bin/jasperstarter/docs/de/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/bin/jasperstarter/docs/de/changes.html b/bin/jasperstarter/docs/de/changes.html new file mode 100644 index 0000000..aa8aede --- /dev/null +++ b/bin/jasperstarter/docs/de/changes.html @@ -0,0 +1,594 @@ + + + + + + ++JasperStarter - Running JasperReports from command line +======================================================== + +Release notes - JasperStarter - Version 3.5.0 +--------------------------------------------- + +** Bug + * [JAS-134] - "InterruptedException" should not be ignored in App.java + * [JAS-135] - comparisons between unrelated types in Config.java + +** New Feature + * [JAS-131] - Jasperstarter does not provide a way to use the query string saved in the report itself + +** Task + * [JAS-133] - Release Pipeline takes longer than before + * [JAS-136] - Throwable.printStackTrace(...) should not be called in Report.java setLookAndFeel() + * [JAS-137] - Do not use a bitwise operator with a Boolean-like operand in ParameterPanel.java + * [JAS-138] - Do not use a bitwise operator with a Boolean-like operand in ParameterPrompt.java + + +Release notes - JasperStarter - Version 3.4.1 +--------------------------------------------- + +** Bug + * [JAS-132] - Security alert on org.springframework:spring-core + Updated springframework to 4.3.21 + + CVE-2016-5007 - moderate severity - Vulnerable versions: < 4.3.1 + CVE-2018-1275 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1272 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1271 - moderate severity - Vulnerable versions: < 4.3.15 + CVE-2018-1270 - high severity - Vulnerable versions: < 4.3.16 + CVE-2018-1257 - moderate severity - Vulnerable versions: < 4.3.17 + + +Release notes - JasperStarter - Version 3.4.0 +--------------------------------------------- + + JasperStarter-3.2.0 silently dropped Java7 support by using the + latest available JasperReports Library. + JasperReports-6.4.0 is the last release which works with Java7 so + JasperStarter-3.1.0 was the latest release supporting Java7. + + Now JasperStarter needs Java8 at a minimum and is manually tested + with OpenJDK-8, OpenJDK-10, OpenJDK-11. Automatic testing is on the + way (see JAS-128). + There will be a special release supporting Java7. + + "Diskless" operation using stdin and stdout for input data and + output is now complete. See ([JAS-97] and [JAS-89]). + + A public API allows direct integration with Python using jpy + ([JAS-125]). + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with + reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-111] - JRE 1.7 incompatibility - not fixed in the main + release but clarified. + * [JAS-122] - Runtime error if a chart with "chart customizers" is + used + * [JAS-126] - Jasperstarter does not usefully propagate + compilation errors + +** New Feature + * [JAS-97] - Use stdout for the resulting PDF (so we don't have to + write to the hosting server's storage) + * [JAS-125] - Make report fill accessible via API + +** Task + * [JAS-127] - Enable dependency caching in build pipeline + * [JAS-129] - Remove test dependency to font Arial + * [JAS-130] - launch4j-maven-plugin:1.5.2 depends on 32bit + libraries + + +Release notes - JasperStarter - Version 3.3.0 +--------------------------------------------- + +Known bugs: + * [JAS-120] - JasperReports-6.7.0 Version does not match with reported version from the jar file in + This is an upstream error which causes JasperStarter to put out + a wrong JasperReports version number of 6.6.0 instead of 6.7.0 + if you call: jasperstarter -V + +** Bug + * [JAS-116] - SSL error + * [JAS-121] - Container 'Build' exceeded memory limit. + * [JAS-122] - Runtime error if a chart with "chart customizers" is used + +** New Feature + * [JAS-113] - JSONQL data source support + +** Task + * [JAS-102] - Pipeline: enable build artifact upload to download section + * [JAS-119] - Include JasperReports-6.7.0 + +** Improvement + * [JAS-89] - Accept stdin for datafile input + + +Release Notes - JasperStarter - Version 3.2.1 +--------------------------------------------- + +** Task + * [JAS-109] - Include JasperReports-6.4.3 + + +Release Notes - JasperStarter - Version 3.2.0 +--------------------------------------------- + +** Bug + * [JAS-96] - Enable JavaScript in expression + * [JAS-99] - jasperreports-functions not in maven central + * [JAS-100] - Pipeline build failed: Font "Arial" is not available to the JVM + * [JAS-101] - Pipeline build failed: net.sf.launch4j.ExecException: java.io.IOException: Cannot run program + * [JAS-107] - JasperStarter could not run reports with Barcode4J barcodes + +** Task + * [JAS-108] - Include JasperReports 6.4.1 + + +Release Notes - JasperStarter - Version 3.1.0 +--------------------------------------------- + +** New Feature + * [JAS-83] - JSON file as a data source + +** Task + * [JAS-95] - Include JasperReports 6.4.0 + +** Improvement + * [JAS-84] - How to pass $P{XML_DATA_DOCUMENT} to sub report - additional documentation + + +Release Notes - JasperStarter - Version 3.0.0 +--------------------------------------------- + +This Release works with Java8. + +** Bug + * [JAS-69] - Calls of assertEquals have the arguments actual and + expected interchanged + * [JAS-70] - Example report csv.jrxml truncates data + * [JAS-80] - jasperstarter by default is missing some important + jasper studio builtin libraries + * [JAS-81] - Eclipse compiler error when running using Java 8 + +** Improvement + * [JAS-68] - Expand documentation with calls of running the + example reports + +** New Feature + * [JAS-67] - Ability to produce CSV Metadata reports + * [JAS-72] - Ability to produce XLS Metadata reports + +** Task + * [JAS-57] - Switching from Mercurial to Git + * [JAS-59] - Include JasperReports 6.0.0 + * [JAS-61] - update dependencies + * [JAS-65] - Include JasperReports 6.0.2 + * [JAS-66] - Include JasperReports 6.0.3 + * [JAS-76] - Git version and revision information in manifest file + * [JAS-79] - Include JasperReports 6.0.4 + + +Release Notes - JasperStarter - Version 2.2.2 +---------------------------------------------- + +** Bug + * [JAS-63] - Version 2.2 WindowsSetup replace the path variable + + +Release Notes - JasperStarter - Version 2.2.1 +---------------------------------------------- + +** Bug + * [JAS-58] - DB type generic should not require a username + * [JAS-62] - Linux startup script does not work if called via symlink + +** Task + * [JAS-57] - Switching from Mercurial to Git (Branch Jasperstarter-2.2) + + +Release Notes - JasperStarter - Version 2.2.0 +---------------------------------------------- + +** Bug + * [JAS-54] - Eclipse complains: Plugin execution not covered by + lifecycle configuration + +** New Feature + * [JAS-56] - Support for XML data sources + +** Task + * [JAS-48] - Rewrite api calls deprecated since JasperReports 5.6.0 + * [JAS-49] - Rewrite code reported by -Xlint:unchecked + + +Release Notes - JasperStarter - Version 2.1.2 +--------------------------------------------- + +** Bug + * [JAS-53] - Property net.sf.jasperreports.export.xls.one.page.per.sheet was overrided + + +Release Notes - JasperStarter - Version 2.1.1 +---------------------------------------------- + +** Task + * [JAS-52] - Include JasperReports 5.6.1 + + +Release Notes - JasperStarter - Version 2.1.0 +---------------------------------------------- + +** Bug + * [JAS-40] - No page title is set in index.html + +** New Feature + * [JAS-50] - Accept number of copies when printing + +** Task + * [JAS-47] - Include JasperReports 5.6.0 + + +Release Notes - JasperStarter - Version 2.0.0 +---------------------------------------------- + +The command line syntax has changed in this release! +<input> is now an argument and the format of report parameters has changed. +Specifying the parameter type is no longer necessary. The type is determined +from the report and it is no longer possible to provide a non existent +parameter. +The major new feature is support for csv files as a datasource. + +** Bug + * [JAS-37] - The artifact org.apache.commons:commons-io:jar:1.3.2 has been + relocated to commons-io:commons-io:jar:1.3.2 + * [JAS-41] - Command "jasperstarter params" gives no useful result if param + has no description + +** Improvement + * [JAS-15] - Report parameters should be handled in a more generic way + * [JAS-42] - Accept <input> as positional argument instead of an option + +** New Feature + * [JAS-30] - CSV as a datasource for Jasperstarter + +** Task + * [JAS-23] - create unit test + * [JAS-24] - create example reports + * [JAS-34] - site translation de for release 2.0 + * [JAS-35] - site translation cz for release 2.0 + * [JAS-38] - Update build dependencies + * [JAS-39] - Include JasperReports 5.2.0 + + +Release Notes - JasperStarter - Version 1.4.2 +---------------------------------------------- + +** Bug + * [JAS-41] - Command "jasperstarter params" gives no useful result + if param has no description + + +Release Notes - JasperStarter - Version 1.4.1 +---------------------------------------------- + +** Bug + * [JAS-33] - Report parameter with space produces error on Unix + like systems + + +Release Notes - JasperStarter - Version 1.4.0 +---------------------------------------------- + +** Bug + * [JAS-29] - Documentation typo java.awt.image + +** Task + * [JAS-31] - Include JasperReports 5.1.2 + * [JAS-32] - Include argparse4j 0.4.1 + + +Release Notes - JasperStarter - Version 1.3.0 +---------------------------------------------- + +This release is mainly due to the new JasperReports library version 5.1.0. + +** Improvement + * [JAS-28] - Include argparse4j 0.4.0 which introduces some features to the + user + - Argument abbreviations + - Subcommand abbreviations + +** Task + * [JAS-27] - Include JasperReports 5.1.0 + + +Release Notes - JasperStarter - Version 1.2.0 +---------------------------------------------- + +This release is mainly due to the new JasperReports library version 5.0.4. + +** Improvement + * [JAS-25] - Implement command aliases + +** Task + * [JAS-19] - create an independent configuration bean as replacement for the + parser dependend namspace object + * [JAS-20] - move any call of System.exit() to App.main() + * [JAS-21] - remove obsolete option --keep + * [JAS-26] - Use jasperreports library 5.0.4 + + +Release Notes - JasperStarter - Version 1.1.0 +---------------------------------------------- + +JasperStarter is now able to prompt for report parameters. + +** Bug + * [JAS-5] - Maven site does not create index.html if called directly + * [JAS-6] - Maven site does not generate translation if called directly + * [JAS-11] - Maven site does not create index.html if called via package + * [JAS-16] - Selection of the report locale yields unexpected results in + some cases + +** Improvement + * [JAS-13] - new parameter type locale to specify report locale independent + from gui locale + +** New Feature + * [JAS-12] - new option to specify report resources like resource bundles or + icons + * [JAS-14] - New option: prompt for report parameters + * [JAS-17] - New Command: List report parameters + +** Task + * [JAS-7] - Site translation cs + * [JAS-22] - site translation de + + +-------- + + 1.0.1 [JAS-18] - Unable to save output into Excel format + + 1.0.0 + JasperStarter now has commands: pr - process, lp - list printers. + New command: cp - compile, can compile one file or all .jrxml in a + directory. + New input file types for command pr allowed: + jrxml - compiles implicit + jrprint - print, view or export previously filled reports. + New output type: jrprint. This makes --keep obsolete. + New parameter -w writes compiled file to imput dir if jrxml is + processed. + Parameter -t defaults to "none" and can therefore be omited if no + database is needed. + Input file is read once. No temporary files needed anymore. + Setup checks for previous versions and creates menuitems for uninstall + and help. + Setup is available in English, Chinese (Simplified), Czech, French, + Hungarian, German, Polish, Romanian, Thai, Ukrainian. + [JAS-2] - runtime parameter value cannot contain equal sign + Contains JasperReports 5.0.1 + German translation for Site/docs + [JAS-4] - java.lang.Integer cannot be cast to java.lang.String + [JAS-8] - java.lang.String cannot be cast to java.lang.Integer + [JAS-9] - Exception in thread "main" java.lang.IllegalArgumentException: + URI has an authority component + + 0.10.0 New report parameter types: double, image (see usage). + New supported export formats: xls, xlsx, csv, ods, pptx, xhtml, xml. + Windows setup available. + --version shows included JasperReports version. + Fixed some minor bugs. + +V 0.9.1 Bugfix release fixed problems with --jdbc-dir option. + +V 0.9.0 First public release + Switched from Commons CLI to argparse4j. + Project documentation in generated site. + README uses markdown syntay, renamed to README.md. + Applied Apache License 2.0 to the software. + JasperStarter now starts via executable files in ./bin. + Windows binary jasperstarter.exe is generated with launch4j. + +V 0.8.0 Switched to maven. + +V 0.7.1 Fixed issue: duplicated option -n + +V 0.7.0 new option --set-report-name to temporary change the reportname when + printing. This is useful if you want to change the printjob name for + printing to a pdf printer like cups-pfd which uses the document name as + part of the pdf name by default. + +V 0.6.0 new options --printer-name --with-print-dialog --list-printers + printername matches .toLowercase().startWith() and spaces can be escaped + by the underline character _. + print dialog and viewer appear in system look an feel. + +V 0.5.0 support for postgres, oracle and generic jdbc + password is no longer a required option except for oracle + jrprint file is stored in system temp dir and deleted after processing + new options --jdbc-dir, --debug, --keep-jrprint + file extension .jasper is added to input if omitted + output can be omitted or can be file or directory + +V 0.4.0 jdbc drivers are loaded from jdbc dir + new parameter: db-type: none, mysql (none provides JREmptyDataSource() + for a non database report) + support for barcode4j + +V 0.3.1 Bugfix: removed jasperreports-javaflow + added barbecue barcode lib + +V 0.3.0 Print preview + nicer help message + package renamed + +V 0.2.0 Print support added + Added exportformats html, odt + Added report parameter type date. + New parameter db-name - database name + +V 0.1.0 First working version + Supports export to PDF, DOCX, RTF. + Simple report parameters of type string and int. +
Es folgt eine Liste der Kompilierabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden zur Kompilierung und zur Ausführung des Projektes benötigt:
+GroupId | +ArtifactId | +Version | +Typ | +Lizenz | +Optional |
---|---|---|---|---|---|
com.toedter | +jcalendar | +1.4 | +jar | +GNU LESSER GENERAL PUBLIC LICENSE | +Nein |
commons-io | +commons-io | +2.5 | +jar | +Apache License, Version 2.0 | +Nein |
commons-lang | +commons-lang | +2.6 | +jar | +The Apache Software License, Version 2.0 | +Nein |
javax.servlet | +servlet-api | +2.5 | +jar | +- | +Nein |
log4j | +log4j | +1.2.17 | +jar | +The Apache Software License, Version 2.0 | +Nein |
net.sf.barcode4j | +barcode4j | +2.1 | +jar | +The Apache Software License, Version 2.0 | +Nein |
net.sf.jasperreports | +jasperreports | +6.7.0 | +jar | +GNU Lesser General Public License | +Nein |
net.sf.jasperreports | +jasperreports-chart-customizers | +6.7.0 | +jar | +GNU Lesser General Public License | +Nein |
net.sf.jasperreports | +jasperreports-chart-themes | +6.7.0 | +jar | +GNU Lesser General Public License | +Nein |
net.sf.jasperreports | +jasperreports-fonts | +6.0.0 | +jar | +GNU Lesser General Public License | +Nein |
net.sf.jasperreports | +jasperreports-functions | +6.7.0 | +jar | +GNU Lesser General Public License | +Nein |
net.sourceforge.argparse4j | +argparse4j | +0.5.0 | +jar | +MIT | +Nein |
net.sourceforge.barbecue | +barbecue | +1.5-beta1 | +jar | +- | +Nein |
org.antlr | +antlr | +3.0b5 | +jar | +BSD License | +Nein |
org.apache.poi | +poi | +3.17 | +jar | +The Apache Software License, Version 2.0 | +Nein |
org.apache.xmlgraphics | +xmlgraphics-commons | +2.2 | +jar | +The Apache Software License, Version 2.0 | +Nein |
org.codehaus.groovy | +groovy-all | +2.4.12 | +jar | +The Apache Software License, Version 2.0 | +Nein |
org.mozilla | +rhino | +1.7.7.2 | +jar | +Mozilla Public License, Version 2.0 | +Nein |
org.springframework | +spring-beans | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +Nein |
org.springframework | +spring-core | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +Nein |
org.springframework | +spring-expression | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +Nein |
org.apache.xmlgraphics | +batik-awt-util | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-bridge | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-css | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-dom | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-gvt | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-script | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-svg-dom | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-svggen | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
org.apache.xmlgraphics | +batik-util | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Ja |
Es folgt eine Liste der Testabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden ausschließlich zur Kompilierung und Ausführung von Tests des Projektes benötigt:
+GroupId | +ArtifactId | +Version | +Typ | +Lizenz |
---|---|---|---|---|
org.hsqldb | +hsqldb | +2.4.0 | +jar | +HSQLDB License, a BSD open source license |
org.testng | +testng | +6.11 | +jar | +Apache 2.0 |
Es folgen die transitiven Abhängigkeiten dieses Projektes. Transitive Abhängigkeiten sind Abhängigkeiten der nicht transitiven Abhängigkeiten:
+Es folgt eine Liste der Kompilierabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden zur Kompilierung und zur Ausführung des Projektes benötigt:
+GroupId | +ArtifactId | +Version | +Typ | +Lizenz |
---|---|---|---|---|
antlr | +antlr | +2.7.7 | +jar | +BSD License |
avalon-framework | +avalon-framework-impl | +4.2.0 | +jar | +- |
com.fasterxml.jackson.core | +jackson-annotations | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.fasterxml.jackson.core | +jackson-core | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.fasterxml.jackson.core | +jackson-databind | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.ibm.icu | +icu4j | +57.1 | +jar | +ICU License |
com.lowagie | +itext | +2.1.7.js6 | +jar | +- |
commons-beanutils | +commons-beanutils | +1.9.3 | +jar | +Apache License, Version 2.0 |
commons-cli | +commons-cli | +1.0 | +jar | +- |
commons-codec | +commons-codec | +1.10 | +jar | +Apache License, Version 2.0 |
commons-collections | +commons-collections | +3.2.2 | +jar | +Apache License, Version 2.0 |
commons-digester | +commons-digester | +2.1 | +jar | +The Apache Software License, Version 2.0 |
commons-logging | +commons-logging | +1.1.1 | +jar | +The Apache Software License, Version 2.0 |
javax.inject | +javax.inject | +1 | +jar | +The Apache Software License, Version 2.0 |
javax.xml.stream | +stax-api | +1.0-2 | +jar | +GNU General Public Library-COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 |
joda-time | +joda-time | +2.9.9 | +jar | +Apache 2 |
org.antlr | +stringtemplate | +3.0 | +jar | +BSD License |
org.apache.ant | +ant | +1.7.1 | +jar | +- |
org.apache.ant | +ant-launcher | +1.7.1 | +jar | +- |
org.apache.commons | +commons-collections4 | +4.1 | +jar | +Apache License, Version 2.0 |
org.apache.xmlgraphics | +batik-anim | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-constants | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-ext | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-i18n | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-parser | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-xml | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.bouncycastle | +bcprov-jdk15on | +1.52 | +jar | +Bouncy Castle Licence |
org.codehaus.castor | +castor-core | +1.3.3 | +jar | +- |
org.codehaus.castor | +castor-xml | +1.3.3 | +jar | +- |
org.eclipse.jdt.core.compiler | +ecj | +4.4.2 | +jar | +Eclipse Public License v1.0 |
org.jfree | +jcommon | +1.0.23 | +jar | +GNU Lesser General Public Licence |
org.jfree | +jfreechart | +1.0.19 | +jar | +GNU Lesser General Public Licence |
org.python | +jython | +2.7.0 | +jar | +Jython Software License |
stax | +stax | +1.2.0 | +jar | +- |
stax | +stax-api | +1.0.1 | +jar | +The Apache Software License, Version 2.0 |
xalan | +serializer | +2.7.2 | +jar | +The Apache Software License, Version 2.0 |
xalan | +xalan | +2.7.2 | +jar | +The Apache Software License, Version 2.0 |
xml-apis | +xml-apis | +1.3.04 | +jar | +The Apache Software License, Version 2.0 |
xml-apis | +xml-apis-ext | +1.3.04 | +jar | +The Apache Software License, Version 2.0 |
Es folgt eine Liste der Testabhängigkeiten dieses Projektes. Diese Abhängigkeiten werden ausschließlich zur Kompilierung und Ausführung von Tests des Projektes benötigt:
+GroupId | +ArtifactId | +Version | +Typ | +Lizenz |
---|---|---|---|---|
com.beust | +jcommander | +1.64 | +jar | +Apache 2.0 |
org.yaml | +snakeyaml | +1.17 | +jar | +Apache License, Version 2.0 |
GNU LESSER GENERAL PUBLIC LICENSE: JCalendar
+Apache 2.0: jcommander, testng
+HSQLDB License, a BSD open source license: HyperSQL Database
+Unbekannt: CLI, Castor CORE - Core code/functionality, Castor XML - core, StAX, ant-launcher, avalon-framework-impl, barbecue, itext, org.apache.tools.ant, servlet-api
+Mozilla Public License, Version 2.0: Mozilla Rhino
+Jython Software License: Jython
+Eclipse Public License v1.0: Eclipse ECJ
+ICU License: ICU4J
+GNU Lesser General Public License: JasperReports, JasperReports Chart Customizers, JasperReports Chart Themes, JasperReports Font Extension, JasperReports Functions
+Bouncy Castle Licence: Bouncy Castle Provider
+Apache 2: Joda-Time
+GNU General Public Library: Streaming API for XML
+BSD License: AntLR Parser Generator, Stringtemplate
+Apache License, Version 2.0: Apache Commons BeanUtils, Apache Commons Codec, Apache Commons Collections, Apache Commons IO, SnakeYAML, Spring Beans, Spring Core, Spring Expression Language (SpEL)
+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: Streaming API for XML
+MIT: argparse4j
+GNU Lesser General Public Licence: JCommon, JFreeChart
+The Apache Software License, Version 2.0: Apache Groovy, Apache Log4j, Apache POI, Apache XML Graphics Commons, Barcode4J, Commons Digester, Commons Lang, Commons Logging, Jackson-annotations, Jackson-core, JasperStarter, StAX API, XML Commons External Components XML APIs, XML Commons External Components XML APIs Extensions, Xalan Java, Xalan Java Serializer, jackson-databind, javax.inject, org.apache.xmlgraphics:batik-anim, org.apache.xmlgraphics:batik-awt-util, org.apache.xmlgraphics:batik-bridge, org.apache.xmlgraphics:batik-constants, org.apache.xmlgraphics:batik-css, org.apache.xmlgraphics:batik-dom, org.apache.xmlgraphics:batik-ext, org.apache.xmlgraphics:batik-gvt, org.apache.xmlgraphics:batik-i18n, org.apache.xmlgraphics:batik-parser, org.apache.xmlgraphics:batik-script, org.apache.xmlgraphics:batik-svg-dom, org.apache.xmlgraphics:batik-svggen, org.apache.xmlgraphics:batik-util, org.apache.xmlgraphics:batik-xml
Dateiname | +Grösse | +Einträge | +Klassen | +Pakete | +JRE | +Debug | +Versiegelt |
---|---|---|---|---|---|---|---|
antlr-2.7.7.jar | +434,85 kB | +239 | +224 | +12 | +1.2 | +debug | +- |
avalon-framework-impl-4.2.0.jar | +59,30 kB | +45 | +30 | +7 | +1.1 | +debug | +- |
jcommander-1.64.jar | +64,05 kB | +65 | +64 | +5 | +1.6 | +debug | +- |
jackson-annotations-2.9.5.jar | +65,41 kB | +80 | +68 | +1 | +1.6 | +debug | +- |
jackson-core-2.9.5.jar | +314,05 kB | +130 | +105 | +11 | +1.6 | +debug | +- |
jackson-databind-2.9.5.jar | +1,28 MB | +658 | +624 | +20 | +1.6 | +debug | +- |
icu4j-57.1.jar | +10,77 MB | +4.440 | +1.198 | +11 | +1.6 | +debug | +- |
itext-2.1.7.js6.jar | +1,08 MB | +522 | +474 | +22 | +1.5 | +release | +- |
jcalendar-1.4.jar | +161,18 kB | +209 | +58 | +4 | +1.4 | +release | +- |
commons-beanutils-1.9.3.jar | +240,40 kB | +154 | +137 | +5 | +1.6 | +debug | +- |
commons-cli-1.0.jar | +29,41 kB | +27 | +20 | +1 | +1.1 | +debug | +- |
commons-codec-1.10.jar | +277,52 kB | +238 | +92 | +6 | +1.6 | +debug | +- |
commons-collections-3.2.2.jar | +574,55 kB | +484 | +460 | +12 | +1.3 | +debug | +- |
commons-digester-2.1.jar | +192,16 kB | +182 | +155 | +14 | +1.5 | +debug | +- |
commons-io-2.5.jar | +203,81 kB | +142 | +123 | +7 | +1.6 | +debug | +- |
commons-lang-2.6.jar | +277,56 kB | +155 | +133 | +10 | +1.3 | +debug | +- |
commons-logging-1.1.1.jar | +59,26 kB | +42 | +28 | +2 | +1.1 | +debug | +- |
javax.inject-1.jar | +2,44 kB | +8 | +6 | +1 | +1.5 | +release | +- |
servlet-api-2.5.jar | +102,65 kB | +68 | +42 | +2 | +1.5 | +debug | +- |
stax-api-1.0-2.jar | +22,80 kB | +44 | +37 | +3 | +1.5 | +debug | +- |
joda-time-2.9.9.jar | +619,19 kB | +763 | +247 | +7 | +1.5 | +debug | +- |
log4j-1.2.17.jar | +478,40 kB | +353 | +314 | +21 | +1.4 | +debug | +- |
barcode4j-2.1.jar | +267,97 kB | +174 | +145 | +21 | +1.4 | +debug | +- |
jasperreports-6.7.0.jar | +5,28 MB | +3.700 | +3.312 | +131 | +1.6 | +debug | +- |
jasperreports-chart-customizers-6.7.0.jar | +42,94 kB | +53 | +37 | +6 | +1.6 | +debug | +- |
jasperreports-chart-themes-6.7.0.jar | +174,92 kB | +82 | +55 | +4 | +1.6 | +debug | +- |
jasperreports-fonts-6.0.0.jar | +2,37 MB | +27 | +0 | +0 | +- | +release | +- |
jasperreports-functions-6.7.0.jar | +31,35 kB | +23 | +8 | +1 | +1.6 | +debug | +- |
argparse4j-0.5.0.jar | +81,85 kB | +75 | +55 | +9 | +1.5 | +debug | +- |
barbecue-1.5-beta1.jar | +88,94 kB | +79 | +59 | +13 | +1.3 | +release | +- |
antlr-3.0b5.jar | +474,83 kB | +206 | +172 | +9 | +1.4 | +debug | +- |
stringtemplate-3.0.jar | +124,75 kB | +82 | +74 | +4 | +1.4 | +release | +- |
ant-1.7.1.jar | +1,26 MB | +818 | +769 | +29 | +1.2 | +debug | +- |
ant-launcher-1.7.1.jar | +11,86 kB | +12 | +5 | +1 | +1.2 | +debug | +- |
commons-collections4-4.1.jar | +733,63 kB | +548 | +518 | +18 | +1.6 | +debug | +- |
poi-3.17.jar | +2,58 MB | +1.793 | +1.715 | +64 | +1.6 | +debug | +- |
batik-anim-1.9.1.jar | +467,51 kB | +417 | +396 | +4 | +1.6 | +debug | +- |
batik-constants-1.9.1.jar | +8,06 kB | +14 | +1 | +1 | +1.6 | +release | +- |
batik-ext-1.9.1.jar | +12,72 kB | +28 | +15 | +2 | +1.6 | +debug | +- |
batik-i18n-1.9.1.jar | +11,00 kB | +17 | +4 | +1 | +1.6 | +debug | +- |
batik-parser-1.9.1.jar | +74,62 kB | +73 | +55 | +1 | +1.6 | +debug | +- |
batik-xml-1.9.1.jar | +32,70 kB | +22 | +6 | +1 | +1.6 | +debug | +- |
xmlgraphics-commons-2.2.jar | +631,36 kB | +427 | +374 | +34 | +1.5 | +debug | +- |
bcprov-jdk15on-1.52.jar | +2,77 MB | +2.568 | +2.430 | +126 | +1.5 | +release | +- |
castor-core-1.3.3.jar | +48,35 kB | +63 | +38 | +9 | +1.5 | +debug | +sealed |
Gesamt | +Grösse | +Einträge | +Klassen | +Pakete | +JRE | +Debug | +Versiegelt |
45 | +34,70 MB | +20.349 | +14.882 | +673 | +1.6 | +37 | +1 |
compile: 44 | +compile: 34,63 MB | +compile: 20.284 | +compile: 14.818 | +compile: 668 | +- | +compile: 36 | +compile: 1 |
test: 1 | +test: 64,05 kB | +test: 65 | +test: 64 | +test: 5 | +- | +test: 1 | +- |
JasperStarter Distributions-Dateien haben die folgenden Namenskonventionen:
+ +JasperStarter-<version>-<type>.<archiveTye> +
Versionsnummer für Produktionsreleases:
+ +<major>.<minor>.<bugfix> +
Versionsnummer für Release-Kandidaten - sollten für die Produktion reif sein, benötigen aber noch einige Test durch Sie ;-) :
+ +<major>.<minor>-RC<N> +
Versionsnummer für Testreleases - nicht für den produktiven Einsatz:
+ +<major>.<minor>-SNAPSHOT-<git-short-commit-id> +
Typen:
+ +Wählen Sie Ihren bevorzugten Archiv Typ. Der Inhalt ist gleich in jedem Archiv.
Inhalt eines Distributions Archives:
+ +bin/ - Ausführbare Dateien für Windows, Mac OSX, Linux, etc. +docs/ - JasperStarter Dokumentation im html Format +jdbc/ - Verzeichnis für Ihre JDBC Treiber (jar Dateien) +lib/ - Benötigte Bibliotheken +CHANGES +LICENSE +NOTICE +README.md +
Bitte ändern Sie nicht die Struktur der Verzeichnisse, JasperStarter wird sonst nicht funktionieren.
+Für weitere Informationen siehe README.md im Distributions Archiv.
JasperStarter ist ein Opensource Befehlszeilen Starter und Batch Compiler für JasperReports.
+Es hat die folgenden Eigenschaften:
+ +Anforderungen
+ +oder, falls Sie mit Windows arbeiten, führen Sie einfach setup.exe aus.
Kopieren Sie ihre JDBC Treiber in das ./jdbc Verzeichnis Ihrer Installation oder verwenden Sie --jdbc-dir um ein anderes Verzeichnis anzugeben.
Rufen Sie JasperStarter mit -h auf um einen Überblick zu erhalten:
+ +$ jasperstarter -h +
Rufen Sie JasperStarter mit process -h auf um Hilfe für das Kommando process zu erhalten:
+ +$ jasperstarter process -h +
Beispiel mit Report-Parametern:
+ +$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost \ + -n mydb -o report -p secret -P CustomerNo=10 StartFrom=2012-10-01 +
Beispiel mit hsql unter Verwendung des Datenbanktyps generic:
+ +$ jasperstarter pr report.jasper -t generic -f pdf -o report -u sa \ +--db-driver org.hsqldb.jdbcDriver \ +--db-url jdbc:hsqldb:hsql://localhost +
Für weitere Informationen werfen Sie einen Blick in das docs Verzeichnis des Distributionsarchives oder lesen Sie die Seite Verwendung online. Usage
Die Änderungen im Projekt können in der englischen Version der Änderungsdatei eingesehen werden.
Rückmeldungen sind jederzeit wilkommen! Falls Sie irgendwelche Fragen oder Vorschläge haben, zögern Sie nicht in unser Forum discussion zu schreiben (möglichst in englisch). Falls Sie einen Fehler gefunden haben oder eine Funktion vermissen, melden Sie sich in unserem Issuetracker an und erzeugen Sie einen “Issue” vom Typ “Bug” oder “New Feature”.
+Falls Ihnen die Software gefällt, können Sie auch hier review eine Bewertung abgeben. :-)
Der Quellcode ist bei bitbucket.org/cenote/jasperstarter verfügbar, die Projekt-Webseite ist bei Sourceforge gehostet.
+JasperStarter wird mit Hilfe von Maven erzeugt. Um ein Distributionsarchiv zu erhalten, rufen Sie den folgenden Befehl auf:
+ +$ mvn package -P release +
oder, falls Sie aus dem aktuellen Entwicklungszweig (default branch) erzeugen, verwenden Sie besser:
+ +$ mvn package -P release,snapshot +
Achtung! Sie können target/jasperstarter.jar nicht direkt ausführen, ohne die Abhängigkeiten im Verzeichnis ../lib zu haben! Siehe dev Profil weiter unten!
+Falls Sie das Windows Setup erzeugen wollen, benötigen Sie nsis in Ihrem Suchpfad (funktioniert auch unter Linux, eine kompilierte Version habe ich auf Sourceforge im Ordner build-tools bereit gestellt) und Sie müssen das Profil windows-setup zum Aufruf hinzufügen:
+ +$ mvn package -P release,windows-setup +
oder
+ +$ mvn package -P release,windows-setup,snapshot +
Während der Entwicklung möchten Sie vielleicht einen schnelleren Build. Das dev Profil spart einige lang laufende Reports und die Erzeugung der gepackten Archive aus. Stattdessen wird das Ergebnis in target/jasperstarter-dev-bin abgelegt.
+ +$ mvn package -P dev +
Nun können Sie JasperStarter ohne IDE aufrufen:
+ +$ target/jasperstarter-dev-bin/bin/jasperstarter +
oder
+ +$ java -jar target/jasperstarter-dev-bin/lib/jasperstarter.jar +
Während der Entwicklung möchten Sie vielleicht nicht von Tests gestört werden. Daher sind die folgenden Optionen sinnvoll:
+ +$ package -P dev -D skipTests +
oder
+ +$ package -P dev -D maven.test.failure.ignore=true +
Um JasperStarter aus Ihrer IDE heraus auszuführen, fügen Sie --jdbc-dir jdbc zu den Argumenten Ihrer Startkonfiguration hinzu. Andernfalls erhalten Sie folgenden Fehler:
+ +Error, (...)/JasperStarter/target/classes/jdbc is not a directory! +
Kopieren Sie Ihre JDBC Treiber in das ./jdbc Verzeichnis Ihres Projektes, um aus der IDE heraus einen Datenbank Report zu starten.
Copyright 2012, 2013, 2014 Cenote GmbH.
+Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
t |
Dokument | +Beschreibung |
---|---|
Zusammenfassung | +Weiterführende Projektinformationen. |
Projektlizenz | +Lizenzinformationen dieses Projektes. |
Projektteam | +Informationen über Personen, die auf die eine oder andere Art und Weise zum Erfolg dieses Projektes beigetragen haben. |
Versionskontrolle | +Informationen zum Versionskontrollsystem dieses Projektes. |
Issue-Tracker | +Informationen über das Issue-Tracking-System dieses Projektes. Issues (Bugs, Feature-Requests, Aufgaben) können hier erstellt und abgefragt werden. |
Abhängigkeiten | +Informationen über die Abhängigkeiten dieses Projektes. |
Feld | +Wert |
---|---|
Name | +JasperStarter |
Beschreibung | +JasperStarter is a command line launcher for JasperReports. |
Webseite | +http://jasperstarter.cenote.de/ |
This project uses GIT to manage its source code. Instructions on GIT use can be found at http://git-scm.com/documentation.
The source can be checked out anonymously from GIT with this command (See http://git-scm.com/docs/git-clone):
+$ git clone https://bitbucket.org/cenote/jasperstarter.git
Only project developers can access the GIT tree via this method (See http://git-scm.com/docs/git-clone).
+$ git clone git@bitbucket.org:cenote/jasperstarter.git
Ein erfolgreiches Projekt erfordert viele Personen, die verschiedene Rollen innerhalb des Teams wahrnehmen. Einige schreiben Quellcode, während andere ausprobieren, testen oder Verbesserungsvorschläge machen.
+Das Team besteht aus Entwicklern und anderweitig Beteiligten. Entwickler haben direkten Zugriff auf den Quellcode des Projektes und entwickeln die Quellcode-Basis weiter. Anderweitig Beteiligte helfen das Projekt zu verbessern, indem sie Fehlerberichte, Änderungswünsche oder sogar Verbeserungsvorschläge einbringen und den Entwicklern melden. Die Anzahl der Beteiligten an diesem Projekt ist unbegrenzt. Beteiligen Sie sich noch heute! Jeder Beitrag ist von höchstem Wert.
+Es folgt eine Liste der Entwickler, die auf die eine oder andere Art und Weise zum Erfolg dieses Projektes beigetragen haben.
+Image | +Id | +Name | +Organisation | +URL der Organisation | +Rollen | |
---|---|---|---|---|---|---|
vosskaem | +Volker Voßkämper | +vosskaem@users.sourceforge.net | +Cenote GmbH | +http://www.cenote.de | +architect, developer |
Es folgt eine Liste der Personen, die zum Erfolg dieses Projektes in Form von zum Beispiel Fehlerberichten, Änderungswünschen, Lösungsvorschlägen, Tests oder Dokumentation beigetragen haben.
+Image | +Name | +Organisation | +Rollen | |
---|---|---|---|---|
Barbora Berlinger | +boraber@users.sourceforge.net | +Cenote GmbH | +translator |
Viele Menschen, die mit JasperReports arbeiten, machen sich wahrscheinlich gar keine Gedanken über Unicode. Sie wählen für die Formularfelder und den statischen Text ganz einfach eine Schriftart, die ihnen gefällt, führen den Report aus und das wars. Aber wenn Ihr Report Zeichen enthält, die in dem default non-unicode Zeichensatz Ihres Betriebssystems nicht enthalten sind, werden Sie eine Überraschung erleben. Die Druckvorschau und der Druck werden zwar ganz korrekt dargestellt, das exportierte PDF aber nicht. Manche Zeichen werden fehlen.
+Ich hatte selber dieses Problem. Und das, was ich im Internet fand, war ziemlich verwirrend. Ich fand alles Mögliche von "dies ist ein Bug in der darunterliegenden itext Library" bis zu Lösungen mit überholten Funktionen von JasperReports, die sehr kompliziert aussahen.
+Aber die richtige Lösung ist zum Glück sehr einfach...
Wählen Sie für das gewünschte Feld die Schrifart "DejaVu Sans". Je nach dem, welche Zeichen verwendet wurden, werden sie nun wahrscheinlich auch in der PDF Datei sichtbar.
+(Die Fontfamilie DejaVu ist etwas begrenzt, aber Sie können zum Beispiel kyrillische Zeichen damit exportieren. Siehe http://dejavu-fonts.org für weitere Informationen.)
Sie haben den Fontnamen für das gewünschte Feld richtig auf "DejaVu Sans" gestellt und Sie haben auf der Webseite nachgeschaut, dass der Font alle Zeichen beinhaltet, aber Sie haben in dem PDF noch immer keine Zeichen?
+Kann es sein, dass Sie mal in der Vergangenheit mit den überholten Funktionen wie z.B. "PDF font name" oder "PDF Encoding" gespielt haben? Sogar dann, wenn Sie die Einstellungen auf Default zurücksetzen, könnte es der Grund sein, warum die Zeichen im PDF nicht angezeigt werden. Schalten Sie die Report Definition in die xml Ansicht und versichern Sie sich, dass diese Optionen GAR NICHT vorhanden sind!
+Das folgende Beispiel funktioniert nicht:
+<staticText> + <reportElement x="14" y="63" width="521" height="24"/> + <textElement> + <font fontName="DejaVu Sans" size="15" pdfFontName="DejaVu Sans" pdfEncoding="Identity-H"/> + </textElement> + <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text> +</staticText>
Das wird funktionieren, denn die Attribute pdfFontName und pdfEncoding sind gar nicht vorhanden:
+<staticText> + <reportElement x="14" y="63" width="521" height="24"/> + <textElement> + <font fontName="DejaVu Sans" size="15"/> + </textElement> + <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text> +</staticText>
Vielleicht werden die von Ihnen gewünschten Zeichen mit der DejaVu Schriftart nicht angezeigt oder die Schriftart gefällt Ihnen einfach nicht. Wie wäre es mit Arial oder jeder anderen Unicode-Schriftart?
+Um das zu erreichen, müssen Sie Ihre Schriftart auf eine besonderer Weise dem JasperReport bereitstellen. Das bedeutet, dass die Schriftarten in eine .jar Datei gepackt werden müssen, die zusätzliche Informationen in einer Property-Datei und einer speziellen xml Datei, die die beinhalteten Schriftarten beschreibt, beinhalten muss. Diese jar Datei muss sich im Java Classpath befinden, während Sie den Report ausführen. Klingt kompliziert? Keine Panik... ;-)
+Solch eine jar Datei für Schriftarten können Sie mit Hilfe des grafischen Reporteditors, den Sie ohnehin vielleicht schon benutzen, in zwei Schritten erstellen. iReport
+Wenn Sie in iReport das Auswahlmenu für Schrifteigenschaften öffnen, merken Sie vielleicht, dass es dort einige Einträge am Anfang der Liste gibt, und dann, getrennt mit einem Strich, folgt eine längere Liste von Schriftarten. In der längeren Liste unter dem Strich befinden sich Schriftarten, die in Ihrem Betriebssystem installiert sind. Die Einträge über dem Strich sind Schriftarten, die im iReport installiert sind. Nur die in iReport installierten Schriftarten können zum exportieren von Unicode-Zeichen als pdf in iReport benutzt werden. Der erste Schritt ist also Ihre Lieblingsschriftarten in iReport zu installieren.
+Jetzt sehen Sie eine Liste von allen bereits installierten Schriftarten. Die drei DejaVu Fonts sind per default installiert, die anderen drei sind allgemeine Schriftartennamen.
+Jetzt sollte es Ihnen möglich sein in iReport Ihren Report mit fremden Zeichen mithilfe der von Ihnen installierten Schriftarten als pdf zu exportieren.
+Eine Notiz für Windows 7 Benutzer:
+Sie bekommen möglicherweise eine Fehlermeldung, wenn Sie versuchen in iReport eine Schriftart zu installieren, weil Sie keine Schreibrechte in dem Verzeichnis haben. Ändern Sie die Sicherheitseinstellungen von dem Verzeichnis
+C:\Program Files\Jaspersoft\iReport-4.1.1\ireport\fonts
oder
+C:\Program Files (x86)\Jaspersoft\iReport-4.1.1\ireport\fonts
damit es beschreibbar wird.
Jetzt haben Sie eine gebrauchsfertige Schriftarten-jar-Datei, die Sie mit JasperReports benutzen können. Fügen Sie sie dem classpath Ihrer Applikation zu.
Falls Sie das bin Verzeichnis zum Suchpfad hinzugefügt haben, geben Sie einfach folgendes ein
+$ jasperstarter
um das Programm aufzurufen.
+Falls nicht, können Sie einen absoluten Pfad angeben. Unter Linux:
+/opt/jasperstarter/bin/jasperstarter
und unter Windows:
+C:\App\jasperstarter\bin\jasperstarter.exe
falls Sie dem Beispiel im Abschnitt Installation gefolgt sind.
+Falls Sie Probleme mit der binären Datei oder dem Shell Script haben oder spezielle Optionen an die Java VM übergeben wollen, können Sie das Programm auch direkt starten:
+$ java -jar /opt/jasperstarter/lib/jasperstarter.jar
oder
+$ java -cp /opt/jasperstarter/lib/jasperstarter.jar de.cenote.jasperstarter.App
JasperReports kennt drei Arten von Dateien:
+Dies ist eine xml Datei, welche den Report definiert. Sie können Sie von Hand schreiben, aber üblicherweise werden Sie eines von den schönen GUI Tools verwenden, um sie zu erzeugen.
Diese Datei ist das Ergebnis, wenn Sie eine .jrxml Datei kompilieren.
Diese Datei resultiert aus einem aufgerufenen Report. Die Daten, welche über die spezifizierte Datenquelle abgerufen werden, werden in den kompilierten Report eingefügt und das Ergebnis kann als .jrprint Datei gespeichert werden.
Es gibt drei Stufen einen Report zu verarbeiten:
+JasperStarter kann all diese Schritte in einem Aufruf durchführen.
JasperStarter hat einige globale Optionen und Kommandos. Jedes Kommando kann eigene Optionen haben.
+Sie erhalten einen Überblick, wenn Sie jasperstarter mit -h aufrufen, was Ihnen die globalen Optionen und die verfügbaren Kommandos anzeigt.
+$ jasperstarter -h +usage: jasperstarter [-h] [--locale <lang>] [-v] [-V] <cmd> ... + +optional arguments: + -h, --help show this help message and exit + --locale <lang> set locale with two-letter ISO-639 code or a + combination of ISO-639 and ISO-3166 like de_DE + -v, --verbose display additional messages + -V, --version display version information and exit + +commands: + <cmd> type <cmd> -h to get help on command + compile (cp) compile reports + process (pr) view, print or export an existing report + list_printers (printers,lpr) + lists available printers + list_parameters (params,lpa) + list parameters from a given report +
Jedes Kommando hat seine eigene Hilfe, welche Sie durch den Aufruf von <command> -h erhalten.
+Mit dem Kommando compilep können Sie einen einzelnen Report oder alle Reports in einem Verzeichnis kompilieren. cp ist ein Alias für compile.
+$ jasperstarter cp -h +usage: jasperstarter compile [-h] [-o <output>] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + <input> input file (.jrxml) or directory + -o <output> directory or basename of outputfile(s) +
Das Kommando pr (process) wird benötigt, um einen einzelnen Report zu verarbeiten. Damit kann kompilieren, anzeigen, drucken oder exportieren gemeint sein. pr ist ein Alias für process.
+$ jasperstarter pr -h +usage: jasperstarter process [-h] -f <fmt> [<fmt> ...] [-o <output>] [-w] + [-a [<filter>]] [-P <param> [<param> ...]] + [-r [<resource>]] [-t <dstype>] [-H <dbhost>] + [-u <dbuser>] [-p <dbpasswd>] [-n <dbname>] + [--db-sid <sid>] [--db-port <port>] + [--db-driver <name>] [--db-url <jdbcUrl>] + [--jdbc-dir <dir>] [--data-file <file>] + [--csv-first-row] [--csv-columns <list>] + [--csv-record-del <delimiter>] + [--csv-field-del <delimiter>] + [--csv-charset <charset>] [--xml-xpath <xpath>] + [--json-query <jsonquery>] + [--jsonql-query <jsonqlquery>] [-N <printername>] [-d] + [-s <reportname>] [-c <copies>] + [--out-field-del <delimiter>] + [--out-charset <charset>] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + -f <fmt> [<fmt> ...] view, print, pdf, rtf, xls, xlsMeta, xlsx, docx, + odt, ods, pptx, csv, csvMeta, html, xhtml, xml, + jrprint + <input> input file (.jrxml|.jasper|.jrprint) + -o <output> directory or basename of outputfile(s), use '-' + for stdout + +compile options: + -w, --write-jasper write .jasper file to imput dir if jrxml is + processed + +fill options: + -a [<filter>] ask for report parameters. Filter: a, ae, u, ue, + p, pe (see usage) + -P <param> [<param> ...] + report parameter: name=value [...] + -r [<resource>] path to report resource dir or jar file. If + <resource> is not given the input directory is + used. + +datasource options: + -t <dstype> datasource type: none, csv, xml, json, jsonql, + mysql, postgres, oracle, generic (jdbc) + -H <dbhost> database host + -u <dbuser> database user + -p <dbpasswd> database password + -n <dbname> database name + --db-sid <sid> oracle sid + --db-port <port> database port + --db-driver <name> jdbc driver class name for use with type: generic + --db-url <jdbcUrl> jdbc url without user, passwd with type:generic + --jdbc-dir <dir> directory where jdbc driver jars are located. + Defaults to ./jdbc + --data-file <file> input file for file based datasource, use '-' for + stdin + --csv-first-row first row contains column headers + --csv-columns <list> Comma separated list of column names + --csv-record-del <delimiter> + CSV Record Delimiter - defaults to line.separator + --csv-field-del <delimiter> + CSV Field Delimiter - defaults to "," + --csv-charset <charset> + CSV charset - defaults to "utf-8" + --xml-xpath <xpath> XPath for XML Datasource + --json-query <jsonquery> + JSON query string for JSON Datasource + --jsonql-query <jsonqlquery> + JSONQL query string for JSONQL Datasource + +output options: + -N <printername> name of printer + -d show print dialog when printing + -s <reportname> set internal report/document name when printing + -c <copies> number of copies. Defaults to 1 + --out-field-del <delimiter> + Export CSV (Metadata) Field Delimiter - defaults + to "," + --out-charset <charset> + Export CSV (Metadata) Charset - defaults to "utf- + 8" +
Das Kommando list_printers hat keine Optionen. Es listet alle verfügbaren Drucker auf Ihrem System, welche Sie mit der Option -N des Kommandos process verwenden können. printers, lpr sind Aliases für list_printers.
Das Kommando list_parameters listet alle benutzerdefinierten Parameter eines angegebenen Reports auf. params, lpa sind Aliases für list_parameters.
+$ jasperstarter params -h +usage: jasperstarter list_parameters [-h] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + <input> input file (.jrxml) or (.jasper) +
Die Spalten haben die folgende Bedeutung:
+Beispiel Ausgabe:
+$ jasperstarter params myreport.jasper +P background java.awt.Image Background image +P MyName java.lang.String Title of some component +P MyDate java.util.Date
Jedes Kommando, jede Option und jedes Argument, welches JasperStarter akzeptiert, kann auch in einer Datei gespeichert werden, die zusätzlich mit dem @ Zeichen zum Aufruf hinzugefügt werden kann.
+Die Datei muss ein Kommando/Option/Argument je Zeile enthalten.
+Beispiel Datei (db.conf):
+-t +mysql +-H +localhost +-n +mydb +-u +volker
Beispiel Aufruf mit Befehlsdatei:
+$ jasperstarter pr myreport -f view @db.conf
Achtung! Die Kommando-Datei darf keine Leerzeilen und nur einen Zeilenumbruch ohne Leerzeichen am Ende der Datei haben!
Um einen Report zu verarbeiten, muss das Kommando pr angegeben werden, welches die folgenden Optionen benötigt:
+Alle anderen Angaben sind optional.
+Für die Option -o (output) siehe Abschnitt "Datei Behandlung".
+<input> ist nun einfach ein Argument. Die Reihenfolge von Optionen und diesem Argument ist nicht von Bedeutung, allerdings kann ein Argument nicht hinter einer Option platziert werden, die selbst eine unbestimmte Anzahl an Argumenten erwartet. Diese Optionen sind:
+Der folgende Aufruf wird nicht funktionieren:
+$ jasperstarter pr -f view myreport.jasper
Aber diese werden:
+$ jasperstarter pr -f print pdf -d myreport.jasper +$ jasperstarter pr -f view -t mysql myreport.jasper -H localhost -u myuser -n mydb
Der einfachste Weg, Problemen mit Argumenten aus dem Weg zu gehen ist, <input> immer an der ersten Stelle gleich nach dem Kommando zu platzieren, so wie es in den folgenden Beispielen gezeigt wird.
+Die minimalen Optionen, welche benötigt werden, um einen Report ohne Datenbank aufzurufen, sind:
+$ jasperstarter pr myreport.jasper -f view
Die minimalen Optionen, welche benötigt werden, um einen Report aufzurufen, der eine Datenbankverbindung benötigt, sind:
+$ jasperstarter pr myreport.jasper -f pdf -t mysql -H localhost -n mydb -u appuser
Sie können einen Report zu einem Zeitpunkt füllen und zu einem späteren Zeitpunkt anzeigen, drucken oder exportieren.
+Einen Report nur füllen:
+$ jasperstarter pr myreport.jasper -f jrprint -t mysql -H localhost -n mydb -u appuser
Einen zuvor gefüllten Report anzeigen:
+$ jasperstarter pr myreport.jrprint -f view
Der CSV Datei Zeichensatz ist auf UTF-8 voreingestellt. Andere übliche Zeichensätze sind cp1252 (Windows), ISO-8859-1 oder ISO-8859-15 (Linux). Sie können den CSV Zeichensatz mit dem Parameter --csv-charset angeben.
+Datensätze werden üblicherweise mit einem Zeilenumbruch getrennt, aber dies muss nicht so sein. Das Datensatz-Trennzeichen ist auf den System Zeilenumbruch voreingestellt, welcher abhängig von Ihrem Betriebssystem unterschiedlich ist. Wenn Sie CSV Dateien von einem anderen System verwenden, müssen Sie den richtigen Zeilenumbruch mit dem Parameter --csv-record-del einstellen:
+Felder können mit einem beliebigen Zeichen getrennt sein und optional in Anführungszeichen eingeschlossen sein. Das Feldtrennzeichen ist auf , voreingestellt.
+Ein einfaches Beispiel:
+$ jasperstarter pr csv.jrxml -f view -t csv --data-file data.csv --csv-first-row
Ein etwas komplexeres Beispiel:
+$ jasperstarter pr csv.jrxml -f view -t csv --data-file data.csv \ +--csv-columns Name,Phone --csv-record-del="\n" --csv-field-del="|" \ +--csv-charset=cp1252
Report-Parameter können aus verschiedenen Typen (Klassen) bestehen. JasperStarter kann generell alle Klassen behandlen, die einen Konstruktor vom Typ String haben. Zuätzlich hat JasperStarter spezielle Routinen für Klassen, die keinen Konstruktor vom Typ String haben oder anderweitig besonders behandelt werden müssen. Dies sind:
+Mehrere Parameter können durch Leerzeichen getrennt werden. Ein Parameter hat die folgende Form:
+Ersetzen Sie name mit dem Parameter-Namen ihres Reports. Parameter-Namen unterscheiden sich durch Groß-Klein-Schreibung !
+Der Parameter Typ date akzeptiert ein Datum im folgenden ISO Format: YYYY-MM-DD
+Der Parameter Typ locale kann entweder als ISO-639 Sprachcode mit zwei Buchstaben oder einer Kombination aus dem ISO-639 Sprachcode und dem ISO-3166 zwei Buchstaben Ländercode verbunden mit einem Unterstrich bestehen. Beispielsweise de oder de_DE.
+$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P CustomerNo=10 StartFrom=2012-10-01
Ein einfacher Weg, einen Report anzupassen, ist ein Logo oder ein Hintergrund Bild als Parameter zu übergeben. Im folgenden Beispiel wird background als Parameter-Name für das Bild verwendet:
+Nun können Sie Ihren Report mit JasperStarter verarbeiten:
+$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P background=/tmp/mybackgroundimage.jpg
Besonders Windows Benutzer müssen möglicherweise Dateinamen angeben, die Leerzeichen enthalten. Es gibt zwei Wege, wie man dies tun kann. Setzten Sie nur den Wert in Anführungszeichen:
+c:\jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P background="C:\Temp Files\My Image.jpg" otherValue=1
oder den ganzen Parameter:
+c:\jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P "background=C:\Temp Files\My Image.jpg" otherValue=1
JasperStarter kann mit der Option -a nach Report-Parametern fragen.
+Jeder Parameter, der in einem Report definiert wurde, kann angezeigt werden. Zur Eingabe werden aber nur diejenigen Parameter unterstüzt, dessen Typ (Klasse) einen Konstruktor für eine Zeichenkette (String) hat oder für die eine spezielle Routine vorhanden ist.
+Mit den folgenden optionalen Argumenten können die angezeigten Parameter gefiltert werden:
+In den folgenden Beispielen gehen wir von einem Nicht-Datenbank-Report aus, in dem die folgenden zwei Parameter definiert sind:
+Der Benutzer wird nach beiden Parametern gefragt:
+$ jasperstarter pr myreport.jasper -f view -a
Der Benutzer wird nach beiden Parametern gefragt. Der Parameter MyDate ist bereits gefüllt, kann aber vom Benutzer geändert werden:
+$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a
Der Benutzer wird nur nach dem leeren Parameter MyText gefragt. Der Parameter MyDate ist bereits gefüllt und wird nicht angezeigt:
+$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a pe
Reports können verschiedene Ressourcen wie i18n Ressourcenbündel, Icons oder Bilder verwenden.
+Wenn eine Ressource im gleichen Verzeichnis wie der Report liegt, reicht es einfach die Option -r ohne Argumente anzugeben:
+$ jasperstarter pr myreport.jasper -f view -r
Wenn eine Ressource in einem anderen Verzeichnis oder in einer jar Datei enthalten ist, kann der Pfad als Argument mitgegeben werden:
+$ jasperstarter pr myreport.jasper -f view -r myresources/
oder
+$ jasperstarter pr myreport.jasper -f view -r myresources.jar
Falls die Eingabedatei (Option -i ) nicht gefunden wurde, wird zuerst .jasper angefügt. Falls die Datei immer noch nicht gefunden wurde, wird .jrxml zum Dateinamen hinzugefügt. Dadurch ist es möglich, die Dateiendung weg zu lassen.
+Falls eine .jrxml verwendet wird, wird sie kompiliert und im Speicher weiter verwendet, außer Sie geben die Option -w an, wodurch der kompilierte Report als Datei in das Eingabe Verzeichnis geschrieben wird.
+Eine .jrprint Datei kann als Eingabe verwendet werden, aber sie muss mit vollem Dateinamen angegeben werden.
+Falls die Ausgabe Datei oder das Verzeichnis ( option -o ) weggelassen wurde, wird das übergeordnete Verzeichnis der Eingabedatei und der Basis Dateiname der Eingabedatei als Ausgabe Dateiname verwendet:
+(...) myreports/report1 -f pdf odt
oder
+(...) myreports/report1.jasper -f pdf odt
oder
+(...) myreports/report1.jrxml -f pdf odt
resultieren in:
+myreports/report1.odt +myreports/report1.pdf
Falls output ein existierendes Verzeichnis ist, wird der Basisname von input als Dateiname in diesem Verzeichnis verwendet:
+(...) myreports/report1.jasper -f pdf odt -o month01/
resultiert in:
+month01/report1.odt +month01/report1.pdf
Falls output KEIN existierendes Verzeichnis ist, wird der Basisname als Dateiname verwendet:
+(...) myreports/report1.jasper -f pdf odt -o month01/journal.xyz
resultiert in:
+month01/journal.xyz.odt +month01/journal.xyz.pdf
The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
+GroupId | +ArtifactId | +Version | +Type | +License | +Optional |
---|---|---|---|---|---|
com.toedter | +jcalendar | +1.4 | +jar | +GNU LESSER GENERAL PUBLIC LICENSE | +No |
commons-io | +commons-io | +2.5 | +jar | +Apache License, Version 2.0 | +No |
commons-lang | +commons-lang | +2.6 | +jar | +The Apache Software License, Version 2.0 | +No |
javax.servlet | +servlet-api | +2.5 | +jar | +- | +No |
log4j | +log4j | +1.2.17 | +jar | +The Apache Software License, Version 2.0 | +No |
net.sf.barcode4j | +barcode4j | +2.1 | +jar | +The Apache Software License, Version 2.0 | +No |
net.sf.jasperreports | +jasperreports | +6.7.0 | +jar | +GNU Lesser General Public License | +No |
net.sf.jasperreports | +jasperreports-chart-customizers | +6.7.0 | +jar | +GNU Lesser General Public License | +No |
net.sf.jasperreports | +jasperreports-chart-themes | +6.7.0 | +jar | +GNU Lesser General Public License | +No |
net.sf.jasperreports | +jasperreports-fonts | +6.0.0 | +jar | +GNU Lesser General Public License | +No |
net.sf.jasperreports | +jasperreports-functions | +6.7.0 | +jar | +GNU Lesser General Public License | +No |
net.sourceforge.argparse4j | +argparse4j | +0.5.0 | +jar | +MIT | +No |
net.sourceforge.barbecue | +barbecue | +1.5-beta1 | +jar | +- | +No |
org.antlr | +antlr | +3.0b5 | +jar | +BSD License | +No |
org.apache.poi | +poi | +3.17 | +jar | +The Apache Software License, Version 2.0 | +No |
org.apache.xmlgraphics | +xmlgraphics-commons | +2.2 | +jar | +The Apache Software License, Version 2.0 | +No |
org.codehaus.groovy | +groovy-all | +2.4.12 | +jar | +The Apache Software License, Version 2.0 | +No |
org.mozilla | +rhino | +1.7.7.2 | +jar | +Mozilla Public License, Version 2.0 | +No |
org.springframework | +spring-beans | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +No |
org.springframework | +spring-core | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +No |
org.springframework | +spring-expression | +4.3.21.RELEASE | +jar | +Apache License, Version 2.0 | +No |
org.apache.xmlgraphics | +batik-awt-util | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-bridge | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-css | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-dom | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-gvt | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-script | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-svg-dom | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-svggen | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
org.apache.xmlgraphics | +batik-util | +1.9.1 | +jar | +The Apache Software License, Version 2.0 | +Yes |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
+GroupId | +ArtifactId | +Version | +Type | +License |
---|---|---|---|---|
org.hsqldb | +hsqldb | +2.4.0 | +jar | +HSQLDB License, a BSD open source license |
org.testng | +testng | +6.11 | +jar | +Apache 2.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
+The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
+GroupId | +ArtifactId | +Version | +Type | +License |
---|---|---|---|---|
antlr | +antlr | +2.7.7 | +jar | +BSD License |
avalon-framework | +avalon-framework-impl | +4.2.0 | +jar | +- |
com.fasterxml.jackson.core | +jackson-annotations | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.fasterxml.jackson.core | +jackson-core | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.fasterxml.jackson.core | +jackson-databind | +2.9.5 | +jar | +The Apache Software License, Version 2.0 |
com.ibm.icu | +icu4j | +57.1 | +jar | +ICU License |
com.lowagie | +itext | +2.1.7.js6 | +jar | +- |
commons-beanutils | +commons-beanutils | +1.9.3 | +jar | +Apache License, Version 2.0 |
commons-cli | +commons-cli | +1.0 | +jar | +- |
commons-codec | +commons-codec | +1.10 | +jar | +Apache License, Version 2.0 |
commons-collections | +commons-collections | +3.2.2 | +jar | +Apache License, Version 2.0 |
commons-digester | +commons-digester | +2.1 | +jar | +The Apache Software License, Version 2.0 |
commons-logging | +commons-logging | +1.1.1 | +jar | +The Apache Software License, Version 2.0 |
javax.inject | +javax.inject | +1 | +jar | +The Apache Software License, Version 2.0 |
javax.xml.stream | +stax-api | +1.0-2 | +jar | +GNU General Public Library-COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 |
joda-time | +joda-time | +2.9.9 | +jar | +Apache 2 |
org.antlr | +stringtemplate | +3.0 | +jar | +BSD License |
org.apache.ant | +ant | +1.7.1 | +jar | +- |
org.apache.ant | +ant-launcher | +1.7.1 | +jar | +- |
org.apache.commons | +commons-collections4 | +4.1 | +jar | +Apache License, Version 2.0 |
org.apache.xmlgraphics | +batik-anim | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-constants | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-ext | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-i18n | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-parser | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.apache.xmlgraphics | +batik-xml | +1.9.1 | +jar | +The Apache Software License, Version 2.0 |
org.bouncycastle | +bcprov-jdk15on | +1.52 | +jar | +Bouncy Castle Licence |
org.codehaus.castor | +castor-core | +1.3.3 | +jar | +- |
org.codehaus.castor | +castor-xml | +1.3.3 | +jar | +- |
org.eclipse.jdt.core.compiler | +ecj | +4.4.2 | +jar | +Eclipse Public License v1.0 |
org.jfree | +jcommon | +1.0.23 | +jar | +GNU Lesser General Public Licence |
org.jfree | +jfreechart | +1.0.19 | +jar | +GNU Lesser General Public Licence |
org.python | +jython | +2.7.0 | +jar | +Jython Software License |
stax | +stax | +1.2.0 | +jar | +- |
stax | +stax-api | +1.0.1 | +jar | +The Apache Software License, Version 2.0 |
xalan | +serializer | +2.7.2 | +jar | +The Apache Software License, Version 2.0 |
xalan | +xalan | +2.7.2 | +jar | +The Apache Software License, Version 2.0 |
xml-apis | +xml-apis | +1.3.04 | +jar | +The Apache Software License, Version 2.0 |
xml-apis | +xml-apis-ext | +1.3.04 | +jar | +The Apache Software License, Version 2.0 |
The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
+GroupId | +ArtifactId | +Version | +Type | +License |
---|---|---|---|---|
com.beust | +jcommander | +1.64 | +jar | +Apache 2.0 |
org.yaml | +snakeyaml | +1.17 | +jar | +Apache License, Version 2.0 |
GNU LESSER GENERAL PUBLIC LICENSE: JCalendar
+Apache 2.0: jcommander, testng
+HSQLDB License, a BSD open source license: HyperSQL Database
+Mozilla Public License, Version 2.0: Mozilla Rhino
+Jython Software License: Jython
+Eclipse Public License v1.0: Eclipse ECJ
+ICU License: ICU4J
+GNU Lesser General Public License: JasperReports, JasperReports Chart Customizers, JasperReports Chart Themes, JasperReports Font Extension, JasperReports Functions
+Bouncy Castle Licence: Bouncy Castle Provider
+Apache 2: Joda-Time
+GNU General Public Library: Streaming API for XML
+Unknown: CLI, Castor CORE - Core code/functionality, Castor XML - core, StAX, ant-launcher, avalon-framework-impl, barbecue, itext, org.apache.tools.ant, servlet-api
+BSD License: AntLR Parser Generator, Stringtemplate
+Apache License, Version 2.0: Apache Commons BeanUtils, Apache Commons Codec, Apache Commons Collections, Apache Commons IO, SnakeYAML, Spring Beans, Spring Core, Spring Expression Language (SpEL)
+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: Streaming API for XML
+MIT: argparse4j
+GNU Lesser General Public Licence: JCommon, JFreeChart
+The Apache Software License, Version 2.0: Apache Groovy, Apache Log4j, Apache POI, Apache XML Graphics Commons, Barcode4J, Commons Digester, Commons Lang, Commons Logging, Jackson-annotations, Jackson-core, JasperStarter, StAX API, XML Commons External Components XML APIs, XML Commons External Components XML APIs Extensions, Xalan Java, Xalan Java Serializer, jackson-databind, javax.inject, org.apache.xmlgraphics:batik-anim, org.apache.xmlgraphics:batik-awt-util, org.apache.xmlgraphics:batik-bridge, org.apache.xmlgraphics:batik-constants, org.apache.xmlgraphics:batik-css, org.apache.xmlgraphics:batik-dom, org.apache.xmlgraphics:batik-ext, org.apache.xmlgraphics:batik-gvt, org.apache.xmlgraphics:batik-i18n, org.apache.xmlgraphics:batik-parser, org.apache.xmlgraphics:batik-script, org.apache.xmlgraphics:batik-svg-dom, org.apache.xmlgraphics:batik-svggen, org.apache.xmlgraphics:batik-util, org.apache.xmlgraphics:batik-xml
Filename | +Size | +Entries | +Classes | +Packages | +JDK Rev | +Debug | +Sealed |
---|---|---|---|---|---|---|---|
antlr-2.7.7.jar | +434.85 kB | +239 | +224 | +12 | +1.2 | +debug | +- |
avalon-framework-impl-4.2.0.jar | +59.30 kB | +45 | +30 | +7 | +1.1 | +debug | +- |
jcommander-1.64.jar | +64.05 kB | +65 | +64 | +5 | +1.6 | +debug | +- |
jackson-annotations-2.9.5.jar | +65.41 kB | +80 | +68 | +1 | +1.6 | +debug | +- |
jackson-core-2.9.5.jar | +314.05 kB | +130 | +105 | +11 | +1.6 | +debug | +- |
jackson-databind-2.9.5.jar | +1.28 MB | +658 | +624 | +20 | +1.6 | +debug | +- |
icu4j-57.1.jar | +10.77 MB | +4,440 | +1,198 | +11 | +1.6 | +debug | +- |
itext-2.1.7.js6.jar | +1.08 MB | +522 | +474 | +22 | +1.5 | +release | +- |
jcalendar-1.4.jar | +161.18 kB | +209 | +58 | +4 | +1.4 | +release | +- |
commons-beanutils-1.9.3.jar | +240.40 kB | +154 | +137 | +5 | +1.6 | +debug | +- |
commons-cli-1.0.jar | +29.41 kB | +27 | +20 | +1 | +1.1 | +debug | +- |
commons-codec-1.10.jar | +277.52 kB | +238 | +92 | +6 | +1.6 | +debug | +- |
commons-collections-3.2.2.jar | +574.55 kB | +484 | +460 | +12 | +1.3 | +debug | +- |
commons-digester-2.1.jar | +192.16 kB | +182 | +155 | +14 | +1.5 | +debug | +- |
commons-io-2.5.jar | +203.81 kB | +142 | +123 | +7 | +1.6 | +debug | +- |
commons-lang-2.6.jar | +277.56 kB | +155 | +133 | +10 | +1.3 | +debug | +- |
commons-logging-1.1.1.jar | +59.26 kB | +42 | +28 | +2 | +1.1 | +debug | +- |
javax.inject-1.jar | +2.44 kB | +8 | +6 | +1 | +1.5 | +release | +- |
servlet-api-2.5.jar | +102.65 kB | +68 | +42 | +2 | +1.5 | +debug | +- |
stax-api-1.0-2.jar | +22.80 kB | +44 | +37 | +3 | +1.5 | +debug | +- |
joda-time-2.9.9.jar | +619.19 kB | +763 | +247 | +7 | +1.5 | +debug | +- |
log4j-1.2.17.jar | +478.40 kB | +353 | +314 | +21 | +1.4 | +debug | +- |
barcode4j-2.1.jar | +267.97 kB | +174 | +145 | +21 | +1.4 | +debug | +- |
jasperreports-6.7.0.jar | +5.28 MB | +3,700 | +3,312 | +131 | +1.6 | +debug | +- |
jasperreports-chart-customizers-6.7.0.jar | +42.94 kB | +53 | +37 | +6 | +1.6 | +debug | +- |
jasperreports-chart-themes-6.7.0.jar | +174.92 kB | +82 | +55 | +4 | +1.6 | +debug | +- |
jasperreports-fonts-6.0.0.jar | +2.37 MB | +27 | +0 | +0 | +- | +release | +- |
jasperreports-functions-6.7.0.jar | +31.35 kB | +23 | +8 | +1 | +1.6 | +debug | +- |
argparse4j-0.5.0.jar | +81.85 kB | +75 | +55 | +9 | +1.5 | +debug | +- |
barbecue-1.5-beta1.jar | +88.94 kB | +79 | +59 | +13 | +1.3 | +release | +- |
antlr-3.0b5.jar | +474.83 kB | +206 | +172 | +9 | +1.4 | +debug | +- |
stringtemplate-3.0.jar | +124.75 kB | +82 | +74 | +4 | +1.4 | +release | +- |
ant-1.7.1.jar | +1.26 MB | +818 | +769 | +29 | +1.2 | +debug | +- |
ant-launcher-1.7.1.jar | +11.86 kB | +12 | +5 | +1 | +1.2 | +debug | +- |
commons-collections4-4.1.jar | +733.63 kB | +548 | +518 | +18 | +1.6 | +debug | +- |
poi-3.17.jar | +2.58 MB | +1,793 | +1,715 | +64 | +1.6 | +debug | +- |
batik-anim-1.9.1.jar | +467.51 kB | +417 | +396 | +4 | +1.6 | +debug | +- |
batik-constants-1.9.1.jar | +8.06 kB | +14 | +1 | +1 | +1.6 | +release | +- |
batik-ext-1.9.1.jar | +12.72 kB | +28 | +15 | +2 | +1.6 | +debug | +- |
batik-i18n-1.9.1.jar | +11.00 kB | +17 | +4 | +1 | +1.6 | +debug | +- |
batik-parser-1.9.1.jar | +74.62 kB | +73 | +55 | +1 | +1.6 | +debug | +- |
batik-xml-1.9.1.jar | +32.70 kB | +22 | +6 | +1 | +1.6 | +debug | +- |
xmlgraphics-commons-2.2.jar | +631.36 kB | +427 | +374 | +34 | +1.5 | +debug | +- |
bcprov-jdk15on-1.52.jar | +2.77 MB | +2,568 | +2,430 | +126 | +1.5 | +release | +- |
castor-core-1.3.3.jar | +48.35 kB | +63 | +38 | +9 | +1.5 | +debug | +sealed |
Total | +Size | +Entries | +Classes | +Packages | +JDK Rev | +Debug | +Sealed |
45 | +34.70 MB | +20,349 | +14,882 | +673 | +1.6 | +37 | +1 |
compile: 44 | +compile: 34.63 MB | +compile: 20,284 | +compile: 14,818 | +compile: 668 | +- | +compile: 36 | +compile: 1 |
test: 1 | +test: 64.05 kB | +test: 65 | +test: 64 | +test: 5 | +- | +test: 1 | +- |
JasperStarter distribution files have the following naming convention:
+ +JasperStarter-<version>-<type>.<archiveTye> +
Version number for production releases:
+ +<major>.<minor>.<bugfix> +
Version number for release candidates - should be ready for production but needs some testing from YOU ;-) :
+ +<major>.<minor>-RC<N> +
Version number for testing releases - not for production use:
+ +<major>.<minor>-SNAPSHOT-<git-short-commit-id> +
Types:
+ +Choose your favorit archive type. The content is equal in each archive.
Content of a distribution archive:
+ +bin/ - executable binaries for Windows, Mac OSX, Linux, etc. +docs/ - JasperStarter documentation in html format +jdbc/ - place for your jdbc drivers (jar files) +lib/ - needed libraries +CHANGES +LICENSE +NOTICE +README.md +
Please don’t touch the structure of the directories or JasperStarter will not work.
+For further information see README.md inside the distribution archive.
JasperStarter is an opensource command line launcher and batch compiler for JasperReports.
+The official homepage is jasperstater.cenote.de.
+It has the following features:
+ +Requirements:
+ +Invoke JasperStarter with -h to get an overview:
+ +$ jasperstarter -h +
Invoke JasperStarter with process -h to get help on the process command:
+ +$ jasperstarter process -h +
Example with reportparameters:
+ +$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost \ + -n mydb -o report -p secret -P CustomerNo=10 StartFrom=2012-10-01 +
Example with hsql using database type generic:
+ +$ jasperstarter pr report.jasper -t generic -f pdf -o report -u sa \ +--db-driver org.hsqldb.jdbcDriver \ +--db-url jdbc:hsqldb:hsql://localhost +
For more information take a look in the docs directory of the distibution archive or read the Usage page online.
JasperStarter exposes an API which can be used with jpy to provide direct access from Python:
+ +# +# Load the JVM. See the jpy docs for details. +# +import jpyutil +jpyutil.init_jvm(jvm_maxmem='512M', jvm_classpath=['.../jasperstarter.jar']) +# +# Load the Java types needed. +# +import jpy +Arrays = jpy.get_type('java.util.Arrays') +File = jpy.get_type('java.io.File') +Report = jpy.get_type('de.cenote.jasperstarter.Report') +Config = jpy.get_type('de.cenote.jasperstarter.Config') +DsType = jpy.get_type('de.cenote.jasperstarter.types.DsType') +# +# Create the JasperStarter configuration. See Config.java for details. +# +config = Config() +config.setInput('jsonql.jrxml') +config.setOutput('contacts.pdf') +config.setDbType(DsType.json) +config.setDataFile(File('contacts.json')) +config.setJsonQuery('contacts.person') +config.setOutputFormats(Arrays.asList([])) +# +# Run the report. See Report.java for details. +# +instance = Report(config, File(config.getInput())) +instance.fill() +instance.exportPdf() +
See the examples/python directory for a fuller example.
Feedback is always welcome! If you have any questions or proposals, don’t hesitate to write to our discussion forum. If you found a bug or you are missing a feature, log into our Issuetracker and create a bug or feature request.
+If you like the software you can write a review :-)
The sourcecode is available at bitbucket.org/cenote/jasperstarter, the project website is hosted at Sourceforge.
+JasperStarter is build with Maven.
+On Linux 64 bit the launch4j-maven-plugin may fail. In this case, may you need the following libs in a 32 bit version:
+ +Install on Ubuntu 14.04 or above:
+ +$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 +
Install on Fedora 27 or above:
+ +$sudo dnf install ncurses-compat-libs.i686 +
To get a distribution package run:
+ +$ mvn package -P release +
or if you build from the current default branch you better use:
+ +$ mvn package -P release,snapshot +
Attention! You cannot execute target/jasperstarter.jar without having it's dependencies in ../lib ! See dev profile below!
+If you want to build the Windows setup.exe, you need to have nsis in your search path (works on linux too, you can find a compiled release in the sourceforge download folder build-tools for your convenience) an add the windows-setup profile to your build:
+ +$ mvn package -P release,windows-setup +
or
+ +$ mvn package -P release,windows-setup,snapshot +
While developing you may want to have a quicker build. The dev profile excludes some long running reports and the compressed archives. Instead it puts the build result into target/jasperstarter-dev-bin.
+ +$ mvn package -P dev +
Now you can execute JasperStarter without IDE:
+ +$ target/jasperstarter-dev-bin/bin/jasperstarter +
or
+ +$ java -jar target/jasperstarter-dev-bin/lib/jasperstarter.jar +
During development you might want not to be annoyed by tests. So the following options are useful:
+ +$ mvn package -P dev -D skipTests +
or
+ +$ mvn package -P dev -D maven.test.failure.ignore=true +
To run JasperStarter from within your IDE add --jdbc-dir jdbc to the argument list of your run configuration. Otherwise you will get an error:
+ +Error, (...)/JasperStarter/target/classes/jdbc is not a directory! +
Put your jdbc drivers in the ./jdbc directory of the project to invoke JasperStarter from within your IDE to call up a database based report.
Copyright 2012-2015 Cenote GmbH.
+Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
t |
Document | +Description |
---|---|
Project Summary | +This document lists other related information of this project |
Project License | +This is a link to the definitions of project licenses. |
Project Team | +This document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another. |
Source Repository | +This is a link to the online source repository that can be viewed via a web browser. |
Issue Tracking | +This is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link. |
Dependencies | +This document lists the project's dependencies and provides information on each dependency. |
Field | +Value |
---|---|
Name | +JasperStarter |
Description | +JasperStarter is a command line launcher for JasperReports. |
Homepage | +http://jasperstarter.cenote.de/ |
This project uses GIT to manage its source code. Instructions on GIT use can be found at http://git-scm.com/documentation.
The source can be checked out anonymously from GIT with this command (See http://git-scm.com/docs/git-clone):
+$ git clone https://bitbucket.org/cenote/jasperstarter.git
Only project developers can access the GIT tree via this method (See http://git-scm.com/docs/git-clone).
+$ git clone git@bitbucket.org:cenote/jasperstarter.git
A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.
+The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.
+The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.
+Image | +Id | +Name | +Organization | +Organization URL | +Roles | |
---|---|---|---|---|---|---|
vosskaem | +Volker Voßkämper | +vosskaem@users.sourceforge.net | +Cenote GmbH | +http://www.cenote.de | +architect, developer |
The following additional people have contributed to this project through the way of suggestions, patches or documentation.
+Image | +Name | +Organization | +Roles | |
---|---|---|---|---|
Barbora Berlinger | +boraber@users.sourceforge.net | +Cenote GmbH | +translator |
Many people may not care about unicode when using JasperReports. They just choose the font they like for their fields and static text, run the report and that´s it. But if your report contains characters, which are not contained in your default non unicode operating system characterset, you'll be surprised. You`ll get correct print preview and printout but no correct pdf export. Some characters will miss.
+I had this problem and what I found on the internet was quite confusing. I found everythig from "this is a bug in the underlaying itext library" to complicated looking solutions using deprecated JasperReports functions.
+But the real solution is fortunately quite simple...
Just switch the font name of the desired field to "DejaVu Sans". Depending on the used characters you may notice that they are now visible in pdf too.
+(The DejaVu font family is a bit limited but for example you will be able to export cyrillic characters with it. See http://dejavu-fonts.org for further information.)
You switched the font name property of the desired field to "DejaVu Sans" and you checked on the website that the characters are included in the font but you still got nothing in your PDF?
+Did you previously play with the deprecated options like "PDF Font name" or "PDF Encoding"? Even if you switch back this options to their default values this may be the reason that you don't get it displayed in PDF. You have to switch to the xml view of your report definition and check that these options are NOT present at all!
+For example this does not work:
+<staticText> + <reportElement x="14" y="63" width="521" height="24"/> + <textElement> + <font fontName="DejaVu Sans" size="15" pdfFontName="DejaVu Sans" pdfEncoding="Identity-H"/> + </textElement> + <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text> +</staticText>
This will work as the pdfFontName and pdfEncoding attributes are not present:
+<staticText> + <reportElement x="14" y="63" width="521" height="24"/> + <textElement> + <font fontName="DejaVu Sans" size="15"/> + </textElement> + <text><![CDATA[Cyrillic: б в г д ж з и ь к л м н п ф ц ч ш шт э я ю я ы]]></text> +</staticText>
Maybe your characters are not displayed with the DejaVu fonts or you just don't like this font. What about using Arial or any other unicode font?
+To achieve this you must provide your font in a special way to JasperReports. This means your fonts must be put in a .jar file which must contain additional information in a property file and a special xml file describing the contained fonts. This jar file must be on the java classpath while you execute your report. Sounds complicated? Don't panic... ;-)
+You can create such a font jar file in two steps using the graphical report editor iReport which you may already be using.
+If you open the selection list of the font name property in iReports, you may notice that there are a few entries at the top of the list and then, devided by a dash, a longer list of fonts. The longer list beneath the dash are the fonts installed in your operating system whilest the entries above are fonts that are installed into iReports. Only these installed fonts can be used to export unicode characters to pdf whithin iReports. So the first step is to install your favorite font to iReport.
+You now see a list of all already installed fonts. The three DejaVue fonts are installed by default and the other three are generic font aliases.
+Now you shoud be able to export your report to pdf from within iReport using your installed font and foreign characters.
+A note to Windows 7 users:
+You may get an error if you try to install a font into iReport because you have no right to write into the directory. Change the security property of the
+C:\Program Files\Jaspersoft\iReport-4.1.1\ireport\fonts
or
+C:\Program Files (x86)\Jaspersoft\iReport-4.1.1\ireport\fonts
directory to allow users to write there.
Now you have a ready to use font jar which can be used with JasperReports. Just add it to the classpath of your application.
Unzip the distribution archive to a directory of your choice for example:
+C:\App\jasperstarter
Add the directory
+C:\App\jasperstarter\bin
to your user or system path variable
+or simply use the setup.exe
Extract the distribution archive to a directory of your choice for example:
+/opt/jasperstarter
Add the directory
+/opt/jasperstarter/bin
to your user or system path.
+For ArchLinux an AUR Package is available here: https://aur.archlinux.org/packages/jasperstarter
If you put the bin dir on the seach path, just type
+$ jasperstarter
to invoke the program.
+If not, you can use an absolute path. On Linux:
+/opt/jasperstarter/bin/jasperstarter
and on Windows:
+C:\App\jasperstarter\bin\jasperstarter.exe
if you followed the example in the install section.
+If you have any problem with the binary or shell script or you need to specify some extra options to your java vm, you can invoke the program directly:
+$ java -jar /opt/jasperstarter/lib/jasperstarter.jar
or
+$ java -cp /opt/jasperstarter/lib/jasperstarter.jar de.cenote.jasperstarter.App
JasperReports know three types of files:
+This file is an xml file that defines the report, You can create it by hand but usually you will use one of the nice available GUI tools.
This file is the result of compiling an .jrxml file.
This file is the result of running a report. The data which is retrieved from the defined datasource is filled in the compiled report and can be stored in a .jrprint file.
There are three stages of processing a JasperReport:
+JasperStarter can carry out all of them in one commanding call.
JasperStarter has some global options and commands. Every command can have it's own options.
+You can get an overview if you invoke jasperstarter with -h which shows you the global options and the available commands.
+$ jasperstarter -h +usage: jasperstarter [-h] [--locale <lang>] [-v] [-V] <cmd> ... + +optional arguments: + -h, --help show this help message and exit + --locale <lang> set locale with two-letter ISO-639 code or a + combination of ISO-639 and ISO-3166 like de_DE + -v, --verbose display additional messages + -V, --version display version information and exit + +commands: + <cmd> type <cmd> -h to get help on command + compile (cp) compile reports + process (pr) view, print or export an existing report + list_printers (printers,lpr) + lists available printers + list_parameters (params,lpa) + list parameters from a given report +
Every command has it's own help which can be invoked with <command> -h.
+The command compile is for compiling one report or all reports in a directory. cp is an alias for compile.
+$ jasperstarter cp -h +usage: jasperstarter compile [-h] [-o <output>] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + <input> input file (.jrxml) or directory + -o <output> directory or basename of outputfile(s) +
The command process is for processing a report. Thant means viewing, printing or exporting. pr is an alias for process.
+$ jasperstarter pr -h +usage: jasperstarter process [-h] -f <fmt> [<fmt> ...] [-o <output>] [-w] + [-a [<filter>]] [-P <param> [<param> ...]] + [-r [<resource>]] [-t <dstype>] [-H <dbhost>] + [-u <dbuser>] [-p <dbpasswd>] [-n <dbname>] + [--db-sid <sid>] [--db-port <port>] + [--db-driver <name>] [--db-url <jdbcUrl>] + [--jdbc-dir <dir>] [--data-file <file>] + [--csv-first-row] [--csv-columns <list>] + [--csv-record-del <delimiter>] + [--csv-field-del <delimiter>] + [--csv-charset <charset>] [--xml-xpath <xpath>] + [--json-query <jsonquery>] + [--jsonql-query <jsonqlquery>] [-N <printername>] [-d] + [-s <reportname>] [-c <copies>] + [--out-field-del <delimiter>] + [--out-charset <charset>] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + -f <fmt> [<fmt> ...] view, print, pdf, rtf, xls, xlsMeta, xlsx, docx, + odt, ods, pptx, csv, csvMeta, html, xhtml, xml, + jrprint + <input> input file (.jrxml|.jasper|.jrprint) + -o <output> directory or basename of outputfile(s), use '-' + for stdout + +compile options: + -w, --write-jasper write .jasper file to imput dir if jrxml is + processed + +fill options: + -a [<filter>] ask for report parameters. Filter: a, ae, u, ue, + p, pe (see usage) + -P <param> [<param> ...] + report parameter: name=value [...] + -r [<resource>] path to report resource dir or jar file. If + <resource> is not given the input directory is + used. + +datasource options: + -t <dstype> datasource type: none, csv, xml, json, jsonql, + mysql, postgres, oracle, generic (jdbc) + -H <dbhost> database host + -u <dbuser> database user + -p <dbpasswd> database password + -n <dbname> database name + --db-sid <sid> oracle sid + --db-port <port> database port + --db-driver <name> jdbc driver class name for use with type: generic + --db-url <jdbcUrl> jdbc url without user, passwd with type:generic + --jdbc-dir <dir> directory where jdbc driver jars are located. + Defaults to ./jdbc + --data-file <file> input file for file based datasource, use '-' for + stdin + --csv-first-row first row contains column headers + --csv-columns <list> Comma separated list of column names + --csv-record-del <delimiter> + CSV Record Delimiter - defaults to line.separator + --csv-field-del <delimiter> + CSV Field Delimiter - defaults to "," + --csv-charset <charset> + CSV charset - defaults to "utf-8" + --xml-xpath <xpath> XPath for XML Datasource + --json-query <jsonquery> + JSON query string for JSON Datasource + --jsonql-query <jsonqlquery> + JSONQL query string for JSONQL Datasource + +output options: + -N <printername> name of printer + -d show print dialog when printing + -s <reportname> set internal report/document name when printing + -c <copies> number of copies. Defaults to 1 + --out-field-del <delimiter> + Export CSV (Metadata) Field Delimiter - defaults + to "," + --out-charset <charset> + Export CSV (Metadata) Charset - defaults to "utf- + 8" +
The command list_printers has no options. It lists the available printers on your system which can be used with optin -N of the command process. printers, lpr are aliases for list_printers.
The command list_parameters lists all user defined parameters of a given report. params, lpa are aliases for list_parameters.
+$ jasperstarter params -h +usage: jasperstarter list_parameters [-h] <input> + +optional arguments: + -h, --help show this help message and exit + +options: + <input> input file (.jrxml) or (.jasper) +
The columns have the following meaning:
+Example output:
+$ jasperstarter params myreport.jasper +P background java.awt.Image Background image +P MyName java.lang.String Title of some component +P MyDate java.util.Date
Every command, option or argument JasperStarter accepts can be stored in a file that can be additionally provided with the @ sign.
+The file should contain one command/option/argument per line.
+Example file (db.conf):
+-t +mysql +-H +localhost +-n +mydb +-u +volker
Example invocation with command file:
+$ jasperstarter pr myreport -f view @db.conf
Attention! The command file should not contain any empty lines and just one linebreak with no spaces at the end of the file!
To process a report you must provide the process command pr which needs the following options:
+on the type of the datasource.
All other options are optional.
+For output -o see section "File Handling".
+<input> is now just an argument. The order of options and this argument does not matter but an argument cannot be placed behind an option that takes a vague number of arguments by itself. These options are:
+So the following statement will not work:
+$ jasperstarter pr -f view myreport.jasper
But these will:
+$ jasperstarter pr -f print pdf -d myreport.jasper +$ jasperstarter pr -f view -t mysql myreport.jasper -H localhost -u myuser -n mydb
The easiest way to circumvent any problems regarding arguments is to always place <input> at the first position right behind the command as shown in the following examples.
+The minimum options needed, to process a report with an empty datasource:
+$ jasperstarter pr myreport.jasper -f view
The minimum options required to process a report that needs a database connection:
+$ jasperstarter pr myreport.jasper -f pdf -t mysql -H localhost -n mydb -u appuser
You can fill a report at one time and view, print or export it at a later time.
+Just fill one report:
+$ jasperstarter pr myreport.jasper -f jrprint -t mysql -H localhost -n mydb -u appuser
View a previously filled report:
+$ jasperstarter pr myreport.jrprint -f view
The CSV file charset defaults to UTF-8. Other common used charsets are cp1252 (Windows), ISO-8859-1 or ISO-8859-15 (Linux). You can specify the csv file charset with the --csv-charset parameter.
+Records are usually delimited by a newline but this is not a must. The record delimiter defaults to the system line separator which is different depending on your operating system. If you use CSV files from other systems you must provide the correct line ending with the --csv-record-del parameter:
+Fields can be delimited by any char and optionally be enclosed by quotation marks. The field delimiter defaults to ,
+A simple example:
+$ jasperstarter pr csv.jrxml -f view -t csv --data-file data.csv --csv-first-row
A more complex example:
+$ jasperstarter pr csv.jrxml -f view -t csv --data-file data.csv \ +--csv-columns Name,Phone --csv-record-del="\n" --csv-field-del="|" \ +--csv-charset=cp1252
Report parameters can consist of several types (classes). JasperStarter can generally handle all classes that have a constructor of type String. Additionally JasperStarter has special handlers for some classes that have no constructor of type String or otherwiese need special handling. These are:
+Multiple parameters can be separated by spaces. A parameter has the following form:
+Replace name with the parameter name in your report. Parameter names are case sensitive !
+The parameter type date accepts a date in ISO format in the form: YYYY-MM-DD
+The parameter type locale may consist just of the two-letter ISO-639 language code or a combination of the two-letter ISO-639 language code and the two-letter ISO-3166 country code connected by an underscore. For example de or de_DE.
+$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P CustomerNo=10 StartFrom=2012-10-01
A simple way of customizing a report is to provide a logo or background image as parameter. In the following example we use background as parameter name for the image:
+Now you can process your report with JasperStarter:
+$ jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P background=/tmp/mybackgroundimage.jpg
Particularly windows users may need to work with spaces in file names. There are two ways you can do that. Just quote the value:
+c:\jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P background="C:\Temp Files\My Image.jpg" otherValue=1
or quote the whole parameter:
+c:\jasperstarter pr report.jasper -t mysql -u myuser -f pdf -H myhost -n mydb \ +-o report -p secret -P "background=C:\Temp Files\My Image.jpg" otherValue=1
JasperStarter can ask for parameter input with option -a.
+Every parameter defined in the report can be displayed but only those are supported for input, that have a type (class) with a constructor that takes one string as an argument or there is a special handler implemented for it.
+It is possible to filter the displayed parameters with the following optional arguments:
+In the following examples we assume a non database report which has two parameters:
+The user will be prompted for the two parameters:
+$ jasperstarter pr myreport.jasper -f view -a
The user will be prompted for the two parameters. The MyDate parameter is already filled but the user can change it:
+$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a
The user will be prompted only for the empty MyText parameter. The MyDate parameter is already filled and not displayed:
+$ jasperstarter pr myreport.jasper -f view -P MyDate=2013-01-30 -a pe
Reports can use several resources like i18n resource bundles, icons, images or (compiled) subreports.
+If a resource exists in the same directory as the report file just specify -r without any arguments:
+$ jasperstarter pr myreport.jasper -f view -r
If the resource is located in another directory or in a jar file the path can be given as an argument:
+$ jasperstarter pr myreport.jasper -f view -r myresources/
or
+$ jasperstarter pr myreport.jasper -f view -r myresources.jar
The standard export to csv (xls, xlsx, ods) depends on layout and produces unexpected results most time. The solution to this is, at least for csv and xls, using metadata which clearly define which data is exported and how. This metadata must be added to the report definition jrxml.
+See http://jasperreports.sourceforge.net/sample.reference/jasper/#csvmetadataexport and http://jasperreports.sourceforge.net/sample.reference/jasper/#xlsmetadataexport
+Additionaly use the format -f csvMeta instead of -f csv or -f xlsMeta instead of -f xls with JasperStarter. Have a look at the example section at the end of this file.
Using subreports with JasperStarter can be a bit tricky and has some limitations. You have to use the datasource form the main report in the subreport which can be referenced with $P{REPORT_DATA_SOURCE}. It could be also a good idea to clone the datasource.
+The subreport must be compiled before you can use it. It must be referenced with file ending .jasper. The path to the subreport must be provided as a resource with option -r.
+<subreportExpression><![CDATA["mysubreport.jasper"]]></subreportExpression>
This is a complete example subreport element using clone and a relative path to the subreport. Keep in mind to replace the data source class with the one you are using.
+<subreport isUsingCache="false"> +<reportElement x="0" y="0" width="500" height="800"/> +<dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JRBeanCollectionDataSource) $P{REPORT_DATA_SOURCE}).cloneDataSource()]]></dataSourceExpression> +<subreportExpression><![CDATA["subdir/mysubreport.jasper"]]></subreportExpression> +</subreport>
A user of JasperStarter has written a nice tutorial for a subreport with XML datasource here: http://nblock.org/2015/06/02/processing-jasper-subreports-with-jasperstarter/
+The example report from this tutorial is included in the JasperStarter example directory. See main.jrxml_header.jrxml_details.jrxml
Not all extensions a delivered with JasperStarter by default. So if you want to use an extension you may have to put it's jar files into the classpath. This is an easy task. Just put the jar files into the jdbc directory under the JasperStarter installation directory.
+ +If the input file (option -i ) is not found, .jasper is added to the filename first, if the file is still not found .jrxml is added to the filename. So you can omit the file extension.
+If the .jrxml file is used, it will be compiled in memory and used for further processing except you provide option -w which causes the compiled report to be written to the input directory.
+A .jrprint file can be used as input but must specified with full filename.
+If the output file or directory ( option -o ) is omitted, parent of the input file is used as output directory and the basename of the input file is used for as output filename:
+(...) myreports/report1 -f pdf odt
or
+(...) myreports/report1.jasper -f pdf odt
or
+(...) myreports/report1.jrxml -f pdf odt
results in:
+myreports/report1.odt +myreports/report1.pdf
If output is an existing directory, basename of input is used as filename in that directory:
+(...) myreports/report1.jasper -f pdf odt -o month01/
results in:
+month01/report1.odt +month01/report1.pdf
If output is NOT an existing directory, its name is used as basename for filenames:
+(...) myreports/report1.jasper -f pdf odt -o month01/journal.xyz
results in:
+month01/journal.xyz.odt +month01/journal.xyz.pdf
There are several example reports provided whithin the JasperStarter distribution. They can be found in the examples folder.
+For the following examples cd into the examples folder and execute the commands as described.
+List of example files:
+Blank_A4_1.jasper +Blank_A4_1.jrxml +CancelAck.jrxml +CancelAck.xml +charactersetTest.jasper +charactersetTest.jrxml +charactersetTestWithStudioBuiltinFunctions.jrxml +contacts.json +contacts.xml +csv.jrxml +csvExampleHeaders.csv +csvMeta.jrxml +details.jasper +details.jrxml +header.jasper +header.jrxml +i18n-bundle.properties +i18n-bundle_de.properties +i18n-bundle_ru.properties +json.jrxml +jsonql.jrxml +main.jrxml +noDB-i18n.jrxml +noDB-params.jrxml
A simple report whithout any datasource (just static text) showing different character sets. To view this report type:
+$ jasperstarter pr charactersetTest.jrxml -f view
To get a pdf from this report type:
+$ jasperstarter pr charactersetTest.jrxml -f pdf
Viewing the pdf you will miss the foreign characters as long as you did not provide the Arial font as a resouce. See Unicode PDF export
To view the report type:
+$ jasperstarter pr csv.jrxml -f view -t csv --data-file csvExampleHeaders.csv --csv-first-row --csv-field-del "|"
To export the report to csv type:
+$ jasperstarter pr csv.jrxml -f csv -t csv --data-file csvExampleHeaders.csv --csv-first-row --csv-field-del "|" --out-field-del "|"
To export the report to xls type:
+$ jasperstarter pr csv.jrxml -f xsl -t csv --data-file csvExampleHeaders.csv --csv-first-row --csv-field-del "|"
The results are probably not what you expect. The csv data depends on the layout of the report and may be not row by row. See csv.csv. The xls export tries to mimic the print layout which is not useful if you want to post process the data in Excel.
This is an example report for exporting csv or xls with the help of metadata. Don't get confused by the fact that the report uses a csv file as datasource. The output of the export should result in a file named csvMeta.csv or csvMeta.xls depending on -f.
+To just view the report type:
+$ jasperstarter pr csvMeta.jrxml -f view -t csv --data-file csvExampleHeaders.csv --csv-first-row --csv-field-del "|"
To make the csv metadata export type:
+$ jasperstarter pr csvMeta.jrxml -f csvMeta -t csv --data-file csvExampleHeaders.csv --csv-first-row --csv-field-del "|" --out-field-del "|"
The input and output files should only differ in line ending depending on your operating system.
+$ diff -yW140 --ignore-all-space csvExampleHeaders.csv csvMeta.csv
To make the xls metadata export type:
+$ jasperstarter pr csvMeta.jrxml -f xlsMeta -t csv --data-file csvExampleHeaders.csv --csv-first-row --csv-field-del "|"
To have an idea on how to add metadata to your report just take a look on csv.jrxml and csvMeta.jrxml. They mainly differ in the added metadata, the order of the fields and a fixed string.
This is a report with a xml datasource. To view it type:
+$ jasperstarter pr CancelAck.jrxml -f view -t xml --xml-xpath /CancelResponse/CancelResult/ID --data-file CancelAck.xml
This is a report with a json datasource. To view it type:
+$ jasperstarter pr json.jrxml -f view -t json --json-query contacts.person --data-file contacts.json
This is a report with a jsonql datasource. To view it type:
+$ jasperstarter pr jsonql.jrxml -f view -t jsonql --jsonql-query contacts.person --data-file contacts.json
This is a localized report. To start with the defaults just type:
+$ jasperstarter pr noDB-i18n.jrxml -f view
To start explicit with german localisation you have three options. The first and the second option change the locale of the user interface too:
+Change the locale of the environment (Unix)
+$ LANG=de_DE.UTF-8 jasperstarter pr noDB-i18n.jrxml -f view
Provide the locale parameter:
+$ jasperstarter --locale de_DE pr noDB-i18n.jrxml -f view
Provide the build in report parameter REPORT_LOCALE. This changes only the locale inside the report but the UI remains in the default locale (your systems locale):
+$ jasperstarter pr noDB-i18n.jrxml -f view -P REPORT_LOCALE=de_DE
Same with russian localisation:
+$ jasperstarter pr noDB-i18n.jrxml -f view -P REPORT_LOCALE=ru
This report accepts parameters. If you don't provide a parameter the report can be shown but the values are empty:
+$ jasperstarter pr noDB-params.jrxml -f view
To get a list of possible parameters type:
+$ jasperstarter lpa noDB-params.jrxml
Let JasperStarter ask you for the Parameters:
+$ jasperstarter pr noDB-params.jrxml -f view -a
Provide one or more parameters on command line (Parameter names are case sensitive):
+$ jasperstarter pr noDB-params.jrxml -f view -P myString="My first Parameter" myInt=5
Provide a parameter on command line as a default but ask the user for all parameters:
+$ jasperstarter pr noDB-params.jrxml -f view -P myString="My first Parameter" -a
Provide a parameter on the command line and ask the user only for the remaining empty ones:
+$ jasperstarter pr noDB-params.jrxml -f view -P myString="My first Parameter" -a pe
The main report references two subreports. The subreports must be compiled, the main report not:
+$ jasperstarter cp header.jrxml +$ jasperstarter cp details.jrxml +$ jasperstarter pr main.jrxml -f view -t xml --xml-xpath=/ --data-file contacts.xml -r .
See http://nblock.org/2015/06/02/processing-jasper-subreports-with-jasperstarter/