Method Summary |
|
public synchronized void | addFont(JRReportFont reportFont) Adds a new font to the report fonts. |
public synchronized void | addFont(JRReportFont reportFont, boolean isIgnoreDuplicate) Adds a new font to the report fonts. |
public synchronized void | addPage(JRPrintPage page) Adds a new page to the document. |
public synchronized void | addPage(int index, JRPrintPage page) Adds a new page to the document, placing it at the specified index. |
public synchronized void | addStyle(JRStyle style) Adds a new style to the report styles. |
public synchronized void | addStyle(JRStyle style, boolean isIgnoreDuplicate) Adds a new style to the report styles. |
protected void | collectAnchors(Collection elements, int pageIndex, int offsetX, int offsetY) |
public synchronized Map | getAnchorIndexes() |
public JRReportFont | getDefaultFont() Returns the default report font. |
public JRDefaultFontProvider | getDefaultFontProvider() When we want to virtualize pages, we want a font provider that
is not the print object itself. |
public JRStyle | getDefaultStyle() Returns the default report style. |
public JRDefaultStyleProvider | getDefaultStyleProvider() When we want to virtualize pages, we want a style provider that
is not the print object itself. |
public JRReportFont[] | getFonts() Gets an array of report fonts. |
public List | getFontsList() Gets a list of report fonts. |
public Map | getFontsMap() Gets a map of report fonts. |
public String | getFormatFactoryClass() Returns the name of the class implementing the
net.sf.jasperreports.engine.util.FormatFactory FormatFactory interface to use with this document. |
public String | getLocaleCode() Returns the code of the default java.util.Locale to be used for the
elements of this print object.
When filling a report, the value of the
JRParameter.REPORT_LOCALE REPORT_LOCALE parameter
(or the default locale if the parameter has no explicit value)
is saved using this attribute. |
public String | getName() |
public byte | getOrientation() Returns the page orientation. |
public int | getPageHeight() |
public int | getPageWidth() |
public List | getPages() Returns a list of all pages in the filled report. |
public JRPropertiesMap | getPropertiesMap() |
public String | getProperty(String propName) |
public String[] | getPropertyNames() |
public JRStyle[] | getStyles() Gets an array of report styles. |
public List | getStylesList() Gets a list of report styles. |
public Map | getStylesMap() Gets a map of report styles. |
public String | getTimeZoneId() Returns the
java.util.TimeZone.getID ID of the default java.util.TimeZone
to be used for the elements of this print object.
When filling a report, the value of the
JRParameter.REPORT_TIME_ZONE REPORT_TIME_ZONE parameter
(or the default time zine if the parameter has no explicit value)
is saved using this attribute. |
public synchronized JRReportFont | removeFont(String fontName) |
public synchronized JRReportFont | removeFont(JRReportFont reportFont) |
public synchronized JRPrintPage | removePage(int index) Removes a page from the document. |
public void | removeProperty(String propName) |
public synchronized JRStyle | removeStyle(String styleName) |
public synchronized JRStyle | removeStyle(JRStyle style) |
public void | setDefaultFont(JRReportFont font) Sets the default report font. |
public synchronized void | setDefaultStyle(JRStyle style) Sets the default report style. |
public void | setFormatFactoryClass(String formatFactoryClass) Sets the name of the class implementing the
net.sf.jasperreports.engine.util.FormatFactory FormatFactory interface to use with this document. |
public void | setLocaleCode(String localeCode) Sets the the code of the default java.util.Locale to be used for this object. |
public void | setName(String name) Sets the name of the document. |
public void | setOrientation(byte orientation) Sets the page orientation. |
public void | setPageHeight(int pageHeight) Sets the page height. |
public void | setPageWidth(int pageWidth) Sets the page width. |
public void | setProperty(String propName, String value) |
public void | setTimeZoneId(String timeZoneId) Sets the the
java.util.TimeZone.getID ID of the default java.util.TimeZone
to be used for this object. |