public class ReportProperties extends java.lang.Object implements java.io.Serializable, NodeParser
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PAPERSIZE
Paper size is system default.
|
static int |
DEFAULT_PAPER_ORIENTATION
Paper orientation is system default.
|
static int |
LANDSCAPE
Paper orientation is landscape.
|
static int |
PAPER_10_X_11
Paper size is 10 x 11 in.
|
static int |
PAPER_10_X_14
Paper size is 10 x 14 in.
|
static int |
PAPER_11_X_17
Paper size is 11 x 17 in.
|
static int |
PAPER_15_X_11
Paper size is 15 x 11 in.
|
static int |
PAPER_9_X_11
Paper size is 9 x 11 in.
|
static int |
PAPER_A2
Paper size is A2, 420 x 594 mm.
|
static int |
PAPER_A3
Paper size is A3, 297 x 420 mm.
|
static int |
PAPER_A4
Paper size is A4, 210 x 297 mm.
|
static int |
PAPER_A4_SMALL
Paper size is A4 SMALL, 210 x 297 mm.
|
static int |
PAPER_A5
Paper size is A5, 148 x 210 mm.
|
static int |
PAPER_B4
Paper size is B4 (JIS), 257 x 364 mm.
|
static int |
PAPER_B4_ISO
Paper size is B4 (ISO), 250 x 353 mm.
|
static int |
PAPER_B5
Paper size is B5 (JIS), 182 x 257 mm.
|
static int |
PAPER_C_SHEET
Paper size is C size sheet, 431,7 x 558,7 mm.
|
static int |
PAPER_D_SHEET
Paper size is D size sheet, 558,7 x 863,4 mm .
|
static int |
PAPER_ENVELOPE_10
Paper size is Envelope #10, 4 1/8 x 9 1/2 in.
|
static int |
PAPER_ENVELOPE_11
Paper size is Envelope #11, 4 1/2 x 10 3/8 in.
|
static int |
PAPER_ENVELOPE_12
Paper size is Envelope #12, 4 3/4 x 11 in.
|
static int |
PAPER_ENVELOPE_14
Paper size is Envelope #14, 5 x 11 1/2 in.
|
static int |
PAPER_ENVELOPE_9
Paper size is Envelope #9, 3 7/8 x 8 7/8 in.
|
static int |
PAPER_ENVELOPE_B4
Paper size is Envelope B4, 250 x 353 mm.
|
static int |
PAPER_ENVELOPE_B5
Paper size is Envelope B5, 176 x 250 mm.
|
static int |
PAPER_ENVELOPE_B6
Paper size is Envelope B6, 176 x 125 mm.
|
static int |
PAPER_ENVELOPE_C3
Paper size is Envelope C3, 324 x 458 mm.
|
static int |
PAPER_ENVELOPE_C4
Paper size is Envelope C4, 229 x 324 mm.
|
static int |
PAPER_ENVELOPE_C5
Paper size is Envelope C5, 162 x 229 mm.
|
static int |
PAPER_ENVELOPE_C6
Paper size is Envelope C6, 114 x 162 mm.
|
static int |
PAPER_ENVELOPE_C65
Paper size is Envelope C65, 114 x 229 mm.
|
static int |
PAPER_ENVELOPE_DL
Paper size is Envelope DL, 110 x 220 mm.
|
static int |
PAPER_ENVELOPE_ITALY
Paper size is Envelope Italy, 110 x 230 mm.
|
static int |
PAPER_ENVELOPE_MONARCH
Paper size is Envelope Monarch, 3 7/8 x 7 1/2 in.
|
static int |
PAPER_ENVELOPE_PERSONAL
Paper size is 6 3/4 Envelope, 3 5/8 x 6 1/2 in.
|
static int |
PAPER_EXECUTIVE
Paper size is Executive, 7 1/4 x 10 1/2 in.
|
static int |
PAPER_E_SHEET
Paper size is E size sheet, 863,4 x 1117,4 mm.
|
static int |
PAPER_FANFOLD_LEGAL_GERMAN
Paper size is German Legal Fanfold, 8 1/2 x 13 in.
|
static int |
PAPER_FANFOLD_STD_GERMAN
Paper size is German Standard Fanfold, 8 1/2 x 12 in.
|
static int |
PAPER_FANFOLD_US
Paper size is US Standard Fanfold, 14 7/8 x 11 in.
|
static int |
PAPER_FOLIO
Paper size is Folio, 8 1/2 x 13 in.
|
static int |
PAPER_JAPANESE_POSTCARD
Paper size is Japanese Postcard, 100 x 148 mm.
|
static int |
PAPER_LEDGER
Paper size is Ledger, 17 x 11 in.
|
static int |
PAPER_LEGAL
Paper size is Legal, 8 1/2 x 14 in.
|
static int |
PAPER_LETTER
Paper size is LETTER, 8 1/2 x 11 in.
|
static int |
PAPER_LETTER_SMALL
Paper size is Letter Small, 8 1/2 x 11 in.
|
static int |
PAPER_MAX
The last possible paper.
|
static int |
PAPER_NOTE
Paper size is Note, 8 1/2 x 11 in.
|
static int |
PAPER_QUATRO
Paper size is Quarto, 215 x 275 mm.
|
static int |
PAPER_STATEMENT
Paper size is Statement, 5 1/2 x 8 1/2 in.
|
static int |
PAPER_TABLOID
Paper size is Tabloid, 11 x 17 in.
|
static int |
PORTRAIT
Paper orientation is portrait.
|
static int |
USERDEFINED_PAPER
User Defined Paper Size
|
static int[] |
pageSizes
The sizes of all currently supported page formats in twips.
|
Modifier and Type | Method and Description |
---|---|
static int |
findPaperFormat(int x,
int y,
boolean isLandscape)
Find the best best match for paper format.
|
java.lang.String[] |
getEnabledFormats()
Returns the valid output formats for this report.
|
int |
getHorizontal()
Returns the horizontal gap between multi-column labels.
|
int |
getLabelHeight()
Returns the height of a multi-column label.
|
java.lang.String |
getLabelName()
Returns the name of a multi-column label.
|
int |
getLabelWidth()
Returns the width of a multi-column label.
|
int |
getMarginBottom()
Returns the bottom margin of the page in twips.
|
int |
getMarginLeft()
Returns the left margin of the page in twips.
|
int |
getMarginRight()
Returns the right margin of the page in twips.
|
int |
getMarginTop()
Returns the top margin of the page in twips.
|
int |
getPaperFormat()
Returns the format of the paper as a constant.
|
int |
getPaperHeight()
Returns the height of the report page in twips.
|
int |
getPaperOrient()
Returns the orientation of the paper.
|
int |
getPaperWidth()
Returns the width of the report page in twips.
|
java.util.Locale |
getReportLocale()
Returns the default formula/resource locale defined for the current report.
|
int |
getRowBufferSize()
Returns the number of rows which will be cached in the row buffer.
|
int |
getVertical()
Returns the vertical gap between multi-column labels.
|
int |
getXMLMajorVersion()
Returns the major version of the report XML of the template underlying this report.
|
int |
getXMLMinorVersion()
Returns the minor version of the report XML of the template underlying this report.
|
boolean |
isAcrossThenDown()
Returns the printing direction of a multi-column report.
|
boolean |
isCCFormat()
Returns
true if the report comes from i-net Clear Reports file format, else false . |
boolean |
isClipboardEnabled()
Returns whether the clipboard is enabled for the Java Viewer, that is, whether it is possible to copy text from
the Viewer to the clipboard.
|
boolean |
isConvertNullValuesToDefault()
If convertNullValuesToDefault is set to true the report will convert null values from the database to a 0 (for
numeric fields) or a blank (for non-numeric fields).
|
boolean |
isDistinct()
Returns the value of the property 'distinct'.
|
boolean |
isExportEnabled()
Returns the flag ExportEnabled for this report.
|
boolean |
isFormPrint()
Returns the flag FormPrint for this report.
|
boolean |
isFormatGroupsWithMultipleColumn()
Should be group header/footer be treated as an ordinary label in a multi-column report?
|
boolean |
isFormatWithMultipleColumns()
Test if the detail section of the report should be formatted in multiple columns of variable or fixed (labels)
length.
|
boolean |
isGroupTreeVisible()
Returns the flag GroupTreeVisible for this report.
|
boolean |
isHidePageFooterInsideReportHeader()
Returns the value of the flag "Hide PageFooter inside ReportHeader".
|
boolean |
isIgnoreFiltering()
Deprecated.
As of i-net Clear Reports 15, instead remove the record selection from the report with
Report.setRecordSelectionFormula(FormulaField) |
boolean |
isIgnoreSorting()
Deprecated.
As of i-net Clear Reports 15, instead remove sort fields from the report with
Fields.removeSortField(int) |
boolean |
isPrintingEnabled()
Returns if printing is enabled for this report.
|
boolean |
isSaveDatasource()
Returns
true if the used datasource configurations should save in the report file. |
boolean |
isShowSuppressedGroupTreeNodes()
Returns the flag that controls the group tree nodes of suppressed group areas will be shown.
|
boolean |
isSuppressIfNoRows()
If suppressIfNoRows is set to true the (sub)report will only be printed if rows are fetched from the database.
|
boolean |
isValidForRowBuffer()
Returns whether or not this report is suited for buffering of rows.
|
void |
setAcrossThenDown(boolean acrossThenDown)
Sets the printing direction of a multi-column report.
|
void |
setClipboardEnabled(boolean value)
Enable the clipboard of the new Java Viewer.
|
void |
setConvertNullValuesToDefault(boolean convertNullValuesToDefault)
If convertNullValuesToDefault is set to true the report will convert null values from the database to a 0 (for
numeric fields) or a blank (for non-numeric fields).
|
void |
setDistinct(boolean distinct)
Set the value of the property 'distinct'.
|
void |
setEnabledFormats(java.lang.String[] formats)
Sets a list of valid formats, that is, which formats it is possible to render.
|
void |
setExportEnabled(boolean value)
Enable or disable the export button and the export API of the new Java Viewer.
|
void |
setFormPrint(boolean value)
Determines whether this report is a form - forms are never automatically resized if the designed margins are
larger than the printable area, rather, the area which is not printable is truncated instead.
|
void |
setFormatGroupsWithMultipleColumn(boolean formatGroupsWithMultipleColumn)
Should be group header/footer be treated as an ordinary label in a multi-column report?
|
void |
setFormatWithMultipleColumns(boolean val)
Sets if the detail section of the report should be formatted in multiple columns of variable or fixed (labels)
length.
|
void |
setGroupTreeVisible(boolean value)
Enable or disable the GroupTree of the Java Viewer.
|
void |
setHidePageFooterInsideReportHeader(boolean hidePageFooterInsideReportHeader)
Set value of the flag "Hide PageFooter inside ReportHeader".
|
void |
setHorizontal(int horizontal)
Sets the horizontal gap between multi-column labels.
|
void |
setIgnoreFiltering(boolean ignoreFiltering)
Deprecated.
As of i-net Clear Reports 15, instead remove the record selection from the report with
Report.setRecordSelectionFormula(FormulaField) |
void |
setIgnoreSorting(boolean ignoreSorting)
Deprecated.
As of i-net Clear Reports 15, instead remove sort fields from the report with
Fields.removeSortField(int) |
void |
setLabelHeight(int labelHeight)
Sets the height of a multi-column label.
|
void |
setLabelName(java.lang.String s)
Sets the label name, such as "User Defined Label" or "Address"
|
void |
setLabelWidth(int labelWidth)
Sets the width of a multi-column label.
|
void |
setMarginBottom(int margin)
Sets the bottom margin of the page in twips.
|
void |
setMarginLeft(int margin)
Sets the left margin of the page in twips.
|
void |
setMarginRight(int margin)
Sets the right margin of the page in twips.
|
void |
setMarginTop(int margin)
Sets the top margin of the page in twips.
|
void |
setPaperHeight(int height)
Sets the height of the report page in twips.
|
void |
setPaperOrient(int paperOrientation,
int paperSize)
Sets the orientation and size of the report for printing.
|
void |
setPaperSize(int paperOrient,
int paperFormat)
Sets the paper width and paper height depending on the supplied paper format and orientation.
|
void |
setPaperWidth(int width)
Sets the width of the report page in twips.
|
void |
setPrintingEnabled(boolean value)
Enable or disable the print button and the print API of the Java Viewer.
|
void |
setReportLocale(java.util.Locale reportLocale)
Sets the formula/resource default locale for the current report.
|
void |
setRowBufferSize(int rowCount)
Sets the row count which will be cached during the rendering process.
|
void |
setSaveDatasource(boolean save)
Set the flag if a copy of the datasource configuration should be saved in the report file.
|
void |
setShowSuppressedGroupTreeNodes(boolean showSuppressedGroupTreeNodes)
Sets the flag that controls the group tree nodes of suppressed group areas will be shown.
|
void |
setSuppressIfNoRows(boolean suppressIfNoRows)
If suppressIfNoRows is set to true the (sub)report will only be printed if rows are fetched from the database.
|
void |
setVertical(int vertical)
Sets the vertical gap between multi-column labels.
|
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
public static final int DEFAULT_PAPER_ORIENTATION
public static final int PORTRAIT
public static final int LANDSCAPE
public static final int DEFAULT_PAPERSIZE
public static final int PAPER_LETTER
public static final int PAPER_LETTER_SMALL
public static final int PAPER_TABLOID
public static final int PAPER_LEDGER
public static final int PAPER_LEGAL
public static final int PAPER_STATEMENT
public static final int PAPER_EXECUTIVE
public static final int PAPER_A3
public static final int PAPER_A4
public static final int PAPER_A4_SMALL
public static final int PAPER_A5
public static final int PAPER_B4
public static final int PAPER_B5
public static final int PAPER_FOLIO
public static final int PAPER_QUATRO
public static final int PAPER_10_X_14
public static final int PAPER_11_X_17
public static final int PAPER_NOTE
public static final int PAPER_ENVELOPE_9
public static final int PAPER_ENVELOPE_10
public static final int PAPER_ENVELOPE_11
public static final int PAPER_ENVELOPE_12
public static final int PAPER_ENVELOPE_14
public static final int PAPER_C_SHEET
public static final int PAPER_D_SHEET
public static final int PAPER_E_SHEET
public static final int PAPER_ENVELOPE_DL
public static final int PAPER_ENVELOPE_C5
public static final int PAPER_ENVELOPE_C3
public static final int PAPER_ENVELOPE_C4
public static final int PAPER_ENVELOPE_C6
public static final int PAPER_ENVELOPE_C65
public static final int PAPER_ENVELOPE_B4
public static final int PAPER_ENVELOPE_B5
public static final int PAPER_ENVELOPE_B6
public static final int PAPER_ENVELOPE_ITALY
public static final int PAPER_ENVELOPE_MONARCH
public static final int PAPER_ENVELOPE_PERSONAL
public static final int PAPER_FANFOLD_US
public static final int PAPER_FANFOLD_STD_GERMAN
public static final int PAPER_FANFOLD_LEGAL_GERMAN
public static final int PAPER_B4_ISO
public static final int PAPER_JAPANESE_POSTCARD
public static final int PAPER_9_X_11
public static final int PAPER_10_X_11
public static final int PAPER_15_X_11
public static final int PAPER_MAX
DEFAULT_PAPERSIZE
and PAPER_MAX
are valid.public static final int[] pageSizes
public static final int PAPER_A2
public static final int USERDEFINED_PAPER
public boolean isSuppressIfNoRows()
public void setSuppressIfNoRows(boolean suppressIfNoRows)
suppressIfNoRows
- The suppressIfNoRows to set.public void setDistinct(boolean distinct)
true
then duplicated records will not be fetched.distinct
- true
if distinct records should be fetched only, else false.public boolean isDistinct()
true
duplicated records will not be fetched.true
if distinct records should be fetched only, else false.public boolean isConvertNullValuesToDefault()
public void setConvertNullValuesToDefault(boolean convertNullValuesToDefault)
convertNullValuesToDefault
- The convertNullValuesToDefault to set.public boolean isShowSuppressedGroupTreeNodes()
setShowSuppressedGroupTreeNodes(boolean)
public void setShowSuppressedGroupTreeNodes(boolean showSuppressedGroupTreeNodes)
showSuppressedGroupTreeNodes
- the flagisShowSuppressedGroupTreeNodes()
public void setRowBufferSize(int rowCount)
rowCount
- The amount of rows to be cached during the rendering process. 30000 is usually a good value.isValidForRowBuffer()
,
getRowBufferSize()
public int getRowBufferSize()
isValidForRowBuffer()
,
setRowBufferSize(int)
public boolean isValidForRowBuffer()
setRowBufferSize(int)
public void setPaperOrient(int paperOrientation, int paperSize) throws ReportException
paperOrientation
- The orientation of the paperpaperSize
- The size of the paper.java.lang.IllegalArgumentException
- if paperSize is no valid Paperformat.ReportException
- Changing the papersize failed due to an invalid report state.DEFAULT_PAPER_ORIENTATION
,
PORTRAIT
,
LANDSCAPE
,
DEFAULT_PAPERSIZE
,
PAPER_LETTER
,
PAPER_LETTER_SMALL
,
PAPER_TABLOID
,
PAPER_LEDGER
,
PAPER_LEGAL
,
PAPER_STATEMENT
,
PAPER_EXECUTIVE
,
PAPER_A3
,
PAPER_A4
,
PAPER_A4_SMALL
,
PAPER_A5
,
PAPER_B4
,
PAPER_B5
,
PAPER_FOLIO
,
PAPER_QUATRO
,
PAPER_10_X_14
,
PAPER_11_X_17
,
PAPER_NOTE
,
PAPER_ENVELOPE_9
,
PAPER_ENVELOPE_10
,
PAPER_ENVELOPE_11
,
PAPER_ENVELOPE_12
,
PAPER_ENVELOPE_14
,
PAPER_C_SHEET
,
PAPER_D_SHEET
,
PAPER_E_SHEET
,
PAPER_ENVELOPE_DL
,
PAPER_ENVELOPE_C5
,
PAPER_ENVELOPE_C3
,
PAPER_ENVELOPE_C4
,
PAPER_ENVELOPE_C6
,
PAPER_ENVELOPE_C65
,
PAPER_ENVELOPE_B4
,
PAPER_ENVELOPE_B5
,
PAPER_ENVELOPE_B6
,
PAPER_ENVELOPE_ITALY
,
PAPER_ENVELOPE_MONARCH
,
PAPER_ENVELOPE_PERSONAL
,
PAPER_FANFOLD_US
,
PAPER_FANFOLD_STD_GERMAN
,
PAPER_FANFOLD_LEGAL_GERMAN
,
PAPER_B4_ISO
,
PAPER_JAPANESE_POSTCARD
,
PAPER_9_X_11
,
PAPER_10_X_11
,
PAPER_MAX
public int getPaperOrient()
PORTRAIT
, LANDSCAPE
or
DEFAULT_PAPER_ORIENTATION
PORTRAIT
,
LANDSCAPE
public int getPaperHeight()
public void setPaperHeight(int height)
height
- the new paper heightjava.lang.IllegalArgumentException
- if height is negative or if margin top and margin bottom are greater than
height.public int getPaperWidth()
public void setPaperWidth(int width) throws ReportException
width
- the new paper widthjava.lang.IllegalArgumentException
- if width is negative or if margin left and margin right are greater than width.ReportException
- The currently used Engine isn't valid anymore.public int getPaperFormat()
public static int findPaperFormat(int x, int y, boolean isLandscape)
x
- width in Twipsy
- height in TwipsisLandscape
- true for landscape page orientationjava.lang.IllegalArgumentException
- if x or y is less than 1public int getLabelWidth()
public void setLabelWidth(int labelWidth)
labelWidth
- new label widthjava.lang.IllegalArgumentException
- if labelWidth is negativepublic int getLabelHeight()
public void setLabelHeight(int labelHeight)
labelHeight
- new heightjava.lang.IllegalArgumentException
- if labelHeight is negativepublic int getHorizontal()
public void setHorizontal(int horizontal)
horizontal
- new gapjava.lang.IllegalArgumentException
- if horizontal is negativepublic int getVertical()
public void setVertical(int vertical)
vertical
- new gapjava.lang.IllegalArgumentException
- if vertical is negativepublic void setLabelName(java.lang.String s)
s
- label name to set.getLabelName()
public java.lang.String getLabelName()
setLabelName(String)
.public boolean isAcrossThenDown()
true
if printing goes first across the page (left-right-top-down), false
otherwise.public void setAcrossThenDown(boolean acrossThenDown)
acrossThenDown
- true if printing goes first across the page (left-right-top-down)public boolean isFormatGroupsWithMultipleColumn()
true
if the group's header/footer are lined up with the other fields in a multi-column
report, false
otherwise.public void setFormatGroupsWithMultipleColumn(boolean formatGroupsWithMultipleColumn)
formatGroupsWithMultipleColumn
- true if the group's header/footer should be lined up with the other fields
in a multi-column reportpublic void setMarginTop(int margin)
margin
- the new top marginjava.lang.IllegalArgumentException
- if margin is negative or if top and bottom margin are greater than page heightpublic int getMarginTop()
public void setMarginBottom(int margin)
margin
- the new bottom marginjava.lang.IllegalArgumentException
- if margin is negative or if top and bottom margin are greater than page heightpublic int getMarginBottom()
public void setMarginLeft(int margin) throws ReportException
margin
- the new left marginjava.lang.IllegalArgumentException
- if margin is negativeReportException
- if left and right margin are greater than page widthpublic int getMarginLeft()
public void setMarginRight(int margin) throws ReportException
margin
- the new right marginReportException
- if left and right margin are greater than page widthjava.lang.IllegalArgumentException
- if margin is negativepublic int getMarginRight()
public boolean isFormatWithMultipleColumns()
true
if the detail section should be formatted with multiple columns, false
otherwise.public void setFormatWithMultipleColumns(boolean val)
val
- true
if the detail section should be formatted with multiple columns, false
otherwise.public void setPaperSize(int paperOrient, int paperFormat) throws ReportException
PAPER_A4
then the paper width smaller side of the paper for
PORTRAIT
orientation and the paper height the wider side or vise versa for LANDSCAPE
. If the
paper format is USERDEFINED_PAPER
then the width and height are not changed as they have to be set
manually. In case the paper format is DEFAULT_PAPERSIZE
the width and height will be set using the
default paper size defined in the i-net Clear Reports configuration regarding the supplied paper orientation. If
an unknown paper format is supplied a warning will be written to the log and paper format PAPER_LETTER
will be set.paperOrient
- The paper orientation to set for this report.paperFormat
- The paper format to set for this report.ReportException
- If an invalid page width shall be set.public boolean isHidePageFooterInsideReportHeader()
true
if the page footer will be hidden inside the report header, false
otherwise.setHidePageFooterInsideReportHeader(boolean)
public void setHidePageFooterInsideReportHeader(boolean hidePageFooterInsideReportHeader)
hidePageFooterInsideReportHeader
- true
if the page footer will be hidden inside the report
header, false
otherwise.isHidePageFooterInsideReportHeader()
public void setFormPrint(boolean value)
value
- true
if form print will be enabled for this report, false
otherwise.public boolean isFormPrint()
true
if form print is enabled for this report, false
otherwise.setFormPrint(boolean)
public void setPrintingEnabled(boolean value)
value
- true
if printing will be enabled, false
otherwise.isPrintingEnabled()
public boolean isPrintingEnabled()
true
if printing is enabled for this report, false
otherwise.setPrintingEnabled(boolean)
public void setEnabledFormats(java.lang.String[] formats)
formats
- export formats which are valid for this report, null
if all formats are validEngine.Engine(String)
,
getEnabledFormats()
public java.lang.String[] getEnabledFormats()
null
if all formats are validsetEnabledFormats(String[])
public void setClipboardEnabled(boolean value)
value
- true
if the clipboard will be enabled for this report, false
otherwise.isClipboardEnabled()
public boolean isClipboardEnabled()
true
if the clipboard is enabled for this report, false
otherwise.setClipboardEnabled(boolean)
public void setExportEnabled(boolean value)
value
- true
if the export will be enabled for this report, false
otherwise.isExportEnabled()
public boolean isExportEnabled()
true
if the export is enabled for this report, false
otherwise.setExportEnabled(boolean)
public void setGroupTreeVisible(boolean value)
value
- true
if the group tree will be visible for this report, false
otherwise.isGroupTreeVisible()
public boolean isGroupTreeVisible()
true
if the group tree is visible for this report, false
otherwise.setGroupTreeVisible(boolean)
@Deprecated public boolean isIgnoreSorting()
Fields.removeSortField(int)
true
if sorting is not performed on engine, false
otherwise.setIgnoreSorting(boolean)
@Deprecated public void setIgnoreSorting(boolean ignoreSorting)
Fields.removeSortField(int)
ignoreSorting
- the flag, default false.isIgnoreSorting()
,
setIgnoreFiltering(boolean)
@Deprecated public boolean isIgnoreFiltering()
Report.setRecordSelectionFormula(FormulaField)
true
if data filtering is not performed on engine, false
otherwise.setIgnoreFiltering(boolean)
@Deprecated public void setIgnoreFiltering(boolean ignoreFiltering)
Report.setRecordSelectionFormula(FormulaField)
ignoreFiltering
- true
if data filtering on engine should be deactivated, false
otherwise.isIgnoreFiltering()
,
setIgnoreSorting(boolean)
public void setReportLocale(java.util.Locale reportLocale)
Engine.setLocale(Locale)
or Engine.setClientLocale(Locale)
will override the report
locale, because the report locale only replaces the default locale.reportLocale
- The new default locale for the current report. If null
, the locale of the Java
Virtual Machine will be used as default locale.getReportLocale()
,
Engine.setLocale(Locale)
,
Engine.setClientLocale(Locale)
public java.util.Locale getReportLocale()
null
.Engine.setLocale(Locale)
or Engine.setClientLocale(Locale)
. It only indicates, which default will
be used.null
, if this property is not set.setReportLocale(Locale)
public boolean isCCFormat()
true
if the report comes from i-net Clear Reports file format, else false
.public int getXMLMajorVersion()
public int getXMLMinorVersion()
public void setSaveDatasource(boolean save)
save
- true, save the datasource configuration with next savepublic boolean isSaveDatasource()
true
if the used datasource configurations should save in the report file. This is helpful
if the report is used on different computers in a intranet.Copyright © 1999-2020 by i-net software GmbH