|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.API
jet.api.Designer
public class Designer
Designer class provides a series of editing methods for users. By building a Designer instance in Java program, users can edit report by API methods.
| Field Summary | |
|---|---|
static int |
ARC
Shape class types. |
static int |
AREA_ARRAY_2D
The chart type values. |
static int |
AREA_ARRAY_3D
The chart type values. |
static int |
AREA_PERCENT_2D
The chart type values. |
static int |
AREA_PERCENT_3D
The chart type values. |
static int |
AREA_STACK_2D
The chart type values. |
static int |
AREA_STACK_3D
The chart type values. |
static int |
AREACHART
The chart type values. |
static int |
BANDEDOBJECT
JReport BandedObject type. |
static int |
BANDEDOBJECT_FOOTER
Section class types. |
static int |
BANDEDOBJECT_HEADER
Section class types. |
static int |
BANDEDOBJECT_PAGEFOOTER
Section class types. |
static int |
BANDEDOBJECT_PAGEHEADER
Section class types. |
static int |
BAR_ARRAY_3D
The chart type values. |
static int |
BAR_PERCENT_2D
The chart type values. |
static int |
BAR_PERCENT_3D
The chart type values. |
static int |
BAR_PERCENT_AREA_STACK_2D
The chart type values. |
static int |
BAR_PERCENT_LINE_ARRAY_2D
The chart type values. |
static int |
BAR_PERCENT_LINE_STACK_2D
The chart type values. |
static int |
BAR_SIDEBYSIDE_2D
The chart type values. |
static int |
BAR_SIDEBYSIDE_3D
The chart type values. |
static int |
BAR_SIDEBYSIDE_AREA_STACK_2D
The chart type values. |
static int |
BAR_SIDEBYSIDE_LINE_ARRAY_2D
The chart type values. |
static int |
BAR_SIDEBYSIDE_LINE_STACK_2D
The chart type values. |
static int |
BAR_STACK_2D
The chart type values. |
static int |
BAR_STACK_3D
The chart type values. |
static int |
BAR_STACK_AREA_STACK_2D
The chart type values. |
static int |
BAR_STACK_LINE_ARRAY_2D
The chart type values. |
static int |
BAR_STACK_LINE_STACK_2D
The chart type values. |
static int |
BARCHART
The chart type values. |
static int |
BARCODEFIELD
JReport object type. |
static int |
BENCH_ARRAY_3D
The chart type values. |
static int |
BENCH_PERCENT_2D
The chart type values. |
static int |
BENCH_PERCENT_3D
The chart type values. |
static int |
BENCH_SIDEBYSIDE_2D
The chart type values. |
static int |
BENCH_SIDEBYSIDE_3D
The chart type values. |
static int |
BENCH_STACK_2D
The chart type values. |
static int |
BENCH_STACK_3D
The chart type values. |
static int |
BENCHARRAYCHART
The chart type values. |
static int |
BENCHCHART
The chart type values. |
static int |
BOX
Shape class types. |
static int |
BUBBLE_2D
The chart type values. |
static int |
CENTERBOTTOM
The alignment type values. |
static int |
CENTERCENTER
The alignment type values. |
static int |
CENTERTOP
The alignment type values. |
static int |
CHART2DCOORDINATEPAPER
Combinatorial Fields. |
static int |
CHARTCOORDINATEPAPER
Combinatorial Fields. |
static int |
CHARTLABEL
Combinatorial Fields. |
static int |
CHARTLEGEND
Combinatorial Fields. |
static int |
CHARTPLATFORM
Combinatorial Fields. |
static int |
CODABAR
The barcode type values. |
static int |
CODE_128
The barcode type values. |
static int |
CODE_39
The barcode type values. |
static int |
COLUMN
Container class types. |
static int |
COMPUTEDCOLUMN
Field class types. |
static int |
CROSSTAB
Combinatorial Fields. |
static int |
CTAGGFIELD
Combinatorial Fields. |
static int |
CTAGGINFO
Combinatorial Fields. |
static int |
CTDBFIELD
Combinatorial Fields. |
static int |
CTHDDBFIELD
Combinatorial Fields. |
static int |
CTHDTEXTFIELD
Combinatorial Fields. |
static int |
DATAOBJECT
Container class types. |
static int |
DATASET
DataSet class types. |
static int |
DATASET_TYPE_HDS
The dataset type constant. |
static int |
DATASET_TYPE_ONDEMAND
The dataset type constant. |
static int |
DATASET_TYPE_QUERY
The dataset type constant. |
static int |
DBFIELD
Field class types. |
static int |
DETAIL
Section class types. |
static int |
EAN_13
The barcode type values. |
static int |
EAN_8
The barcode type values. |
static int |
EFFECT_2D
|
static int |
EFFECT_3D
|
static int |
EFFECT_MASK
|
static int |
FETCHDATE
Special Fields |
static int |
FETCHTIME
Special Fields |
static int |
FORMULA
Field class types. |
static int |
GAUGE_BALLS_2D
The chart type values. |
static int |
GAUGE_BARS_2D
The chart type values. |
static int |
GAUGE_DIALS_2D
The chart type values. |
static int |
GROUP
Container class types. |
static int |
GROUPFOOTER
Section class types. |
static int |
GROUPHEADER
Section class types. |
static int |
GROUPNAME
Special Fields |
static int |
GROUPNUMBER
Special Fields |
static int |
GROUPNUMBERS
Special Fields |
static int |
IMAGE
Field class types. |
static int |
JBROWSER
JReport UDO type |
static int |
JHYPERLINK
JReport UDO type |
static int |
JUSTIFYBOTTOM
The alignment type values. |
static int |
JUSTIFYCENTER
The alignment type values. |
static int |
JUSTIFYTOP
The alignment type values. |
static int |
LABEL
Field class types. |
static int |
LEFT
The moving direction value. |
static int |
LEFT_UNDERSIDE_POINT
The resize direction value. |
static int |
LEFT_UPSIDE_POINT
The resize direction value. |
static int |
LEFTBOTTOM
The alignment type values. |
static int |
LEFTCENTER
The alignment type values. |
static int |
LEFTTOP
The alignment type values. |
static int |
LINE
Shape class types. |
static int |
LINE_ARRAY_2D
The chart type values. |
static int |
LINE_ARRAY_3D
The chart type values. |
static int |
LINE_ARRAY_LINE_ARRAY_2D
The chart type values. |
static int |
LINE_PERCENT_2D
The chart type values. |
static int |
LINE_STACK_2D
The chart type values. |
static int |
LINECHART
The chart type values. |
static int |
MEDIAFIELD
JReport object type. |
static int |
MODIFIEDDATE
Special Fields |
static int |
MODIFIEDTIME
Special Fields |
static int |
MULTI_VALUE_BOX
Container class types. |
static int |
NEWSTYLETABLE
Table class types. |
static int |
OVAL
Shape class types. |
static int |
PAGE
Container class types. |
static int |
PAGEBREAK
JReport object type. |
static int |
PAGEEND
JReport object type. |
static int |
PAGEFOOTER
Section class types. |
static int |
PAGEHEADER
Section class types. |
static int |
PAGENOFM
Special Fields. |
static int |
PAGENUMBER
Special Fields |
static int |
PAGENUMBERS
Special Fields |
static int |
PAGESTART
JReport object type. |
static int |
PARAGRAPH
Container class types. |
static int |
PARALLELDETAIL
Container class types. |
static int |
PARAMETER
Field class types. |
static int |
PIE_SIDEBYSIDE_2D
The chart type values. |
static int |
PIE_SIDEBYSIDE_3D
The chart type values. |
static int |
PIECHART
The chart type values. |
static int |
PRINTDATE
Special Fields |
static int |
PRINTTIME
Special Fields |
static int |
RADAR_2D
The chart type values. |
static int |
RECORDNUMBER
Special Fields |
static int |
RENDER_BARCODE
The field type constant. |
static int |
RENDER_BUTTON
The field type constant. |
static int |
RENDER_CHECKBOX
The field type constant. |
static int |
RENDER_DROPDOWNLIST
The field type constant. |
static int |
RENDER_IMAGE
The field type constant. |
static int |
RENDER_IMAGEBUTTON
The field type constant. |
static int |
RENDER_LIST
The field type constant. |
static int |
RENDER_RADIOBTN
The field type constant. |
static int |
RENDER_RANK
The field type constant. |
static int |
RENDER_RESETBUTTON
The field type constant. |
static int |
RENDER_SUBMITBUTTON
The field type constant. |
static int |
RENDER_TEXT
The field type constant. |
static int |
RENDER_TEXTAREA
The field type constant. |
static int |
RENDER_TEXTFIELD
The field type constant. |
static int |
REPORT
Root class types. |
static int |
REPORTBODY
ReportBody class types. |
static int |
REPORTFOOTER
Section class types. |
static int |
REPORTHEADER
Section class types. |
static int |
REPORTSET
ReportSet class types. |
static int |
REPORTSHEET
JReport object type. |
static int |
RIGHT
The alignment type values. |
static int |
RIGHT_UNDERSIDE_POINT
The resize direction value. |
static int |
RIGHT_UPSIDE_POINT
The resize direction value. |
static int |
RIGHTBOTTOM
The alignment type values. |
static int |
RIGHTCENTER
The alignment type values. |
static int |
RIGHTTOP
The alignment type values. |
static int |
ROUNDBOX
Shape class types. |
static int |
RPTDATASOURCE
Report datasource |
static int |
SCATTER_POINTS_2D
The chart type values. |
static int |
SCATTER_SMOOTH_LINES_2D
The chart type values. |
static int |
SCATTER_STRAIGHT_LINES_2D
The chart type values. |
static int |
SHAPE
Shape class types. |
static int |
SIDEBYSIDEBARCHART
The chart type values. |
static int |
SQLSTATMENT
Special Fields |
static int |
STACKEDBARCHART
The chart type values. |
static int |
STACKEDBENCH
The chart type values. |
static int |
STOCK_HIGH_LOW_2D
The chart type values. |
static int |
STOCK_HIGH_LOW_CLOSE_2D
The chart type values. |
static int |
STOCK_OPEN_HIGH_LOW_CLOSE_2D
The chart type values. |
static int |
SUBLINK
Combinatorial Fields. |
static int |
SUBPARAMLINK
Combinatorial Fields. |
static int |
SUBREPORT
Combinatorial Fields. |
static int |
SUBRETVALUE
Combinatorial Fields. |
static int |
SUMMARY
Field class types. |
static int |
SURFACE_3D
The chart type values. |
static int |
TABLE
Container class types. |
static int |
TABLECELL
Table cell class types. |
static int |
TABULARCELL
JReport object type. |
static int |
TEXT
Combinatorial Fields. |
static int |
TEXTBOX
Container class types. |
static int |
UDO
JReport object type. |
static int |
UPC_A
The barcode type values. |
static int |
UPC_E
The barcode type values. |
static int |
USERNAME
Special Fields |
static int |
ZORDER_BACKWARD
The z-order type constant. |
static int |
ZORDER_BOTTOM
The z-order type constant. |
static int |
ZORDER_FORWARD
The z-order type constant. |
static int |
ZORDER_TOP
The z-order type constant. |
| Fields inherited from class jet.api.API |
|---|
BOOLEAN, CAT, CENTIMETER, COLOR, DOUBLE, ENUM, FLOAT, handles, INCH, INTEGER, LONG, PIXEL, REFERENCE, RPT, SELFRPT, STRING, TEXTRPT, UNKNOWN, XMLCAT, XMLRPT |
| Constructor Summary | |
|---|---|
Designer(java.lang.String path,
java.lang.String name)
Deprecated. since version 6.1. |
|
Designer(java.lang.String path,
java.lang.String name,
DesignerUserInfo user)
Constructor. |
|
Designer(java.lang.String path,
java.lang.String name,
java.lang.String subfix)
Deprecated. since version 6.1. |
|
Designer(java.lang.String path,
java.lang.String name,
java.lang.String subfix,
DesignerUserInfo user)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
addDataset(java.lang.String reportsetHandle,
java.lang.String datasourceName,
java.lang.String queryName,
java.lang.String name,
java.lang.String BVName,
int datasetType)
Creates a dataset in report set |
void |
addDisplayName(java.lang.String report,
DisplayNameInfo displayNameInfo)
Deprecated. |
void |
addDisplayName(java.lang.String report,
java.lang.String datasetHandle,
DisplayNameInfo displayNameInfo)
Add a Display Name to report. |
java.lang.String |
addReport(java.lang.String reportsetHandle,
java.lang.String name)
Creates a report in report set |
boolean |
appendTabularColumn(java.lang.String tabular)
append a tabular column object. |
boolean |
appendTabularRow(java.lang.String tabular)
append a tabular row object |
boolean |
bindDataSet(java.lang.String handle,
java.lang.String datasetName)
bind a data set into a data container object |
boolean |
canDeleted(java.lang.String handle)
check whether the instance can be deleted |
boolean |
canMergeTableCell(java.lang.String table,
java.lang.String[] cellHandles)
Check whether the cells can be merged or not |
boolean |
canMergeTabularCell(java.lang.String tabular,
java.lang.String[] cellHandles)
Check whether the cells can be merged or not |
boolean |
changeTabularCellHeight(java.lang.String tabular,
java.lang.String cellHandle,
double dispersion)
Modify a tabular cell object height |
boolean |
changeTabularCellWidth(java.lang.String tabular,
java.lang.String cellHandle,
double dispersion)
Modify a tabular cell object width |
boolean |
changeTabularHeight(java.lang.String tabular,
double dispersion)
Modify a tabular object height |
boolean |
changeTabularWidth(java.lang.String tabular,
double dispersion)
Modify a tabular object width |
boolean |
changeZOrder(java.lang.String objectHandle,
int zorderType)
Sets z-order of object. |
boolean |
close(java.lang.String handle)
Closes an opened report panel with report handle. |
boolean |
closeReportSet()
Closes the current reportset and save the changes. |
java.lang.String |
create(java.lang.String name,
java.lang.String query)
Deprecated. since version 8.0 |
java.lang.String |
create(java.lang.String name,
java.lang.String sourceName,
java.lang.String query)
Deprecated. since version 8.0 |
java.lang.String |
createReportSet(java.lang.String name)
Creates a new reportset with name |
boolean |
delete(java.lang.String handle)
Deletes an object from its parent node. |
boolean |
deleteBandedObject(java.lang.String bandedObject)
delete a section-object from report |
boolean |
deleteCrossTabAggregations(java.lang.String crossTab,
int[] index)
delete crosstab aggregations |
boolean |
deleteCrossTabColumns(java.lang.String crossTab,
int[] index)
delete crosstab columns |
boolean |
deleteCrossTabRows(java.lang.String crossTab,
int[] index)
delete crosstab rows |
boolean |
deleteDetailPanel(java.lang.String detailSection)
delete a detail section from report |
boolean |
deleteGroup(java.lang.String groupHandle,
boolean removeAllChildren)
delete a group object from report |
boolean |
deletePage(java.lang.String pageHandle)
delete a page object from report |
boolean |
deletePageController(java.lang.String controllerHandle)
delete a page controller object from report |
boolean |
deleteReport(java.lang.String name)
Deprecated. since version 8.0 |
boolean |
deleteReport(java.lang.String rptsetHandle,
java.lang.String name)
Delete a report from reportset. |
boolean |
deleteSectionFooterPanel(java.lang.String footerSection)
delete a footer section from report |
boolean |
deleteSectionHeaderPanel(java.lang.String headerSection)
delete a header section from report |
boolean |
deleteTableColumns(java.lang.String table,
int[] index)
deletes columns from new style table |
boolean |
deleteTabularColumn(java.lang.String tabular,
java.lang.String cellHandle)
delete a tabular column from tabular |
boolean |
deleteTabularRow(java.lang.String tabular,
java.lang.String cellHandle)
delete a tabular row from tabular |
void |
exit()
Exits editing status. |
void |
exitAndSave()
Exits editing status. |
java.util.Vector |
getAllDisplayNames(java.lang.String report)
Get all Display Name from report. |
java.lang.String[] |
getAllResourceNames(java.lang.String report)
Get all resource names in report. |
CatalogAPI |
getCatalogAPI()
Gets catalog design api. |
java.lang.String |
getCatalogName()
get catalog name. |
java.lang.String[] |
getChangedByFields(java.lang.String handle,
java.lang.String propertyName)
get formulae or fields which can control the property value |
ChartLabelInfo |
getChartLabel(java.lang.String handle)
get label informations in a chart |
java.lang.String |
getControlField(java.lang.String handle,
java.lang.String name)
Gets field that can control property value at runtime. |
java.lang.String[] |
getControlFields(java.lang.String handle,
java.lang.String name)
Gets fields that can control property value at runtime. |
BLFilterInformation |
getDatasetBLFilter(java.lang.String datasetHandle)
Gets a JReport businees logic filter |
java.lang.String[] |
getDBFields(java.lang.String handle)
Gets DBFields that can be used in the report. |
DisplayNameInfo |
getDisplayName(java.lang.String report,
java.lang.String resourceName)
Get Display Name from report. |
java.lang.String[] |
getFormats(java.lang.String handle)
get the default format list of object |
java.lang.String[] |
getFormulae(java.lang.String handle)
Gets formulae that can be used in the report. |
java.lang.String[] |
getFormulas(java.lang.String report)
Get all formula names in report. |
java.lang.String[] |
getGeometries(java.lang.String handle)
Gets handles of geometry object in a report. |
java.lang.String[] |
getGeometries(java.lang.String handle,
boolean visible)
Gets handles of geometry object in a report. |
GroupInfo[] |
getGroupInfo(java.lang.String handle)
get group information of report |
java.util.Vector |
getGroupNames(java.lang.String report)
Get all group names in report. |
java.lang.String[] |
getGroups(java.lang.String handle)
Gets handles of groups in a report. |
int |
getIndex(java.lang.String objHandle)
gets the child index of its parent container |
java.lang.String |
getKey()
Gets the key of JReport runtime. |
float |
getMinSectionHeight(java.lang.String handle)
get the minimum height value of section. |
ObjectInfo |
getObjectInfo(java.lang.String handle)
get object information in report |
int |
getObjectType(java.lang.String handle)
get the type of object |
java.lang.String[] |
getParameter()
Gets parameters in the catalog. |
java.lang.String |
getParent(java.lang.String handle)
get the container(parent) of object by handle |
java.lang.String[] |
getProcedures()
Gets procedures in the catalog. |
java.lang.String[] |
getProcedures(java.lang.String sourceName)
Gets procedures in the catalog. |
java.lang.String[] |
getQueries()
Gets queries in the catalog. |
java.lang.String[] |
getQueries(java.lang.String sourceName)
Gets queries in the catalog. |
java.lang.String |
getQueryName(java.lang.String handle)
Gets query name of a report. |
java.lang.String |
getReporthome()
Gets the install root of application |
ReportSortInfo |
getReportSortInfo(java.lang.String handle)
get report sort information of report |
java.lang.String[] |
getSections(java.lang.String handle)
Gets handles of sections in a report. |
java.lang.String[] |
getSections(java.lang.String handle,
boolean visible)
Gets handles of sections in a report. |
java.lang.String[] |
getSections(java.lang.String handle,
boolean visible,
int type)
Gets handles of sections in a report. |
SortInfo[] |
getSortInfo(java.lang.String handle)
get sort information of group or report |
java.lang.String[] |
getSQLs()
Gets SQLs in the catalog. |
java.lang.String[] |
getSQLs(java.lang.String sourceName)
Gets SQLs in the catalog. |
java.lang.String[] |
getSummaries(java.lang.String handle)
Gets summaries that can be used in the report. |
double |
getTableWidth(java.lang.String parent,
TableTemplateInfo info)
Gets prefered table width according to specified TableTemplateInfo. |
java.lang.String |
getTabularCell(java.lang.String tabular,
int rowIndex,
int colIndex)
Get cell handle of specified tabular row and column |
java.lang.String[] |
getTabularColumnCells(java.lang.String tabular,
int index)
Get cell handles of specified tabular column |
java.lang.String[] |
getTabularRowCells(java.lang.String tabular,
int index)
Get cell handles of specified tabular row |
java.lang.String[] |
getUDS()
Gets UDSs in the catalog. |
java.lang.String[] |
getUDS(java.lang.String sourceName)
Gets UDSs in the catalog. |
java.lang.String |
getUID()
Gets the UserID of JReport runtime. |
java.lang.String |
getUserID()
Gets user ID of the designer API |
java.lang.String[] |
getViews()
Gets VIEWs in the catalog. |
boolean |
hasPageSecurity(java.lang.String handle)
To get the status that whether the report has a page level security |
boolean |
hideTableColumn(java.lang.String table,
int index)
hides a table column |
java.lang.String |
insert(java.lang.String parent,
ChartLegendInfo chartLegendInfo,
java.lang.String paperName)
Inserts a chart object and its children into the parent node. |
java.lang.String |
insert(java.lang.String parent,
CTRowColFieldInfo colInfo,
CTRowColFieldInfo rowInfo,
CTAggFieldInfo aggInfo)
Deprecated. since version 8.0 |
java.lang.String |
insert(java.lang.String parent,
int type,
java.lang.String name)
Inserts an object into the parent node. |
java.lang.String |
insert(java.lang.String parent,
int type,
java.lang.String name,
GroupInfo groupInfo,
SpecGroupInfo specGroupInfo)
Deprecated. |
java.lang.String |
insert(java.lang.String parent,
int type,
java.lang.String name,
java.lang.String mapping)
Inserts an object of database field, parameter, formula , summary or group into the parent node. |
java.lang.String |
insert(java.lang.String parent,
int type,
java.lang.String name,
java.lang.String topSection,
java.lang.String bottomSection)
Inserts a shape object such as box, line, arc, or oval into report. |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
boolean avoid,
boolean onleft,
boolean ontop,
boolean repeat,
boolean vertical,
int boundary,
CTRowColFieldInfo[] colInfo,
CTRowColFieldInfo[] rowInfo,
CTAggFieldInfo[] aggInfo)
Deprecated. since version 8.0 |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
CTRowColFieldInfo[] colInfo,
CTRowColFieldInfo[] rowInfo,
CTAggFieldInfo[] aggInfo)
Deprecated. since version 8.0 |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
GroupInfo groupInfo)
Deprecated. since version 8.0 |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
int type,
boolean isGroup,
java.lang.String group1,
java.lang.String group2,
java.lang.String[] value)
Inserts a chart object and its children into the parent node. |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
java.lang.String UDOname)
Inserts a UDO object into the parent node. |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
java.lang.String paperName,
int type,
boolean isGroup,
java.lang.String group1,
java.lang.String group2,
java.lang.String[] value,
ChartLegendInfo chartLegendInfo,
ChartLabelInfo chartLabelInfo)
Inserts a chart object and its children into the parent node. |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
java.lang.String paperName,
int type1,
int type2,
boolean isGroup,
java.lang.String group1,
java.lang.String group2,
java.lang.String[] value,
ChartLegendInfo chartLegendInfo,
ChartLabelInfo chartLabelInfo)
Inserts a combo chart object and its children into the parent node. |
java.lang.String |
insert(java.lang.String parent,
java.lang.String name,
java.lang.String paperName,
int type,
java.lang.String group1,
java.lang.String group2,
java.lang.String value,
ChartLegendInfo chartLegendInfo,
ChartLabelInfo chartLabelInfo)
Deprecated. since version 8.0 |
java.lang.String |
insertBandedObject(java.lang.String parent,
boolean withHeader,
boolean withFooter,
boolean withDetail)
Inserts a banded object into report |
java.lang.String |
insertChart(java.lang.String parent,
ChartInfo info)
Inserts a chart into report |
java.lang.String |
insertColumn(java.lang.String parent,
int type,
java.lang.String name,
java.lang.String mapping,
int index)
Deprecated. since version 8.0 |
java.lang.String |
insertCrossTab(java.lang.String parent,
CrossTabInfo info)
Inserts a crosstab into report |
java.lang.String |
insertCrossTabAggregations(java.lang.String crossTab,
CTAggFieldInfo[] infos,
int index)
Inserts aggregations into crosstab |
java.lang.String |
insertCrossTabColumns(java.lang.String crossTab,
CTRowColFieldInfo[] infos,
int index)
Inserts columns into crosstab |
java.lang.String |
insertCrossTabRows(java.lang.String crossTab,
CTRowColFieldInfo[] infos,
int index)
Inserts rows into crosstab |
java.lang.String |
insertDetailPanel(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
insert a section object into report |
java.lang.String |
insertField(java.lang.String parent,
java.lang.String mapping,
java.lang.String blName,
int fieldType,
int renderType)
insert a field object into report |
java.lang.String |
insertPage(java.lang.String reportHandle)
insert a page object into report |
java.lang.String |
insertPageBreak(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
insert a page break object into report |
java.lang.String[] |
insertPageStartEnd(java.lang.String pageHandle,
java.lang.String parent,
int startIndex,
int endIndex)
insert a page control object into report |
java.lang.String |
insertSectionFooterPanel(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
insert a bandedobject section footer into report |
java.lang.String |
insertSectionGroup(java.lang.String parent,
GroupInfo groupInfo)
insert a group object into report |
java.lang.String |
insertSectionHeaderPanel(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
insert a bandedobject header section object into report |
java.lang.String |
insertSectionPanel(java.lang.String parent,
java.lang.String referedHandle,
int sectionType,
boolean isinsertedBefore)
insert a bandedobject section into report |
java.lang.String |
insertShape(java.lang.String parent,
Shape shape)
insert a geometry object into report |
java.lang.String |
insertTable(java.lang.String parent,
TableTemplateInfo info)
Inserts a new style table into report |
java.lang.String |
insertTable(java.lang.String parent,
TableTemplateInfo info,
boolean increasePanel)
Inserts a new style table into report |
java.lang.String |
insertTableColumn(java.lang.String table,
int index,
int direction)
Inserts a column into new style table |
java.lang.String |
insertTableColumn(java.lang.String table,
int index,
int direction,
java.lang.String fieldName,
java.lang.String title,
boolean increaseTable,
boolean auotResetPage)
Inserts a column with fields into new style table |
java.lang.String |
insertTableGroup(java.lang.String table,
java.lang.String parentGroup,
java.lang.String mapping,
java.lang.String blName)
insets group into the table |
java.lang.String |
insertTabular(java.lang.String parent,
java.lang.String tabularName,
int colVol,
int rowVol)
Inserts a new tabular object into report |
boolean |
mergeTableCells(java.lang.String table,
java.lang.String[] cellsid)
Merge table cells into one cell |
java.lang.String |
mergeTabularCells(java.lang.String tabular,
java.lang.String[] cellsid)
Merge tabular cells into one cell |
java.lang.String |
moveCrossTabAggregations(java.lang.String crossTab,
int[] orignalIndex,
int desIndex)
move crosstab aggregations |
java.lang.String |
moveCrossTabColumns(java.lang.String crossTab,
int[] orignalIndex,
int desIndex)
move crosstab columns |
java.lang.String |
moveCrossTabRows(java.lang.String crossTab,
int[] orignalIndex,
int desIndex)
move crosstab rows |
boolean |
moveTableColumns(java.lang.String table,
int[] index,
int step,
int direction)
move table columns |
java.lang.String |
open(java.lang.String name)
Opens a report panel with report name. |
boolean |
pivotCrossTab(java.lang.String crossTab)
pivot the crosstab |
boolean |
pivotTable(java.lang.String table,
int colIndex1,
int colIndex2)
pivots the table |
boolean |
quit()
Quits editing status. |
boolean |
quit(java.lang.String handle)
Quits an opened report with report handle without any change be saved. |
void |
removeDisplayName(java.lang.String report,
DisplayNameInfo displayNameInfo)
Remove a Display Name from current report. |
java.lang.String |
removeTableGroup(java.lang.String table,
java.lang.String group)
remove group from the table |
boolean |
resizeTable(java.lang.String table,
int refPoint,
double xPercentage,
double yPercentage,
boolean increasePanel)
resize the table with specified rate |
boolean |
resizeTabular(java.lang.String tabular,
int refPoint,
double xPercentage,
double yPercentage,
boolean increasePanel)
resize the tabular object with specified rate |
java.lang.String |
saveAs(java.lang.String handle,
java.lang.String newname)
Saves an opened report as new report file. |
boolean |
saveSelfContainedReport(java.lang.String rptHandle,
java.lang.String path,
java.lang.String filename)
save the report as a self-contained report |
boolean |
saveSelfReport(java.lang.String path,
java.lang.String name,
java.lang.String newName)
Deprecated. since version 8.0 |
boolean |
set(java.lang.String handle,
java.lang.String name,
int value)
Changes property value of an object. |
boolean |
setControlFields(java.lang.String handle,
java.lang.String prop,
java.lang.String field)
Sets field to control property value at runtime. |
boolean |
setCTAggFieldHeight(java.lang.String crossTab,
int yDepth,
int index,
double height)
set crosstab aggregation height |
boolean |
setCTAggFieldWidth(java.lang.String crossTab,
int xDepth,
int index,
double width)
set crosstab aggregation field width |
boolean |
setCTAggTitleHeight(java.lang.String crossTab,
int index,
double height)
set crosstab aggregation title height |
boolean |
setCTAggTitleWidth(java.lang.String crossTab,
int index,
double width)
set crosstab aggregation title width |
boolean |
setCTColHeaderHeight(java.lang.String crossTab,
int index,
double height)
set crosstab column header height |
boolean |
setCTRowHeaderWidth(java.lang.String crossTab,
int index,
double width)
set crosstab row header width |
boolean |
setDataset(java.lang.String objHandle,
java.lang.String datasetHandle)
Applys a dataset to report Object |
boolean |
setDatasetBLFilter(java.lang.String datasetHandle,
BLFilterInformation filterInfo)
Applys a JReport businees logic filter to dataset |
boolean |
setDefaultFormat(java.lang.String handle)
Sets default object format |
void |
setPageWidth(double width)
set width of page |
void |
setReporthome(java.lang.String reporthome)
set the install root of application |
void |
setReportSortInfo(java.lang.String handle,
ReportSortInfo sortInfo)
Set sort information of whole report |
void |
setSortInfo(java.lang.String handle,
SortInfo[] sortInfo)
Set sort information of specified group |
boolean |
setStyle(java.lang.String reportHandle,
java.lang.String[] objectHandles,
java.lang.String styleName,
boolean isURL)
Set css or style to the report |
boolean |
setStyle(java.lang.String reportHandle,
java.lang.String viewName,
java.lang.String styleName)
Set css or style to the report |
boolean |
setTableColumnWidth(java.lang.String table,
int index,
double increment,
boolean increaseTable,
boolean increasePanel)
reset the table column width |
void |
setUserInfo(java.lang.String uid,
java.lang.String key)
Deprecated. since version 6.1. |
boolean |
splitTabularCell(java.lang.String tabular,
java.lang.String cellHandle,
int rowVol,
int clmVol)
split a tabular cell into a m*n table |
void |
updateDisplayName(java.lang.String report,
DisplayNameInfo displayNameInfo)
Update properties of a Display Name. |
| Methods inherited from class jet.api.API |
|---|
clearError, clearMsg, clearWarning, closeLog, containPropName, getBool, getChildren, getColor, getDouble, getError, getFloat, getHandles, getHandles, getHandles, getHandles, getInstanceName, getInt, getLong, getPropNames, getPropType, getQualifyName, getString, getStringArray, getUnit, getWarning, set, set, set, set, set, set, setLog, setLog, setLog, setReference, setUnit, writeLog, writeLog |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int REPORT
public static final int PAGE
public static final int GROUP
public static final int REPORTHEADER
public static final int REPORTFOOTER
public static final int PAGEHEADER
public static final int PAGEFOOTER
public static final int GROUPHEADER
public static final int GROUPFOOTER
public static final int DETAIL
public static final int LABEL
public static final int DBFIELD
public static final int COMPUTEDCOLUMN
public static final int FORMULA
public static final int SUMMARY
public static final int PARAMETER
public static final int IMAGE
public static final int USERNAME
public static final int PRINTDATE
public static final int PRINTTIME
public static final int FETCHDATE
public static final int FETCHTIME
public static final int MODIFIEDDATE
public static final int MODIFIEDTIME
public static final int RECORDNUMBER
public static final int GROUPNAME
public static final int GROUPNUMBER
public static final int GROUPNUMBERS
public static final int PAGENUMBER
public static final int PAGENUMBERS
public static final int SQLSTATMENT
public static final int TEXT
public static final int CHARTLABEL
public static final int CHARTLEGEND
public static final int CHARTPLATFORM
public static final int CHARTCOORDINATEPAPER
public static final int CROSSTAB
public static final int CTAGGFIELD
public static final int CTAGGINFO
public static final int CTDBFIELD
public static final int CTHDDBFIELD
public static final int CTHDTEXTFIELD
public static final int SUBREPORT
public static final int SUBLINK
public static final int SUBPARAMLINK
public static final int SUBRETVALUE
public static final int LINE
public static final int BOX
public static final int ROUNDBOX
public static final int OVAL
public static final int ARC
public static final int RPTDATASOURCE
public static final int JHYPERLINK
public static final int JBROWSER
public static final int DATAOBJECT
public static final int TABLE
public static final int COLUMN
public static final int MEDIAFIELD
public static final int UDO
public static final int CHART2DCOORDINATEPAPER
public static final int BARCODEFIELD
public static final int PAGENOFM
public static final int NEWSTYLETABLE
public static final int TABLECELL
public static final int REPORTSET
public static final int DATASET
public static final int REPORTBODY
public static final int PARAGRAPH
public static final int TEXTBOX
public static final int MULTI_VALUE_BOX
public static final int PARALLELDETAIL
public static final int PAGEBREAK
public static final int PAGESTART
public static final int PAGEEND
public static final int REPORTSHEET
public static final int TABULARCELL
public static final int BANDEDOBJECT
public static final int BANDEDOBJECT_PAGEHEADER
public static final int BANDEDOBJECT_PAGEFOOTER
public static final int BANDEDOBJECT_HEADER
public static final int BANDEDOBJECT_FOOTER
public static final int SHAPE
public static final int BARCHART
public static final int SIDEBYSIDEBARCHART
public static final int STACKEDBARCHART
public static final int BENCHARRAYCHART
public static final int BENCHCHART
public static final int STACKEDBENCH
public static final int PIECHART
public static final int LINECHART
public static final int AREACHART
public static final int BAR_SIDEBYSIDE_2D
public static final int BAR_STACK_2D
public static final int BAR_PERCENT_2D
public static final int BAR_SIDEBYSIDE_3D
public static final int BAR_STACK_3D
public static final int BAR_PERCENT_3D
public static final int BAR_ARRAY_3D
public static final int BENCH_SIDEBYSIDE_2D
public static final int BENCH_STACK_2D
public static final int BENCH_PERCENT_2D
public static final int BENCH_SIDEBYSIDE_3D
public static final int BENCH_STACK_3D
public static final int BENCH_PERCENT_3D
public static final int BENCH_ARRAY_3D
public static final int LINE_ARRAY_2D
public static final int LINE_STACK_2D
public static final int LINE_PERCENT_2D
public static final int LINE_ARRAY_3D
public static final int AREA_STACK_2D
public static final int AREA_PERCENT_2D
public static final int AREA_STACK_3D
public static final int AREA_PERCENT_3D
public static final int PIE_SIDEBYSIDE_2D
public static final int PIE_SIDEBYSIDE_3D
public static final int BAR_SIDEBYSIDE_LINE_ARRAY_2D
public static final int BAR_STACK_LINE_ARRAY_2D
public static final int BAR_PERCENT_LINE_ARRAY_2D
public static final int LINE_ARRAY_LINE_ARRAY_2D
public static final int AREA_ARRAY_2D
public static final int AREA_ARRAY_3D
public static final int BAR_SIDEBYSIDE_LINE_STACK_2D
public static final int BAR_STACK_LINE_STACK_2D
public static final int BAR_PERCENT_LINE_STACK_2D
public static final int BAR_SIDEBYSIDE_AREA_STACK_2D
public static final int BAR_STACK_AREA_STACK_2D
public static final int BAR_PERCENT_AREA_STACK_2D
public static final int STOCK_HIGH_LOW_CLOSE_2D
public static final int STOCK_OPEN_HIGH_LOW_CLOSE_2D
public static final int RADAR_2D
public static final int SCATTER_POINTS_2D
public static final int SCATTER_SMOOTH_LINES_2D
public static final int SCATTER_STRAIGHT_LINES_2D
public static final int BUBBLE_2D
public static final int GAUGE_DIALS_2D
public static final int GAUGE_BARS_2D
public static final int GAUGE_BALLS_2D
public static final int SURFACE_3D
public static final int STOCK_HIGH_LOW_2D
public static final int UPC_A
public static final int UPC_E
public static final int EAN_13
public static final int EAN_8
public static final int CODE_39
public static final int CODE_128
public static final int CODABAR
public static final int LEFTTOP
public static final int CENTERTOP
public static final int RIGHTTOP
public static final int LEFTCENTER
public static final int CENTERCENTER
public static final int RIGHTCENTER
public static final int LEFTBOTTOM
public static final int CENTERBOTTOM
public static final int RIGHTBOTTOM
public static final int JUSTIFYTOP
public static final int JUSTIFYCENTER
public static final int JUSTIFYBOTTOM
public static final int LEFT_UPSIDE_POINT
public static final int LEFT_UNDERSIDE_POINT
public static final int RIGHT_UPSIDE_POINT
public static final int RIGHT_UNDERSIDE_POINT
public static final int LEFT
public static final int RIGHT
public static final int RENDER_TEXT
public static final int RENDER_RANK
public static final int RENDER_BARCODE
public static final int RENDER_IMAGE
public static final int RENDER_TEXTFIELD
public static final int RENDER_TEXTAREA
public static final int RENDER_CHECKBOX
public static final int RENDER_RADIOBTN
public static final int RENDER_LIST
public static final int RENDER_DROPDOWNLIST
public static final int RENDER_IMAGEBUTTON
public static final int RENDER_BUTTON
public static final int RENDER_SUBMITBUTTON
public static final int RENDER_RESETBUTTON
public static final int DATASET_TYPE_QUERY
public static final int DATASET_TYPE_HDS
public static final int DATASET_TYPE_ONDEMAND
public static final int ZORDER_TOP
public static final int ZORDER_BOTTOM
public static final int ZORDER_BACKWARD
public static final int ZORDER_FORWARD
public static final int EFFECT_MASK
public static final int EFFECT_2D
public static final int EFFECT_3D
| Constructor Detail |
|---|
public Designer(java.lang.String path,
java.lang.String name)
throws ReadFailureException,
UniverseFileException
path - path of catalog file.name - name of catalog file.
ReadFailureException
UniverseFileException
public Designer(java.lang.String path,
java.lang.String name,
DesignerUserInfo user)
throws ReadFailureException,
UniverseFileException
path - path of catalog file.name - name of catalog file.user - user information.
ReadFailureException
UniverseFileException
public Designer(java.lang.String path,
java.lang.String name,
java.lang.String subfix)
throws ReadFailureException,
UniverseFileException
path - path of catalog file.name - name of catalog file.
ReadFailureException
UniverseFileException
public Designer(java.lang.String path,
java.lang.String name,
java.lang.String subfix,
DesignerUserInfo user)
throws ReadFailureException,
UniverseFileException
path - path of catalog file.name - name of catalog file.subfix - indicate the subfix of catalog file.user - user information.
ReadFailureException
UniverseFileException| Method Detail |
|---|
public void setUserInfo(java.lang.String uid,
java.lang.String key)
uid - the UserID of JReport runtimekey - the key of JReport runtimepublic java.lang.String getUID()
public java.lang.String getKey()
public java.lang.String getUserID()
public CatalogAPI getCatalogAPI()
public void exitAndSave()
public void exit()
public boolean quit()
public java.lang.String create(java.lang.String name,
java.lang.String query)
name - name of the report to be created.query - name of query.
public java.lang.String create(java.lang.String name,
java.lang.String sourceName,
java.lang.String query)
name - name of the report to be created.sourceName - name of the data source.query - name of query.
public boolean deleteReport(java.lang.String name)
name - name of existing report to be deleted.
public java.lang.String open(java.lang.String name)
name - name of existing report to be opened.
public boolean hasPageSecurity(java.lang.String handle)
handle - the handle of the report panel
public boolean close(java.lang.String handle)
handle - handle of the opened report.
public boolean closeReportSet()
public boolean quit(java.lang.String handle)
handle - handle of the opened report.
public java.lang.String insert(java.lang.String parent,
int type,
java.lang.String name)
parent - handle of the parent node.type - object type to be inserted.name - instance name of the new object.
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
java.lang.String UDOname)
parent - handle of the parent node.name - instance name of the new object.UDOname - UDO name.
public java.lang.String insert(java.lang.String parent,
int type,
java.lang.String name,
java.lang.String mapping)
parent - handle of the parent node.type - class type to be inserted.name - instance name of the new object.mapping - mapping name of the database field, parameter, formula or summary.
public java.lang.String insertColumn(java.lang.String parent,
int type,
java.lang.String name,
java.lang.String mapping,
int index)
parent - the table handletype - the inserted field typename - the inserted object's namemapping - the inserted field's resourcenameindex - the column index
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
CTRowColFieldInfo[] colInfo,
CTRowColFieldInfo[] rowInfo,
CTAggFieldInfo[] aggInfo)
parent - handle of the parent node.name - instance name of the new object.colInfo - field info array of column. The value of index of colInfo[n] is ignored.rowInfo - field info array of row. The value of index of rowInfo[n] is ignored.aggInfo - field info array of aggregate. The value of index of aggInfo[n] is ignored.
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
boolean avoid,
boolean onleft,
boolean ontop,
boolean repeat,
boolean vertical,
int boundary,
CTRowColFieldInfo[] colInfo,
CTRowColFieldInfo[] rowInfo,
CTAggFieldInfo[] aggInfo)
parent - handle of the parent node.name - instance name of the new object.avoid - keep columns together when page break.onleft - display aggregate calculation of row on left of crosstabontop - display aggregate calculation of column on top of crosstabrepeat - repeat column title when page breakvertical - set aggregate calculations layout verticallyboundary - set number of aggregate calculations in a row or column.colInfo - field info array of column. The value of index of colInfo[n] is ignored.rowInfo - field info array of row. The value of index of rowInfo[n] is ignored.aggInfo - field info array of aggregate. The value of index of aggInfo[n] is ignored.
public java.lang.String insert(java.lang.String parent,
CTRowColFieldInfo colInfo,
CTRowColFieldInfo rowInfo,
CTAggFieldInfo aggInfo)
parent - handle of the crosstab node.colInfo - field info array of Column. The value of index of colInfo
indicates the position at Column. If value of index is less than zero
or larger than column size, the new column will be added in the end.rowInfo - field info array of Row. The value of index of rowInfo
indicates the position at Row. If value of index is less than zero
or larger than row size, the new row will be added in the end.aggInfo - field info array of Aggregate. The value of index of aggInfo
indicates the position at a cell. If value of index is less than zero
or larger than aggregate size, the new aggregate will be added in the end.
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
java.lang.String paperName,
int type,
java.lang.String group1,
java.lang.String group2,
java.lang.String value,
ChartLegendInfo chartLegendInfo,
ChartLabelInfo chartLabelInfo)
parent - handle of the parent node.name - instance name of the new chart.paperName - the instance name of ChartCoordinatepaper objecttype - type of the chart to be insertedgroup1 - mapping name of the first group.group2 - mapping name of the second group. It can be null.value - mapping name of summary.chartLegendInfo - field info array of the chart legend.chartLabelInfo - field info array of the chart title and notes.
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
int type,
boolean isGroup,
java.lang.String group1,
java.lang.String group2,
java.lang.String[] value)
parent - handle of the parent node.name - instance name of the new chart.type - type of the chart to be insertedisGroup - group level data or record level data.group1 - mapping name of the first group.group2 - mapping name of the second group. It can be null.value - mapping names of summary.
public java.lang.String insert(java.lang.String parent,
ChartLegendInfo chartLegendInfo,
java.lang.String paperName)
parent - handle of the parent node.chartLegendInfo - field info array of the chart legend.
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
java.lang.String paperName,
int type,
boolean isGroup,
java.lang.String group1,
java.lang.String group2,
java.lang.String[] value,
ChartLegendInfo chartLegendInfo,
ChartLabelInfo chartLabelInfo)
parent - handle of the parent node.name - instance name of the new chart.paperName - the instance name of ChartCoordinatepaper objecttype - type of the chart to be insertedisGroup - group level data or record level data.group1 - mapping name of the first group.group2 - mapping name of the second group. It can be null.value - mapping names of summary.chartLegendInfo - field info array of the chart legend.chartLabelInfo - field info array of the chart title and notes.
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
java.lang.String paperName,
int type1,
int type2,
boolean isGroup,
java.lang.String group1,
java.lang.String group2,
java.lang.String[] value,
ChartLegendInfo chartLegendInfo,
ChartLabelInfo chartLabelInfo)
parent - handle of the parent node.name - instance name of the new chart.paperName - the instance name of ChartCoordinatepaper objecttype1 - type1 of the combo chart to be insertedtype2 - type2 of the combo chart to be insertedisGroup - group level data or record level data.group1 - mapping name of the first group.group2 - mapping name of the second group. It can be null.value - mapping names of summary.chartLegendInfo - field info array of the chart legend.chartLabelInfo - field info array of the chart title and notes.
public java.lang.String insert(java.lang.String parent,
int type,
java.lang.String name,
java.lang.String topSection,
java.lang.String bottomSection)
parent - handle of the parent node.name - the instance name of new shape.type - the type of shapetopSection - the handle of top section attached to the shape.bottomSection - the handle of bottom section attached to the shape.
public java.lang.String insert(java.lang.String parent,
int type,
java.lang.String name,
GroupInfo groupInfo,
SpecGroupInfo specGroupInfo)
parent - handle of the parent node.type - class type to be inserted.name - instance name of the new object.groupInfo - information of groupspecGroupInfo - information of specified group if need
public java.lang.String insert(java.lang.String parent,
java.lang.String name,
GroupInfo groupInfo)
parent - handle of the parent node.name - instance name of the new object.groupInfo - information of group
public void setPageWidth(double width)
width - page width value
public void setSortInfo(java.lang.String handle,
SortInfo[] sortInfo)
handle - Group handlesortInfo - Sort information array of this group
public boolean set(java.lang.String handle,
java.lang.String name,
int value)
set in class APIhandle - handle of the target object.name - property name.value - property value.
public void setReportSortInfo(java.lang.String handle,
ReportSortInfo sortInfo)
handle - report handlesortInfo - report Sort information of this reportpublic SortInfo[] getSortInfo(java.lang.String handle)
handle - report/group handle
public ReportSortInfo getReportSortInfo(java.lang.String handle)
handle - report handle
public GroupInfo[] getGroupInfo(java.lang.String handle)
handle - report handle
public boolean delete(java.lang.String handle)
delete in class APIhandle - handle of the object to be deleted.
public boolean canDeleted(java.lang.String handle)
handle - instance handle
public java.lang.String getControlField(java.lang.String handle,
java.lang.String name)
handle - handle of the selected object.name - name of property.
public java.lang.String[] getControlFields(java.lang.String handle,
java.lang.String name)
handle - handle of the selected object.name - name of property.
public boolean setControlFields(java.lang.String handle,
java.lang.String prop,
java.lang.String field)
handle - handle of the selected object.prop - property name.field - field name.
public java.lang.String[] getDBFields(java.lang.String handle)
handle - report node .
public java.lang.String[] getGroups(java.lang.String handle)
handle - a report handle.
public java.lang.String[] getGeometries(java.lang.String handle)
handle - a report handle.
public java.lang.String[] getGeometries(java.lang.String handle,
boolean visible)
handle - a report handle.visible - get the visible geometry or not.
public java.lang.String[] getSections(java.lang.String handle)
handle - a report handle.
public java.lang.String[] getSections(java.lang.String handle,
boolean visible)
handle - a report handle.visible - get the visible sections or not.
public java.lang.String[] getSections(java.lang.String handle,
boolean visible,
int type)
handle - a report handle.visible - get the visible sections or not.type - the section type
public java.lang.String getQueryName(java.lang.String handle)
handle - a report handle.
public java.lang.String[] getFormulae(java.lang.String handle)
handle - report node.
public java.lang.String[] getSummaries(java.lang.String handle)
handle - report node.
public java.lang.String[] getParameter()
public java.lang.String[] getQueries()
public java.lang.String[] getQueries(java.lang.String sourceName)
public java.lang.String[] getSQLs(java.lang.String sourceName)
public java.lang.String[] getSQLs()
public java.lang.String[] getUDS()
public java.lang.String[] getUDS(java.lang.String sourceName)
public java.lang.String[] getViews()
public java.lang.String[] getProcedures(java.lang.String sourceName)
public java.lang.String[] getProcedures()
public boolean saveSelfReport(java.lang.String path,
java.lang.String name,
java.lang.String newName)
throws java.io.IOException,
WriteFailureException,
FMLFileException,
ReadFailureException,
UniverseFileException
path - the path of the report will be saved toname - the catalog name of the report will be saved tonewName - new report name
java.io.IOException
WriteFailureException
FMLFileException
ReadFailureException
UniverseFileException
public java.lang.String saveAs(java.lang.String handle,
java.lang.String newname)
handle - handle of the opened report.newname - the file name of new report file.
public int getObjectType(java.lang.String handle)
handle - object handle
public java.lang.String[] getFormats(java.lang.String handle)
handle - object handle
public ObjectInfo getObjectInfo(java.lang.String handle)
handle - handle of the entity
public java.lang.String[] getChangedByFields(java.lang.String handle,
java.lang.String propertyName)
handle - handle of the entitypropertyName - name of the property
public float getMinSectionHeight(java.lang.String handle)
handle - handle of the section
public java.lang.String getParent(java.lang.String handle)
getParent in class APIhandle - handle of object
public ChartLabelInfo getChartLabel(java.lang.String handle)
handle - handle of chart
public java.lang.String createReportSet(java.lang.String name)
throws DesignerErrorException
name - indicate the reportset name.
DesignerErrorException
public java.lang.String addReport(java.lang.String reportsetHandle,
java.lang.String name)
throws DesignerErrorException
name - report panel name
DesignerErrorException
public java.lang.String addDataset(java.lang.String reportsetHandle,
java.lang.String datasourceName,
java.lang.String queryName,
java.lang.String name,
java.lang.String BVName,
int datasetType)
throws DesignerErrorException
reportsetHandle - handler string of reportsetdatasourceName - datasource namequeryName - query namename - dataset nameBVName - business view object name
DesignerErrorException
public boolean setDataset(java.lang.String objHandle,
java.lang.String datasetHandle)
throws DesignerErrorException
objHandle - handler string of report objectdatasetHandle - handler string of report objec
DesignerErrorException
public boolean setDatasetBLFilter(java.lang.String datasetHandle,
BLFilterInformation filterInfo)
throws DesignerErrorException
objHandle - handler string of report objectdatasetHandle - handler string of report objec
DesignerErrorException
public BLFilterInformation getDatasetBLFilter(java.lang.String datasetHandle)
throws DesignerErrorException
objHandle - handler string of report objectdatasetHandle - handler string of report objec
DesignerErrorException
public boolean deleteReport(java.lang.String rptsetHandle,
java.lang.String name)
throws DesignerErrorException
name - name of report to be deleted.rptsetHandle - the handle of report set
DesignerErrorExceptionpublic java.lang.String getCatalogName()
public java.lang.String insertTable(java.lang.String parent,
TableTemplateInfo info)
throws DesignerErrorException
parent - the handle of object that the table to be inserted.info - new style table information.
DesignerErrorException
public double getTableWidth(java.lang.String parent,
TableTemplateInfo info)
parent - the handle of object that the table to be inserted.info - new style table information.
public java.lang.String insertTable(java.lang.String parent,
TableTemplateInfo info,
boolean increasePanel)
throws DesignerErrorException
parent - the handle of object that the table to be inserted.info - new style table information.increasePanel - indicate whether to increase the panel width when the table out of panel bound. It will also
change page width if necessary.
DesignerErrorException
public java.lang.String insertTableColumn(java.lang.String table,
int index,
int direction)
throws DesignerErrorException
table - the handle of table that the column to be inserted.index - inert column at the specified index .direction - specify the inserting direction according to index
DesignerErrorException
public java.lang.String insertTableColumn(java.lang.String table,
int index,
int direction,
java.lang.String fieldName,
java.lang.String title,
boolean increaseTable,
boolean auotResetPage)
throws DesignerErrorException
table - the handle of table that the column to be inserted.index - inert column at the specified index .index - inert column at the specified index .fieldName - the fields name that be inserted in to table detail paneltitle - the attached fields title that be inserted in to tableincreasetable - indicate whether to increase the table when insert new column.auotResetPage - indicate whether to resize the page when the table out of panel bound.
DesignerErrorException
public boolean deleteTableColumns(java.lang.String table,
int[] index)
throws DesignerErrorException
table - the handle of table.index - indicates columns' index to be deleted.
DesignerErrorException
public boolean moveTableColumns(java.lang.String table,
int[] index,
int step,
int direction)
throws DesignerErrorException
table - the handle of table.index - indicates columns' index to be moved.step - the step of moving action.direction - the direction of moving action.
DesignerErrorException
public boolean mergeTableCells(java.lang.String table,
java.lang.String[] cellsid)
throws DesignerErrorException
table - the handle of table.cellsid - indicates cells' handle to be merged.
DesignerErrorException
public boolean canMergeTableCell(java.lang.String table,
java.lang.String[] cellHandles)
table - the handle of table.cellHandles - indicates cells' handle to be merged.
public boolean canMergeTabularCell(java.lang.String tabular,
java.lang.String[] cellHandles)
tabular - the handle of tabular.cellHandles - indicates cells' handle to be merged.
public boolean hideTableColumn(java.lang.String table,
int index)
throws DesignerErrorException
table - the handle of table.index - column Index.
DesignerErrorException
public boolean resizeTable(java.lang.String table,
int refPoint,
double xPercentage,
double yPercentage,
boolean increasePanel)
throws DesignerErrorException
table - the handle of tablerefPoint - the refer point.xPercentage - percentage value of X axial.yPercentage - percentage value of Y axialincreasePanel - indicate whether to increase the panel when the table out of panel bound.
DesignerErrorException
public boolean setTableColumnWidth(java.lang.String table,
int index,
double increment,
boolean increaseTable,
boolean increasePanel)
throws DesignerErrorException
table - the handle of tableindex - column index.increment - indicate the changed value.increaseTable - indicate whether to increase the table when change column width.increasePanel - indicate whether to increase the panel when the table out of panel bound.
DesignerErrorException
public boolean pivotTable(java.lang.String table,
int colIndex1,
int colIndex2)
throws DesignerErrorException
table - the handle of table.colIndex1 - column index to be pivot.colIndex2 - column index to be pivot.
DesignerErrorException
public java.lang.String insertTableGroup(java.lang.String table,
java.lang.String parentGroup,
java.lang.String mapping,
java.lang.String blName)
throws DesignerErrorException
table - the handle of table.parentGroup - the group handle which the new group will be inserted in.mapping - the group by field name.
DesignerErrorException
public java.lang.String removeTableGroup(java.lang.String table,
java.lang.String group)
throws DesignerErrorException
table - the handle of table.group - the removed group handle.
DesignerErrorException
public java.lang.String insertCrossTab(java.lang.String parent,
CrossTabInfo info)
throws DesignerErrorException
parent - the handle of object that the table to be inserted.info - crosstab information.index - inert CrossTab at the specified index .
DesignerErrorException
public java.lang.String insertCrossTabColumns(java.lang.String crossTab,
CTRowColFieldInfo[] infos,
int index)
throws DesignerErrorException
crossTab - the handle of crossTab.infos - crosstab column informationindex - inert column at the specified index .
DesignerErrorException
public java.lang.String insertCrossTabRows(java.lang.String crossTab,
CTRowColFieldInfo[] infos,
int index)
throws DesignerErrorException
crossTab - the handle of crossTab.infos - crosstab row informationindex - inert row at the specified index .
DesignerErrorException
public java.lang.String insertCrossTabAggregations(java.lang.String crossTab,
CTAggFieldInfo[] infos,
int index)
throws DesignerErrorException
crossTab - the handle of crossTab.infos - crosstab aggregation informationindex - inert aggregations at the specified index .
DesignerErrorException
public java.lang.String moveCrossTabAggregations(java.lang.String crossTab,
int[] orignalIndex,
int desIndex)
throws DesignerErrorException
crossTab - the handle of crossTab.orignalIndex - indicates the column index to be moveddesIndex - move the aggregations to the target index .
DesignerErrorException
public java.lang.String moveCrossTabRows(java.lang.String crossTab,
int[] orignalIndex,
int desIndex)
throws DesignerErrorException
crossTab - the handle of crossTab.orignalIndex - indicates the row index to be moveddesIndex - move the rows to the target index .
DesignerErrorException
public java.lang.String moveCrossTabColumns(java.lang.String crossTab,
int[] orignalIndex,
int desIndex)
throws DesignerErrorException
crossTab - the handle of crossTab.orignalIndex - indicates the row index to be moveddesIndex - move the rows to to the target index .
DesignerErrorException
public boolean deleteCrossTabColumns(java.lang.String crossTab,
int[] index)
throws DesignerErrorException
crossTab - the handle of crossTab.index - indicates the columns index to be removed
DesignerErrorException
public boolean deleteCrossTabRows(java.lang.String crossTab,
int[] index)
throws DesignerErrorException
crossTab - the handle of crossTab.index - indicates the rows index to be removed
DesignerErrorException
public boolean deleteCrossTabAggregations(java.lang.String crossTab,
int[] index)
throws DesignerErrorException
crossTab - the handle of crossTab.index - indicates the aggregations index to be removed
DesignerErrorException
public boolean setCTColHeaderHeight(java.lang.String crossTab,
int index,
double height)
throws DesignerErrorException
crossTab - the handle of crossTab.index - indicates the column index to be set
DesignerErrorException
public boolean setCTRowHeaderWidth(java.lang.String crossTab,
int index,
double width)
throws DesignerErrorException
crossTab - the handle of crossTab.index - indicates the row index to be set
DesignerErrorException
public boolean setCTAggTitleHeight(java.lang.String crossTab,
int index,
double height)
throws DesignerErrorException
crossTab - the handle of crossTab.index - indicates the title index to be set
DesignerErrorException
public boolean setCTAggTitleWidth(java.lang.String crossTab,
int index,
double width)
throws DesignerErrorException
crossTab - the handle of crossTab.index - indicates the title index to be set
DesignerErrorException
public boolean setCTAggFieldHeight(java.lang.String crossTab,
int yDepth,
int index,
double height)
throws DesignerErrorException
crossTab - the handle of crossTab.yDepth - indicates the index of aggregation cell at y directionindex - indicates the aggregation index in a crosstab cellheight - aggregation field height value
DesignerErrorException
public boolean setCTAggFieldWidth(java.lang.String crossTab,
int xDepth,
int index,
double width)
throws DesignerErrorException
crossTab - the handle of crossTab.xDepth - indicates the index of aggregation cell at x directionindex - indicates the aggregation index in a crosstab cellwidth - aggregation field width value
DesignerErrorException
public boolean pivotCrossTab(java.lang.String crossTab)
throws DesignerErrorException
crossTab - the handle of crossTab.
DesignerErrorException
public java.lang.String insertTabular(java.lang.String parent,
java.lang.String tabularName,
int colVol,
int rowVol)
throws DesignerErrorException
parent - the handle of object that the tabular to be inserted.tabularName - tabular object instance name.colVol - column volume of tabularrowVol - row volume of tabular .
DesignerErrorException
public boolean resizeTabular(java.lang.String tabular,
int refPoint,
double xPercentage,
double yPercentage,
boolean increasePanel)
throws DesignerErrorException
tabular - the handle of tabularrefPoint - the refer point.xPercentage - percentage value of X axial.yPercentage - percentage value of Y axialincreasePanel - indicate whether to increase the panel when the tabular out of panel bound.
DesignerErrorException
public boolean appendTabularColumn(java.lang.String tabular)
throws DesignerErrorException
tabular - the handle of tabular.
DesignerErrorException
public boolean appendTabularRow(java.lang.String tabular)
throws DesignerErrorException
tabular - the handle of tabular.
DesignerErrorException
public boolean changeTabularWidth(java.lang.String tabular,
double dispersion)
throws DesignerErrorException
tabular - the handle of tabular.dispersion - set the changed dispersion.
DesignerErrorException
public boolean changeTabularHeight(java.lang.String tabular,
double dispersion)
throws DesignerErrorException
tabular - the handle of tabular.dispersion - set the changed dispersion.
DesignerErrorException
public boolean changeTabularCellWidth(java.lang.String tabular,
java.lang.String cellHandle,
double dispersion)
throws DesignerErrorException
tabular - the handle of tabular.cellHandle - indicate the cell handle to be changed.dispersion - set the changed dispersion.
DesignerErrorException
public boolean changeTabularCellHeight(java.lang.String tabular,
java.lang.String cellHandle,
double dispersion)
throws DesignerErrorException
tabular - the handle of tabular.cellHandle - indicate the cell handle to be changed.dispersion - set the changed dispersion.
DesignerErrorException
public boolean deleteTabularColumn(java.lang.String tabular,
java.lang.String cellHandle)
tabular - the handle of tabular.cellHandle - indicate the cell handle to be deleted.
public boolean deleteTabularRow(java.lang.String tabular,
java.lang.String cellHandle)
throws DesignerErrorException
tabular - the handle of tabular.cellHandle - indicate the cell handle to be deleted.
DesignerErrorException
public boolean splitTabularCell(java.lang.String tabular,
java.lang.String cellHandle,
int rowVol,
int clmVol)
throws DesignerErrorException
tabular - the handle of tabular.cellHandle - indicate the cell handle to be splited.rowVol - set the row number of cellclmVol - set the column number of cell.
DesignerErrorException
public java.lang.String mergeTabularCells(java.lang.String tabular,
java.lang.String[] cellsid)
throws DesignerErrorException
tabular - the handle of tabular.cellsid - indicates cells' handle to be merged.
DesignerErrorException
public java.lang.String[] getTabularColumnCells(java.lang.String tabular,
int index)
throws DesignerErrorException
tabular - the handle of tabular objectindex - indicate tabular column .
DesignerErrorException
public java.lang.String[] getTabularRowCells(java.lang.String tabular,
int index)
throws DesignerErrorException
tabular - the handle of tabular objectindex - indicate tabular row .
DesignerErrorException
public java.lang.String getTabularCell(java.lang.String tabular,
int rowIndex,
int colIndex)
throws DesignerErrorException
tabular - the handle of tabular objectrowIndex - indicate tabular row .columnIndex - indicate tabular column .
DesignerErrorException
public java.lang.String insertPage(java.lang.String reportHandle)
throws DesignerErrorException
reportHandle - the handle of the report.
DesignerErrorException
public boolean deletePage(java.lang.String pageHandle)
throws DesignerErrorException
pageHandle - the handle of page object
DesignerErrorException
public java.lang.String insertPageBreak(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
throws DesignerErrorException
parent - handle of the parent container.referedHandle - indicate the refer object to insert the page breakerisinsertedBefore - indicate to insert the page breaker before the refered object or not
DesignerErrorException
public java.lang.String[] insertPageStartEnd(java.lang.String pageHandle,
java.lang.String parent,
int startIndex,
int endIndex)
throws DesignerErrorException
pageHandle - the handle of the report page panel.parent - handle of the parent container.startIndex - indicate the object index to start a pageendIndex - indicate the object index to end a page
DesignerErrorException
public boolean deletePageController(java.lang.String controllerHandle)
throws DesignerErrorException
controllerHandle - the handle of page controller object
DesignerErrorException
public java.lang.String insertBandedObject(java.lang.String parent,
boolean withHeader,
boolean withFooter,
boolean withDetail)
throws DesignerErrorException
parent - handle of the parent node.withHeader - indicate that inserting Banded object with header objectwithFooter - indicate that inserting Banded object with footer objectwithDetail - indicate that inserting Banded object with detail objectindex - indicate the index of object in the parent container
DesignerErrorException
public boolean deleteBandedObject(java.lang.String bandedObject)
throws DesignerErrorException
bandedObject - the handle of Banded Object
DesignerErrorException
public java.lang.String insertSectionGroup(java.lang.String parent,
GroupInfo groupInfo)
throws DesignerErrorException
parent - handle of the parent node.groupInfo - the group properties informationindex - indicate the index of object in the parent container
DesignerErrorException
public boolean deleteGroup(java.lang.String groupHandle,
boolean removeAllChildren)
throws DesignerErrorException
groupHandle - the handle of group objectremoveAllChildren - indicate whether to remove the children of the group
DesignerErrorExceptionpublic int getIndex(java.lang.String objHandle)
objHandle - handle of the object.
public java.lang.String insertDetailPanel(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
throws DesignerErrorException
parent - handle of the parent container.referedHandle - indicate the refered section in the parent container, it should present a detail panelisinsertedBefore - indicate to insert the section before the refered section or not
DesignerErrorException
public boolean deleteDetailPanel(java.lang.String detailSection)
throws DesignerErrorException
detailSection - the handle of detail section
DesignerErrorException
public java.lang.String insertSectionHeaderPanel(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
throws DesignerErrorException
parent - handle of the parent container.referedHandle - indicate the refered section in the parent container, it should present a header section panelisinsertedBefore - indicate to insert the section before the refered section or not
DesignerErrorException
public boolean deleteSectionHeaderPanel(java.lang.String headerSection)
throws DesignerErrorException
headerSection - the handle of header section
DesignerErrorException
public java.lang.String insertSectionFooterPanel(java.lang.String parent,
java.lang.String referedHandle,
boolean isinsertedBefore)
throws DesignerErrorException
parent - handle of the parent container.referedHandle - indicate the refered section in the parent container, it should present a footer section panelisinsertedBefore - indicate to insert the section before the refered section or not
DesignerErrorException
public java.lang.String insertSectionPanel(java.lang.String parent,
java.lang.String referedHandle,
int sectionType,
boolean isinsertedBefore)
throws DesignerErrorException
parent - handle of the parent container.referedHandle - indicate the refered section in the parent container, it should present a footer section panelsectionType - indicate section type inserted in banded objectisinsertedBefore - indicate to insert the section before the refered section or not
DesignerErrorException
public boolean deleteSectionFooterPanel(java.lang.String footerSection)
throws DesignerErrorException
footerSection - the handle of footerSection section
DesignerErrorException
public java.lang.String insertField(java.lang.String parent,
java.lang.String mapping,
java.lang.String blName,
int fieldType,
int renderType)
throws DesignerErrorException
parent - handle of the parent node.mapping - the mapping name of the inserted fieldblName - the businessLogic field name of the inserted fieldfieldType - the int value of field typerenderType - the int value of field render typeindex - indicate the index of field in the parent container
DesignerErrorException
public java.lang.String insertShape(java.lang.String parent,
Shape shape)
throws DesignerErrorException
parent - handle of the parent node.info - the shape properties of the inserted object
DesignerErrorExceptionpublic void setReporthome(java.lang.String reporthome)
reporthome - install root stringpublic java.lang.String getReporthome()
public boolean bindDataSet(java.lang.String handle,
java.lang.String datasetName)
handle - handle of the report object node that the datset binded to.datasetName - the dataset name
public java.lang.String insertChart(java.lang.String parent,
ChartInfo info)
throws DesignerErrorException
parent - the handle of object that the chart to be inserted.info - chart information.index - inert chart at the specified index .
DesignerErrorException
public boolean setStyle(java.lang.String reportHandle,
java.lang.String viewName,
java.lang.String styleName)
reportHandle - the handle of the report.viewName - name of the view of report.
public boolean setStyle(java.lang.String reportHandle,
java.lang.String[] objectHandles,
java.lang.String styleName,
boolean isURL)
reportHandle - the handle of the report.objectHandles - the list of handles that apply style.styleName - the style file name.
public boolean setDefaultFormat(java.lang.String handle)
handle - the handle of the object.
public boolean saveSelfContainedReport(java.lang.String rptHandle,
java.lang.String path,
java.lang.String filename)
throws java.io.IOException,
WriteFailureException,
FMLFileException,
ReadFailureException,
UniverseFileException
path - the path of the report will be saved toname - the catalog name of the report will be saved tonewName - new report name
java.io.IOException
WriteFailureException
FMLFileException
ReadFailureException
UniverseFileException
public void addDisplayName(java.lang.String report,
DisplayNameInfo displayNameInfo)
report - current report name.displayNameInfo - information of display name.
public void addDisplayName(java.lang.String report,
java.lang.String datasetHandle,
DisplayNameInfo displayNameInfo)
report - report handle.datasetHandle - handle of dataset.displayNameInfo - information of display name.public java.lang.String[] getFormulas(java.lang.String report)
report - current report name.
public java.util.Vector getGroupNames(java.lang.String report)
report - current report name.
public java.lang.String[] getAllResourceNames(java.lang.String report)
report - current report name.
public void removeDisplayName(java.lang.String report,
DisplayNameInfo displayNameInfo)
report - current report name.displayNameInfo - information of display name.public java.util.Vector getAllDisplayNames(java.lang.String report)
report - current report name.
public DisplayNameInfo getDisplayName(java.lang.String report,
java.lang.String resourceName)
report - current report name.resourceName - resource name.
public void updateDisplayName(java.lang.String report,
DisplayNameInfo displayNameInfo)
report - current report name.displayNameInfo - information of display name.
public boolean changeZOrder(java.lang.String objectHandle,
int zorderType)
objectHandle - handle of object its z-order to be moveddzorderType - direction of object to be moved.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||