Chapter 39. graphicreportlib
- graphicreport1
- graphicreport1arc
- graphicreport1ellipse
- graphicreport1form
- graphicreport1formbitmap
- graphicreport1formcontrol
- graphicreport1formpage
- graphicreport1formtext
- graphicreport1graphic
- graphicreport1line
- graphicreport1rectangle
- graphicreport1triangle
- __gr_hasaggregate()
- __gr_hascalculation()
- __gr_updatecontroldatasource()
- datasourceinusegr()
- datasourceinusegr_ca()
- fixgraphicreportcontrolsources()
- graphicreport1mergeforms()
- loadgraphicreport()
- loadgraphicreport1fromstring()
- loadgrxmlreportfromstring()
- parseselecttocontrolsources()
- report1_graphicreport_output_groupfooter()
- report1_graphicreport_output_groupheader()
- report1_graphicreport_output_pagefooter()
- report1_graphicreport_output_pageheader()
- report1_graphicreport_output_reportfooter()
- report1_graphicreport_output_reportheader()
- report1_graphicreport_outputrow()
- savegraphicreport()
- savegraphicreport1ctrlsasstring()
- tableinusegr()
- tableinusegr_ca()
graphicreport1
Description
Type Tags
dataform1, printform1, report1
Object Value
Objects of type graphicreport1 have no value, and it is an error to try to get or set this value.
graphicreport1.new()
Description
Prototype
graphicreport1
.new
(
graphicreport1
,
integer me
,
integer paperwidth
,
integer paperheight
,
string outputtarget
,
string title
,
string defbooleanformat
,
string defintegerformat
,
string defnumberformat
,
string defdateformat
,
string deftimeformat
,
SBLlocaledateinfo defdatetimeformat
,
SBLNumSettings datelocale
,
wxfont numlocale
,
boolean defaultfont
,
string createdisplayform
,
type(wxdialogparent) errmsgtitle
,
boolean dialogparent
,
integer loading
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
paperwidth | 210000 | integer | |
paperheight | 297000 | integer | |
outputtarget | 1 | integer | |
title | None | string | |
defbooleanformat | T|F | string | |
defintegerformat | . | string | |
defnumberformat | 999999.00 | string | |
defdateformat | yyyy.0m.0d | string | |
deftimeformat | hh:mm:ss | string | |
defdatetimeformat | yyyy-mm-dd hh:mm:ss.nnnnnn | string | |
datelocale | None | SBLlocaledateinfo | |
numlocale | None | SBLNumSettings | |
defaultfont | None | wxfont | |
createdisplayform | .false | boolean | |
errmsgtitle | Graphic Report Error | string | |
dialogparent | None | type(wxdialogparent) | |
loading | .false | boolean | |
error | None | integer |
Properties
Property | Type | Description |
---|---|---|
_ | type(*) | |
__ | type(*) | |
addaggregate | function | |
adddatasource | function | |
addgroup | function | |
addtable | function | |
allowuserdefinedfilter | boolean | |
allowuserdefinedorder | boolean | |
centeroverdisplay | boolean | |
currentoutput | printform1 | |
currpage | wxprintpage | |
currpagenumber | integer | |
currrownumber | integer | |
currtemplate | wxprintpagetemplate | |
currtopofpage | integer | |
datasources | dring | |
defbooleanformat | string | |
defdateformat | string | |
defdatetimeformat | string | |
defintegerformat | string | |
defnumberformat | string | |
deftimeformat | string | |
dialogdata | string | |
dialogparent | type(wxdialogparent) | |
dirty | boolean | |
dpix | integer | |
dpiy | integer | |
errmsgtitle | string | |
filename | string | |
finddatasource | function | |
findtable | function | |
gauge | gaugedialog | |
getaggregatedatatype | function | |
gettbinfotablesarray | function | |
hasband | function | |
hidespecifiedfilter | boolean | |
hidespecifiedorder | boolean | |
isportrait | boolean | |
lastreportedpagenumber | integer | |
loading | boolean | |
outputtarget | integer | |
pagefooterheight | integer | |
pageheaderheight | integer | |
paperheight | integer | |
paperwidth | integer | |
ppcs | ppcstype1 | |
printout | wxprintout | |
promptfordestination | boolean | |
report | report1 | |
reportform | graphicreport1form | |
run | function | |
setpapersize | function | |
showprinterdialog | boolean | |
startat100percent | boolean | |
suppresspagefooter_on_lastpage | boolean | |
suppresspagefooter_on_page1 | boolean | |
suppresspageheader_on_page1 | boolean | |
tables | dring | |
title | string | |
type | type | |
usegauge | boolean | |
valid | boolean |
Methods
addaggregate()
Description
Prototype
graphicreport1var
.addaggregate
(
graphicreport1
,
report1group me
,
integer group
,
integer aggregatetype
,
type colno
,
integer datatype
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
group | None | report1group | |
aggregatetype | None | integer | |
colno | None | integer | |
datatype | None | type | |
error | None | integer |
adddatasource()
Description
Prototype
graphicreport1var
.adddatasource
(
graphicreport1
,
type(*) me
,
string datasource
,
string source
,
string username
,
integer password
,
integer codepage
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
datasource | None | type(*) | |
source | None | string | |
username | None | string | |
password | None | string | |
codepage | None | integer | |
error | None | integer |
addgroup()
Description
Prototype
graphicreport1var
.addgroup
(
graphicreport1
,
string me
,
integer name
,
type colno
,
integer datatype
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
name | None | string | |
colno | None | integer | |
datatype | None | type | |
error | None | integer |
addtable()
Description
Prototype
graphicreport1var
.addtable
(
graphicreport1
,
type(db1table) me
,
dataform1datasource table
,
integer source
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
table | None | type(db1table) | |
source | None | dataform1datasource | |
error | None | integer |
finddatasource()
Description
Prototype
graphicreport1var
.finddatasource
(
graphicreport1
,
string me
)
sourcename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
sourcename | None | string |
findtable()
Description
Prototype
graphicreport1var
.findtable
(
graphicreport1
,
string me
)
tablename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
tablename | None | string |
getaggregatedatatype()
Description
Prototype
graphicreport1var
.getaggregatedatatype
(
graphicreport1
,
integer me
,
integer colno
)
aggregatetype
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
colno | None | integer | |
aggregatetype | None | integer |
gettbinfotablesarray()
Description
Prototype
graphicreport1var
.gettbinfotablesarray
(
graphicreport1
,
boolean me
)
inuseonly
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
inuseonly | .false | boolean |
hasband()
Description
Prototype
graphicreport1var
.hasband
(
graphicreport1
,
string me
,
string bandname
)
groupname
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
bandname | None | string | |
groupname | None | string |
run()
Description
Prototype
graphicreport1var
.run
(
graphicreport1
,
string me
,
integer errmsg
,
integer erridx
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
errmsg | None | string | |
erridx | None | integer | |
error | None | integer |
setpapersize()
Description
Prototype
graphicreport1var
.setpapersize
(
graphicreport1
,
integer me
,
integer paperwidth
,
integer paperheight
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | graphicreport1 | |
paperwidth | None | integer | |
paperheight | None | integer | |
error | None | integer |