This dialog allows you to set setting for publishing the report result to e-mail.
Mail To
Lists the e-mail addresses you send mail to.
New
Creates a new e-mail.
Edit
Edits a specified e-mail in the Mail To list.
Delete
Deletes a specified e-mail in the Mail To list.
From
Specifies the address of the e-mail sender. By default, it is the mail address
which you have specified on the server administration page (port 8889).
To
Specifies the address you want to send the e-mail to.
Cc
Specifies the address you want to copy to.
Bcc
Specifies the address you want to secretly copy to.
Subject
Specifies the subject of the e-mail.
Comments
Type in the contents of the mail or comments to the contents.
java archive compress
Specifies whether to compress the attached file. If it is checked, type a name
in the text box for the compressed file.
E-mail sending format
Publishes the report to the default format set in the E-mail tab of
the Configuration page (the Default E-mail format option).
HTML as attachment
Publishes the report to HTML files and is sent as an attachment.
No Margin
Removes the margins you set when designing reports.
Single File
Publishes the report result to a single HTML file.
Relative font size
Publishes the report result using a relative font size. The font size can be
adjusted according to the font size settings in the web browser.
Drilldown
Publishes the report result to an HTML file with the Drilldown feature enabled.
The Drilldown feature enables you to inspect certain items for further
detailed data.
Use Table
Constructs the HTML format result file using table tags.
Applet Chart
Uses a Java applet to display charts in the HTML format result file.
If not checked, charts will be displayed as images. Select the image type from
the followed dropdown list (Default, Gif, and JPEG).
Resolution
Specifies the resolution of the HTML result to zoom in/out, in DPI. The default value is -1, which is the server side resolution
( for example, 100 dpi on Unix or 96 on Windows). You can set higher/lower value to zoom in/out.
Web Browser
Specify the web browser with which you want to view the HTML format result file,
Microsoft Internet Explorer or Netscape Navigator.
Text Overflow
Specifies whether the overflow is visible or hidden.
PDF as attachment
Publishes the report to a PDF file and is sent as an attachment.
No Margin
Removes the margins you set when designing reports.
Compress Image
Compresses the images in the report by the percentage you specify in the
box.
Simulated Print Mode
When you publish to PDF, JReport will take the result of the whole report as
graphic to traverse the report using the method of simulating printer and generating
a PDF file.
Standard Mode
The result of using Standard Mode is the same as that of using Simulated
Printing Mode. However, when you publish to PDF using Standard Mode, JReport
will take the result of the whole report as a data set to traverse the report by
sequence and generate a PDF file.
TOC
Publishes the report result to a PDF file with a table of contents.
Drilldown
Publishes the report result to a PDF file with the Drilldown feature enabled.
The Drilldown feature enables you to inspect certain items for further
detailed data.
Encrypt
Configures the encryption for the PDF file.
Text as attachment
Publishes the report to a text and is sent as an attachment.
Standard Data Format
Publishes the report result to standard text file, using the delimiter you
specify to separate the fields.
Compress
Publishes the report result to a text file in a compressed size. If checked,
there will be no clearance between rows.
Horizontal Density
Type a value you wish in the box for each unit of horizontal density
between columns. The resulting density is a direct ratio of the value you
specify. That is, the greater the value, the smaller the width
between columns. The default value is -1.
Vertical Density
Type a value you wish in the box for each unit of vertical density between
columns. The resulting density is a direct ratio of the value you specify.
That is, the greater the value, the smaller the height between
columns. The default value is -1.
End-of-line in Windows Convention
Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If checked, two characters are used at the end of the line: <cr><lf>. Otherwise, only the Unix EOL character: <lf> is used.
Result file as attachment
Publishes the report to a .rst file and is sent as an attachment.
Excel as attachment
Publishes the report to an Excel file and is sent as an attachment.
wordWrap
Select an option for the word-wrap settings.
Keep Existing - Keeps all the settings of each object's WordWrap property
specified in the report.
Disable
All - Disables the WordWrap property for all objects, that is the Wordwrap
property is made false for all objects.
Enable
All - Enables the WordWrap property for all objects,that is, the Wordwrap
property is made true for all objects.
Excel2000
If checked, and if you set the ExportToXLS property of a page section (Report
Header Section, Page Header Section, Detail Section, etc) to False, then all
the objects in this section will not be exported, regardless of their
ExportToXLS properties.
This box is unchecked by default (recommended).
Include Shapes in Export
Specifies whether to include shapes in the exported xls file, including shapes, the shape objects, such as line, oval, box, and so on.
Match Layout
Specifies whether the exported Excel layout should match the original report
layout. Normally when a report is exported to Excel, some of the report elements
could probably be severely re-positioned or misplaced, which depends on your
actual report design. You can check this option to make sure the exported excel
has the same layout as the original file.
Notes for Match Layout
PS as attachment
Publishes the report to a PS file and is sent as an attachment.
No Margin
Removes the margins you set when designing reports.
Rich Text Format as attachment
Publishes the report to a Rich Text Format file and is sent as an
attachment.
No Margin
Removes the margins you set when designing reports.
XML as attachment
Publishes the report to an XML file and is sent as an attachment.
Only Data
If checked, only data of the report can be published to an XML file.
Schema File Name
Specifies an existing schema file name with its full path for generating the XML file.
OK
Retains the settings and adds the e-mail address into the Mail To list.
Cancel
Cancels operations.
Next
Retains the settings and continues to the next step.
Submit
Publishes the report result using the settings you specify.
Refresh
Refreshes the pages of the schedule wizard and reschedules the task from the beginning.
Cancel
Cancels the operations and closes the schedule wizard.
When you publish a report to e-mail periodically, if you send the report result as an attachment with a fixed name, only the report result generated the last time can be kept in the e-mail. In order to send the result generated every time, a dynamic result file name must be used. JReport Enterprise Server provides some defined strings to form the dynamic file name.
Note: JReport Server generates all supported formats for report results and sends them as attachments to the receiver, but the Server cannot save the report results to the local disk. When defining the dynamic name for the generated files, you must provide a file name that is supported by the operating system, characters such as C:\ cannot be used.
|
By |
Strings Defined | Description (Sample) |
|---|---|---|
| Time | Forms the file name using the date/time (e.g. 2002-12-25, 00:00:00 AM ) when the result is generated. | |
| yyyy | Returns the year, e.g. 2002. | |
| yy | Returns the year in short form, e.g. 02. | |
| MM | Returns the month of the year, shows in number format, e.g. 12. | |
| dd | Returns the day of the month, e.g. 25. | |
| hh | Returns the hour of the day, e.g. 00. | |
| mm | Returns the minute of the hour, e.g. 00. | |
| ss | Returns the second of the minute, e.g. 00. | |
| m | Returns the AM/PM marker, e.g. AM. | |
| User | Forms the file name using user name. | |
| name | Returns the name of user who is currently logged on to the computer, e.g. Mike. | |
| z | Returns the ordinal number, e.g. 001.pdf, 002.pdf,
003.pdf. |
|
| System | Forms the file name using the system variables. | |
| language | Returns local computer configuration language, e.g. en. | |
| zone | Returns system configuration time zone, e.g. GMT-05.00. | |
| encoding | Returns file encoding, e.g. Cp1252. | |
| region | Returns system configuration region, e.g. US. | |
| JReport | ||
| pathcat | Returns the catalog file name, with its path and extension, e.g. path.Tutorial.cat. | |
| CAT | Returns the catalog file name, with its extension, e.g. Tutorial.cat. | |
| cat | Returns the catalog file name, without path and extension, e.g. Tutorial. | |
| pathcls | Returns the report file name, with its full path (catalog path and report path) and extension, e.g. path1.path2.customerlist.cls. | |
| CLS | Returns the report file name, with its extension, e.g. customerlist.cls. | |
| cls | Returns the report file name, without extension and path, e.g. customerlist. |
Naming Rules
Here we provide some examples of the dynamic result file system:
| The Sample Name | The Sample Result File Name |
|---|---|
| myTXTResult_[yyyy].[MM].[dd][hh]:[mm]:[ss].txt | myTXTResult_2003.10.3005.14.45.txt |
| myPDFResult_CT=[zone][language][region]my$$[1].pdf | myPDFResult_CT=GMT-05.00enUSmy$[1].pdf |
| myRSTResult_[pathcat];[CLS].rst | myPDFResult_hsqlDemo.Tutorial.cat;customerlist.cls.rst |
| myRSTResult_[zzz].rst | myRSTResult_001.rst, myRSTResult_002.rst, ... |
| myRSTResult[cat]_[cls]_[zz].html | myRSTResultTutorial_customerlist_01.html, myRSTResultTutorial_customerlist_02.html,... |
| myHTMLResult_[yy]$[YYYY][MM]M[dd]D$name$;cls=[cls].html | myHTMLResult_02[YYYY]06M21D$name$;cls=customerlist.html |