Académique Documents
Professionnel Documents
Culture Documents
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxi
About Actuate e.Reporting Suite 6 . . . . . . . . . . . . .
About Actuate e.Report Designer Professional product .
About the Actuate Foundation Class Reference . . . . . . .
Online documentation. . . . . . . . . . . . . . . . . . . .
Using online manuals . . . . . . . . . . . . . . . . . .
Online help . . . . . . . . . . . . . . . . . . . . . . . .
Using context-sensitive online help . . . . . . . . .
Using the Actuate online help system. . . . . . . .
Using report-specific online help . . . . . . . . . .
Typographical conventions . . . . . . . . . . . . . . . . .
Syntax conventions . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . xxi
. . xxv
. xxvii
.xxviii
.xxviii
.xxviii
.xxviii
. xxix
. xxxi
. xxxi
. xxxii
Chapter 1
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 4
. 4
. 11
.17
.25
.29
.30
.33
.35
Chapter 2
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.42
.44
.45
.45
.45
.46
.46
.47
.47
.48
.48
AcChartPointLabelStyle . . . . . . . .
AcChartRoundTo . . . . . . . . . . . .
AcChartTickStyle . . . . . . . . . . . .
AcChartType . . . . . . . . . . . . . .
AcChartUnitType. . . . . . . . . . . .
AcChartXAxisPosition . . . . . . . . .
AcChartXValueSet . . . . . . . . . . .
AcChartXLabelStyle . . . . . . . . . .
AcChartYAxisPosition . . . . . . . . .
AcChartYLabelStyle . . . . . . . . . .
AcChartYOrientation . . . . . . . . .
AcColor . . . . . . . . . . . . . . . . .
Considerations for HTML reports .
AcControlValueType . . . . . . . . . .
AcCursorShape . . . . . . . . . . . . .
AcExcelBorder . . . . . . . . . . . . .
AcExcelBorderType . . . . . . . . . .
AcExcelBorderName . . . . . . . . . .
AcExcelHorizontalAlignment. . . . .
AcExcelVerticalAlignment. . . . . . .
AcFlowPlacement . . . . . . . . . . .
AcFont . . . . . . . . . . . . . . . . . .
Considerations for HTML reports .
AcGraphAxisStyle . . . . . . . . . . .
AcGraphBarGrouping . . . . . . . . .
AcGraphBarOrientation . . . . . . . .
AcGraphBorderStyle . . . . . . . . . .
AcGraphLabelStyle. . . . . . . . . . .
AcGraphLegendPosition . . . . . . .
AcGraphLineStyle . . . . . . . . . . .
AcGraphPoint. . . . . . . . . . . . . .
AcGraphPointLabelStyle . . . . . . .
AcGraphTickStyle . . . . . . . . . . .
AcGraphType . . . . . . . . . . . . . .
AcGraphXAxisPosition . . . . . . . .
AcGraphXValueSet . . . . . . . . . . .
AcGraphYAxisPosition . . . . . . . .
AcGraphYOrientation . . . . . . . . .
AcGroupOnType . . . . . . . . . . . .
AcHtmlBackgroundStyle . . . . . . .
AcHtmlFrameStyle . . . . . . . . . . .
AcHtmlHorizontalAlignment. . . . .
AcHtmlImageAlignment . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
ii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
49
49
50
50
51
51
52
52
52
53
53
54
54
55
55
56
56
57
57
58
58
59
59
60
61
61
62
62
63
63
64
64
65
65
66
66
67
67
67
68
68
69
70
AcHtmlImageMapType . . .
AcHtmlPlugInUnits . . . . .
AcHtmlTableCaptionStyle .
AcHtmlTableStyle . . . . . .
AcHtmlTextAlignment . . .
AcHtmlTextVertAlignment .
AcHtmlTocStyle . . . . . . .
AcHtmlUnits . . . . . . . . .
AcImageEmbedType. . . . .
AcLinePen . . . . . . . . . .
AcLineStyle . . . . . . . . . .
AcMargins . . . . . . . . . .
AcOffset . . . . . . . . . . . .
AcPageNumberStyle . . . .
AcPercentage . . . . . . . . .
AcPoint . . . . . . . . . . . .
AcRectangle . . . . . . . . .
AcRounding . . . . . . . . .
AcSearchType . . . . . . . .
AcShadow . . . . . . . . . .
AcShiftKeyState . . . . . . .
AcSize . . . . . . . . . . . . .
AcTextClipStyle . . . . . . .
AcTextFormat. . . . . . . . .
AcTextJustify . . . . . . . . .
AcTextPlacement . . . . . . .
AcTextVerticalPlacement . .
AcTOCNodeType . . . . . .
AcTwips . . . . . . . . . . . .
AcVerticalPosition . . . . . .
AcVerticalSize . . . . . . . .
AcWordWrapStyle . . . . . .
AcXMLType . . . . . . . . .
ViewContext . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.71
.71
.71
.72
.72
.72
.73
.73
.74
.74
.75
.75
.76
.76
.77
.77
.78
.78
.79
.79
.80
.80
.80
.81
.81
.82
.82
.83
.83
.84
.85
.85
.86
.86
Chapter 3
AFC classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Class AcBaseFrame . . . . . . . . . . . . . . .
Factory protocol. . . . . . . . . . . . . . . .
Preparing the frame or page . . . . . . . . .
Building the frame or page . . . . . . . . .
Subclassing AcBaseFrame . . . . . . . . . .
AcBaseFrame::AddToAdjustSizeList method.
.
.
.
.
.
.
.
.
.
.
.
.
iii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.88
.88
.89
.89
.89
.91
AcBaseFrame::AdjustContentVerticalGeometry method
AcBaseFrame::BindToFlow method . . . . . . . . . . . .
AcBaseFrame::FindContentByClass method . . . . . . .
AcBaseFrame::FindContentByClassID method . . . . . .
AcBaseFrame::GetControl method . . . . . . . . . . . . .
AcBaseFrame::GetControlValue method. . . . . . . . . .
AcBaseFrame::GetPageNumber method. . . . . . . . . .
AcBaseFrame::MakeContents method . . . . . . . . . . .
AcBaseFrame::RebindToFlow method . . . . . . . . . . .
AcBaseFrame::SplitContents method . . . . . . . . . . .
AcBaseFrame::SplitFrame method . . . . . . . . . . . . .
Class AcBasePage . . . . . . . . . . . . . . . . . . . . . .
AcBasePage::ResizeBy method . . . . . . . . . . . . . . .
Class AcBrowserScriptingControl. . . . . . . . . . . . .
AcBrowserScriptingControl::BrowserCode method . . .
AcBrowserScriptingControl::GetText method. . . . . . .
Class AcBTree . . . . . . . . . . . . . . . . . . . . . . . .
AcBTree::CreateNode method . . . . . . . . . . . . . . .
AcBTree::Find method . . . . . . . . . . . . . . . . . . . .
AcBTree::FindOrCreate method . . . . . . . . . . . . . .
AcBTree::GetKey method . . . . . . . . . . . . . . . . . .
AcBTree::Insert method . . . . . . . . . . . . . . . . . . .
Class AcChart . . . . . . . . . . . . . . . . . . . . . . . .
AcChart::CalculateEndingValue method . . . . . . . . .
AcChart::CalculateRangeUnit method . . . . . . . . . . .
AcChart::CalculateStartingValue method . . . . . . . . .
AcChart::CalculateTickIntervalUnit method . . . . . . .
AcChart::ComputeDualYMinMax method . . . . . . . .
AcChart::ComputeLabels method . . . . . . . . . . . . .
AcChart::ComputeMinMax method . . . . . . . . . . . .
AcChart::CustomDualYLabels method . . . . . . . . . .
AcChart::FormatDualYLabel method . . . . . . . . . . .
AcChart::FormatXLabel method . . . . . . . . . . . . . .
AcChart::FormatYLabel method . . . . . . . . . . . . . .
AcChart::GetSeriesKey method. . . . . . . . . . . . . . .
Class AcCollection. . . . . . . . . . . . . . . . . . . . . .
AcCollection::NewIterator method. . . . . . . . . . . . .
AcCollection::RemoveAll method . . . . . . . . . . . . .
AcCollection::Remove method . . . . . . . . . . . . . . .
AcCollection::IsEmpty method . . . . . . . . . . . . . . .
AcCollection::GetCount method . . . . . . . . . . . . . .
Class AcComponent . . . . . . . . . . . . . . . . . . . . .
AcComponent::Delete method . . . . . . . . . . . . . . .
iv
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 92
. 92
. 93
. 94
. 95
. 95
. 96
. 96
. 96
. 97
. 97
. 101
. 102
. 103
. 105
. 105
. 107
. 108
. 108
. 109
. 109
. 110
. 111
. 133
. 133
. 133
. 134
. 134
. 134
. 135
. 135
. 136
. 136
. 137
. 137
. 138
. 139
. 139
. 140
. 141
. 141
. 142
. 143
AcComponent::GetContentName method . . . . .
AcComponent::IsPersistent method . . . . . . . . .
AcComponent::New method . . . . . . . . . . . . .
AcComponent::NewComponent method . . . . . .
AcComponent::NewPersistentComponent method
Class AcConditionalSection . . . . . . . . . . . . .
AcConditionalSection::ConditionIsTrue method . .
Class AcConnection. . . . . . . . . . . . . . . . . .
AcConnection::Connect method . . . . . . . . . . .
AcConnection::Disconnect method . . . . . . . . .
AcConnection::IsConnected method. . . . . . . . .
AcConnection::RaiseError method . . . . . . . . . .
Class AcControl . . . . . . . . . . . . . . . . . . . .
AcControl::BalloonHelp method . . . . . . . . . . .
AcControl::GetControlValue method . . . . . . . .
AcControl::GetHtmlText method. . . . . . . . . . .
AcControl::GetText method. . . . . . . . . . . . . .
AcControl::GetValue method . . . . . . . . . . . . .
AcControl::PageNo method . . . . . . . . . . . . .
AcControl::PageNo$ method . . . . . . . . . . . . .
AcControl::SetDataValue method . . . . . . . . . .
AcControl::SetValue method . . . . . . . . . . . . .
Class AcCurrencyControl . . . . . . . . . . . . . .
Class AcDataAdapter . . . . . . . . . . . . . . . . .
AcDataAdapter::AddRow method. . . . . . . . . .
AcDataAdapter::AddSortKey method. . . . . . . .
AcDataAdapter::CanSeek method . . . . . . . . . .
AcDataAdapter::CanSortDynamically method. . .
AcDataAdapter::CloseConnection method . . . . .
AcDataAdapter::Fetch method . . . . . . . . . . . .
AcDataAdapter::Finish method . . . . . . . . . . .
AcDataAdapter::FlushBuffer method . . . . . . . .
AcDataAdapter::FlushBufferTo method. . . . . . .
AcDataAdapter::GetConnection method . . . . . .
AcDataAdapter::GetPosition method . . . . . . . .
AcDataAdapter::IsStarted method . . . . . . . . . .
AcDataAdapter::NewConnection method . . . . .
AcDataAdapter::NewDataRow method. . . . . . .
AcDataAdapter::OpenConnection method . . . . .
AcDataAdapter::Rewind method . . . . . . . . . .
AcDataAdapter::SeekBy method . . . . . . . . . . .
AcDataAdapter::SeekTo method . . . . . . . . . . .
AcDataAdapter::SeekToEnd method . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 143
. 144
. 144
. 145
. 145
. 147
. 148
. 150
. 151
. 151
. 151
. 152
. 153
. 155
. 155
. 156
. 157
. 157
. 157
. 158
. 158
. 159
. 161
. 162
. 165
. 165
. 166
. 166
. 167
. 167
. 170
. 171
. 171
. 171
. 172
. 172
. 172
. 173
. 173
. 174
. 175
. 175
. 176
AcDataAdapter::SetConnection method. . . . . . .
AcDataAdapter::Start method . . . . . . . . . . . .
Class AcDatabaseSource . . . . . . . . . . . . . . .
AcDatabaseSource::BindDataRow method . . . . .
AcDatabaseSource::BindStaticParameters method .
AcDatabaseSource::GetCursor method . . . . . . .
AcDatabaseSource::GetDBConnection method . . .
AcDatabaseSource::OpenCursor method . . . . . .
Class AcDataControl . . . . . . . . . . . . . . . . .
AcDataControl::Format method . . . . . . . . . . .
AcDataControl::GetGroupKey method . . . . . . .
AcDataControl::IsSummary method . . . . . . . . .
AcDataControl::SetTocEntry method . . . . . . . .
Class AcDataFilter . . . . . . . . . . . . . . . . . . .
Class AcDataFrame . . . . . . . . . . . . . . . . . .
Class AcDataRow . . . . . . . . . . . . . . . . . . .
AcDataRow::GetValue method . . . . . . . . . . . .
AcDataRow::OnRead method. . . . . . . . . . . . .
AcDataRow::SetValue method . . . . . . . . . . . .
Class AcDataSection . . . . . . . . . . . . . . . . .
AcDataSection::GetAfter method . . . . . . . . . . .
AcDataSection::GetBefore method . . . . . . . . . .
AcDataSection::GetFirstPageFooter method . . . .
AcDataSection::GetFirstPageHeader method . . . .
AcDataSection::GetPageFooter method . . . . . . .
AcDataSection::GetPageHeader method . . . . . .
AcDataSection::NewAfter method . . . . . . . . . .
AcDataSection::NewBefore method . . . . . . . . .
AcDataSection::NewContent method . . . . . . . .
AcDataSection::NewPageFooter method . . . . . .
AcDataSection::NewPageHeader method . . . . . .
AcDataSection::OnEmptyGroup method . . . . . .
Class AcDataSource . . . . . . . . . . . . . . . . . .
AcDataSource::HasFetchedLast method . . . . . . .
Class AcDateTimeControl . . . . . . . . . . . . . .
Class AcDBConnection . . . . . . . . . . . . . . . .
AcDBConnection::GetGeneralError method . . . .
AcDBConnection::GetGeneralErrorText method . .
AcDBConnection::GetSpecificError method. . . . .
AcDBConnection::GetSpecificErrorText method . .
AcDBConnection::Prepare method . . . . . . . . . .
Class AcDB2Connection . . . . . . . . . . . . . . .
Class AcDBCursor . . . . . . . . . . . . . . . . . . .
vi
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 176
. 176
. 178
. 179
. 180
. 181
. 181
. 182
. 183
. 187
. 187
. 188
. 188
. 189
. 190
. 192
. 194
. 197
. 198
. 199
. 205
. 205
. 206
. 206
. 207
. 207
. 207
. 208
. 208
. 209
. 210
. 210
. 211
. 212
. 213
. 214
. 215
. 216
. 217
. 217
. 218
. 219
. 222
AcDBCursor::BindColumn method . . . . . . . . . . . . . . . . .
AcDBCursor::BindParameter method . . . . . . . . . . . . . . . .
AcDBCursor::CloseCursor method . . . . . . . . . . . . . . . . .
AcDBCursor::DefineProcedureInputParameter method . . . . .
AcDBCursor::DefineProcedureOutputParameter method . . . .
AcDBCursor::DefineProcedureReturnParameter method . . . . .
AcDBCursor::Fetch method. . . . . . . . . . . . . . . . . . . . . .
AcDBCursor::GetConnection method . . . . . . . . . . . . . . . .
AcDBCursor::GetOutputParameter method . . . . . . . . . . . .
AcDBCursor::GetProcedureStatus method . . . . . . . . . . . . .
AcDBCursor::GetStatement method . . . . . . . . . . . . . . . . .
AcDBCursor::IsOpen method . . . . . . . . . . . . . . . . . . . .
AcDBCursor::OpenCursor method . . . . . . . . . . . . . . . . .
AcDBCursor::StartNextSet method . . . . . . . . . . . . . . . . .
Class AcDBStatement. . . . . . . . . . . . . . . . . . . . . . . . .
AcDBStatement::AllocateCursor method . . . . . . . . . . . . . .
AcDBStatement::BindParameter method . . . . . . . . . . . . . .
AcDBStatement::DefineProcedureInputParameter method. . . .
AcDBStatement::DefineProcedureOutputParameter method. . .
AcDBStatement::DefineProcedureReturnParameter method . . .
AcDBStatement::Execute method . . . . . . . . . . . . . . . . . .
AcDBStatement::GetOutputCount method . . . . . . . . . . . . .
AcDBStatement::GetOutputParameter method . . . . . . . . . .
AcDBStatement::GetParameterCount method . . . . . . . . . . .
AcDBStatement::GetProcedureStatus method . . . . . . . . . . .
AcDBStatement::GetStatementText method . . . . . . . . . . . .
AcDBStatement::OpenCursor method. . . . . . . . . . . . . . . .
AcDBStatement::Prepare method . . . . . . . . . . . . . . . . . .
Class AcDetailChart . . . . . . . . . . . . . . . . . . . . . . . . .
AcDetailChart::AddPoint method . . . . . . . . . . . . . . . . . .
AcDetailChart::AddSeriesPoint method. . . . . . . . . . . . . . .
AcDetailChart::CustomXLabels method . . . . . . . . . . . . . .
Class AcDetailGraph . . . . . . . . . . . . . . . . . . . . . . . . .
AcDetailGraph::AddSeriesPoint method . . . . . . . . . . . . . .
AcDetailGraph::CustomXLabels method . . . . . . . . . . . . . .
Class AcDoubleControl . . . . . . . . . . . . . . . . . . . . . . .
Class AcDynamicTextControl . . . . . . . . . . . . . . . . . . . .
AcDynamicTextControl::BuildText method . . . . . . . . . . . . .
AcDynamicTextControl::GetAvailableHeight method. . . . . . .
AcDynamicTextControl::GetAvailableWidth method . . . . . . .
AcDynamicTextControl::GetFixedWidthFontFaceName method
AcDynamicTextControl::GetPlaintext method . . . . . . . . . . .
AcDynamicTextControl::GetTaggedText method . . . . . . . . .
vii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 224
. 225
. 226
. 226
. 227
. 228
. 228
. 229
. 229
. 230
. 230
. 230
. 231
. 232
. 234
. 236
. 237
. 238
. 239
. 240
. 241
. 242
. 242
. 244
. 244
. 245
. 245
. 246
. 247
. 248
. 248
. 249
. 250
. 251
. 252
. 253
. 254
. 260
. 261
. 261
. 261
. 261
. 262
AcDynamicTextControl::GetText method . . . . . . . . . . . .
AcDynamicTextControl::KeepTaggedText method . . . . . . .
AcDynamicTextControl::LineSpacing method . . . . . . . . .
AcDynamicTextControl::LineWidthPadding method . . . . .
AcDynamicTextControl::MinimumLineHeight method . . . .
AcDynamicTextControl::ProcessText method . . . . . . . . . .
AcDynamicTextControl::SetTaggedText method . . . . . . . .
AcDynamicTextControl::SpaceBetweenLines method . . . . .
AcDynamicTextControl::SpaceBetweenParagraphs method .
AcDynamicTextControl::TabPadding method . . . . . . . . .
AcDynamicTextControl::TabSpacing method . . . . . . . . . .
AcDynamicTextControl::TextFormat method . . . . . . . . . .
AcDynamicTextControl::WidowAndOrphanControl method.
Class AcEllipseControl . . . . . . . . . . . . . . . . . . . . . .
Class AcExcelApp . . . . . . . . . . . . . . . . . . . . . . . . .
AcExcelApp::AddWorkbook method . . . . . . . . . . . . . .
AcExcelApp::DeleteWorkbook method . . . . . . . . . . . . .
AcExcelApp::FindWorkbook method . . . . . . . . . . . . . .
AcExcelApp::New method . . . . . . . . . . . . . . . . . . . .
AcExcelApp::SetFontScalingFactor method . . . . . . . . . . .
Class AcExcelCell . . . . . . . . . . . . . . . . . . . . . . . . .
Class AcExcelColumn . . . . . . . . . . . . . . . . . . . . . . .
AcExcelColumn::GetColumnWidth method . . . . . . . . . .
AcExcelColumn::SetColumnWidth method . . . . . . . . . . .
Class AcExcelRange . . . . . . . . . . . . . . . . . . . . . . . .
AcExcelRange::GetBackgroundColor method . . . . . . . . .
AcExcelRange::GetBorder method . . . . . . . . . . . . . . . .
AcExcelRange::GetFont method . . . . . . . . . . . . . . . . .
AcExcelRange::GetHorizontalAlignment method . . . . . . .
AcExcelRange::GetIndent method . . . . . . . . . . . . . . . .
AcExcelRange::GetMergeCells method . . . . . . . . . . . . .
AcExcelRange::GetNumberFormat method . . . . . . . . . . .
AcExcelRange::GetValue method. . . . . . . . . . . . . . . . .
AcExcelRange::GetValueAsDate method . . . . . . . . . . . .
AcExcelRange::GetVerticalAlignment method . . . . . . . . .
AcExcelRange::GetWrapText method . . . . . . . . . . . . . .
AcExcelRange::SetBackgroundColor method . . . . . . . . . .
AcExcelRange::SetBorder method . . . . . . . . . . . . . . . .
AcExcelRange::SetFont method. . . . . . . . . . . . . . . . . .
AcExcelRange::SetHorizontalAlignment method . . . . . . .
AcExcelRange::SetIndent method . . . . . . . . . . . . . . . .
AcExcelRange::SetNumberFormat method . . . . . . . . . . .
AcExcelRange::SetValue method . . . . . . . . . . . . . . . . .
viii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 262
. 262
. 262
. 263
. 263
. 263
. 263
. 264
. 264
. 264
. 264
. 265
. 265
. 266
. 268
. 268
. 269
. 269
. 270
. 270
. 272
. 273
. 273
. 273
. 275
. 276
. 276
. 277
. 277
. 278
. 278
. 278
. 279
. 279
. 279
. 280
. 280
. 280
. 281
. 281
. 282
. 282
. 284
AcExcelRange::SetVerticalAlignment method . . . .
AcExcelRange::SetMergeCells method . . . . . . . .
AcExcelRange::SetWrapText method . . . . . . . . .
Class AcExcelRow . . . . . . . . . . . . . . . . . . . .
AcExcelRow::GetRowHeight method . . . . . . . . .
AcExcelRow::SetRowHeight method . . . . . . . . .
Class AcExcelWorkbook . . . . . . . . . . . . . . . .
AcExcelWorkbook::AddWorksheet method . . . . .
AcExcelWorkbook::DeleteWorksheet method . . . .
AcExcelWorkbook::FindWorksheet method . . . . .
AcExcelWorkbook::GetFullName method . . . . . .
AcExcelWorkbook::Save method . . . . . . . . . . . .
AcExcelWorkbook::SaveAs method . . . . . . . . . .
Class AcExcelWorksheet . . . . . . . . . . . . . . . .
AcExcelWorksheet::Autofit method . . . . . . . . . .
AcExcelWorksheet::GetCell method . . . . . . . . . .
AcExcelWorksheet::GetColumn method . . . . . . .
AcExcelWorksheet::GetDisplayGridlines method . .
AcExcelWorksheet::GetName method. . . . . . . . .
AcExcelWorksheet::GetRange method . . . . . . . .
AcExcelWorksheet::GetRow method . . . . . . . . .
AcExcelWorksheet::SetDisplayGridlines method . .
AcExcelWorksheet::SetName method . . . . . . . . .
Class AcFlow. . . . . . . . . . . . . . . . . . . . . . .
AcFlow::AddFrame method . . . . . . . . . . . . . .
AcFlow::AddHeader method . . . . . . . . . . . . . .
AcFlow::AddSubpage method . . . . . . . . . . . . .
AcFlow::AdjustFooter method . . . . . . . . . . . . .
AcFlow::CanFitFrame method . . . . . . . . . . . . .
AcFlow::CanFitHeight method . . . . . . . . . . . . .
AcFlow::GetFreeSpace method . . . . . . . . . . . . .
AcFlow::GetInsideSize method. . . . . . . . . . . . .
AcFlow::IsEmpty method . . . . . . . . . . . . . . . .
AcFlow::ReleaseSpace method . . . . . . . . . . . . .
AcFlow::ReserveSpace method . . . . . . . . . . . . .
AcFlow::ResetSpace method . . . . . . . . . . . . . .
AcFlow::ShiftFooterUp method . . . . . . . . . . . .
Class AcFrame . . . . . . . . . . . . . . . . . . . . . .
AcFrame::AddToAdjustSizeList method . . . . . . .
AcFrame::AdjustContentVerticalGeometry method .
AcFrame::AutoSplitVertical method . . . . . . . . . .
AcFrame::CustomDHTMLFooter method . . . . . .
AcFrame::CustomDHTMLHeader method . . . . . .
ix
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 284
. 285
. 285
. 286
. 286
. 287
. 288
. 288
. 289
. 289
. 290
. 290
. 290
. 292
. 292
. 293
. 293
. 294
. 294
. 294
. 295
. 295
. 296
. 297
. 299
. 299
. 300
. 300
. 301
. 301
. 301
. 302
. 302
. 302
. 303
. 303
. 304
. 305
. 311
. 311
. 312
. 312
. 312
AcFrame::GetBorderOrigin method . . . . . . .
AcFrame::GetBorderRect method . . . . . . . .
AcFrame::GetBorderSize method. . . . . . . . .
AcFrame::NoSplitBottom method . . . . . . . .
AcFrame::NoSplitTop method . . . . . . . . . .
AcFrame::SplitMarginBottom method . . . . . .
AcFrame::SplitMarginTop method . . . . . . . .
Class AcGraph . . . . . . . . . . . . . . . . . . .
AcGraph::CalculateEndingValue method . . . .
AcGraph::CalculateRangeUnit method . . . . .
AcGraph::CalculateStartingValue method. . . .
AcGraph::CalculateTickIntervalUnit method . .
AcGraph::ComputeLabels method . . . . . . . .
AcGraph::ComputeMinMax method. . . . . . .
AcGraph::ComputeYOverlayMinMax method .
AcGraph::CustomYOverlayLabels method . . .
AcGraph::FormatXLabel method . . . . . . . . .
AcGraph::FormatYLabel method . . . . . . . . .
AcGraph::FormatYOverlayLabel method . . . .
AcGraph::GetHitPoint method . . . . . . . . . .
AcGraph::GetHitSet method . . . . . . . . . . .
AcGraph::GetHitXValue method . . . . . . . . .
AcGraph::GetHitYValue method . . . . . . . . .
AcGraph::GetSeriesKey method . . . . . . . . .
Class AcGroupSection . . . . . . . . . . . . . .
AcGroupSection::GetIntervalValue method . . .
AcGroupSection::GetKey method . . . . . . . .
AcGroupSection::GetKeyString method . . . . .
AcGroupSection::GetKeyValue method . . . . .
AcGroupSection::IsSameKey method . . . . . .
AcGroupSection::SetTocEntry method . . . . . .
Class AcHLCChart. . . . . . . . . . . . . . . . .
AcHLCChart::AddPoint method . . . . . . . . .
AcHLCChart::GetCloseValue method . . . . . .
AcHLCChart::GetDateValue method . . . . . .
AcHLCChart::GetHighValue method . . . . . .
AcHLCChart::GetLabelValue method . . . . . .
AcHLCChart::GetLowValue method. . . . . . .
AcHLCChart::GetOpenValue method . . . . . .
Class AcHLCGraph . . . . . . . . . . . . . . . .
AcHLCGraph::AddPoint method . . . . . . . .
AcHLCGraph::GetCloseValue method. . . . . .
AcHLCGraph::GetDateValue method . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 312
. 313
. 313
. 313
. 314
. 314
. 314
. 315
. 333
. 333
. 333
. 334
. 334
. 335
. 335
. 335
. 336
. 336
. 337
. 337
. 338
. 340
. 340
. 341
. 342
. 346
. 347
. 347
. 348
. 348
. 348
. 349
. 350
. 351
. 351
. 351
. 352
. 352
. 352
. 353
. 354
. 355
. 355
AcHLCGraph::GetHighValue method. . . . . .
AcHLCGraph::GetLabelValue method . . . . .
AcHLCGraph::GetLowValue method . . . . . .
AcHLCGraph::GetOpenValue method . . . . .
Class AcHtmlAppletControl. . . . . . . . . . .
AcHtmlAppletControl::HtmlParams method .
AcHtmlAppletControl::SetParam method . . .
Class AcHtmlFrame . . . . . . . . . . . . . . . .
Class AcHtmlImageControl . . . . . . . . . . .
Class AcHtmlObjectControl . . . . . . . . . . .
Class AcHtmlPlugInControl . . . . . . . . . . .
AcHtmlPlugInControl::HtmlParams method. .
AcHtmlPlugInControl::SetParam method . . .
Class AcHtmlReport . . . . . . . . . . . . . . .
AcHtmlReport::GetRowFileName method . . .
AcHtmlReport::GetServerPrefix method . . . .
AcHtmlReport::WantHtml method . . . . . . .
Class AcHtmlRuleControl . . . . . . . . . . . .
Class AcImageControl . . . . . . . . . . . . . .
AcImageControl::GetBaseImageName method
AcImageControl::GetFileName method . . . . .
Class AcInformixConnection . . . . . . . . . .
Class AcIntegerControl. . . . . . . . . . . . . .
Class AcIterator . . . . . . . . . . . . . . . . . .
AcIterator::GetItem method . . . . . . . . . . .
AcIterator::GetNext method . . . . . . . . . . .
AcIterator::GetPosition method . . . . . . . . .
AcIterator::HasMore method . . . . . . . . . . .
AcIterator::IsDone method . . . . . . . . . . . .
AcIterator::MoveNext method . . . . . . . . . .
AcIterator::MoveTo method . . . . . . . . . . .
AcIterator::Restart method . . . . . . . . . . . .
AcIterator::SkipTo method . . . . . . . . . . . .
Class AcLabelControl. . . . . . . . . . . . . . .
Class AcLeftRightPageList . . . . . . . . . . . .
AcLeftRightPageList::NewLeftPage method . .
AcLeftRightPageList::NewRightPage method .
Class AcLinearFlow . . . . . . . . . . . . . . . .
Class AcLineControl . . . . . . . . . . . . . . .
Class AcList . . . . . . . . . . . . . . . . . . . .
AcList::AddToHead method . . . . . . . . . . .
AcList::Contains method . . . . . . . . . . . . .
AcList::GetIndex method . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
xi
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 355
. 356
. 356
. 356
. 357
. 360
. 360
. 362
. 365
. 369
. 370
. 373
. 374
. 375
. 378
. 379
. 379
. 381
. 383
. 385
. 385
. 386
. 388
. 389
. 391
. 391
. 391
. 392
. 392
. 392
. 393
. 393
. 394
. 395
. 396
. 397
. 397
. 398
. 400
. 402
. 403
. 404
. 404
AcList::InsertAfter method . . . . . . . . . . . . . . .
AcList::InsertBefore method. . . . . . . . . . . . . . .
AcList::RemoveHead method. . . . . . . . . . . . . .
Class AcMemoryBuffer . . . . . . . . . . . . . . . . .
AcMemoryBuffer::AddRowToBuffer method . . . . .
AcMemoryBuffer::FlushBuffer method . . . . . . . .
AcMemoryBuffer::FlushBufferTo method . . . . . . .
AcMemoryBuffer::GetBufferCount method . . . . . .
AcMemoryBuffer::GetBufferStart method . . . . . . .
Class AcMemoryDataSorter . . . . . . . . . . . . . .
AcMemoryDataSorter::Compare method . . . . . . .
AcMemoryDataSorter::CompareKeys method . . . .
Class AcMSSQLConnection . . . . . . . . . . . . . .
Class AcMultipleInputFilter . . . . . . . . . . . . . .
AcMultipleInputFilter::NewInputAdapter method .
Class AcObjectArray . . . . . . . . . . . . . . . . . .
AcObjectArray::ResizeTo method . . . . . . . . . . .
AcObjectArray::SetAt method . . . . . . . . . . . . .
AcObjectArray::SetGrowthIncrement method . . . .
Class AcODBCConnection . . . . . . . . . . . . . . .
Class AcOleContainerControl . . . . . . . . . . . . .
AcOleContainerControl::CloseOrDeactivate method
AcOleContainerControl::DoVerb method . . . . . . .
AcOleContainerControl::Object method . . . . . . . .
AcOleContainerControl::OnActivate method . . . . .
AcOleContainerControl::OnCreate method . . . . . .
AcOleContainerControl::OnLButtonDblClk method.
Class AcOleControl . . . . . . . . . . . . . . . . . . .
Class AcOracleConnection . . . . . . . . . . . . . . .
Class AcOrderedCollection . . . . . . . . . . . . . .
AcOrderedCollection::AddToHead method. . . . . .
AcOrderedCollection::AddToTail method . . . . . . .
AcOrderedCollection::Copy method . . . . . . . . . .
AcOrderedCollection::GetAt method . . . . . . . . .
AcOrderedCollection::GetHead method. . . . . . . .
AcOrderedCollection::GetTail method . . . . . . . . .
AcOrderedCollection::RemoveHead method . . . . .
AcOrderedCollection::RemoveTail method . . . . . .
Class AcPage . . . . . . . . . . . . . . . . . . . . . . .
AcPage::FormatPageNumber method . . . . . . . . .
AcPage::PageNumberFormat method . . . . . . . . .
Class AcPageList . . . . . . . . . . . . . . . . . . . . .
AcPageList::EjectPage method . . . . . . . . . . . . .
xii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 404
. 405
. 405
. 406
. 407
. 407
. 408
. 408
. 409
. 410
. 411
. 412
. 413
. 416
. 419
. 420
. 421
. 421
. 422
. 423
. 427
. 428
. 428
. 429
. 429
. 429
. 429
. 431
. 433
. 435
. 435
. 436
. 436
. 436
. 437
. 437
. 437
. 438
. 439
. 442
. 442
. 443
. 447
AcPageList::GetCurrentFlow method . . . . . . . . . . . . . .
AcPageList::GetCurrentPage method . . . . . . . . . . . . . .
AcPageList::GetCurrentPageACL method . . . . . . . . . . .
AcPageList::GetEstimatedPageCount method . . . . . . . . .
AcPageList::GetFirstPage method . . . . . . . . . . . . . . . .
AcPageList::GetLastPage method . . . . . . . . . . . . . . . .
AcPageList::GetPageCount method . . . . . . . . . . . . . . .
AcPageList::NeedHeight method . . . . . . . . . . . . . . . .
AcPageList::NewPage method . . . . . . . . . . . . . . . . . .
AcPageList::UseAcceleratedCheckpoints method . . . . . . .
Class AcPageNumberControl . . . . . . . . . . . . . . . . . .
AcPageNumberControl::GetActualPageCount method . . . .
AcPageNumberControl::GetActualPageNumber method . .
AcPageNumberControl::GetFormattedPageNumber method
AcPageNumberControl::GetVisiblePageCount method . . . .
AcPageNumberControl::GetVisiblePageNumber method . .
AcPageNumberControl::PageNOfM method. . . . . . . . . .
Class AcParallelSection . . . . . . . . . . . . . . . . . . . . .
Class AcPopupMenu . . . . . . . . . . . . . . . . . . . . . . .
AcPopupMenu::AddCascade method . . . . . . . . . . . . . .
AcPopupMenu::AddItem method . . . . . . . . . . . . . . . .
AcPopupMenu::AddSeparator method . . . . . . . . . . . . .
AcPopupMenu::CheckMenuItem method . . . . . . . . . . .
AcPopupMenu::EnableMenuItem method . . . . . . . . . . .
AcPopupMenu::MakeMenu method . . . . . . . . . . . . . .
AcPopupMenu::Run method . . . . . . . . . . . . . . . . . . .
Class AcProgressConnection . . . . . . . . . . . . . . . . . .
Class AcProgressSQL92Connection . . . . . . . . . . . . . .
Class AcQuerySource . . . . . . . . . . . . . . . . . . . . . . .
AcQuerySource::AddSortKey method. . . . . . . . . . . . . .
AcQuerySource::GetStatementText method . . . . . . . . . .
AcQuerySource::ObtainSelectStatement method. . . . . . . .
AcQuerySource::SetupAdHocParameters method . . . . . . .
Class AcRecordBuffer . . . . . . . . . . . . . . . . . . . . . .
Class AcRectangleControl . . . . . . . . . . . . . . . . . . . .
Class AcReport. . . . . . . . . . . . . . . . . . . . . . . . . . .
AcReport::GenerateXMLDataFile method . . . . . . . . . . .
AcReport::GetContent method . . . . . . . . . . . . . . . . . .
AcReport::GetCustomFormat method . . . . . . . . . . . . . .
AcReport::GetFactoryLocale method . . . . . . . . . . . . . .
AcReport::GetGlobalDHTMLCode method . . . . . . . . . .
AcReport::GetHtmlDir method. . . . . . . . . . . . . . . . . .
AcReport::GetLayoutOrientation method. . . . . . . . . . . .
xiii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 447
. 448
. 448
. 448
. 449
. 449
. 449
. 450
. 450
. 451
. 452
. 455
. 456
. 456
. 456
. 457
. 457
. 458
. 460
. 461
. 461
. 462
. 463
. 463
. 463
. 464
. 465
. 470
. 474
. 475
. 476
. 476
. 476
. 477
. 478
. 480
. 488
. 488
. 488
. 489
. 489
. 489
. 490
AcReport::GetPageList method . . . . . . . . . . . . . .
AcReport::GetPrintLocale method . . . . . . . . . . . .
AcReport::GetTwipsPerPixel method . . . . . . . . . .
AcReport::GetUserACL method . . . . . . . . . . . . .
AcReport::GetViewLocale method . . . . . . . . . . . .
AcReport::HasPageSecurity method . . . . . . . . . . .
AcReport::NewContent method . . . . . . . . . . . . .
AcReport::NewPageList method . . . . . . . . . . . . .
AcReport::OnFinishViewer method . . . . . . . . . . .
AcReport::OnStartViewer method . . . . . . . . . . . .
AcReport::RoiIsTemporary method . . . . . . . . . . .
AcReport::SetLayoutOrientation method . . . . . . . .
AcReport::SetROIAgingProperties method . . . . . . .
AcReport::SetROWAgingProperties method . . . . . .
AcReport::SuggestRoiName method . . . . . . . . . . .
AcReport::XMLDataProlog method . . . . . . . . . . .
Class AcReportComponent. . . . . . . . . . . . . . . .
AcReportComponent::Abandon method . . . . . . . .
AcReportComponent::AddContent method . . . . . .
AcReportComponent::ApplyVisitor method . . . . . .
AcReportComponent::Build method . . . . . . . . . . .
AcReportComponent::BuildFromRow method . . . . .
AcReportComponent::DetachContent method . . . . .
AcReportComponent::DetachFromContainer method .
AcReportComponent::FindContainerByClass method.
AcReportComponent::Finish method . . . . . . . . . .
AcReportComponent::GenerateXML method. . . . . .
AcReportComponent::GetComponentACL method . .
AcReportComponent::GetConnection method . . . . .
AcReportComponent::GetContainer method . . . . . .
AcReportComponent::GetContentCount method . . .
AcReportComponent::GetContentIterator method. . .
AcReportComponent::GetContents method . . . . . .
AcReportComponent::GetDataStream method . . . . .
AcReportComponent::GetFirstContent method . . . .
AcReportComponent::GetFirstContentFrame method.
AcReportComponent::GetFullACL method . . . . . . .
AcReportComponent::GetPage method . . . . . . . . .
AcReportComponent::GetPageIndex method. . . . . .
AcReportComponent::GetPageList method . . . . . . .
AcReportComponent::GetReport method . . . . . . . .
AcReportComponent::GetRowCount method . . . . .
AcReportComponent::GetTocEntry method . . . . . .
xiv
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 490
. 490
. 491
. 491
. 492
. 493
. 493
. 493
. 494
. 494
. 494
. 495
. 496
. 496
. 497
. 499
. 500
. 508
. 508
. 509
. 510
. 510
. 510
. 511
. 511
. 512
. 512
. 513
. 513
. 514
. 514
. 515
. 515
. 515
. 516
. 516
. 517
. 517
. 518
. 518
. 518
. 519
. 519
AcReportComponent::GetXMLText method . . . .
AcReportComponent::HasContents method . . . .
AcReportComponent::IsContainer method . . . . .
AcReportComponent::IsFrame method . . . . . . .
AcReportComponent::IsLeaf method . . . . . . . .
AcReportComponent::IsVisual method . . . . . . .
AcReportComponent::OnRow method . . . . . . .
AcReportComponent::SetTocEntry method. . . . .
AcReportComponent::Start method . . . . . . . . .
Class AcReportController . . . . . . . . . . . . . .
AcReportController::AttachToThisReport method .
AcReportController::AttachReport method . . . . .
AcReportController::FollowLink method . . . . . .
AcReportController::ShowNextPage method. . . .
AcReportController::ShowPage method . . . . . .
AcReportController::ShowPrevPage method . . . .
Class AcReportSection . . . . . . . . . . . . . . . .
AcReportSection::FinishDataStream method . . . .
AcReportSection::NewDataStream method. . . . .
AcReportSection::ObtainDataStream method . . .
AcReportSection::SetSortKey method . . . . . . . .
AcReportSection::StartDataStream method . . . . .
Class AcReportView . . . . . . . . . . . . . . . . .
AcReportView::EndSelectionScan method . . . . .
AcReportView::GenerateXMLData method. . . . .
AcReportView::GetNextSelection method . . . . .
AcReportView::GetSelectionCount method. . . . .
AcReportView::PrintAllPages method . . . . . . .
AcReportView::PrintPages method . . . . . . . . .
AcReportView::StartSelectionScan method . . . . .
Class AcSection . . . . . . . . . . . . . . . . . . . .
AcSection::AddContent method . . . . . . . . . . .
AcSection::CommittedToFlow method . . . . . . .
AcSection::FinishConnection method . . . . . . . .
AcSection::FinishFlow method . . . . . . . . . . . .
AcSection::FinishPage method . . . . . . . . . . . .
AcSection::GetContents method . . . . . . . . . . .
AcSection::GetCurrentRow method . . . . . . . . .
AcSection::NewPage method . . . . . . . . . . . . .
AcSection::ObtainConnection method. . . . . . . .
AcSection::PageBreakAfter method . . . . . . . . .
AcSection::PageBreakBefore method . . . . . . . .
AcSection::SetSecurity method . . . . . . . . . . . .
xv
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 519
. 520
. 520
. 521
. 521
. 521
. 522
. 523
. 523
. 524
. 524
. 525
. 525
. 526
. 527
. 527
. 528
. 533
. 534
. 534
. 536
. 536
. 537
. 538
. 539
. 539
. 539
. 540
. 540
. 541
. 542
. 548
. 548
. 549
. 549
. 549
. 550
. 550
. 550
. 551
. 551
. 551
. 553
AcSection::StartFlow method . . . . . . . . . . . . . . .
AcSection::StartPage method . . . . . . . . . . . . . . .
AcSection::StopAfterCurrentFrame method . . . . . .
AcSection::StopAfterCurrentRow method. . . . . . . .
AcSection::StopNow method . . . . . . . . . . . . . . .
Class AcSequentialSection . . . . . . . . . . . . . . . .
AcSequentialSection::NewContent method . . . . . . .
AcSequentialSection::SelectContent method . . . . . .
Class AcSimplePageList . . . . . . . . . . . . . . . . .
Class AcSingleInputFilter . . . . . . . . . . . . . . . .
AcSingleInputFilter::Fetch method . . . . . . . . . . . .
AcSingleInputFilter::GetInput method. . . . . . . . . .
AcSingleInputFilter::NewInputAdapter method . . . .
AcSingleInputFilter::SetInput method . . . . . . . . . .
Class AcSingleList . . . . . . . . . . . . . . . . . . . . .
AcSingleList::Compare method. . . . . . . . . . . . . .
AcSingleList::FindByValue method . . . . . . . . . . .
Class AcSingleListIterator . . . . . . . . . . . . . . . .
Class AcSqlQuerySource . . . . . . . . . . . . . . . . .
AcSqlQuerySource::ObtainSelectStatement method . .
AcSqlQuerySource::SetAdHocParameter method . . .
Class AcStoredProcedureSource. . . . . . . . . . . . .
Class AcSubPage. . . . . . . . . . . . . . . . . . . . . .
Class AcSummaryChart. . . . . . . . . . . . . . . . . .
AcSummaryChart::ComputeCategoryRange method .
AcSummaryChart::ConvertCategoryExp method . . .
AcSummaryChart::CreateEmptyCategories method . .
AcSummaryChart::PopulateCategoryIndex method . .
AcSummaryChart::RoundToRange method. . . . . . .
Class AcSummaryGraph . . . . . . . . . . . . . . . . .
AcSummaryGraph::ComputeCategoryRange method .
AcSummaryGraph::ConvertCategoryKey method . . .
AcSummaryGraph::CreateEmptyCategories method .
AcSummaryGraph::PopulateCategoryIndex method .
AcSummaryGraph::RoundToRange method . . . . . .
Class AcSybaseConnection. . . . . . . . . . . . . . . .
Class AcTextControl . . . . . . . . . . . . . . . . . . . .
Class AcTextQuerySource . . . . . . . . . . . . . . . .
AcTextQuerySource::CanSortDynamically method . .
AcTextQuerySource::ObtainSelectStatement method .
AcTextQuerySource::SetAdHocCondition method . . .
Class AcTextualControl . . . . . . . . . . . . . . . . . .
Class AcTitleBodyPageList . . . . . . . . . . . . . . . .
xvi
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 554
. 554
. 555
. 555
. 555
. 557
. 559
. 560
. 562
. 563
. 565
. 566
. 566
. 567
. 568
. 568
. 569
. 570
. 571
. 572
. 572
. 574
. 578
. 579
. 580
. 581
. 581
. 581
. 582
. 583
. 585
. 585
. 585
. 586
. 586
. 587
. 590
. 591
. 593
. 593
. 593
. 595
. 596
AcTitleBodyPageList::NewBodyPage method
AcTitleBodyPageList::NewTitlePage method.
Class AcTopDownFlow. . . . . . . . . . . . .
Class AcVisitor. . . . . . . . . . . . . . . . . .
AcVisitor::VisitBaseFrame method . . . . . . .
AcVisitor::VisitBasePage method. . . . . . . .
AcVisitor::VisitComponent method . . . . . .
AcVisitor::VisitConditionalSection method . .
AcVisitor::VisitContents method . . . . . . . .
AcVisitor::VisitControl method. . . . . . . . .
AcVisitor::VisitCurrencyControl method . . .
AcVisitor::VisitDataControl method . . . . . .
AcVisitor::VisitDataFrame method. . . . . . .
AcVisitor::VisitDataSection method . . . . . .
AcVisitor::VisitDateTimeControl method . . .
AcVisitor::VisitDetailGraph method . . . . . .
AcVisitor::VisitDoubleControl method . . . .
AcVisitor::VisitDynamicTextControl method .
AcVisitor::VisitEllipseControl method. . . . .
AcVisitor::VisitFlow method . . . . . . . . . .
AcVisitor::VisitFrame method . . . . . . . . .
AcVisitor::VisitGraph method . . . . . . . . .
AcVisitor::VisitGroupSection method . . . . .
AcVisitor::VisitHLCGraph method . . . . . .
AcVisitor::VisitHtmlAppletControl method .
AcVisitor::VisitHtmlFrame method . . . . . .
AcVisitor::VisitHtmlImageControl method . .
AcVisitor::VisitHtmlObjectControl method . .
AcVisitor::VisitHtmlPlugInControl method. .
AcVisitor::VisitHtmlReport method . . . . . .
AcVisitor::VisitHtmlRuleControl method . . .
AcVisitor::VisitImageControl method . . . . .
AcVisitor::VisitIntegerControl method . . . .
AcVisitor::VisitLabelControl method . . . . .
AcVisitor::VisitLeftRightPageList method . .
AcVisitor::VisitLeftToRightFlow method . . .
AcVisitor::VisitLinearFlow method . . . . . .
AcVisitor::VisitLineControl method . . . . . .
AcVisitor::VisitOleContainerControl method .
AcVisitor::VisitOleControl method. . . . . . .
AcVisitor::VisitPage method . . . . . . . . . .
AcVisitor::VisitPageList method . . . . . . . .
AcVisitor::VisitPageNumberControl method .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
xvii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 596
. 597
. 598
. 600
. 610
. 611
. 611
. 611
. 611
. 611
. 612
. 612
. 612
. 613
. 613
. 613
. 613
. 614
. 614
. 614
. 614
. 614
. 614
. 615
. 615
. 615
. 615
. 615
. 615
. 616
. 616
. 616
. 616
. 616
. 616
. 617
. 617
. 617
. 617
. 617
. 617
. 618
. 618
AcVisitor::VisitParallelSection method. . . . . . . . . . . .
AcVisitor::VisitRectangleControl method . . . . . . . . . .
AcVisitor::VisitReport method . . . . . . . . . . . . . . . .
AcVisitor::VisitReportSection method . . . . . . . . . . . .
AcVisitor::VisitSection method . . . . . . . . . . . . . . . .
AcVisitor::VisitSequentialSection method . . . . . . . . . .
AcVisitor::VisitSimplePageList method . . . . . . . . . . .
AcVisitor::VisitSubpage method . . . . . . . . . . . . . . .
AcVisitor::VisitSummaryGraph method . . . . . . . . . . .
AcVisitor::VisitTextControl method . . . . . . . . . . . . .
AcVisitor::VisitTextualControl method . . . . . . . . . . .
AcVisitor::VisitTitleBodyPageList method. . . . . . . . . .
AcVisitor::VisitTopDownFlow method . . . . . . . . . . .
AcVisitor::VisitVisualComponent method. . . . . . . . . .
Class AcVisualComponent . . . . . . . . . . . . . . . . . .
AcVisualComponent::AddMenuCommands method . . .
AcVisualComponent::AdjustSize method . . . . . . . . . .
AcVisualComponent::AdjustVerticalGeometry method . .
AcVisualComponent::CanIncreaseHeight method . . . . .
AcVisualComponent::CanMoveUp method. . . . . . . . .
AcVisualComponent::CanReduceHeight method . . . . .
AcVisualComponent::CanSplitVertically method . . . . .
AcVisualComponent::ComputeLowestSplit method . . . .
AcVisualComponent::CursorShape method . . . . . . . .
AcVisualComponent::FindLowestSplit method . . . . . .
AcVisualComponent::FindPageContainerByClass method
AcVisualComponent::GetBottom method . . . . . . . . . .
AcVisualComponent::GetFirstSlave method . . . . . . . .
AcVisualComponent::GetFrame method . . . . . . . . . .
AcVisualComponent::GetHeight method . . . . . . . . . .
AcVisualComponent:GetHtmlLinkTo method . . . . . . .
AcVisualComponent::GetLastSlave method . . . . . . . .
AcVisualComponent::GetLeft method . . . . . . . . . . . .
AcVisualComponent::GetLinkTo method . . . . . . . . . .
AcVisualComponent::GetMaster method . . . . . . . . . .
AcVisualComponent::GetPage method . . . . . . . . . . .
AcVisualComponent::GetPageContainer method . . . . .
AcVisualComponent::GetRect method. . . . . . . . . . . .
AcVisualComponent::GetRight method . . . . . . . . . . .
AcVisualComponent::GetTop method . . . . . . . . . . . .
AcVisualComponent::GetVisualComponent method . . .
AcVisualComponent::GetWidth method . . . . . . . . . .
AcVisualComponent::HelpText method . . . . . . . . . . .
xviii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 618
. 618
. 618
. 619
. 619
. 619
. 619
. 619
. 619
. 620
. 620
. 620
. 620
. 620
. 621
. 632
. 634
. 635
. 635
. 635
. 636
. 636
. 636
. 637
. 637
. 638
. 639
. 639
. 639
. 639
. 640
. 640
. 640
. 640
. 641
. 641
. 641
. 642
. 642
. 642
. 643
. 643
. 643
AcVisualComponent::IsFirstSlave method . . . . . . .
AcVisualComponent::IsFrameDecoration method . . .
AcVisualComponent::IsMaster method . . . . . . . . .
AcVisualComponent::IsNormal method . . . . . . . .
AcVisualComponent::IsSlave method . . . . . . . . . .
AcVisualComponent::IsVisible method . . . . . . . . .
AcVisualComponent::MaximumHeight method . . . .
AcVisualComponent::MinimumHeight method . . . .
AcVisualComponent::MoveBy method . . . . . . . . .
AcVisualComponent::MoveByConstrained method . .
AcVisualComponent::MoveTo method . . . . . . . . .
AcVisualComponent::MoveToConstrained method . .
AcVisualComponent::OnActuate method. . . . . . . .
AcVisualComponent::OnContextMenu method . . . .
AcVisualComponent::OnCopyLink method . . . . . .
AcVisualComponent::OnFollowLink method . . . . .
AcVisualComponent::OnHelp method . . . . . . . . .
AcVisualComponent::OnLButtonClick method . . . .
AcVisualComponent::OnLButtonDblClk method . . .
AcVisualComponent::OnLButtonDown method . . . .
AcVisualComponent::OnLButtonUp method . . . . .
AcVisualComponent::OnRButtonClick method . . . .
AcVisualComponent::OnRButtonDblClk method . . .
AcVisualComponent::OnRButtonDown method. . . .
AcVisualComponent::OnRButtonUp method . . . . .
AcVisualComponent::ResizeBy method. . . . . . . . .
AcVisualComponent::ResizeByConstrained method .
AcVisualComponent::ResizeTo method . . . . . . . . .
AcVisualComponent::ResizeToConstrained method .
AcVisualComponent::Searchable method . . . . . . . .
AcVisualComponent::SearchAlias method . . . . . . .
AcVisualComponent::Selectable method . . . . . . . .
AcVisualComponent::SetLinkTo method . . . . . . . .
AcVisualComponent::ShowInHTML method . . . . .
AcVisualComponent::SplitVertically method . . . . . .
AcVisualComponent::StatusText method . . . . . . . .
AcVisualComponent::TargetWindowName method. .
AcVisualComponent::VerticalPosition method . . . . .
AcVisualComponent::VerticalSize method . . . . . . .
Class AcXMLDataVisitor. . . . . . . . . . . . . . . . .
AcXMLDataVisitor::EndElement method . . . . . . . .
AcXMLDataVisitor::GenerateAttribute method . . . .
AcXMLDataVisitor::GenerateEmptyElement method .
xix
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 644
. 644
. 644
. 645
. 645
. 645
. 646
. 646
. 646
. 647
. 647
. 648
. 648
. 649
. 650
. 650
. 652
. 653
. 656
. 657
. 658
. 659
. 660
. 661
. 662
. 663
. 663
. 664
. 664
. 665
. 665
. 665
. 666
. 666
. 667
. 667
. 668
. 668
. 668
. 669
. 671
. 671
. 671
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
xx
Intro ductio n
Introduction
xxi
Function
Purpose
Databases
Organize data
Content management
systems
Manage unstructured
content
Publish unstructured
content such as
electronic catalogs
Application servers
Deploy online
applications
Conduct complex
transactions, manage
supply chains, and
interact with customers
xxii
Challenge
Actuate solution
Challenge
Actuate solution
Introduction
xxiii
Actuate Report Server Security Extension supports the use of thirdparty security tools.
Multi-Application Option
Multi-Application supports using more than one Report Encyclopedia
volume on the e.Reporting System.
xxiv
Progress Option
A server application that supports working exclusively with Progress
databases that generates Live Report Documents, manages them in the
Report Encyclopedia volume, and makes them available to users.
Actuate Viewer
An application for end users to find, view, and print report documents. The
ReportQuery capabilities are also part of the Actuate Viewer. Actuate Viewer
is included with all products except Actuate e.Report Designer Java Edition
and Actuate e.Spreadsheet Designer.
Introduction
xxv
fax number, and e-mail information can be found among the printed materials
in the product box.
The Example folder in the product directory contains report examples. Each
sample report folder contains a variety of files, often including a text file that
discusses how the example works. In addition, sample applications are
included with the Client Integration Technology. The samples demonstrate
how to use the APIs.
The printed and online documentation includes the following manuals.
For information about
Installation
Upgrading
Installation guide
Upgrading guide
Release notes
Developing
Advanced
e.Reports
Programming
e.Reports
xxvi
e.Reporting
for Multiple
Locales
Actuate
Foundation
Class
Reference
Terminology map
Glossary
Actuate
e.Reporting
Suite 6
Glossary
Introduction
xxvii
Chapter 2. AFC data types. This chapter lists the AFC data types.
Online documentation
The information in the printed manuals is also available as online books in
Adobe Acrobat PDF format and in the online help system for Actuate
products. For products without a Windows interface, such as Actuate
e.Reporting System, Actuate e.Report Designer Java Edition, and Actuate
e.Spreadsheet Designer, we provide HTML help files. The HTML files install
automatically with the product. These files can be viewed with standard web
browsers.
Online help
Actuate products provide both context-sensitive online help about the product
and report-specific online help about the report you are viewing. Actuate
e.Reporting Suite makes it possible for developers to create customized reportspecific online help.
xxviii
access online help for other elements, use the Help menu on the menu bar or
press F1.
The tabs at the top of the left pane access different views. Use these tabs to
switch views among the Table of Contents, Index, Search, and Favorites.
The following illustration shows an example of the index and the result of an
index search.
Introduction
xxix
The following illustration shows the result of a search as it appears in the left
pane. To view the topic in the right pane, double-click the topic from the list.
The topic appears in the window on the right.
Choose Search
Type the keyword to search
xxx
Typographical conventions
The following table describes the typographical conventions in this guide.
Item
Convention
Example
Code examples
Sans serif
File names
Detail.roi
Key combination
Ctrl+Shift
Menu items
Capitalized, no bold
File
Submenu items
File New
Sans serif
M*16*
Italics
chkjava.exe
cab_name.cab
Introduction
xxxi
Syntax conventions
The following table describes the symbols used to present syntax.
Symbol
Description
Example
[]
Optional item
[Alias<alias name>]
Array subscript
matrix[ ]
<expression to format>
Delimiter in XML
<tr>
{While | Until}
{0, 1, 2, 3}
public ACJDesigner( )
{
}
Separates mutually
exclusive options or
arguments in a group
Java OR operator
int length |4
<>
{}
xxxii
Chapter
1
The Actuate Foundation
Class library
Chapter 1
Report Section
Control
AcReport
AcEllipseControl
AcControl
AcGraph
AcHtmlReport
AcChart
AcSummaryGraph
AcSection
AcDetailChart
AcDetailGraph
AcDataSection
AcSummaryChart
AcHLCGraph
AcReportSection
AcHLCChart
AcHtmlObjectControl
AcGroupSection
AcHtmlAppletControl
AcSequentialSection
AcHtmlPlugInControl
AcConditionalSection
AcImageControl
AcParallelSection
AcHtmlImageControl
Page Layout
AcPageList
AcLineControl
AcBaseFrame
AcSimplePageList
AcBasePage
AcSubPage
AcLeftRightPageList
AcPage
AcTitleBodyPageList
AcDataFrame
AcFrame
AcHtmlFrame
AcLinearFlow
AcExcelApp
AcTopDownFlow
AcExcelWorkbook
AcExcelRange
AcExcelCell
AcExcelWorksheet
AcOLEControl
AcOLEContainerControl
AcPageNumberControl
AcRectangleControl
AcTextualControl
AcDynamicTextControl
AcBrowserScriptingControl
AcFlow
Excel
AcHtmlRuleControl
AcDataControl
AcCurrencyControl
AcDateTimeControl
AcDoubleControl
AcIntegerControl
AcExcelColumn
AcTextControl
AcExcelRow
AcLabelControl
AcComponent
Connection
Data Stream
AcConnection
AcDataRow
AcDBConnection
AcDataAdapter
AcDB2Connection
AcDataSource
AcInformixConnection
AcDatabaseSource
AcMSSQLConnection
AcQuerySource
AcODBCConnection
AcSqlQuerySource
AcOracleConnection
AcTextQuerySource
AcProgressConnection
AcStoredProcedureSource
AcProgressSQL92Connection
AcDataFilter
AcSybaseConnection
AcSingleInputFilter
AcDBStatement
AcMemoryBuffer
AcRecordBuffer
AcDBCursor
AcMemoryDataSorter
Collection
AcMultipleInputFilter
AcCollection
AcOrderedCollection
Internal Tools
AcList
AcPopupMenu
AcSingleList
AcReportController
AcObjectArray
AcReportView
AcBTree
AcIterator
AcSingleListIterator
AcVisitor
AcXMLDataVisitor
Report section
Page layout
Control
Connection
Collection
Data stream
Excel
Internal tools
Classification
AcComponent
Delete( )
Overridable
GetContentName( )
Callable
IsPersistent( )
Callable
New( )
Overridable
NewComponent( )
Callable
Class or method
Classification
NewPersistentComponent( )
Callable
SetProperties( )
Private
AcReportComponent
Abandon( )
Callable
AddContent( )
Callable
AddToPageList( )
Private
ApplyVisitor( )
Callable
Build( )
Overridable
BuildIntoFlow( )
Private
BuildFromRow( )
Overridable
BuildFromRowIntoFlow( )
Private
BuildTocList( )
Private
DetachContent( )
Callable
DetachFromContainer( )
Callable
FindContainerByClass( )
Callable
Finish( )
Overridable
FinishBuild( )
Private
FinishReport( )
Private
GenerateHtml( )
Private
GenerateHtmlStructure( )
Private
GenerateXML( )
Overridable
GetAggregateValue( )
Private
GetCascadeACL( )
Private
GetComponentACL( )
Overridable
GetConnection( )
Callable
GetContainer( )
Callable
GetContentCount( )
Callable
GetContentIterator( )
Callable
GetContents( )
Callable
GetDataStream( )
Callable
GetFirstContent( )
Callable
GetFirstContentFrame( )
Callable
Class or method
Classification
GetFirstTocChild( )
Private
GetFullACL( )
Overridable
GetMinimumCellSize( )
Private
GetNextTocChild( )
Private
GetPage( )
Callable
GetPageRange( )
Private
GetPageIndex( )
Callable
GetPageList( )
Callable
GetReport( )
Callable
GetRowCount( )
Callable
GetTocEntry( )
Overridable
GetTocList( )
Private
GetXMLText( )
Overridable
HasContents( )
Callable
HasTocChildren( )
Private
IsBlocked( )
Private
IsContainer( )
Callable
IsFrame( )
Callable
IsLeaf( )
Callable
IsPageRangeValid( )
Private
IsVisual( )
Callable
NewDisplayVisitor( )
Private
NewHtmlGenerationVisitor( )
Private
NewHtmlTocVisitor( )
Private
NewHtmlVisitor( )
Private
NewPrinterVisitor( )
Private
NewReportView( )
Private
OnRow( )
Overridable
PrebuildFromRow( )
Private
SetTocEntry( )
Overridable
Start( )
Overridable
StartBuild( )
Private
Class or method
Classification
StartReport( )
Private
Terminate( )
Private
AcReport
Build( )
Private
BuildReport( )
Private
GenerateXML( )
Private
GenerateXMLDataFile( )
Callable
GetContent( )
Callable
GetCustomFormat( )
Overridable
GetFactoryLocale( )
Overridable
GetGlobalDHTMLCode( )
Overridable
GetHtmlDir( )
Overridable
GetLayoutOrientation( )
Overridable
GetPageList( )
Callable
GetPrintLocale( )
Overridable
GetTwipsPerPixel( )
Overridable
GetUserACL( )
Overridable
GetViewLocale( )
Overridable
HasPageSecurity( )
Overridable
IsTransientReport( )
Private
NewContent( )
Overridable
NewDisplayVisitor( )
Private
NewHtmlGenerationVisitor( )
Private
NewHtmlTocGenerationVisitor( )
Private
NewHtmlTocVisitor( )
Private
NewHtmlVisitor( )
Private
NewPageList( )
Overridable
NewPrinterVisitor( )
Private
NewReportView( )
Private
NewSecurePageMap( )
Private
NewViewer( )
Private
NewXMLDataVisitor( )
Private
Class or method
Classification
OnFinishViewer( )
Overridable
OnStartViewer( )
Overridable
RoiIsTemporary( )
Overridable
SetLayoutOrientation( )
Overridable
SetROIAgingProperties( )
Overridable
SetROWAgingProperties( )
Overridable
SuggestRoiName( )
Overridable
XMLDataProlog( )
Overridable
AcHtmlReport
Build( )
Private
CustomHtmlBody( )
Private
CustomHtmlHead( )
Private
GetRowFileName( )
Overridable
GetServerPrefix( )
Overridable
SetProperties( )
Private
WantHtml( )
Overridable
AcSection
AddContent( )
Callable
BuildFromRow( )
Private
BuildFromRowIntoFlow( )
Private
CommittedToFlow( )
Overridable
CommitRowToFlow( )
Private
DisableSubpage( )
Private
EnableSubpage( )
Private
FinishConnection( )
Overridable
FinishFlow( )
Overridable
FinishPage( )
Overridable
GetContents( )
Callable
GetCurrentRow( )
Callable
IsBlocked( )
Private
NewConnection( )
Private
NewPage( )
Overridable
Class or method
Classification
ObtainConnection( )
Overridable
PageBreakAfter( )
Overridable
PageBreakBefore( )
Overridable
SetSecurity( )
Overridable
StartFlow( )
Overridable
StartPage( )
Overridable
StartSubpage( )
Private
StopAfterCurrentFrame( )
Callable
StopAfterCurrentRow( )
Callable
StopNow( )
Callable
Terminate( )
Private
AcDataSection
AddFrameToPage( )
Private
BeginRow( )
Private
BuildRowContent( )
Private
BuildRowContentIntoFlow( )
Private
BuildSummaryList( )
Private
CanSpanCells( )
Private
CreateHtmlTablesAutomatically( )
Private
FinishContent( )
Private
FinishGroup( )
Private
FinishGroupIntoFlow( )
Private
GetAfter( )
Callable
GetBefore( )
Callable
GetCustomSummaryName( )
Private
GetDefaultSummaryName( )
Private
GetFirstPageFooter( )
Overridable
GetFirstPageHeader( )
Overridable
GetMinimumCellSize( )
Private
GetPageFooter( )
Callable
GetPageHeader( )
Callable
NewAfter( )
Overridable
NewBefore( )
Overridable
Chapter 1, The Actuate Foundation Class librar y
Class or method
Classification
NewContent( )
Overridable
NewPageFooter( )
Overridable
NewPageHeader( )
Overridable
OnEmptyGroup( )
Overridable
SetProperties( )
Private
ShowEmptyHtmlColumns( )
Private
StartGroup( )
Private
StartGroupIntoFlow( )
Private
Terminate( )
Private
AcReportSection
BuildIntoFlow( )
Private
BuildOnePass( )
Private
BuildTwoPass( )
Private
CreateSummary( )
Private
FinishBuild( )
Private
FinishDataStream( )
Overridable
GetAggregateValue( )
Private
GetDefaultSummaryName( )
Private
NewDataStream( )
Overridable
ObtainDataStream( )
Overridable
SetProperties( )
Private
SetSortKey( )
Overridable
StartBuild( )
Private
StartDataStream( )
Overridable
AcGroupSection
10
BuildFromRowIntoFlow( )
Private
GetAggregateValue( )
Private
GetDefaultSummaryName( )
Private
GetKey( )
Overridable
GetKeyString( )
Callable
IsSameKey( )
Overridable
SetTocEntry( )
Overridable
Class or method
Classification
AcConditionalSection
Build( )
Private
BuildFromRow( )
Private
ConditionIsTrue( )
Overridable
NewElse( )
Private
NewThen( )
Private
AcParallelSection
AddReport( )
Private
FillEmptyHtmlCells( )
Private
GetHtmlBorderWidth( )
Private
GetHtmlCell( )
Private
GetHtmlCellAlignment( )
Private
GetHtmlColumnCount( )
Private
GetHtmlRowCount( )
Private
GetHtmlTableColor( )
Private
NewContents( )
Private
AcSequentialSection
BuildFromRowIntoFlow( )
Private
BuildOneRow( )
Private
BuildOneRowIntoFlow( )
Private
NewContent( )
Overridable
SelectContent( )
Overridable
Classification
AcPageList
ActivateFlow( )
Private
ActivateNextFlow( )
Private
ActivateSection( )
Private
11
12
Class or method
Classification
ActivateSections( )
Private
AddComponent( )
Private
AddComponentToFlow( )
Private
AddFrameToFlow( )
Private
AddSubpage( )
Private
AdjustFooter( )
Private
Checkpoint( )
Private
CommitSection( )
Private
CommitSections( )
Private
CreatePage( )
Private
DeactivateFlow( )
Private
DeactivateFlowTo( )
Private
DeactivatePage( )
Private
DeactivateSection( )
Private
EjectPage( )
Callable
EndACL( )
Private
FindFlowWithSpace( )
Private
GetActivePage( )
Private
GetCurrentFlow( )
Callable
GetCurrentPage( )
Callable
GetCurrentPageACL( )
Callable
GetEstimatedPageCount( )
Overridable
GetFirstPage( )
Callable
GetLastPage( )
Callable
GetPageCount( )
Callable
GetPageDepth( )
Private
IsFlowEmpty( )
Private
NeedHeight( )
Callable
NewPage( )
Overridable
PopPage( )
Private
PopPageFooter( )
Private
PopPageHeader( )
Private
Class or method
Classification
PopSection( )
Private
PopSubpage( )
Private
PrepareForOutput( )
Private
PushPageFooter( )
Private
PushPageHeader( )
Private
PushSection( )
Private
PushSubpage( )
Private
Restore( )
Private
SetActiveMode( )
Private
SetPassiveMode( )
Private
SetPendingPageBreak( )
Private
ShiftFooterUp( )
Private
StartACL( )
Private
SuspendBelow( )
Private
UseAcceleratedCheckpoints( )
Overridable
AcSimplePageList
NewPage( )
Private
AcLeftRightPageList
NewLeftPage( )
Overridable
NewPage( )
Private
NewRightPage( )
Overridable
SetProperties( )
Private
AcTitleBodyPageList
NewBodyPage( )
Overridable
NewPage( )
Private
NewTitlePage( )
Overridable
AcBaseFrame
Abandon( )
Private
AddToAdjustSize( )
Overridable
AddToPageList( )
Private
AdjustContentVerticalGeometry( )
Overridable
AdjustDependencies( )
Private
13
Class or method
Classification
BindToFlow( )
Overridable
ControlDependency( )
Private
FindContentByClass( )
Callable
FindContentByClassID( )
Callable
GetControl( )
Callable
GetControlValue( )
Callable
GetPageNumber( )
Callable
InitializeContentVariables( )
Private
IsFrame( )
Private
MakeContents( )
Overridable
RebindToFlow( )
Overridable
SetPageIndex( )
Private
SetProperties( )
Private
SplitContents( )
Callable
SplitFrame( )
Overridable
AcBasePage
BalanceFlowContent( )
Private
GetNextFlow( )
Private
NewPageState( )
Private
ShrinkToFit( )
Private
ResizeBy( )
Callable
AcSubPage
BindToFlow( )
Private
ComputeGeometry( )
Private
NewPageState( )
Private
RebindToFlow( )
Private
SetProperties( )
Private
ShrinkToFit( )
Private
AcPage
14
FormatPageNumber( )
Overridable
GetPageNumber( )
Callable
SetPageIndex( )
Private
Class or method
Classification
SetProperties( )
Private
AcDataFrame
BuildFromRowIntoFlow( )
Private
BuildIntoFlow( )
Private
AcFrame
AddToAdjustSizeList( )
Overridable
AddToFlow( )
Private
AddToPageList( )
Private
AdjustContentVerticalGeometry( )
Overridable
AutoSplitVertical( )
Overridable
CustomDHTMLFooter( )
Overridable
CustomDHTMLHeader( )
Overridable
GetBorderOrigin( )
Callable
GetBorderRect( )
Callable
GetBorderSize( )
Callable
NoSplitBottom( )
Overridable
NoSplitTop( )
Overridable
SplitMarginBottom( )
Overridable
SplitMarginTop( )
Overridable
SetProperties( )
Private
AcHtmlFrame
CanSpanCells( )
Private
GetBlankLineHeight( )
Private
SetProperties( )
Private
ShowEmptyHtmlColumns( )
Private
AcFlow
AddContent( )
Private
AddFooter( )
Private
AddFrame( )
Overridable
AddHeader( )
Overridable
15
Class or method
Classification
AddSubpage( )
Overridable
AdjustFooter( )
Overridable
BindFrame( )
Private
CanFitFrame( )
Callable
CanFitHeight( )
Overridable
GetFreeSpace( )
Overridable
GetInsideSize( )
Callable
IsEmpty( )
Overridable
PlaceFrame( )
Private
ReaddFrame( )
Private
ReleaseSpace( )
Overridable
ReserveSpace( )
Overridable
ResetSpace( )
Overridable
SetProperties( )
Private
ShiftFooterUp( )
Overridable
AcLinearFlow
AddHeader( )
Private
AddSubpage( )
Private
NewFactoryState( )
Private
ReaddFrame( )
Private
SetProperties( )
Private
AcTopDownFlow
16
AddFooter( )
Private
AlignFrame( )
Private
DetachContent( )
Private
PlaceFrame( )
Private
Classification
AcVisualComponent
AddMenuCommands( )
Overridable
AdjustSize( )
Overridable
AdjustVerticalGeometry( )
Overridable
AttachToPage( )
Private
ButtonSelect( )
Private
CanIncreaseHeight( )
Overridable
CanMoveUp( )
Overridable
CanReduceHeight( )
Overridable
CanSplitVertically( )
Overridable
ComputeLowestSplit( )
Overridable
CursorShape( )
Overridable
FindContainerByClass( )
Callable
FindLowestSplit( )
Overridable
FindPageContainerByClass( )
Overridable
GetBottom( )
Callable
GetFirstSlave( )
Overridable
GetFrame( )
Callable
GetFramePosn( )
Private
GetHeight( )
Callable
GetHtmlLinkTo( )
Callable
GetLastSlave( )
Overridable
GetLeft( )
Callable
GetLinkTo( )
Callable
GetMaster( )
Overridable
GetPage( )
Callable
GetPageContainer( )
Callable
17
18
Class or method
Classification
GetPageRange( )
Private
GetPixelSize( )
Private
GetRect( )
Callable
GetRight( )
Callable
GetTop( )
Callable
GetVisualComponent( )
Callable
GetWidth( )
Callable
HelpText( )
Callable
IsFirstSlave( )
Overridable
IsFrameDecoration( )
Overridable
IsHtmlFlowBreak( )
Private
IsMaster( )
Overridable
IsNormal( )
Overridable
IsSlave( )
Overridable
IsVisible( )
Overridable
IsVisual( )
Private
MaximumHeight( )
Overridable
MinimumHeight( )
Overridable
MoveBy( )
Callable
MoveByConstrained( )
Overridable
MoveTo( )
Callable
MoveToConstrained ( )
Overridable
OnActuate( )
Overridable
OnContextMenu( )
Overridable
OnCopyLink( )
Overridable
OnFollowLink( )
Overridable
OnHelp( )
Overridable
OnLButtonClick( )
Overridable
OnLButtonDblClick( )
Overridable
OnLButtonDown( )
Overridable
OnLButtonUp( )
Overridable
OnRButtonClick( )
Overridable
Class or method
Classification
OnRButtonDblClick( )
Overridable
OnRButtonDown( )
Overridable
OnRButtonUp( )
Overridable
ResizeBy( )
Callable
ResizeByConstrained( )
Overridable
ResizeTo( )
Callable
ResizeToConstrained( )
Overridable
Searchable( )
Overridable
SearchAlias( )
Overridable
Selectable( )
Overridable
SetLinkTo( )
Overridable
SetProperties( )
Private
ShowInHtml( )
Overridable
SplitVertically( )
Overridable
StatusText( )
Overridable
StreamComponentData( )
Private
TargetWindowName( )
Overridable
VerticalPosition( )
Overridable
VerticalSize( )
Overridable
AcControl
BalloonHelp( )
Overridable
Build( )
Private
BuildFromRow( )
Private
GetControlValue( )
Callable
GetHtmlText( )
Overridable
GetText( )
Overridable
GetValue( )
Callable
PageNo( )
Callable
PageNo$( )
Callable
SetDataValue( )
Callable
SetValue( )
Overridable
AcTextualControl
19
Class or method
Classification
No methods defined
AcBrowserScriptingControl
BrowserCode( )
Overridable
GetText( )
Overridable
AcDataControl
Build( )
Private
BuildFromRow( )
Private
FinishAggregate( )
Private
IsSummary( )
Overridable
Searchable( )
Private
Selectable( )
Private
SetProperties( )
Private
SetTocEntry( )
Overridable
AcCurrencyControl
SearchAttributeName( )
Private
SetProperties( )
Private
AcDateTimeControl
SearchAttributeName( )
Private
SetProperties( )
Private
AcDoubleControl
SearchAttributeName( )
Private
SetProperties( )
Private
AcIntegerControl
SearchAttributeName( )
Private
SetProperties( )
Private
AcTextControl
SearchAttributeName( )
Private
AcDynamicTextControl
20
BuildText( )
AcDynamicTextControl::BuildText
method
Overridable
GetAvailableHeight( )
Overridable
Class or method
Classification
GetAvailableWidth( )
Overridable
GetFixedWidthFontFaceName( )
Overridable
GetPlaintext( )
Overridable
GetTaggedText( )
Overridable
GetText( )
Overridable
KeepTaggedText( )
Overridable
LineHeightPadding( )
Overridable
LineSpacing( )
Overridable
LineWidthPadding( )
Overridable
MinimumLineHeight( )
Overridable
ProcessText( )
Overridable
SetTaggedText( )
Overridable
SpaceBetweenLines( )
Overridable
SpaceBetweenParagraphs( )
Overridable
TabPadding( )
Overridable
TabSpacing( )
Overridable
TextFormat( )
Overridable
WidowAndOrphanControl( )
Overridable
AcEllipseControl
SetProperties( )
Private
AcChart
CalculateEndingValue( )
Overridable
CalculateRangeUnit( )
Overridable
CalculateStartingValue( )
Overridable
CalculateTickInterval( )
Overridable
ComputeDualYMinMax( )
Overridable
ComputeLabels( )
Overridable
ComputeMinMax( )
Overridable
CustomDualYLabels( )
Overridable
FormatDualYLabel( )
Overridable
FormatXLabel( )
Overridable
FromatYLabel( )
Overridable
21
Class or method
Classification
GetSeriesKey( )
Overridable
AcDetailChart
AddPoint( )
Overridable
AddSeriesPoint( )
Overridable
CustomXLabels( )
Overridable
AcHLCChart
AddPoint( )
Overridable
GetCloseValue( )
Overridable
GetDateValue( )
Overridable
GetHighValue( )
Overridable
GetLabelValue( )
Overridable
GetLowValue( )
Overridable
GetOpenValue( )
Overridable
AcSummaryChart
22
ComputeCategoryRange( )
Overridable
ConvertCategoryExp( )
Overridable
CreateEmptyCategories( )
Overridable
PopulateCategoryIndex( )
Overridable
RoundToRange( )
Overridable
AcGraph
Overridable
CalculateEndingValue( )
Overridable
CalculateRange( )
Private
CalculateRangeUnit( )
Overridable
CalculateStartingValue( )
Overridable
CalculateTickIntervalUnit( )
Overridable
ComputeLabels( )
Callable
ComputeMinMax( )
Callable
ComputeXMinMax( )
Private
ComputeYMinMax( )
Private
ComputeYOverlayMinMax( )
Overridable
ComputeZMinMax( )
Private
ConvertRange( )
Private
CustomXLabels( )
Private
Class or method
Classification
CustomYLabels( )
Private
CustomYOverlayLabels( )
Overridable
CustomZLabels( )
Private
FormatXLabel( )
Overridable
FormatYLabel( )
Overridable
FormatYOverlayLabel( )
Overridable
FormatZLabel( )
Private
GetHitPoint( )
Callable
GetHitXValue( )
Callable
GetHitYValue( )
Callable
GetHitZValue( )
Private
GetHitSet( )
Callable
GetSeriesKey( )
Callable
RenderToFile( )
Private
SetProperties( )
Private
AcDetailGraph
AddSeriesPoint( )
Callable
CustomXLabels( )
Overridable
FindSeries( )
Private
GetZValue( )
Private
AcHLCGraph
AddPoint( )
Callable
GetCloseValue( )
Overridable
GetDateValue( )
Overridable
GetHighValue( )
Overridable
GetLabelValue( )
Overridable
GetLowValue( )
Overridable
GetOpenValue( )
Overridable
SetProperties( )
Private
AcSummaryGraph
ComputeCategoryRange( )
Overridable
ConvertCategoryKey( )
Overridable
23
Class or method
Classification
CreateEmptyCategories( )
Overridable
PopulateCategoryIndex( )
Overridable
RoundToRange( )
Overridable
AcImageControl
GetBaseImageName( )
Callable
GetFileName( )
Overridable
SetProperties( )
Private
AcHtmlImageControl
SetProperties( )
Private
AcHTMLObjectControl
No methods defined
AcHtmlAppletControl
HtmlParams( )
Overridable
IsHtmlFlowBreak( )
Private
SetParam( )
Callable
SetProperties( )
Private
AcHtmlPlugInControl
HtmlParams( )
Overridable
IsHtmlFlowBreak( )
Private
SetParam( )
Callable
SetProperties( )
Private
AcLabelControl
SetProperties( )
Private
AcLineControl
GetHtmlRuleHeight( )
Private
IsHtmlFlowBreak( )
Private
SetProperties( )
Private
AcHtmlRuleControl
GetHtmlRuleWidth( )
Private
SetProperties( )
Private
AcOleControl
24
Class or method
Classification
SetProperties( )
Private
AcOleContainerControl
CloseOrDeactivate( )
Overridable
CreateCloneFrom( )
Private
DoCloseOrDeactivate( )
Private
DoCreateCloneFrom( )
Private
DoFindOleClientItem( )
Private
DoGetKeyValues( )
Private
DoGetObject( )
Private
DoOleVerb( )
Private
DoVerb( )
Overridable
GetContainerItem( )
Private
GetKeyValues( )
Private
Object( )
Overridable
OnActivate( )
Overridable
OnCreate( )
Overridable
OnLButtonDblClk( )
Overridable
AcPageNumberControl( )
GetActualPageCount( )
Callable
GetActualPageNumber( )
Callable
GetFormattedPageNumber( )
Callable
GetVisiblePageCount( )
Callable
GetVisiblePageNumber( )
Callable
PageNOfM( )
Callable
AcRectangleControl( )
SetProperties( )
Private
Classification
AcConnection
Connect( )
Overridable
Chapter 1, The Actuate Foundation Class library
25
Class or method
Classification
Disconnect( )
Callable
IsConnected( )
Callable
RaiseError( )
Callable
AcDBConnection
DeleteConnection( )
Private
DoConnect( )
Private
DoDisconnect( )
Private
GetConnectionPtr( )
Private
GetGeneralError( )
Callable
GetGeneralErrorText( )
Callable
GetSpecificError( )
Callable
GetSpecificErrorText( )
Callable
InterfaceName( )
Private
MakeProcedureCall( )
Private
NewConnection( )
Private
Prepare( )
Callable
PutConnectionProperty( )
Private
RetrieveGeneralError( )
Private
RetrieveGeneralErrorText( )
Private
RetrieveSpecificError( )
Private
RetrieveSpecificErrorText( )
Private
SetConnectionProperty( )
Private
AcDB2Connection
InterfaceName( )
Private
SetProperties( )
Private
AcInformixConnection
InterfaceName( )
Private
SetProperties( )
Private
AcMSSQLConnection
26
InterfaceName( )
Private
SetProperties( )
Private
Class or method
Classification
AcODBCConnection
InterfaceName( )
Private
SetProperties( )
Private
AcOracleConnection
InterfaceName( )
Private
MakeProcedureCall( )
Private
SetProperties( )
Private
AcProgressConnection
InterfaceName( )
Private
SetProperties( )
Private
AcProgressSQL92Connection
AcSybaseConnection
InterfaceName( )
Private
SetProperties( )
Private
AcDBStatement
AllocateCursor( )
Callable
BindParameter( )
Callable
BindStatementParameter( )
Private
DefineProcedureInputParameter( )
Callable
DefineProcedureOutputParameter( )
Callable
DefineProcedureReturnParameter( )
Private
DeleteStatement( )
Private
DoDefineProcedureParameter( )
Private
DoExecute( )
Private
DoGetOutputParameter( )
Private
DoGetProcedureStatus( )
Private
DoPrepare( )
Private
Execute( )
Callable
GetOutputCount( )
Callable
GetOutputParameter( )
Callable
GetParameterCount( )
Callable
27
Class or method
Classification
GetProcedureStatus( )
Callable
GetStatementText( )
Callable
OpenCursor( )
Callable
Prepare( )
Callable
RetrieveStatementOutputCount( )
Private
RetrieveStatementParameterCount( )
Private
RetrieveStatementText( )
Private
AcDBCursor
28
BindColumn( )
Callable
BindParameter( )
Callable
CloseCursor( )
Callable
DefineProcedureInputParameter( )
Callable
DefineProcedureOutputParameter( )
Callable
DefineProcedureReturnParameter( )
Callable
DoAllocateCursor2( )
Private
DoBindCursorParameter( )
Private
DoBindOutput( )
Private
DoCloseCursor( )
Private
DefineProcedureParameter( )
Private
DefineProcedureReturnParameter( )
Private
DoDeleteCursor( )
Private
DoFetch( )
Private
DoOpenCursor( )
Private
DoStartNextSet( )
Private
Fetch( )
Callable
GetConnection( )
Callable
GetOutputParameter( )
Private
GetProcedureStatus( )
Private
GetStatement( )
Callable
IsOpen( )
Callable
OpenCursor( )
Callable
StartNextSet( )
Callable
Classification
AcCollection
IsEmpty( )
Callable
GetCount( )
Callable
NewIterator( )
Overridable
RemoveAll( )
Callable
Remove( )
Callable
AcOrderedCollection
AddToHead( )
Callable
AddToTail( )
Callable
Copy( )
Callable
GetAt( )
Callable
GetHead( )
Callable
GetTail( )
Callable
RemoveHead( )
Callable
RemoveTail( )
Callable
AcList
AddToHead( )
Callable
Contains( )
Callable
Copy( )
Callable
GetIndex( )
Callable
InsertAfter( )
Callable
InsertBefore( )
Callable
RemoveHead( )
Callable
AcSingleList
Compare( )
Overridable
FindByValue( )
Callable
NewNode( )
Private
AcObjectArray
RemoveAt( )
Private
29
Method
Classification
RemoveEmptyEntries( )
Private
ResizeTo( )
Callable
SetAt( )
Callable
SetGrowthIncrement( )
Callable
AcIterator
GetItem( )
Callable
GetNext( )
Callable
GetPosition( )
Callable
HasMore( )
Callable
IsDone( )
Callable
MoveNext( )
Callable
MoveTo( )
Callable
Restart( )
Callable
SkipForwardTo( )
Callable
SkipTo( )
Callable
AcSingleListIterator
Copy( )
Private
GetNext( )
Private
HasMore( )
Private
New( )
Private
Restart( )
Private
SkipForwardTo( )
Private
Classification
AcDataRow
30
BuildBinding( )
Private
GetValue( )
Callable
OnRead( )
Overridable
Class or method
Classification
SetValue( )
Overridable
AcDataAdapter
AddRow( )
Callable
AddSortKey( )
Callable
CanSeek( )
Overridable
CanSortDynamically( )
Overridable
CloseConnection( )
Overridable
Fetch( )
Overridable
Finish( )
Overridable
FlushBuffer( )
Callable
FlushBufferTo( )
Overridable
GetConnection( )
Callable
GetPosition( )
Callable
IsStarted( )
Callable
NewConnection( )
Overridable
NewDataRow( )
Overridable
OpenConnection( )
Overridable
Rewind( )
Callable
SeekBy( )
Callable
SeekTo( )
Overridable
SeekToEnd( )
Callable
SetConnection( )
Callable
Start( )
Overridable
AcDataSource
HasFetchedLast( )
Callable
AcDatabaseSource
AllocateCursor( )
Private
BindDataRow( )
Overridable
BindStaticParameters( )
Overridable
GetCursor( )
Callable
GetDBConnection( )
Callable
OpenCursor( )
Callable
31
Class or method
Classification
AcQuerySource
AddSortKey( )
Callable
AdhocToSQL( )
Private
ConditionExpression( )
Private
GetStatementText( )
Callable
ObtainSelectStatement( )
Overridable
SetupAdHocParameters( )
Overridable
AcSqlQuerySource
ObtainSelectStatement( )
Overridable
SetAdHocParameter( )
Callable
AcTextQuerySource
AddDynamicOrderItems( )
Private
AddSortKey( )
Callable
ApplyAdHocExpression( )
Private
CanSortDynamically( )
Overridable
ObtainSelectStatement( )
Overridable
SetAdHocCondition( )
Callable
AcStoredProcedureSource
No methods defined
AcDataFilter
No methods defined
AcSingleInputFilter
Fetch( )
Overridable
GetInput( )
Callable
NewInputAdapter( )
Overridable
SetInput( )
Callable
AcMemoryBuffer
32
AddRowToBuffer( )
Callable
FlushBufferTo( )
Callable
GetBufferCount( )
Callable
GetBufferStart( )
Callable
Class or method
Classification
AcRecordBuffer
No methods defined
AcMemoryDataSorter
Compare( )
Overridable
CompareKeys( )
Callable
Sort( )
Private
SortArray( )
Private
AcMultipleInputFilter
NewInputAdapter( )
Overridable
Classification
AcExcelApp
AddWorkbook( )
Public
DeleteWorkbook( )
Public
FindWorkbook( )
Public
New( )
Public
SetFontScalingFactor( )
Public
AcExcelCell
No methods defined
AcExcelColumn
GetColumnWidth( )
Public
SetColumnWidth( )
Public
AcExcelRange
GetBackgroundColor( )
Public
GetBorder( )
Public
GetFont( )
Public
GetHorizontalAlignment( )
Public
GetIndent( )
Public
33
Class or method
Classification
GetMergeCells( )
Public
GetNumberFormat( )
Public
GetValue( )
Public
GetValueAsDate( )
Public
GetVerticalAlignment( )
Public
GetWrapText( )
Public
SetBackgroundColor( )
Public
SetBorder( )
Public
SetFont( )
Public
SetHorizontalAlignment( )
Public
SetIndent( )
Public
SetMergeCells( )
Public
SetNumberFormat( )
Public
SetValue( )
Public
SetVerticalAlignment( )
Public
SetWrapText( )
Public
AcExcelRow
GetRowHeight( )
Public
SetRowHeight( )
Public
AcExcelWorkbook
AddWorksheet( )
Public
DeleteWorksheet( )
Public
FindWorksheet( )
Public
GetFullName( )
Public
Save( )
Public
SaveAs( )
Public
AcExcelWorksheet
34
Autofit( )
Public
GetCell( )
Public
GetColumn( )
Public
GetDisplayGridlines( )
Public
GetName( )
Public
Class or method
Classification
GetRange( )
Public
GetRow( )
Public
SetDisplayGridlines( )
Public
SetName( )
Public
Classification
AcPopUpMenu
AddCascade( )
Callable
AddItem( )
Callable
AddSeparator( )
Callable
CheckMenuItem( )
Callable
EnableMenuItem( )
Callable
MakeMenu( )
Overridable
Run( )
Callable
AcReportController
AttachReport( )
Callable
AttachToThisReport( )
Callable
FollowLink( )
Callable
p_ChangePage( )
Private
p_FollowLink( )
Private
p_GetThisViewer( )
Private
p_OpenReport( )
Private
ShowNextPage( )
Callable
ShowPage( )
Callable
ShowPrevPage( )
Callable
AcReportView
AddMenuItem( )
Private
CreatePopupMenu( )
Private
DeselectAll( )
Private
35
36
Class or method
Classification
DisplayHelp( )
Private
DisplayPage( )
Private
EndSelectionScan( )
Callable
FinishView( )
Private
GenerateHTML( )
Private
GenerateHTMLforComponent( )
Private
GenerateXMLData( )
Overridable
GetCurrentPageIndex( )
Private
GetNextSelection( )
Callable
GetPageCount( )
Private
GetPageByIndex( )
Private
GetSelectionCount( )
Callable
IsLandscape( )
Private
IsNextPageOK( )
Private
IsPageOK( )
Private
IsPrevPageOK( )
Private
IsSelected( )
Private
New( )
Private
NewMenu( )
Private
OnNewPage( )
Private
OnShowPage( )
Private
OnPrintPage( )
Private
p_AddMenuCascade( )
Private
p_AddMenuEntry( )
Private
p_AddSeparator( )
Private
p_CheckMenuItem( )
Private
p_CreatePopupMenu( )
Private
p_DeleteMenu( )
Private
p_DisplayMenu( )
Private
p_DoPrint( )
Private
p_DeleteMenu( )
Private
p_DeselectAll( )
Private
Class or method
Classification
p_EnableMenuItem( )
Private
p_EndSelectionScan( )
Private
p_GetSelectionCount( )
Private
p_GetNextSelection( )
Private
p_IsSelected( )
Private
p_PreparePage( )
Private
p_PreparePrint( )
Private
p_RunMenu( )
Private
PrintAllPages( )
Callable
PrintPage( )
Private
PrintPages( )
Callable
SelectComponent( )
Private
ShowFirstPage( )
Private
ShowLastPage( )
Private
ShowNextPage( )
Private
ShowPageByIndex( )
Private
ShowPreviousPage( )
Private
StartSelectionScan( )
Callable
StartView( )
Private
AcVisitor
VisitBaseFrame( )
Overridable
VisitBasePage( )
Overridable
VisitComponent( )
Overridable
VisitConditionalSection( )
Overridable
VisitContents( )
Overridable
VisitControl( )
Overridable
VisitCurrencyControl( )
Overridable
VisitDataControl( )
Overridable
VisitDataFrame( )
Overridable
VisitDataSection( )
Overridable
VisitDateTimeControl( )
Overridable
VisitDetailGraph( )
Overridable
37
38
Class or method
Classification
VisitDoubleControl( )
Overridable
VisitDynamicTextControl( )
Overridable
VisitEllipseControl( )
Overridable
VisitFlow( )
Overridable
VisitFrame( )
Overridable
VisitGraph( )
Overridable
VisitGroupSection( )
Overridable
VisitHLCGraph( )
Overridable
VisitHtmlAppletControl( )
Overridable
VisitHtmlImageControl( )
Overridable
VisitHtmlObjectControl( )
Overridable
VisitHtmlPlugInControl( )
Overridable
VisitHtmlReport( )
Overridable
VisitHtmlRuleControl( )
Overridable
VisitImageControl( )
Overridable
VisitIntegerControl( )
Overridable
VisitLabelControl( )
Overridable
VisitLeftRightPageList( )
Overridable
VisitLinearFlow( )
Overridable
VisitLineControl( )
Overridable
VisitOleControl( )
Overridable
VisitOleContainerControl( )
Overridable
VisitPage( )
Overridable
VisitPageList( )
Overridable
VisitPageNumberControl( )
Overridable
VisitParallelSection( )
Overridable
VisitRectangleControl( )
Overridable
VisitReport( )
Overridable
VisitReportSection( )
Overridable
VisitSequentialSection( )
Overridable
VisitSimplePageList( )
Overridable
VisitSubpage( )
Overridable
Class or method
Classification
VisitSummaryGraph( )
Overridable
VisitTextControl( )
Overridable
VisitTextualControl( )
Overridable
VisitTitleBodyPageList( )
Overridable
VisitVisualComponent( )
Overridable
AcXMLDataVisitor
EndElement( )
Callable
GenerateAttribute( )
Callable
GenerateEmptyElement( )
Callable
GenerateText( )
Callable
GenerateXML( )
Callable
StartElement( )
Callable
39
40
Chapter
2
AFC data types
Chapter 2
41
A typedef is an alias for the Basic data types, typically an Integer. The AFC
framework uses typedefs to create a type that has additional rules beyond
what a simple Integer provides. These rules include a limited range, special
display formatting, and a set of related constants. For example, colors
(AcColor) can be in the range 0 to hexadecimal FFFFFF.
AFC data
types
42
AcAutoSplit
AcBitmapStyle
AcChartAxisOrigin
AcChartBarGrouping
AcChartBarOrientation
AcChartBorderStyle
AcChartHLCBarStyle
AcChartLegendPosition
AcChartLinePen
AcChartLineStyle
AcChartPointLabelStyle
AcChartRoundTo
AcChartTickStyle
AcChartType
AcChartUnitType
AcChartXAxisPosition
AcChartXValueSet
AcChartXLabelStyle
AcChartYAxisPosition
AcChartYLabelStyle
AcChartYOrientation
AcColor
AcControlValueType
AcCursorShape
AcExcelBorder
AcExcelBorderType
AcExcelBorderName
AcExcelHorizontalAlignment
AcExcelVerticalAlignment
AcFlowPlacement
AcFont
AcGraphAxisStyle
AcGraphBarGrouping
AcGraphBarOrientation
AcGraphBorderStyle
AcGraphLabelStyle
AcGraphLegendPosition
AcGraphLineStyle
AcGraphPoint
AcGraphPointLabelStyle
AcGraphTickStyle
AcGraphType
AcGraphXAxisPosition
AcGraphXValueSet
AcGraphYAxisPosition
AcGraphYOrientation
AcGroupOnType
AcHtmlBackgroundStyle
AcHtmlFrameStyle
AcHtmlHorizontalAlignment
AcHtmlImageAlignment
AcHtmlImageMapType
AcHtmlPlugInUnits
AcHtmlTableCaptionStyle
AcHtmlTableStyle
AcHtmlTextAlignment
AcHtmlTextVertAlignment
AcHtmlTocStyle
AcHtmlUnits
AcImageEmbedType
AcLinePen
AcLineStyle
AcMargins
AcOffset
AcPageNumberStyle
AcPercentage
AcPoint
AcRectangle
AcRounding
AcSearchType
43
AcAutoSplit
AcShiftKeyState
AcSize
AcTextClipStyle
AcTextFormat
AcTextJustify
AcTextPlacement
AcTextVerticalPlacement
AcTOCNodeType
AcVerticalPosition
AcVerticalSize
AcWordWrapStyle
AcXMLType
ViewContext
AcAutoSplit
AcAutoSplit is an Integer that specifies how a dynamic text control or a frame
containing a dynamic text control is split.
44
Constant
Value
Description
DefaultSplitting
DoNotSplit
SplitIfNecessary
SplitIfPossible
AcBitmapStyle
AcBitmapStyle
AcBitmapStyle specifies how a bitmap is displayed.
Constant
Value
Description
StretchToFit
KeepAspectRatio 1
KeepOriginal
Size
AcChartAxisOrigin
AcChartAxisOrigin is an Integer that specifies how to display the x-axis for a
chart.
Constant
Value
Description
ChartZero
Origin
ChartAuto
Origin
ChartCustom
Origin
AcChartBarGrouping
AcChartBarGrouping is an Integer that specifies how bars are grouped in bar
charts.
Constant
Value
Description
ChartBarNo
Grouping
ChartBarCluster
45
AcChartBarOrientation
Constant
Value
Description
ChartBarStack
ChartBarStack
Percentage
AcChartBarOrientation
AcChartBarOrientation is an Integer that specifies the orientation for bar
charts.
Constant
Value
Description
ChartBarVertical
ChartBar
Horizontal
ChartBarHorizon 2
talReversed
AcChartBorderStyle
AcChartBorderStyle is an Integer that specifies the style of the border around
the chart.
46
Constant
Value
Description
ChartNoBorder
Displays no border
ChartSolid
Border
ChartDrop
Shadow
ChartShadow
AndBorder
AcChartHLCBarStyle
AcChartHLCBarStyle
AcChartHLCBarStyle is an Integer that specifies how the chart displays high,
low, and close tick marks.
Constant
Value
Description
ChartHLCAll
Bars
ChartHLCNo
Close
ChartHLCNo
Bars
ChartHLCNo
HighLowBars
AcChartLegendPosition
AcChartLegendPosition is an Integer that specifies the position of the legend
within a chart.
Constant
Value
Description
ChartLegend
None
Displays no legend
ChartLegend
Top
ChartLegend
TopRight
ChartLegend
TopLeft
ChartLegend
Left
ChartLegend
Right
ChartLegend
BottomLeft
47
AcChartLinePen
Constant
Value
Description
ChartLegend
Bottom
ChartLegend
BottomRight
AcChartLinePen
AcChartLinePen is an Integer that specifies the style of line to draw. Note that
although these styles mimic the Windows line styles, they are not meant to
duplicate Windows values and do not have a direct numeric mapping to
Windows styles.
Constant
Value
Description
ChartSingleLine
ChartDashLine
ChartDotLine
ChartDashDot
Line
ChartDashDot
DotLine
ChartNullLine
AcChartLineStyle
AcChartLineStyle is an Integer that specifies the line style of a line chart.
48
Constant
Value
Description
ChartDefault
Lines
ChartPattern
Lines
ChartThickLines
AcChartPointLabelStyle
AcChartPointLabelStyle
AcChartPointLabelStyle is an Integer that specifies how to display point labels
in charts.
Constant
Value
Description
ChartNoPoint
Labels
Displays no labels
ChartTextLabels
ChartNumeric
Labels
ChartColored
TextLabels
ChartColored
NumericLabels
AcChartRoundTo
AcChartRoundTo is an Integer that specifies how data is rounded.
Constant
Value
Description
ChartRoundTo
Interval
ChartRoundTo
Range
49
AcChartTickStyle
AcChartTickStyle
AcChartTickStyle is an Integer that specifies the tick marks for a chart axis.
Constant
Type
Description
ChartNoTicks
ChartAutoTicks
ChartCustom
TickMarks
AcChartType
AcChartType is an Integer that specifies the type of chart to render.
50
Constant
Value
Description
Chart2DArea
Chart3DArea
Renders a three-dimensional
representation of an area chart
Chart2DBar
Chart3DBar
Renders a three-dimensional
representation of a bar chart
Chart2DPie
Chart3DPie
Renders a three-dimensional
representation of a pie chart
ChartCandle
Stick
ChartHLC
ChartLine
ChartOHLC
10
Renders an Open-High-Low-Close
chart
ChartScatter
11
ChartTape
12
AcChartUnitType
AcChartUnitType
AcChartUnitType is an Integer that specifies the unit used for the Range.
Constant
Value
Description
ChartDayUnit
ChartDefault
Unit
ChartHourUnit
ChartMinuteUnit 3
ChartMonthUnit
ChartNumber
Unit
ChartQuarter
Unit
ChartWeekUnit
ChartYearUnit
AcChartXAxisPosition
AcChartXAxisPosition is an Integer that specifies where to display the x-axis.
Constant
Value
Description
ChartXAxis
Auto
ChartXAxisTop
ChartXAxis
Bottom
ChartXAxis
None
Displays no x-axis
51
AcChartXValueSet
AcChartXValueSet
AcChartXValueSet is an Integer that specifies the number of available x values.
Constant
Value
Description
ChartDefaultX
Values
ChartXValuePer
DataSet
ChartXValuePer
Point
AcChartXLabelStyle
AcChartXLabelStyle is an Integer that specifies the source of the x-axis labels.
Constant
Value
Description
ChartNoXLabels
Displays no labels
ChartAutoX
Labels
ChartCustomX
Labels
ChartExpression
XLabels
AcChartYAxisPosition
AcChartYAxisPosition is an Integer that specifies where to display the y-axis.
52
Constant
Value
Description
ChartYAxisAuto
ChartYAxisLeft
AcChartYLabelStyle
Constant
Value
Description
ChartYAxisRight
ChartYAxisNone
Displays no y-axis
AcChartYLabelStyle
AcChartYLabelStyle is an Integer that specifies the source of the y-axis labels.
Constant
Value
Description
ChartNoYLabels
Displays no labels
ChartAutoY
Labels
ChartCustomY
Labels
ChartIntervalY
Labels
AcChartYOrientation
AcChartYOrientation is an Integer that specifies the orientation of the y-axis
title.
Constant
Value
Description
ChartYLabelUp
ChartYLabel
Horiz
ChartYLabel
Down
53
AcColor
AcColor
AcColor is an Integer that contains a color expressed as a standard Windows
RGB value. The AFC supports the standard Windows 16 million colors. The
AFC framework defines the following constants for common Windows colors.
Constant
RGB Value
Black
&H00
Blue
&HFF0000
Cyan
&HFFFF00
DarkGray
&H404040
Forest
&H7F00
Gray
&H808080
Green
&HFF00
LightGray
&HC0C0C0
Magenta
&HFF00FF
Maroon
&H7F
Navy
&H7F0000
Olive
&H7F7F
Purple
&H7F007F
Red
&HFF
Teal
&H7F7F00
White
&HFFFFFF
Yellow
&HFFFF
54
Constant
Description
TransparentColor
AcControlValueType
AcControlValueType
AcControlValueType is an Integer that determines whether the control takes a
single value or multiple values based on the expression in the ValueExp
property or independent of the ValueExp property.
Constant
Description
SummaryControl
AcCursorShape
AcCursorShape is an Integer that contains the cursor shape. The following
constants define the cursor shape for AcCursorShape.
Constant
Description
ArrowCursor
ActiveCursor
IBeamCursor
WaitCursor
CrossCursor
UpArrowCursor
SizeCursor
IconCursor
SizeNWSE
Cursor
SizeNESW
Cursor
SizeWECursor
SizeNSCursor
55
AcExcelBorder
Constant
Description
SizeAllCursor
NoCursor
AppStarting
Cursor
HandCursor
QuestionCursor
AcExcelBorder
AcExcelBorder is a structure that describes characteristics of the border.
Member Name
Type
Description
Style
AcExelBorderType
Color
AcColor
AcExcelBorderType
AcExcelBorderType specifies the line style of the border.
56
Constant
Value Description
ExcelBorderNone
No border
ExcelBorderThin
A thin line
ExcelBorderMedium
A medium line
ExcelBorderDashed
A dashed line
ExcelBorderDotted
A dotted line
ExcelBorderThick
A thick line
ExcelBorderDouble
A double line
ExcelBorderHair
A hairline
ExcelBorderMediumDashed
A dashed-line of
medium thickness
ExcelBorderDashDot
A dash-dot line
AcExcelBorderName
Constant
Value Description
ExcelBorderMediumDashDot
10
ExcelBorderDashDotDot
11
A dash-dot line of
medium thickness
A dash-dot-dot line
ExcelBorderMediumDashDotDot 12
A dash-dot-dot line of
medium thickness
ExcelBorderSlantedDashDot
13
AcExcelBorderName
AcExcelBorderName specifies the side of the border.
Constant
Value Description
ExcelBorderTop
ExcelBorderBottom
ExcelBorderLeft
ExcelBorderRight
AcExcelHorizontalAlignment
AcExcelHorizontalAlignment specifies the horizontal alignment of data in
cells.
Constant
Value Description
ExcelHAlignGeneral 0
ExcelHAlignLeft
ExcelHAlignCenter
57
AcExcelVerticalAlignment
Constant
Value Description
ExcelHAlignRight
ExcelHAlignFill
ExcelHAlignJustify
ExcelHAlignCenter
AcrossSelection
AcExcelVerticalAlignment
AcExcelVerticalAlignment specifies the vertical alignment of data in cells.
Constant
Value Description
ExcelVAlignTop
ExcelVAlignCenter
ExcelVAlignBottom 2
ExcelVAlignJustify
AcFlowPlacement
AcFlowPlacement is an Integer that describes how a frame appears within a
flow when the frame is narrower than the flow.
58
Constant
Value Description
FlowAlignCenter
FlowAlignLeft
AcFont
Constant
Value Description
FlowAlignRight
FlowAlignCustom
AcFont
AcFont is a structure that describes a font in a device-independent way.
Member Name
Type
Description
Bold
Boolean
Color
AcColor
FaceName
String
Italic
Boolean
Size
Integer
StrikeThrough
Boolean
Underline
Boolean
HTML Tag
Comments
FaceName
<Font Face=
name>
<PlainText>
</PlainText >
Bold
<B> </B>
Color
<Font Color=
color>
Italic
<I> </I>
59
AcGraphAxisStyle
Font Property
HTML Tag
Comments
Size
<Font Size=n>
StrikeThrough
<S> </S>
Underline
<U> </U>
In HTML, a page can set different font options independently, and the options
remain in effect until changed later down the page. In Actuate, each control
has its own font specification. Therefore, AFC generates a complete set of font
commands for each individual control, and settings for one control do not
affect adjacent controls. In practice, to reduce the size of the generated report,
AFC generates HTML for the font only when an attribute changes.
AcGraphAxisStyle
AcGraphAxisStyle is an Integer that specifies how to display the x-axis for
graphs.
60
Constant
Value
Description
GraphZero
Origin
GraphAuto
Origin
GraphCustom
Origin
AcGraphBarGrouping
AcGraphBarGrouping
AcGraphBarGrouping is an Integer that specifies how bars are to be grouped
in bar graphs.
Constant
Value
Description
GraphBarNo
Grouping
GraphBarCluster
GraphBarStack
GraphBarStack
Percentage
GraphBar
ClusterZ
AcGraphBarOrientation
AcGraphBarOrientation is an Integer that specifies the orientation for bar
graphs.
Constant
Value
Description
GraphBarVertical 0
GraphBar
Horizontal
GraphBar
Horizontal
Reversed
61
AcGraphBorderStyle
AcGraphBorderStyle
AcGraphBorderStyle is an Integer that specifies the style of a title in a graph.
Constant
Value
Description
GraphNoBorder
Displays no border
GraphSolid
Border
GraphDrop
Shadow
Displays a shadow
GraphShadow
AndBorder
GraphRaised
Border
GraphLowered
Border
AcGraphLabelStyle
AcGraphLabelStyle is an Integer that specifies the source of axis labels.
Constant
Value
Description
GraphNoLabels
Displays no labels
GraphAuto
Labels
GraphCustom
Labels
GraphExpression 3
Labels
62
AcGraphLegendPosition
AcGraphLegendPosition
AcGraphLegendPosition is an Integer that specifies the position of the legend
within a graph.
Constant
Value
Description
GraphLegend
None
Displays no legend
GraphLegend
Top
GraphLegend
TopRight
GraphLegend
TopLeft
GraphLegend
Left
GraphLegend
Right
GraphLegend
BottomLeft
GraphLegend
Bottom
GraphLegend
BottomRight
AcGraphLineStyle
AcGraphLineStyle is an Integer that specifies the style of the lines in a line
graph.
Constant
Value
Description
GraphDefault
Lines
GraphPattern
Lines
GraphThickLines 2
63
AcGraphPoint
AcGraphPoint
AcGraphPoint contains the data maintained for each data point in a graph.
Member Name
Type
Description
Double
Double
Double
Label
String
AcGraphPointLabelStyle
AcGraphPointLabelStyle is an Integer that specifies how to display point
labels for graphs.
64
Constant
Value
Description
GraphNoPoint
Labels
GraphTextLabels
GraphNumeric
Labels
GraphColored
TextLabels
GraphColored
NumericLabels
AcGraphTickStyle
AcGraphTickStyle
AcGraphTickStyle is an Integer that specifies the tick marks for a graph axis.
Constant
Type
Description
GraphNoTicks
GraphAutoTicks
GraphCustom
Ticks
AcGraphType
The AcGraphType is an Integer that specifies the graph type.
Constant
Value
Description
Graph2DArea
Graph3DArea
Graph2DBar
Graph3DBar
Graph2DPie
Graph3DPie
GraphCandle
Stick
GraphHLC
GraphLine
GraphOHLC
10
Renders an Open-High-Low-Close
graph
GraphScatter
11
GraphTape
12
65
AcGraphXAxisPosition
AcGraphXAxisPosition
AcGraphXAxisPosition is an Integer that specifies where to display the x-axis.
Constant
Value
Description
GraphXAxis
Auto
GraphXAxisTop
GraphXAxis
Bottom
GraphXAxis
None
Displays no x-axis
AcGraphXValueSet
AcGraphXValueSet is an Integer that specifies the number of x values
provided.
66
Constant
Value
Description
GraphDefaultX
Values
GraphXValues
PerDataSet
GraphXValue
PerPoint
AcGraphYAxisPosition
AcGraphYAxisPosition
AcGraphYAxisPosition is an Integer that specifies where to display the y-axis.
Constant
Value
Description
GraphYAxisAuto 0
GraphYAxisLeft
GraphYAxis
Right
GraphYAxis
None
Displays no y-axis
AcGraphYOrientation
AcGraphYOrientation is an Integer that specifies the orientation of the graph
y-axis title.
Constant
Value
Description
GraphYLabelUp
GraphYLabel
Horiz
GraphYLabel
Down
AcGroupOnType
AcGroupOnType defines how to group data in a group section.
Constant
Value
Description
GroupOnEveryValue 0
GroupOnPrefix
GroupOnYear
67
AcHtmlBackgroundStyle
Constant
Value
Description
GroupOnQuarter
GroupOnMonth
GroupOnWeek
GroupOnDay
GroupOnHour
GroupOnMinute
GroupOnInterval
GroupOnCustom
10
AcHtmlBackgroundStyle
AcHtmlBackgroundStyle sets the style of an image that appears as the
background of a web page.
Constant
HTML Option
Description
ScrollableBack
ground
(Default)
FixedBack
ground
BGProperties=
Fixed
AcHtmlFrameStyle
AcHtmlFrameStyle enumerates the options for formatting text in an HTML
report.
68
Constant
HTML Option
Description
HtmlBodyText
(Default)
HtmlHeading1
H1
Level 1 heading
HtmlHeading2
H2
Level 2 heading
AcHtmlHorizontalAlignment
Constant
HTML Option
Description
HtmlHeading3
H3
Level 3 heading
HtmlHeading4
H4
Level 4 heading
HtmlHeading5
H5
Level 5 heading
HtmlHeading6
H6
Level 6 heading
HtmlHeading7
H7
Level 7 heading
HtmlHeading8
H8
Level 8 heading
HtmlHeading9
H9
Level 9 heading
HtmlDefinition
List
DL
Definition list
HtmlBulletedList UL
HtmlOrderedList OL
HtmlTable
TABLE...
AcHtmlHorizontalAlignment
AcHtmlHorizontalAlignment enumerates the options for aligning objects on
the horizontal plane.
Constant
HTML Option
Description
HtmlHoriz
Default
(Default)
HtmlLeftAlign
align=left
HtmlCenter
Align
align=center
HtmlRightAlign
align=right
69
AcHtmlImageAlignment
AcHtmlImageAlignment
AcHtmlImageAlignment enumerates the options for aligning images or
applets relative to surrounding text.
70
Constant
HTML Option
Description
HtmlAlignImage
None
(Default)
HtmlAlignImage
Top
Align=top
HtmlAlignImage
Middle
Align=middle
HtmlAlignImage
Bottom
Align=bottom
HtmlAlignImage
TextTop
Align=texttop
HtmlAlignImage
AbsMiddle
Align=
absmiddle
HtmlAlignImage
AbsBottom
Align=
absbottom
HtmlAlignImage
Left
Align=left
HtmlAlignImage
Right
Align=right
HtmlAlignImage
Center
Align=center
AcHtmlImageMapType
AcHtmlImageMapType
AcHtmlImageMapType enumerates the options for associating an image map
with an image in an HTML report.
Constant
HTML Option
Description
HtmlNoImage
Map
N/A
HtmlClientSide
Map
IsMap
Map=filename
HtmlServerSide
Map
IsMap
AcHtmlPlugInUnits
AcHtmlPlugInUnits defines how the size of plug-in windows are measured.
Constant
HTML Option
Description
HtmlPlugIn
Percent
attrib=nn%
HtmlPlugInEns
attrib= nn
AcHtmlTableCaptionStyle
AcHtmlTableCaptionStyle specifies the placement of a table caption.
Constant
HTML Option
Description
HtmlNoCaption
N/A
HtmlCaption
Above
<Caption
VAlign=top>
HtmlCaption
Below
<Caption
VAlign=bottom>
71
AcHtmlTableStyle
AcHtmlTableStyle
AcHtmlTableStyle specifies how to create a table in an HTML report.
Constant
Description
HtmlAutomatic
Table
HtmlNotTable
HtmlCreateTable
AcHtmlTextAlignment
AcHtmlTextAlignment enumerates the options for aligning text horizontally
in an HTML frame.
Constant
HTML Option
Description
HtmlTextAlign
Left
(Default)
HtmlTextAlign
Center
<Center>
AcHtmlTextVertAlignment
AcHtmlTextVertAlignment specifies how objects are aligned vertically within
a table cell.
72
Constant
HTML Option
Description
HtmlTextVert
Default
(Default)
HtmlTextTop
Valign=top
HtmlTextMiddle
Valign=center
AcHtmlTocStyle
Constant
HTML Option
Description
HtmlTextBottom
Valign=bottom
HtmlTextBase
line
Valign=baseline
AcHtmlTocStyle
AcHtmlTocStyle enumerates the options for including a TOC in an HTML
report.
Constant
HTML Option
Description
HtmlNoToc
N/A
HtmlTocIn
Header
N/A
HtmlTocInFrame
N/A
AcHtmlUnits
AcHtmlUnits defines how object sizes are measured.
Constant
HTML Option
Description
HtmlPercent
attrib=nn%
HtmlPixels
attrib= nn
73
AcImageEmbedType
AcImageEmbedType
AcImageEmbedType defines when to include the image in the report.
Constant
Value
Description
ImageViewTime
ImageDesignTime
ImageFactoryTime
AcLinePen
AcLinePen is an Integer that specifies the style of line to draw. Note that
although these mimic the Windows line styles, they are not meant to duplicate
their values or have a direct numeric mapping to Windows styles.
74
Constant
Value
Description
DashDotDotLine
DashDotLine
DashLine
DotLine
DoubleLine
InsideFrame
Border
NullLine
ShortDotLine
SingleLine
AcLineStyle
AcLineStyle
AcLineStyle is a structure that describes characteristics of a line.
Member Name
Type
Description
Color
AcColor
Pen
AcLinePen
Width
AcTwips
AcMargins
AcMargins is a structure that describes the amount of space to reserve outside
of the enclosing rectangle.
Member Name
Type
Description
Bottom
AcTwips
Left
AcTwips
Right
AcTwips
Top
AcTwips
75
AcOffset
AcOffset
AcOffset is a structure that describes the offset coordinates from some origin
as defined by the client.
Member Name
Type
Description
AcTwips
AcTwips
AcPageNumberStyle
AcPageNumberStyle is an Integer that determines how to calculate and
display page numbers.
76
Constant
Description
ActualPageCount
ActualPageNofM
ActualPageNumber
FormattedPageNumber
VisiblePageCount
AcPercentage
Constant
Description
VisiblePageNofM
VisiblePageNumber
AcPercentage
AcPercentage is a double precision floating point number that displays
numbers as percentages in property sheets.
AcPoint
AcPoint is a structure that describes the offset coordinates from some origin as
defined by the client.
Member Name
Type
Description
AcTwips
AcTwips
77
AcRectangle
AcRectangle
AcRectangle is a structure that describes a rectangle relative to the origin of an
enclosing rectangle by giving the bounding points (corners) of the rectangle.
Member Name
Type
Description
Bottom
AcTwips
Left
AcTwips
Right
AcTwips
Top
AcTwips
AcRounding
AcRounding is a structure that describes the characteristics of a rectangle with
round corners.
78
Member Name
Type
Description
AcTwips
AcTwips
AcSearchType
AcSearchType
AcSearchType is an Integer that determines whether users can search for the
component using values for the DataValue property.
Constant
Description
NotSearchable
SearchableNoIndex
SearchableWithIndex
AcShadow
AcShadow is a structure that describes the format of a shadow for a rectangle.
Member Name
Type
Description
Color
AcColor
Shadow color
Height
AcTwips
Width
AcTwips
79
AcShiftKeyState
AcShiftKeyState
AcShiftKeyState is an Integer that contains the flags for keys pressed during
mouse actions. The settings in AcShiftKeyState match the settings of the Shift
bit field used in Visual Basic for MouseUp and MouseDown events. The actual
value can be a combination of the values below, depending on the keys
pressed.
Constant
Value
Description
NoKeys
ShiftKey
ControlKey
AltKey
AcSize
AcSize is a structure that describes the width and height of a rectangle.
Member Name
Type
Description
Height
AcTwips
Width
AcTwips
AcTextClipStyle
AcTextClipStyle is an Integer that specifies how to handle text that is too long
for its enclosing rectangle. Leading truncation removes the first part of the
string, while trailing truncation removes the end part. There is also an option
80
AcTextFormat
Value
Description
ClipLeading
ClipTrailing
ShowOverflow
Char
AcTextFormat
AcTextFormat is an Integer that indicates the tagging format of text.
Constant
Value
Description
TextFormatHTM
L
TextFormatPlain
TextFormatRTF
AcTextJustify
AcTextJustify is an Integer that specifies how text is aligned.
Constant
Value
Description
TextAlignCenter
TextAlignLeft
TextAlignRight
81
AcTextPlacement
AcTextPlacement
AcTextPlacement is a structure that describes the placement of text in a frame
or control.
Member Name
Type
Description
Clip
AcTextClipStyle
Ellipsis
Boolean
FillPattern
String
Horizontal
AcTextJustify
MultiLine
Boolean
Vertical
AcTextVertical
Placement
WordWrap
AcWordWrap
Style
AcTextVerticalPlacement
AcTextVerticalPlacement is an Integer that specifies how single lines of text
align vertically within the enclosing rectangle.
82
Constant
Value
Description
TextAlignTop
TextAlignMiddle
TextAlignBottom
AcTOCNodeType
AcTOCNodeType
AcTOCNodeType is an Integer that determines whether the component
appears in the reports table of contents.
Constant
Description
TOCAlwaysAdd
TOCIfAllVisible
TOCIfAnyVisible
TOCSkip
AcTwips
AcTwips is an Integer that specifies the basic unit of measurement in the AFC
framework.
Constant
Value
Description
OneCM
567
A distance of 1 centimeter
OneInch
1440
A distance of 1 inch
OneMM
57
A distance of 1 millimeter
OnePoint
20
A distance of 1 printers
point (1/20)
83
AcVerticalPosition
AcVerticalPosition
AcVerticalPosition is an Integer that specifies how a visual object is positioned
vertically.
84
Constant
Value
Description
VerticalPositionDefa
ult
VerticalPositionTop
VerticalPositionBotto 2
m
VerticalPositionFram
eTop
VerticalPositionFram
eBottom
AcVerticalSize
AcVerticalSize
AcVerticalSize is an Integer that specifies how a visual object is resized.
Constant
Value
Description
VerticalSizeFixed
VerticalSizeRelati 1
ve
VerticalSizeFram
eRelative
AcWordWrapStyle
AcWordWrapStyle is an Integer that specifies the actions for lines in a multiline control when a line is longer than the size of the control.
Constant
Value
Description
TextWordWrap
ObsoleteWord
Wrap
Placeholder
85
AcXMLType
Constant
Value
Description
TextCharacter
Wrap
TextTruncate
Lines
AcXMLType
AcXMLType is an Integer that specifies the type of XML to create for the
component.
Constant
Description
XMLAttribute
XMLCustom
XMLElement
XMLEmptyElement
XMLIgnore
XMLText
ViewContext
ViewContext is an Integer that indicates which viewing environment is used.
86
Constant
Description
ActivePortalContext
ReportCastContext
Chapter
3
AFC classes
Chapter 3
87
Class AcBaseFrame
Class AcBaseFrame
An abstract base class that defines the core logic common to pages and frames.
AcComponent
AcReportComponent
AcVisualComponent
AcBaseFrame
Description
AcBaseFrame is the abstract base class for pages and frames. It provides the
core logic for creating and working with contents in a page or a frame. The
contents of a page can include flows and controls, and the contents of a frame
can include other frames and controls.
The framework instantiates the contents of a frame or page using Start( ).
Start( ), in turn, calls MakeContents( ) to instantiate each of the contents in the
order in which they were added in the Design Editor.
AcBaseFrame defines methods for accessing the contents of a frame or page.
The FindContentByClass( ), FindContentByClassID( ), and GetControl( )
methods locate the specified content in a frame or a page, and the
GetControlValue( ) method returns the value of a data control contained in a
frame. AcBaseFrame also defines methods for adjusting the contents of
frames. The SplitContents( ) and SplitFrame( ) methods help you distribute the
contents of frames across pages.
AcBaseFrame also defines page-specific methods, such as GetPageNumber( ),
that are not applicable to frames. If you call these methods in a frame, Actuate
displays an error.
Factory protocol
88
Method
Task
Start( )
Build( )
BuildFromRow( )
Finish( )
Class AcBaseFrame
The frame is nested within any of the frames described in the previous
bullets
The frames Build( ) method, in turn, calls the Build( ) method for each of the
controls it contains.
You can override a frames or a pages Build( ) method to perform custom
processing, such as conditionally adding or deleting frame or page contents, or
setting the values or properties of the contents.
Subclassing AcBaseFrame
Because AcBaseFrame is an abstract base class, you generally do not derive
directly from it.
Variables
Variable
Type
Description
BackgroundColor
AcColor
Border
AcLineStyle
89
Class AcBaseFrame
Properties
Property
Type
Description
BackgroundColor
AcColor
Border
AcLineStyle
Method
Type
Description
AddToAdjustSize
List( )
N/A
AdjustContent
VerticalGeometry()
N/A
BindToFlow( )
N/A
FindContentBy
Class( )
N/A
FindContentBy
ClassID( )
N/A
GetControl( )
AcControl
GetControlValue( )
Variant
GetPageNumber( )
String
MakeContents()
N/A
RebindToFlow( )
N/A
SplitContents( )
N/A
SplitFrame( )
AcFrame
Methods
Example
90
The following example shows how a flow on the first page is changed to teal
while the flow on the other pages use the color set at design time.
AcBaseFrame::AddToAdjustSizeList method
AcBaseFrame::AddToAdjustSizeList method
Adds an object to its containers list of objects to be resized.
Syntax
Parameter
Description
91
AcBaseFrame::AdjustContentVerticalGeometry method
AcBaseFrame::AdjustContentVerticalGeometry
method
Provides automatic resizing and repositioning.
Syntax
Syntax
Sub AdjustContentVerticalGeometry( )
Description
AcBaseFrame::BindToFlow method
Called when the framework places the frame into a flow on the page.
Syntax
Parameter
Description
Example
92
AcBaseFrame::FindContentByClass method
AcBaseFrame::FindContentByClass method
Locates one of the frames content components given the class name of that
component.
Syntax
Parameter
className
The class name of the component to find. You can specify a fully qualified class
name or just the class name. For example, you can use the names
MyDesign::MyFrame::MyControl, MyFrame::MyControl, or just MyControl to
find a control called MyControl. If you want to specify the control as a global
class, prefix the name with a double colon, for example, ::GlobalControl.
Description
Returns
You can uniquely identify a content within a frame or page by its class name.
This capability makes it easy to access and manipulate contents, for example,
conditionally add or remove controls in a frame. To access a content
component, call the FindContentByClass( ) method.
A reference to the component if found.
Nothing if the component was not found.
Example
93
AcBaseFrame::FindContentByClassID method
See also
AcBaseFrame::FindContentByClassID method
AcBaseFrame::GetControl method
AcBaseFrame::FindContentByClassID method
Locates one of the frames content components given the class ID of that
component.
Syntax
Parameter
Description
Returns
94
AcBaseFrame::GetControl method
See also
AcBaseFrame::FindContentByClass method
AcBaseFrame::GetControl method
AcBaseFrame::GetControl method
Locates a named control.
Syntax
Parameter
Description
Returns
See also
AcBaseFrame::FindContentByClass method
AcBaseFrame::FindContentByClassID method
AcBaseFrame::GetControlValue method
Returns the value of a specified data control within the frame.
Syntax
Description
Use the GetControlValue( ) method to get the value of a specified data control
within a frame. You specify the control by giving either just the last part of the
controls name (such as PriceControl), or using its fully qualified name (such
as OrdersReport::ItemFrame::PriceControl). GetControlValue( ) finds the
control, then calls that controls GetValue( ) method to obtain the value.
If you call this method from BuildFromRow( ), then you must be aware of the
order in which controls are built. Generally, the controls of a frame are built in
the same order that they appear in the structure pane. If you call
GetControlValue( ) to get the value of a control that is not created,
GetControlValue( ) returns Null.
95
AcBaseFrame::GetPageNumber method
Returns
See also
AcControl::GetControlValue method
AcBaseFrame::GetPageNumber method
Returns the page number.
Syntax
Description
Returns
AcBaseFrame::MakeContents method
Creates the frame contents.
Syntax
Description
Sub MakeContents( )
The MakeContents( ) method creates the frame contents.
AcBaseFrame::RebindToFlow method
Called by the framework for controls that appear within a subpage.
Syntax
Parameter
flow
The flow that contains the component.
Description
96
AcBaseFrame::SplitContents method
AcBaseFrame::SplitContents method
Moves part of the contents of the current frame to a different frame.
Syntax
Parameter
Description
Example
Call SplitContents to help you move controls from the current frame to a new
frame. Usually, you call SplitContents from the SplitFrame method to split the
contents of two frames. SplitContents keeps the contents that are contained in
the window area in the current frame. The contents outside the window move
to the new frame. SplitContents uses the offset to adjust the position of the
controls in the new frame. You specify a negative offset to move the controls in
the new frame to the left or toward the top of the frame.
For an example of SplitContents, see the example shown for
AcBaseFrame::SplitFrame method.
AcBaseFrame::SplitFrame method
Splits the contents of the current frame across frames.
Syntax
Parameter
Description
97
AcBaseFrame::SplitFrame method
Returns
Example
This example report shows you how to override SplitFrame to create a new
frame, dynamically create controls, and finally to adjust the content of the
frames using the SplitContents method. The report presents laboratory test
results. A variable number of test results are presented in each frame. The
results from Test Group 8 are shown in the following excerpt from the report.
98
AcBaseFrame::SplitFrame method
Adds label and data controls to the continuation frames as shown in the
report results for Test Group 8
Moves the controls that do not fit in the current frame to the new frame by
calling SplitContents:
Function SplitFrame( visible As AcSize ) As AcFrame
Dim newFrame As ContentFrame
Dim label As TestGroupNameControl
Dim newLabel As TestGroupNameControl
Dim oldCount As Integer
Dim shiftRect As AcRectangle
Dim shiftSize As AcSize
Dim shiftCount As Integer
Dim shiftBy As Integer
Dim contLabel As AcLabelControl
oldCount = RowCount
RowCount = Int( ( visible.Width - 360 ) / Offset )
shiftBy = RowCount * Offset
shiftCount = oldCount - RowCount
shiftRect.Top = 0
shiftRect.Bottom = GetBottom( )
shiftRect.Right = GetRight( )
shiftRect.Left = shiftBy + 180
shiftSize.Width = -shiftBy
shiftSize.Height = 0
' Create the new frame.
Set newFrame = New Persistent ContentFrame
Container.AddContent( newFrame )
' Start the frame, but avoid creating the contents.
newFrame.AcVisualComponent::Start( )
newFrame.Offset = Offset
newFrame.RowCount = shiftCount
' Add a group label control.
Set label = FindContentByClass( "TestGroupNameControl" )
Set newLabel = New Persistent TestGroupNameControl
newFrame.AddContent( newLabel )
newLabel.Start( )
newLabel.DataValue = label.DataValue
Set contLabel = New Persistent ContinuedLabel
newframe.AddContent( contLabel )
contLabel.Start( )
99
AcBaseFrame::SplitFrame method
contLabel.Text = "(Cont.)"
newFrame.Finish( )
' Move the non-visible controls from the current frame
' to the new frame.
SplitContents( newFrame, shiftRect, shiftSize )
Size.Width = Size.Width - shiftCount * Offset
' Return the new frame.
Set SplitFrame = newFrame
End Function
To see the example in a fuller context, review the report design, Ltor.rod, in
Actuate6\Erdpro\Examples\Ltorflow directory.
100
Class AcBasePage
Class AcBasePage
An abstract base class that defines the logic for instantiating the contents of
pages.
AcComponent
AcReportComponent
AcVisualComponent
AcBaseFrame
AcBasePage
Description
AcBasePage is the abstract base class for the two types of page components
used in a report design: AcPage and AcSubPage.
AcPage describes the physical attributes, such as size and page numbering, of
the pages in a report.
AcSubpage lets you introduce a subpage within a page. Subpages exist in
flows, and are used to add a different set of flows within a page, for example,
to combine a one-column flow with a two-column flow on a single page.
Because AcBasePage is an abstract base class, you generally do not derive
directly from it.
Properties
Property
Type
Description
BalanceFlows
Boolean
function
CanShrink
Boolean
MinimumHeight Integer
ResizeRegion
Integer
101
AcBasePage::ResizeBy method
Methods
Method
Type
Description
ResizeBy( )
N/A
AcBasePage::ResizeBy method
Changes the size of the current page by a given amount.
Syntax
Parameter
Description
102
Call ResizeBy to change the size of the current page. ResizeBy takes the
following actions to resize the page:
Iterates over the contents of the page and repositions its content.
Class AcBrowserScriptingControl
Class AcBrowserScriptingControl
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcBrowserScriptingControl
Description
HTML
JavaScript
Java applets
VBScript
103
Class AcBrowserScriptingControl
Properties
104
AlternateText
String
BrowserClipping
Enum
BrowserCode
String
DebugOption
Boolean
AcBrowserScriptingControl::BrowserCode method
Property
Type
Description
TextPlacement
AcText
Placement
Methods
Method
Type
Description
BrowserCode( )
String
GetText( )
String
AcBrowserScriptingControl::BrowserCode method
Retrieves the value of the BrowserCode property.
Syntax
Description
AcBrowserScriptingControl::GetText method
Retrieves the value of the AlternateText property.
Syntax
105
AcBrowserScriptingControl::GetText method
Description
106
Class AcBTree
Class AcBTree
A collection class that describes objects organized in a balanced tree. A
balanced tree is a sorted list of objects. An attribute of the object contains the
objects key. Each key is unique.
Description
Use the AcBTree collection class when you need to create a list of objects sorted
by one of the objects attributes. You create objects using the CreateNode or
Insert methods. You locate objects by calling the Find or FindOrCreate
methods to compare a key specified as an argument to the keys of the objects
in the balanced tree. Objects can be located with speed comparable to a simple
binary search. To keep the storage needed small, the key is contained in the
object only.
Subclassing AcBTree
To create a balanced tree collection, perform the following steps:
1 Subclass AcBTree.
2 Specify the NodeSize as an integer equal to the maximum number of
objects in the balanced tree.
3 Override the GetKey method to specify how to determine an objects key.
Methods
See also
Method
Type
Description
CreateNode( )
N/A
Find( )
AnyClass
FindOrCreate( )
AnyClass
GetKey( )
Variant
Insert( )
AnyClass
Class AcCollection
Class AcList
Class AcObjectArray
Class AcSingleList
107
AcBTree::CreateNode method
AcBTree::CreateNode method
Adds an object to the collection.
Syntax
Parameter
Description
See also
AcBTree::Find method
Finds an object in the collection with the specified key.
Syntax
Parameter
Description
Returns
See also
108
AcBTree::FindOrCreate method
AcBTree::GetKey method
AcBTree::FindOrCreate method
AcBTree::FindOrCreate method
Finds an object in the collection with the specified key or creates an object if
none exists.
Syntax
Parameter
Description
Returns
See also
AcBTree::GetKey method
Returns the key for the object.
Syntax
Parameter
Description
Returns
Example
109
AcBTree::Insert method
AcBTree::Insert method
Adds an object to the collection.
Syntax
Parameter
Description
See also
110
Class AcChart
Class AcChart
An abstract base class that defines the core characteristics of all chart types.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcChart
Description
AcChart provides the interface to the Actuate chart engine. It defines the
properties of charts, such as the type and general format of the chart, x-axis
and y-axis attributes, legend information, and so on. It also defines the
methods that compute x and y values and format chart labels.
You use the following subclasses of AcChart to implement the methods for
building charts from data rows:
AcDetailChart, which maps each data row to a single data point in a chart.
HTML reports treat charts as .JPEG images and DHTML reports treat charts as
.GIF images.
Type
Description
BackgroundColor
AcColor
ChartBackground
Color
AcColor
111
Class AcChart
112
Property
Type
Description
ChartBorderStyle
AcChartBorderSt
yle
GridColor
AcColor
PointLabelFont
AcColor
PointLabel
Orientation
AcChartLabel
Orientation
PointLabelStyle
AcChartPoint
LabelStyle
ValuesColorList
String
Class AcChart
Type
Description
TitleBackground
Color
AcColor
TitleBorderStyle
AcChart
BorderStyle
TitleFont
AcFont
TitleText
String
Type
Description
XAxisColor
AcColor
XAxisOrigin
AcChartAxis
Origin
113
Class AcChart
Property
Type
Description
XAxisPosition
AcChartXAxis
Position
XLabelCount
Integer
XLabelFont
AcFont
XLabel
Format
String
XLabels
String
XLabelsList
XLabelStyle
114
AcChartXLabel
Style
Class AcChart
Property
Type
XMajorGrid
Style
AcChartLinePen
XMajorTick
Count
Integer
XMajorTickStyle
AcChartTickStyle
Description
The line style of the major grid lines:
ChartDashDotDotLine
ChartDashDotLine
ChartDashLine
ChartDotLine
ChartNullLine (default)
ChartSingleLine
XMax
Double
XMin
Double
XMinorGrid
Style
AcChartLinePen
115
Class AcChart
116
Property
Type
Description
XShowMinorTicks
Boolean
XTitle
String
XTitleBackground
Color
AcColor
XTitleBorder
Style
AcChartBorder
Style
XTitleFont
AcFont
XTitleOrientation
AcGraphY
Orientation
Class AcChart
Property
Type
Description
XValueSet
AcChartXValueSet
XLabelOrientation
AcChartLabel
Orientation
Type
Description
YAxisColor
AcColor
YAxisOrigin
AcGraphAxis
Style
117
Class AcChart
Property
Type
Description
YAxisPosition
AcChartYAxis
Position
YLabelCount
Integer
YLabelFont
AcFont
YLabelFormat
String
YLabels( )
String
YLabelsList
118
A comma-separated list of
quoted y-axis values. Used
only when the YLabelStyle
property is set to
ChartCustomYLabels.
(Property only)
Class AcChart
Property
Type
Description
YLabelStyle
AcChartYLabel
Style
YMajorGridStyle
AcChartLinePen
YMajorTickCount
Integer
119
Class AcChart
120
Property
Type
Description
YMajorTickStyle
AcChartTickStyle
YMax
Double
YMin
Double
YMinorGridStyle
AcChartLinePen
Class AcChart
Property
Type
Description
YShowMinorTicks
Boolean
YTickInterval
Integer
YTitle
String
YTitleBackground
Color
AcColor
YTitleBorderStyle
AcChartBorder
Style
YTitleFont
AcFont
121
Class AcChart
Property
Type
Description
YTitleOrientation
AcChartY
Orientation
YLabelOrientation
AcChartLabel
Orientation
122
Property
Type
Description
DualYAxisColor
AcColor
DualYAxisOrigin
AcChartAxisOrigin
Class AcChart
Property
Type
Description
DualYDisplay
Boolean
DualYKeyValue
String
DualYLabelFont
AcFont
DualYLabelFormat
String
DualYLabelStyle
AcChartYLabel
Style
DualYLineColor
AcColor
123
Class AcChart
124
Property
Type
Description
DualYLinePattern
AcChartLinePen
DualYLineThickness
Integer
DualYMajorTick
Count
Integer
DualYMajorTickStyle
AcChartTickStyle
DualYMax
Double
DualYMin
Double
DualYShowLine
Boolean
Class AcChart
Property
Type
Description
DualYTickInterval
Integer
DualYTitle
String
DualYTitleBackgroun
dColor
AcColor
DualYTitleBorder
Style
DualYTitleFont
AcFont
DualYTitleOrientation AcGraphY
Orientation
125
Class AcChart
Property
Type
Description
DualYLabel
Orientation
Boolean
DualYShowSymbols
Boolean
126
Property
Type
Description
LegendBackground
Color
AcColor
LegendBorderStyle
AcChart
BorderStyle
LegendColorText
Boolean
LegendFont
AcFont
LegendLabelCount
Integer
Class AcChart
Property
Type
Description
LegendLabels( )
String
LegendLabelsList
LegendPosition
127
Class AcChart
128
Property
Type
Description
Range
Integer
RangeUnit
AcChartUnit
Type
RoundTo
AcChart
RoundTo
TickInterval
Integer
Class AcChart
Property
Type
Description
TickIntervalUnit
AcChartUnit
Type
TimeSeries
Boolean
129
Class AcChart
130
Property
Type
Description
BarGrouping
AcChartBar
Grouping
BarOrientation
AcChartBar
Orientation
ChartType
AcChartType
Class AcChart
Property
Type
Description
HLCBarStyle
AcChartHLC
BarStyle
LineStyle
AcChartLine
Style
LineStylesList
LineThickness
Integer
PointsArePercent
Boolean
131
Class AcChart
Property
Type
Description
ShowAsPercent
Boolean
ShowLines
Boolean
ShowSticks
Boolean
ShowSymbols
Boolean
Methods
132
Method
Type
Description
CalculateEndingValue( )
Variant
CalculateRangeUnit( )
N/A
CalculateStartingValue( )
Variant
CalculateTickIntervalUnit( )
N/A
ComputeDualYMinMax( )
N/A
ComputeLabels( )
N/A
ComputeMinMax( )
N/A
AcChart::CalculateEndingValue method
Method
Type
Description
CustomDualYLabels( )
N/A
FormatDualYLabel( )
N/A
FormatXLabel( )
String
FormatYLabel( )
String
GetSeriesKey( )
Variant
AcChart::CalculateEndingValue method
Returns the ending date of the chart.
Syntax
Description
AcChart::CalculateRangeUnit method
Calculates a new range unit.
Syntax
Description
Sub CalculateRangeUnit( )
The CalculateRangeUnit( ) method calculates a new range unit if the default
value has been set. CalculateRangeUnit( ) uses the tick interval values to
determine the correct unit.
CalculateRangeUnit( ) is called by the CalculateStartingValue( ) method.
AcChart::CalculateStartingValue method
Returns the starting date of the chart.
Syntax
133
AcChart::CalculateTickIntervalUnit method
Description
AcChart::CalculateTickIntervalUnit method
Calculates a new tick interval unit.
Syntax
Description
Sub CalculateTickIntervalUnit( )
The CalculateTickIntervalUnit( ) method calculates a new tick interval unit if
the default value was set. For AcDetailChart, CalculateTickIntervalUnit( ) uses
the largest and smallest data points to determine the best units to use so that 5
to 7 labels are displayed in the chart.
CalculateTickIntervalUnit( ) is called by the CalculateStartingValue() method.
AcChart::ComputeDualYMinMax method
Computes the minimum and maximum values for the dual axis.
Syntax
Description
Sub ComputeDualYMinMax( )
The ComputeDualYMinMax( ) method computes the minimum and
maximum values for the dual axis. These values are used by the
CustomDualYLabels( ) method to calculate the best fitting labels.
ComputeDualYMinMax( ) is called by the ComputeMinMax( ) method.
AcChart::ComputeLabels method
Computes the labels for the x-axis and y-axis.
Syntax
Description
134
Sub ComputeLabels( )
The framework calls the ComputeLabels( ) method to calculate the labels of
the x- and y-axis. The processing that ComputeLabels( ) performs depends on
the value of the XLabelStyle and YLabelStyle properties. If the value of these
properties is ChartCustomLabels, ComputeLabels( ) calls FormatXLabel( ) and
FormatYLabel( ), respectively, to format the labels. If the value of XLabelStyle
and YLabelStyle is not ChartCustomLabels, ComputeLabels( ) does nothing
and the framework generates default labels.
AcChart::ComputeMinMax method
If you set the TimeSeries property, this method calls the CustomXLabels( )
method.
Override ComputeLabels( ) to change the way labels are computed. To change
the way labels are formatted, override FormatXLabel( ) or FormatYLabel( ).
See also
AcChart::FormatXLabel method
AcChart::FormatYLabel method
AcChart::ComputeMinMax method
Computes the minimum and maximum values for each axis.
Syntax
Description
Sub ComputeMinMax( )
The ComputeMinMax( ) method computes the minimum and maximum
values for each axis if no values are specified. To have ComputeMinMax( )
compute these values, you must set the properties appropriately:
AcChart::CustomDualYLabels method
Calculates the y-labels of the dual axis.
Syntax
Description
Sub CustomDualYLabels( )
The CustomDualYLabels( ) method computes the labels of the dual axis. To
compute the labels, CustomDualYLabels( ) divides the difference between
DualYMax and DualYMin by the number of tick marks and creates the labels
at each mark.
CustomDualYLabels( ) is called by the ComputeLabels( ) method.
Override CustomDaulYLabels( ) to change the way labels are computed. If
you want to change the way labels are formatted, override
FormatDualYLabel( ).
See also
AcChart::FormatDualYLabel method
135
AcChart::FormatDualYLabel method
AcChart::FormatDualYLabel method
Formats a dual axis label.
Syntax
Parameter
Description
Returns
See also
AcChart::FormatXLabel method
Formats a custom x-axis label.
Syntax
Parameter
Description
Returns
See also
136
AcChart::FormatYLabel method
AcChart::FormatYLabel method
Formats a custom y-axis label.
Syntax
Parameter
Description
Returns
See also
AcChart::GetSeriesKey method
If an expression in the SeriesExp is entered, returns the Key code of the data
row.
Syntax
Parameter
Description
Returns
137
Class AcCollection
Class AcCollection
The abstract base class for the Actuate collection classes.
Description
Subclassing AcCollection
Because AcCollection is an abstract base class, you generally do not derive
directly from it.
Methods
See also
138
Method
Type
Description
NewIterator( )
AcIterator
RemoveAll( )
N/A
Remove( )
N/A
IsEmpty( )
Boolean
GetCount( )
Integer
Class AcIterator
Class AcOrderedCollection
AcCollection::NewIterator method
AcCollection::NewIterator method
Creates an iterator for the collection.
Syntax
Description
Returns
Example
See also
Class AcIterator
AcCollection::RemoveAll method
Removes all contents from the collection.
Syntax
Description
Sub RemoveAll( )
Use RemoveAll( ) to delete all the contents from a collection. To remove a
single object from a collection, use Remove( ).
Actuate automatically deletes objects if they are transient and their reference
count goes to zero.
See also
AcCollection::Remove method
139
AcCollection::Remove method
AcCollection::Remove method
Removes a specified item from the collection.
Syntax
Parameter
Description
Example
Override the pages Build( ) method to locate a specific control and delete it
with Remove( ):
Function GetContentIterator( ) As AcIterator
Dim contents As AcOrderedCollection
Set contents = GetContents( )
If contents Is Nothing Then
Set contents = New AcSingleList
End If
Set GetContentIterator = contents.NewIterator( )
End Function
Sub Build( )
Super::Build( )
Dim iter as AcIterator
Dim content as AcReportComponent
Set iter = GetContentIterator( )
Do while iter.HasMore( )
Set content = iter.GetNext( )
Dim control As AcControl
Set control = FindContentByClass( "EllipseControl" )
GetContents( ).Remove( control )
Loop
End Sub
See also
140
AcCollection::RemoveAll method
AcCollection::IsEmpty method
AcCollection::IsEmpty method
Reports whether the collection is empty or not.
Syntax
Description
Returns
See also
AcCollection::GetCount method
AcCollection::GetCount method
Returns the number of objects in the collection.
Syntax
Description
Returns
See also
141
Class AcComponent
Class AcComponent
The principal base class for the Actuate Foundation Classes (AFC).
Description
AcComponent serves as the root for the AFC framework. All classes that
appear in the structure pane of the Design Editor are derived from
AcComponent. AcComponent defines the mechanism for creating objects
within container objects.
Within the AFC framework, most classes are derived from AcComponent.
However, several classes are not derived from AcComponent because they are
not part of the report structure, rather they are classes that provide services to
the report. Such classes include AcDBCursor, AcDBStatement, and AcIterator.
Subclassing AcComponent
Because AcComponent is the foundation for the AFC framework, you
generally do not derive directly from AcComponent.
Properties
Property
Type
Description
DisplayName
String
Method
Type
Description
Delete( )
N/A
Destructor.
GetContentName( )
String
IsPersistent( )
Boolean
New( )
N/A
Constructor.
Methods
142
AcComponent::Delete method
See also
Method
Type
Description
NewComponent( )
AcComponent
NewPersistent
Component( )
AcComponent
Class AcConnection
Class AcReport
Class AcReportComponent
AcComponent::Delete method
The Basic destructor. In derived classes, Actuate Basic calls Delete( ) when
deleting transient objects that are no longer needed.
Syntax
Description
Sub Delete( )
Actuate Basic calls Delete( ) to destroy transient objects when they have
completed their tasks. The destructor for the most derived class is called first,
followed by all the destructors in the ancestor classes in order of their position
in the class hierarchy.
In derived classes, you can override Delete( ) to perform clean up tasks such as
closing files. To do this, call Super::Delete( ) as the last line of your method.
See also
AcComponent::New method
AcComponent::GetContentName method
Returns the name of the component in a specified slot.
Syntax
Parameter
rel
The name of a structure relationship as it appears in the structure pane of the
Design Editor or in this reference manual.
143
AcComponent::IsPersistent method
index
If the structure relationship is a list, use the second form of this method and
specify the list location (starting with 1) of the component you want to query.
Description
Returns
AcComponent::IsPersistent method
Returns whether the component is persistent or transient.
Syntax
Description
Returns
AcComponent::New method
Constructor. In derived classes, called by Actuate Basic after the object is
instantiated.
Syntax
Description
Sub New( )
New( ) initializes all the properties set through the Component Editor.
In derived classes, you typically override New( ) to initialize user-defined
variables. If you override New( ), you must call Super::New( ) as the first line
of your method so that SetProperties( ) can initialize property values.
144
AcComponent::NewComponent method
AcComponent::NewComponent method
Specifies the logic for creating transient objects.
Syntax
Parameter
rel
The name of the relationship between the objects in the structure pane. The
name of the relationship is shown in the Properties list. For example, if a report
uses a data stream, the generated code is:
NewComponent( "DataStream" )
index
The contents position in the structure pane if the container object creates and
holds multiple objects.
Description
Returns
See also
AcComponent::NewPersistentComponent method
AcComponent::NewPersistentComponent method
Specifies the logic for creating persistent objects.
Syntax
Parameter
rel
The name of the relationship between the objects in the structure pane. The
name of the relationship is shown in the Properties list. For example, if a group
section uses a PageHeader, the generated code is:
NewComponent( "PageHeader" )
145
AcComponent::NewPersistentComponent method
index
The contents position in the structure pane if the container object creates and
contains multiple objects. The following figure illustrates the objects index
values.
Index 1
Index 2
Index 3
Description
Returns
See also
146
AcComponent::NewComponent method
Class AcConditionalSection
Class AcConditionalSection
A class you use in the report design to instantiate a component in a section,
depending on a specified condition.
AcComponent
AcReportComponent
AcSection
AcConditionalSection
Description
147
AcConditionalSection::ConditionIsTrue method
Variables
Variable
Type
Description
KeyValue
Variant
Properties
Property
Type
Description
IfExp
Expression
Then
AcReportComponent
slot
Else
AcReportComponent
slot
Methods
Method
Type
Description
ConditionIsTrue( )
Boolean
AcConditionalSection::ConditionIsTrue method
Returns the True or False condition value.
Syntax
Parameter
148
AcConditionalSection::ConditionIsTrue method
The data row, if any, associated with this component. This is the data row
passed to the BuildFromRow( ) method of the conditional section. The row
returns Nothing if the container component calls Build( ) instead.
Description
Actuate generates this method for you based on the value you enter in the
IfExp property. However, if the expression you want to evaluate is more
complex than that property can handle, you can override this method to do the
work instead.
Returns
True if the conditional section should instantiate the component in the Then
slot.
False if the conditional section should instantiate the component in the Else
slot.
149
Class AcConnection
Class AcConnection
An abstract base class that defines the core protocol for all connection
components.
AcComponent
AcConnection
Description
Variables
Variable
Type
Description
IsOpen
Boolean
Method
Type
Description
Connect( )
Boolean
Disconnect( )
N/A
IsConnected( )
Boolean
RaiseError( )
N/A
Methods
150
AcConnection::Connect method
AcConnection::Connect method
Attempts to connect to the database.
Syntax
Description
Returns
See also
AcConnection::Disconnect method
AcConnection::IsConnected method
AcConnection::Disconnect method
Disconnects from the database.
Syntax
Description
See also
Sub Disconnect( )
Disconnect( ) disconnects from the database if there was a valid connection.
Derived classes override this method to perform the actual disconnect.
AcConnection::Connect method
AcConnection::IsConnected method
AcConnection::IsConnected method
Determines whether or not the connection is established.
Syntax
Description
Returns
151
AcConnection::RaiseError method
See also
AcConnection::Connect method
AcConnection::Disconnect method
AcConnection::RaiseError method
An abstract method that derived classes override to produce error messages.
Syntax
Description
Sub RaiseError( )
Raises a Basic error that describes the database error. Derived classes should
override this method to obtain error information from the database
connection, then raise the error.
Relational databases usually report error conditions through their connection
interface.
152
Class AcControl
Class AcControl
An abstract base class that defines the core characteristics of all controls.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
Description
Constant controls, such as labels, lines, and rectangles, are fully defined at
design time and need no additional data in the Factory. You can, however,
write code to change the attributes of a constant control in the Factory. For
example, you can adjust the size of a line based on the dollar amount of a
data row field, or change the color of a label to red to show that a particular
customer is 60 days past due. To accomplish these tasks, you can override
the enclosing frames OnRow( ) method or the controls BuildFromRow( )
method to add the code.
Data controls, such as text, integer, and date/time controls, display values
from data rows processed in the Factory. For more information about data
controls, see the description of the AcDataControl class.
Like other visual components, controls can respond to viewing events, such as
mouse clicks, in the Viewer. You can override a controls viewing methods,
inherited from AcVisualComponent, to specify how users interact with
controls at view time.
Subclassing AcControl
Typically, you derive a new control from one of the more specialized
subclasses of AcControl, such as AcDoubleControl. Do not derive directly
from AcControl.
153
Class AcControl
Factory protocol
When you place a control on a report design using the Design Editor, Actuate
automatically subclasses the appropriate derived control. The following table
describes AcControls protocol that defines the tasks that all controls perform.
Method
Task
New( )
Start( )
Build( )
BuildFromRow( )
Finish( )
Properties
Property
Type
Description
BalloonHelp
String
Methods
154
Method
Type
Description
BalloonHelp( )
String
GetControlValue( )
Variant
GetHtmlText( )
String
GetText( )
String
GetValue( )
Variant
PageNo( )
AcPage
PageNo$( )
String
AcControl::BalloonHelp method
Method
Type
Description
SetDataValue( )
N/A
SetValue( )
N/A
AcControl::BalloonHelp method
Returns the text to be displayed when the user holds the cursor over a control.
Syntax
Description
AcLineControl
AcHTMLPlugInControl
AcHtmlRuleControl
AcHtmlImageControl
AcHtmlAppletControl
Returns
See also
AcControl::GetText method
AcControl::GetControlValue method
Returns the value of another control within the same frame.
Syntax
Parameter
155
AcControl::GetHtmlText method
The name of the control for which you want the value. Specify the control with
its fully qualified name (for example, OrdersReport::ItemFrame::PriceControl)
or just the controls name (for example, PriceControl).
Description
Use GetControlValue( ) to get the value of another control within the same
frame. If, for example, you want to change the value or property of one control
depending on the value of another control, you can call GetControlValue( )
from the first control to get the value of the second control.
GetControlValue( ) first finds the control, then calls that controls GetValue( )
method to obtain the value. If you call GetControlValue( ) to get the value of a
control before its value is set, GetControlValue( ) returns Null.
If you use GetControlValue( ) in a custom implementation of SetValue( ), you
must be aware of the order in which controls are built. Generally, the controls
of a frame are built in the same order that they appear in the structure pane.
Returns
Example
See also
AcBaseFrame::GetControlValue method
AcControl::GetHtmlText method
Formats a controls text for display in HTML.
Syntax
Description
See also
156
AcControl::GetText method
AcControl::GetText method
Formats a controls value for display.
Syntax
Description
Returns
See also
AcDataControl::Format method
AcControl::GetValue method
Returns the value of the control.
Syntax
Returns
See also
AcDataRow::GetValue method
AcControl::PageNo method
Returns the page index of the control.
Syntax
Description
157
AcControl::PageNo$ method
This method can be used for a control directly on a page, or for a control in a
frame in a PageHeader or PageFooter slot. It is not applicable to other frames
because the page is not known when the value of the control is set.
PageNo( ) raises an error if it is called before the frame holding this control is
added to a page.
Returns
See also
AcControl::PageNo$ method
Returns the formatted page number of the control.
Syntax
Description
Returns
See also
AcControl::SetDataValue method
Sets the value for a data control.
Syntax
Parameter
Description
158
AcControl::SetValue method
Example
In this example, you see how SetDataValue simplifies the coding required to
set the value of a control. The first code snippet shows how you set the value
of a control in Actuate Basic without using the SetDataValue method:
Dim control As AcControl
Dim textControl As AcTextControl
Dim intControl As AcIntegerControl
Set control = GetControl(Foo)
Set textControl = control
textControl.DataValue = Text Value
Set control = GetControl(Bar)
Set intControl = control
intControl.DataValue = 10
The second code snippet shows you how to use SetDataValue to perform the
same task:
GetControl(Foo).SetDataValue(Text Value)
GetControl(Bar).SetDataValue( 10 )
See also
AcBaseFrame::GetControl method
AcControl::SetValue method
AcControl::SetValue method
Implements the ValueExp property for a data control.
Syntax
Parameter
Description
Need no data. Some controls, such as graphic images and lines, require no
data from the data row. These controls are called constant controls.
159
AcControl::SetValue method
Use data from a single row. The most common control is a data control that
displays data from a single data row.
Use data from multiple rows. Some controls summarize data from a set of
rows. These controls are called aggregate controls.
SetValue( ) is called
You only override SetValue( ) when you need to take control of the process for
setting values. If you override SetValue( ), you do not need to call
Super::SetValue( ).
160
Class AcCurrencyControl
Class AcCurrencyControl
A class you use in the report design to display a currency number.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcDataControl
AcCurrencyControl
Description
Use the currency control to store and display a currency number. While you
can use the double control to display monetary values, the currency control
provides a greater level of precision, that is, the currency type is not subject to
rounding errors.
AcCurrencyControl defines a DateValue variable to store the currency value.
The framework generates SetValue( ) to set the value in DataValue. SetValue( )
uses the value expression you assign to the ValueExp property to generate the
value. Override SetValue( ) if you want to take control of setting the controls
data value.
Variables
Variable
Type
Description
DataValue
Currency
161
Class AcDataAdapter
Class AcDataAdapter
An abstract base class that defines the logic of classes that form a data stream.
The data stream collects, processes, and delivers data to the report. The parts
of a data stream are called data adapters.
AcComponent
AcDataAdapter
Description
AcDataAdapter is the abstract base class for the two types of data adapter base
classes: AcDataSource and AcDataFilter.
Data sources collect data from an input source, such as a database or a
spreadsheet. Data filters process the collected data. Both work together to
produce and deliver formatted data, called data rows, to the report. You can
limit the number of data rows a data adapter retrieves by using the FetchLimit
property. This feature is useful for testing and debugging report designs,
especially those that generate large numbers of pages.
AcDataAdapter defines the core logic for how data adapters work with
connections and data rows. It also defines the basic algorithms for random
access to data.
Factory protocol
The following table describes AcDataAdapters protocol that defines the tasks
that all data adapters perform.
162
Method
Task
New( )
Start( )
Opens the data adapter. For a data source, this method opens
the input source from which data is to be read. For a data
filter, this method opens the input adapter(s). An input
adapter is the data adapter that supplies data rows to the
data filter.
Fetch( )
Finish( )
Closes the data adapter. For a data source, this method closes
the input source. For a data filter, this method closes the
input adapter(s).
Class AcDataAdapter
Subclassing AcDataAdapter
You typically derive from one of AcDataAdapters more specialized
subclasses.
Variables
Variable
Type
Description
FetchLimit
Integer
IsOpen
Boolean
Position
Integer
Properties
Property
Type
Description
Connection
AcConnection
Structure
Reference
DataRow
AcDataRow
Structure
Reference
FetchLimit
Integer
163
Class AcDataAdapter
Methods
164
Method
Type
Description
AddRow( )
N/A
AddSortKey( )
N/A
CanSeek( )
Boolean
CanSortDynamically( ) Boolean
CloseConnection( )
N/A
Fetch( )
AcDataRow
Finish( )
N/A
FlushBuffer( )
N/A
FlushBufferTo( )
N/A
GetConnection( )
GetPosition( )
Integer
IsStarted( )
Boolean
NewConnection( )
NewDataRow( )
AcDataRow
OpenConnection( )
Boolean
Opens a connection.
Rewind( )
N/A
SeekBy( )
N/A
SeekTo( )
N/A
SeekToEnd( )
N/A
AcDataAdapter::AddRow method
See also
Method
Type
Description
SetConnection( )
N/A
Start( )
Boolean
Class AcDataRow
Class AcDataSource
Class AcMultipleInputFilter
Class AcSingleInputFilter
AcDataAdapter::AddRow method
Adds a row to the data adapter.
Syntax
Parameter
Description
See also
Calls the OnRead( ) method for the data row so the row can compute its
computed column values.
AcDataAdapter::Fetch method
AcDataRow::OnRead method
AcDataAdapter::AddSortKey method
Adds a dynamic sort key column.
Syntax
Parameter
165
AcDataAdapter::CanSeek method
sortSense
The direction of the sort. Specify either SortAscending or SortDescending.
Description
See also
AcDataAdapter::CanSortDynamically method
AcDataAdapter::CanSeek method
Determines whether or not the data adapter supports random access to data.
Syntax
Description
Returns
AcDataAdapter::CanSortDynamically method
Determines if the data adapter supports dynamic ordering.
Syntax
Description
166
AcDataAdapter::CloseConnection method
Returns
See also
AcDataAdapter::AddSortKey method
AcDataAdapter::CloseConnection method
Closes the connection returned by NewConnection( ).
Syntax
Parameter
Description
See also
AcDataAdapter::Fetch method
Reads the row (if any) at the position identified by GetPosition( ).
Syntax
Description
167
AcDataAdapter::Fetch method
When you override a data adapters Fetch( ) method, the FetchLimit property
value has no effect. You need to write code if you want to limit the number of
data rows to retrieve.
Returns
Example
The following example shows you how to roll up the projected and actual cost
figures for each month, and graph the accumulated results, when the data is
not normalized. To view the code used in this example in a fuller context, open
Actuate6\Erdpro\Examples\Dataxfrm\Budgrpt.rod, highlight the data filter,
SumGraphDataFilter, and examine its Fetch( ) method.
To graph this data, the report must receive the data as one amount per row. For
example, one row for January Budget, one row for January Actual, and so on.
Use a data filter to normalize the data returned from the query.
The following code in the Fetch( ) method of the filter receives a data row from
the data source SqlQuerySource, which contains the database query.
Each time Fetch( ) is called, the data filter splits off another amount field and
returns it to the report. The dollars are accumulated each month. For example,
the budget amount for March shows the sum of January, February, and March
budgets:
Function Fetch( ) As AcDataRow
Dim aFltrDataRow As FilterDataRow
' Get the row returned from the SQL Query
If queryDataRow is Nothing Then
Set queryDataRow = InputAdapter.Fetch()
If queryDataRow Is Nothing Then
Exit Function
End If
dataPointCount = 0
actualTotal = 0.0
planTotal = 0.0
End If
' Run through each of the twelve monthly fields on the query data row and
' return one row for each month/amount combination to the report
Set aFltrDataRow = New FilterDataRow
aFltrDataRow.month = ( dataPointCount \ 2 ) + 1
aFltrDataRow.amountType = dataPointCount MOD 2
'Type of 0 = actual, 1 = plan
dataPointCount = dataPointCount + 1
If dataPointCount = 25 Then
168
AcDataAdapter::Fetch method
Exit Function
End If
Select Case dataPointCount
Case 1
aFltrDataRow.amntToGrph = queryDataRow.aJanDollars
Case 2
aFltrDataRow.amntToGrph = queryDataRow.bJanDollars
Case 3
aFltrDataRow.amntToGrph = queryDataRow.aFebDollars
Case 4
aFltrDataRow.amntToGrph = queryDataRow.bFebDollars
Case 5
aFltrDataRow.amntToGrph = queryDataRow.aMarDollars
Case 6
aFltrDataRow.amntToGrph = queryDataRow.bMarDollars
Case 7
aFltrDataRow.amntToGrph = queryDataRow.aAprDollars
Case 8
aFltrDataRow.amntToGrph = queryDataRow.bAprDollars
Case 9
aFltrDataRow.amntToGrph = queryDataRow.aMayDollars
Case 10
aFltrDataRow.amntToGrph = queryDataRow.bMayDollars
Case 11
aFltrDataRow.amntToGrph = queryDataRow.aJunDollars
Case 12
aFltrDataRow.amntToGrph = queryDataRow.bJunDollars
Case 13
aFltrDataRow.amntToGrph = queryDataRow.aJulDollars
Case 14
aFltrDataRow.amntToGrph = queryDataRow.bJulDollars
Case 15
aFltrDataRow.amntToGrph = queryDataRow.aAugDollars
Case 16
aFltrDataRow.amntToGrph = queryDataRow.bAugDollars
Case 17
aFltrDataRow.amntToGrph = queryDataRow.aSepDollars
Case 18
aFltrDataRow.amntToGrph = queryDataRow.bSepDollars
Case 19
aFltrDataRow.amntToGrph = queryDataRow.aOctDollars
Case 20
aFltrDataRow.amntToGrph = queryDataRow.bOctDollars
Case 21
aFltrDataRow.amntToGrph = queryDataRow.aNovDollars
Case 22
169
AcDataAdapter::Finish method
aFltrDataRow.amntToGrph = queryDataRow.bNovDollars
Case 23
aFltrDataRow.amntToGrph = queryDataRow.aDecDollars
Case 24
aFltrDataRow.amntToGrph = queryDataRow.bDecDollars
End Select
If aFltrDataRow.amountType = 0 Then
aFltrDataRow.amntToGrph = aFltrDataRow.amntToGrph + actualTotal
actualTotal = aFltrDataRow.amntToGrph
Else
aFltrDataRow.amntToGrph = aFltrDataRow.amntToGrph + planTotal
planTotal = aFltrDataRow.amntToGrph
End If
Set Fetch = aFltrDataRow
End Function
AcDataAdapter::Finish method
Closes the data adapter.
Syntax
Description
Sub Finish( )
Finish( ) closes the data adapter. If the data adapter is a data source, Finish( )
closes the input source (which may be a query, a file, and so on). If the data
adapter is a filter, Finish( ) closes each of the input adapters. An input adapter
is the data adapter that supplies data rows to the data filter.
If the connection was created with NewConnection( ), Finish( ) calls
CloseConnection( ) to close the connection.
In derived classes, you can override Finish( ) to do additional work when the
Factory finishes processing the data adapter. Call Super::Finish after your
code.
See AcBaseFrame::GetControl method for an example showing how to use the
Finish( ) method.
See also
170
AcBaseFrame::GetControl method
AcDataAdapter::Start method
AcDataAdapter::FlushBuffer method
AcDataAdapter::FlushBuffer method
If the data adapter uses internal buffering to enable random access, this
method flushes all the buffered rows.
Syntax
Description
Sub FlushBuffer( )
Call FlushBuffer( ) to clear the buffer when you no longer need the rows and
need to reclaim memory. FlushBuffer( ) calls FlushBufferTo( ) to actually clear the
buffer. FlushBuffer( ) does nothing if the data source does not use buffering.
After the buffer is flushed, the read position will be set to the first row past
those that were in the buffer.
Derived classes that support buffering should override this method.
See also
AcDataAdapter::FlushBufferTo method
AcMemoryBuffer::FlushBuffer method
AcMemoryBuffer::FlushBufferTo method
AcDataAdapter::FlushBufferTo method
Flushes all buffered rows.
Syntax
Parameter
Description
See also
AcDataAdapter::GetConnection method
Returns a connection.
Syntax
171
AcDataAdapter::GetPosition method
Description
Returns
See also
Call GetConnection( ) to get the connection associated with the data adapter.
You might need to get a connection if you want to customize the process of
selecting and instantiating a connection. For example, you might call
GetConnection( ) to return the connection, which you then pass as an
argument to SetConnection( ).
A reference to the connection associated with the data adapter.
AcDataAdapter::CloseConnection method
AcDataAdapter::NewConnection method
AcDataAdapter::OpenConnection method
AcDataAdapter::SetConnection method
AcDataAdapter::GetPosition method
Returns the position of the next row that will be fetched.
Syntax
Description
Returns
AcDataAdapter::IsStarted method
Returns True if the adapter is open. False otherwise.
Syntax
Description
Returns
AcDataAdapter::NewConnection method
Instantiates a new connection.
Syntax
172
AcDataAdapter::NewDataRow method
Description
Returns
See also
AcDataAdapter::NewDataRow method
Instantiates the data row class that appears in the DataRow slot for this
adapter.
Syntax
Description
Returns
AcDataAdapter::OpenConnection method
Opens the connection returned by NewConnection( ).
Syntax
Parameter
Description
173
AcDataAdapter::Rewind method
For example, suppose you have five data sources in a report. The first and
third data sources use an Oracle connection, and the others use an ODBC
connection. You could place the ODBC connection in the common section,
then create a static variable to hold the Oracle connection. In the data adapters
that work with the Oracle connection, override NewConnection( ) to get the
shared connection, then override OpenConnection( ) and CloseConnection( )
to do nothing (assuming that code elsewhere will handle opening and closing
the Oracle connection).
Returns
Example
The data adapter may choose to set the database or user name based on a
parameter. If so, your overridden method should call any superclass method
and return the value of that method as follows:
Function OpenConnection( connection As AcConnection ) As Boolean
Dim conn As AcODBCConnection
Set conn.DataSource = "testDB"
OpenConnection = Super::OpenConnection( connection)
End Function
Or, you can override this method, along with NewConnection( ) and
CloseConnection( ), to implement a custom scheme for sharing connections.
See also
AcDataAdapter::CloseConnection method
AcDataAdapter::GetConnection method
AcDataAdapter::NewConnection method
AcDataAdapter::SetConnection method
AcDataAdapter::Rewind method
Moves the fetch position to position one.
Syntax
Description
Sub Rewind( )
Moves the current input position to the beginning of the input set. This
method is equivalent to:
SeekTo( 1 )
174
AcDataAdapter::SeekBy method
AcDataAdapter::SeekBy method
Moves the fetch position by a given amount, relative to the current position.
Syntax
Parameter
Description
Derived classes need not override this method. They should override SeekTo( )
instead.
AcDataAdapter::SeekTo method
Moves the fetch position to a given location.
Syntax
Parameter
Description
175
AcDataAdapter::SeekToEnd method
AcDataAdapter::SeekToEnd method
Moves the fetch position to one past the end of the input set.
Syntax
Description
Sub SeekToEnd( )
Reads rows from the current position to the end of the input set. This method
is equivalent to calling Fetch( ) in a loop until Fetch( ) returns Nothing.
After a call to SeekToEnd( ), GetPosition( ) returns one greater than the
number of rows in the input set.
Derived classes need not override this method.
AcDataAdapter::SetConnection method
Sets a connection for the data adapter.
Syntax
Description
See also
AcDataAdapter::Start method
Opens the data adapter.
Syntax
Description
176
AcDataAdapter::Start method
You can override Start( ) to add additional startup code for your class. You
should, however, call the superclass method first, then continue with your
own initialization only if the superclass method returns True:
Function Start( ) As Boolean
Start = Super::Start( )
If Not Start Then
Exit Function
End If
' Custom startup code
End Function
Returns
See also
AcDataAdapter::Finish method
177
Class AcDatabaseSource
Class AcDatabaseSource
An abstract base class for data sources that retrieve data from databases.
AcComponent
AcDataAdapter
AcDataSource
AcDatabaseSource
Description
AcDatabaseSource is an abstract base class that provides the standard logic for
retrieving rows from a relational database cursor. It defines the methods for
binding parameters to the database statement, opening the cursor, binding the
data row to the cursor, retrieving rows from the cursor, and closing the cursor.
Subclassing AcDatabaseSource
Derive directly from AcDatabaseSource to create a data source that reads from
a stored procedure or from a SELECT statement that you provide. Usually,
however, you create a subclass of AcSqlQuerySource and use the Query Editor
to build your SELECT statement.
If you derive from AcDatabaseSource, you must do the following:
Methods
178
Method
Type
Description
BindDataRow( )
N/A
BindStaticParameters( ) N/A
Binds parameters to a
statement.
GetCursor( )
AcDBCursor
AcDatabaseSource::BindDataRow method
See also
Method
Type
Description
GetDBConnection( )
OpenCursor( )
N/A
Class AcDataAdapter
Class AcDataRow
Class AcDataSource
Class AcSqlQuerySource
AcDatabaseSource::BindDataRow method
Binds the data row to the cursor.
Syntax
Parameter
Description
Variables
Data row
Example
The following example shows how to set up a SQL query, define a data row,
and bind the row fetched by the cursor to the data row:
Override the Start method on the data stream component to define your
SQL SELECT statement:
Function Start( ) As Boolean
Start = Super::Start( )
Dim selectClause As String
Dim fromClause As String
179
AcDatabaseSource::BindStaticParameters method
Override BindDataRow to bind the row fetched by the cursor and your
data row subclass
Sub BindDataRow( cursor As AcDBCursor )
' BindColumn has three arguments:
' 1. position of the column in the select statement
' 2. name of the datarow that will be used to hold data
' 3. name of the variable in the datarow that will be used to hold data
' BindColumn statement needs to be repeated for each column in the
' select statement
cursor.BindColumn( 1, "fSqlApp::fSqlDataRow", "salesreps_last" )
cursor.BindColumn( 2, "fSqlApp::fSqlDataRow", "salesreps_first" )
cursor.BindColumn( 3, "fSqlApp::fSqlDataRow", "orders_orderID" )
End Sub
AcDatabaseSource::BindStaticParameters method
Binds the static parameters, if any, to a cursor for the statement.
Syntax
Parameter
180
AcDatabaseSource::GetCursor method
Description
Example
AcDatabaseSource::GetCursor method
Returns the database cursor associated with the data source.
Syntax
Description
Returns
See also
AcDatabaseSource::GetDBConnection method
Returns the database connection associated with the data source.
Syntax
Description
181
AcDatabaseSource::OpenCursor method
Returns
See also
AcDatabaseSource::OpenCursor method
Opens the database cursor.
Syntax
Description
See also
182
AcDatabaseSource::BindDataRow method
AcDatabaseSource::BindStaticParameters method
Class AcDataControl
Class AcDataControl
The base class for controls that display data from data rows.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcDataControl
Description
AcDataControl defines the logic for setting the values of data controls, which
display data obtained from the input source. Each data control displays one
piece of data, such as a name, a date, a quantity, or a total. To specify what data
a data control should display, you assign a value expression to the controls
ValueExp property. If you leave this property blank, the default value of the
data control is Null. For information about specifying value expressions, see
Developing Advanced e.Reports.
Actuate provides a different type of data control for each data type:
AcTextControl to display string data, AcIntegerControl to display numeric
data, AcCurrencyControl to display currency data, AcDoubleControl to
display double precision floating-point numbers, and AcDateTimeControl to
display dates. These specialized classes derive from AcDataControl. You
derive a new control from one of the specialized subclasses of AcDataControl.
Do not derive directly from AcDataControl.
183
Class AcDataControl
You can override the data controls Finish( ) method to perform custom
processing, such as changing the value or property of the control depending
on a condition.
In the following example, a text controls Finish( ) method is overridden to
change the controls data value to a different string and its display text to a
different color when Date$( ) returns 04-15-2010. Date$( ) was assigned to
the controls ValueExp property at design time:
Sub Finish( )
Super::Finish( )
If DataValue = "04-15-2010" Then
DataValue = "Tax day"
Font.Color = Red
End If
End Sub
Need no data. Some controls, such as graphic images and lines, require no
data from the data row. These controls are called constant controls.
Use data from a single row. The most common control is a data control that
displays data from a single data row.
Use data from multiple rows. Some controls summarize data from a set of
rows. These controls are called aggregate controls.
184
Class AcDataControl
1 On the first row, BuildFromRow( ) calls SetValue( ) to set the value of the
control (if any).
2 BuildFromRow( ) calls SetTocEntry( ) to set the Table of Contents entry for
the control.
3 BuildFromRow( ) calls OnRow( ), which you can override to do additional
processing on the row.
4 BuildFromRow( ) returns Finished Building.
Controls that need no data rows work as if they need only one row: They
simply ignore the row. In this case, SetValue( ) does nothing.
Factory protocol
The protocol for AcDataControl is the same as AcControls, except that it adds
the capability to set the value of a control.
Method
Task
New( )
Start( )
185
Class AcDataControl
Method
Task
SetValue( )
OnRow( )
SetTocEntry( )
Properties
Property
Type
Description
SampleValue
String
ValueExp
Expression
ValueType
AcControl
ValueType
Methods
See also
186
Method
Type
Description
Format( )
String
GetGroupKey( )
Variant
IsSummary( )
Boolean
SetTocEntry( )
N/A
Class AcControl
Class AcCurrencyControl
Class AcDateTimeControl
Class AcDoubleControl
Class AcIntegerControl
Class AcTextControl
Class AcTextualControl
AcDataControl::Format method
AcDataControl::Format method
Returns the format pattern specified in the controls Format property.
Syntax
Description
Returns
See also
AcDataControl::GetGroupKey method
Returns the key for the group section, if any, that contains the control.
Syntax
Description
Returns
For all other values of GroupOn, GetGroupKey returns the first value in the
range of values for the key. For example, if GroupOn is set to
GroupOnYear, GetGroupKey returns values such as 1/1/99, 1/1/2000.
187
AcDataControl::IsSummary method
AcDataControl::IsSummary method
Determines whether the control is an aggregate control.
Syntax
Description
Returns
AcDataControl::SetTocEntry method
Sets the Table of Contents entry value for a control.
Syntax
Parameter
Description
188
Class AcDataFilter
Class AcDataFilter
The abstract base class for all data filter classes.
AcComponent
AcDataAdapter
AcDataFilter
Description
AcDataFilter is the base class for the two general types of data filter classes:
AcSingleInputFilter and AcMultipleInputFilter. A single-input filter accepts
input from one data adapter, processes the data, then passes it to the next data
adapter or the report section. A multiple-input filter performs the same tasks,
but accepts input from any number of data adapters.
Subclassing AcDataFilter
You generally do not derive directly from AcDataFilter. To customize a data
filter, you typically use one of the data filters derived from AcDataFilter, and
override the Fetch( ) method to implement the filtering algorithm.
See also
Class AcDataAdapter
Class AcMultipleInputFilter
Class AcSingleInputFilter
189
Class AcDataFrame
Class AcDataFrame
An abstract base class that defines the logic for how frames work with data
rows.
AcComponent
AcReportComponent
AcVisualComponent
AcBaseFrame
AcDataFrame
Description
Building a frame
The framework calls BuildFromRow( ) to set the data values of controls within
a frame with values from a data row. The frames BuildFromRow( ) calls
BuildFromRow( ) for each of the frames contents to set the values.
The return value of BuildFromRow( ) indicates whether the frame processed
the row. The frames BuildFromRow( ) method determines its return value
based on the return values of each contents BuildFromRow( ) method. The
frame uses this return value to decide whether to continue passing rows to its
contents, or whether to instantiate a new frame to process a row.
Frames can process either a single row, or an unlimited set of rows:
If any one of the frames contents returns Continue Building, the frames
BuildFromRow( ) method returns Continue Building. This process allows you
to mix, for example, a line control (which requires no rows), a text control
(which requires one row), and a graph (which processes multiple rows) within
190
Class AcDataFrame
a single frame. The controls that process only one row will process only the
first row and will ignore all subsequent rows.
You can override a frames BuildFromRow( ) method to perform custom
processing, such as conditionally accepting rows or accepting a limited
number of rows.
Subclassing AcDataFrame
You generally do not create a subclass of AcDataFrame unless you want to
change the way frames build their contents.
191
Class AcDataRow
Class AcDataRow
A class that defines the characteristics of a data row. A data row is a record
structure that contains data from a single input record, processed into a format
that the report accepts. Typically, each variable in a data row corresponds to a
single column (field) of a record.
AcComponent
AcDataRow
Description
Data
Input Source
Data source
Data filter
Data row 1
Report section
Data row 2
Data stream
If you use the Query Editor to build a SQL query, Actuate creates the data row.
If you create a custom data source or a custom data filter, you must create a
custom data row that works with the data source or filter.
Data rows are transient. They are created in the Factory, passed to the report,
and then deleted.
Subclassing AcDataRow
You must create a subclass of AcDataRow when you create a custom data
source or filter.
192
Class AcDataRow
A function
A variable index
Actuate provides two methods, GetValue and SetValue, to help you work with
columns stored in a data row. GetValue retrieves the value of a column stored
within a data row. SetValue updates the value of a column stored within a data
row. Using GetValue and SetValue simplifies programming by reducing the
need to set up object reference variables for the data row columns that you
need to retrieve or update. See the description of AcDataRow::GetValue
method for examples of using the various options for defining columns.
Variables
Variable
Type
Description
RowNumber
Integer
193
AcDataRow::GetValue method
Methods
See also
Method
Type
Description
GetValue( )
Variant
OnRead( )
N/A
SetValue( )
Boolean
Class AcDataAdapter
Class AcDataSource
Class AcReportComponent
AcDataRow::GetValue method
Returns the value of the specified column or variable.
Syntax
Parameter
Description
Use GetValue( ) to access the value of a column or variable within your data
row. There are five types of parameters you can use to pass the column name:
Functions
Structures or objects
Variable index
194
AcDataRow::GetValue method
The example below shows you how to get the account name from a data row
variable named AccountName in the AccountSummary data row:
Sub AccountInfo( row As AcDataRow )
DataValue = row.GetValue( "AccountName" )
End Sub
Using functions
Sometimes you need to create a set of computations on columns. For example,
if you have a data row for a customer invoice, you might want to know how
much of the total amount of that invoice is not yet due, is now due, or is 30, 60,
or 90+ days past due. You could create a set of variables to hold these amounts,
but it would be much easier to simply provide a set of methods that perform
the calculation as needed. For example:
Function Amount30DaysLate( ) As Currency
If DueDate + 30 <= Date( ) And Date( ) < DueDate + 60 Then
Amount30DaysLate = InvoiceAmount
Else
Amount30DaysLate = 0.0
End If
End Function
You can reference such functions using square bracket notation in value
expressions for controls in the Design Editor, or by using the GetValue( )
method. You can create functions that act like data row columns. These
functions must follow these restrictions:
Accept no arguments
195
AcDataRow::GetValue method
For example, the following example lets you access the Amount30DaysLate( )
method:
[Amount30DaysLate]
row.GetValue( "Amount30DaysLate" )
Also, suppose that your customer data row has a variable called Address that
is defined to be of type AddressStruct. You can access members of that
structure with dot notation as follows:
[Address.FullName]
[Address.Street]
...
row.GetValue( "Address.FullName" )
row.GetValue( "Address.Street" )
...
If you access the data row variable directly, then your control will work with
only one specific kind of data row. That is why the preferred way to access
data in a data row is through the GetValue( ) method. Then your code will
work with any data row as long as that row has the correct column or variable
name.
196
AcDataRow::OnRead method
Order of evaluation
Usually the name you provide to GetValue( ) uniquely identifies one column
alias (table.column name), variable, function, structure, or object. However, if
you have both a column alias and a variable or function or structure or object
with the same name, Actuate uses the column alias.
Returns
See also
AcDataRow::OnRead method
Called by the data adapter after it creates the data row and sets the data row
values.
Syntax
Sub OnRead( )
Description
Example
197
AcDataRow::SetValue method
Sub OnRead( )
Super::OnRead( )
ExtendedCost = Cost * Quantity
End Sub
AcDataRow::SetValue method
Sets the value of the specified column or variable.
Syntax
Parameter
Description
Returns
Use the SetValue( ) method to assign values to variables in your data row.
True if the value is set.
False if the value cannot be set because the data type for the value is not the
same or it is not possible to convert it to the same data type as colName.
See also
198
AcDataRow::GetValue method
Class AcDataSection
Class AcDataSection
An abstract base class that defines the logic sections use to process a group of
data rows.
AcComponent
AcReportComponent
AcSection
AcDataSection
Description
A data section processes a group of data rows. AcDataSection is the base class
for the two types of data sections: AcReportSection and AcGroupSection.
A report section defines a group as the entire set of data rows read from a data
stream. A group section defines a group as the set of data rows that have the
same key value, for example, all data rows with a state field value of CA.
Functionally, the following is the difference between a report section and a
group section:
A report section opens a data stream and retrieves data rows from it.
199
Class AcDataSection
The following table describes how the data section processes rows for
components in these component references.
Component
reference
Description
Process
Before
Content
Contains a component (a
section or a frame) that
processes each data row
in a group.
After
PageFooter
The processes described in the previous table explain the process when a data
section uses running (or one-pass) aggregates, for example, an After frame that
200
Class AcDataSection
calculates the total orders for a group of rows. The process changes if the
section uses lookahead (or two-pass) aggregates, for example, an After frame
that calculates the order value for a group or rows as a percentage of all totals,
across all groups. In this case, the data section has to process the data rows
twice (hence, the term two-pass), the first pass to calculate the aggregates, and
the second pass to actually build the contents as described in the table.
Subclassing AcDataSection
You do not subclass AcDataSection.
Variables
Variable
Type
Description
ContiguousPageFooter
Boolean
FillRows
Boolean
ShowFooterOnLast
Boolean
ShowHeaderOnFirst
AcPage
Header
Options
Properties
Property
Type
Description
After
AcReport
Component
Structure
Reference
Before
AcReport
Component
Structure
Reference
BorderColor
AcColor
201
Class AcDataSection
202
Property
Type
Description
BorderLightColor
AcColor
BorderDarkColor
AcColor
BorderLineWidth
Integer
CellPadding
Integer
CellSpacing
Integer
Content
AcReport
Component
Structure
Reference
ContiguousPage
Footer
Boolean
Variable
FixedColumnWidths Boolean
Margin
AcSize
PageBreakBetween
Boolean
Function
PageHeader
AcFrame
Structure
Reference
Class AcDataSection
Property
Type
Description
PageFooter
AcFrame
Structure
Reference
ShowFooterOnLast
Boolean
Variable
ShowHeaderOnFirst
AcPageHeader
Options
TableAlignment
AcHtml
Horizontal
Alignment
TableColor
AcColor
TableStyle
AcHtml
TableStyle
203
Class AcDataSection
Property
Type
Description
TableWidth
Integer
TableWidthUnits
AcHtml
Units
PageHeader
PageFooter
ShowHeaderOnFirst
ShowHeaderOnLast
PageBreakBetween
Methods
204
Method
Type
Description
GetAfter( )
AcReport
Component
GetBefore( )
AcReport
Component
GetFirstPageFooter( )
AcBaseFrame
GetFirstPageHeader( )
AcBaseFrame
GetPageFooter( )
AcBaseFrame
AcDataSection::GetAfter method
Method
Type
Description
GetPageHeader( )
AcBaseFrame
NewAfter( )
AcReport
Component
NewBefore( )
AcReport
Component
NewContent( )
AcReport
Component
NewPageFooter( )
AcBaseFrame
NewPageHeader( )
AcBaseFrame
OnEmptyGroup( )
N/A
AcDataSection::GetAfter method
Returns the component in the After slot.
Syntax
Description
Returns
See also
AcDataSection::GetBefore method
AcDataSection::GetPageFooter method
AcDataSection::GetPageHeader method
AcDataSection::GetBefore method
Returns the component in the Before slot.
Syntax
205
AcDataSection::GetFirstPageFooter method
Description
Returns
See also
AcDataSection::GetAfter method
AcDataSection::GetPageFooter method
AcDataSection::GetPageHeader method
AcDataSection::GetFirstPageFooter method
Returns the page footer of the first page in a report or group section.
Syntax
Description
Returns
AcDataSection::GetFirstPageHeader method
Returns the page header of the first page in a report or group section.
Syntax
Description
206
AcDataSection::GetPageFooter method
Returns
AcDataSection::GetPageFooter method
Returns the page footer for the currently active flow.
Syntax
Description
Returns
See also
AcDataSection::GetAfter method
AcDataSection::GetBefore method
AcDataSection::GetPageHeader method
AcDataSection::GetPageHeader method
Returns the page header for the currently active flow.
Syntax
Description
Returns
See also
AcDataSection::GetAfter method
AcDataSection::GetBefore method
AcDataSection::GetPageFooter method
AcDataSection::NewAfter method
Instantiates the component in the After slot.
207
AcDataSection::NewBefore method
Syntax
Description
Returns
See also
AcDataSection::NewBefore method
Instantiates the component in the Before slot.
Syntax
Description
Returns
See also
AcDataSection::NewContent method
Instantiates the component in the Content slot.
Syntax
Description
Returns
Example
208
AcDataSection::NewPageFooter method
business customers, another for residential customers, and yet another for
government customers:
Function NewContent( ) As AcReportComponent
Dim cust As CustomerRow
Set cust = GetCurrentRow( )
If row Is Nothing Then
'Creating a content for use in detecting two-pass aggregates
'This report has no aggregates, so just return Nothing
Exit Function
End If
Select Case cust.CustType
Case "R"
Set NewContent = New Persistent ResidentialCustomerFrame
Case "S"
Set NewContent = New Persistent BusinessCustomerFrame
Case "G"
Set NewContent = New Persistent GovtCustomerFrame
End Select
End Function
See also
AcDataSection::NewAfter method
AcDataSection::NewBefore method
AcDataSection::NewPageFooter method
AcDataSection::NewPageHeader method
AcDataSection::NewPageFooter method
Instantiates the component in the PageFooter slot. Not applicable for HTML
reports.
Syntax
Description
Returns
See also
209
AcDataSection::NewPageHeader method
AcDataSection::NewPageHeader method
Instantiates the component in the PageHeader slot. Not applicable for HTML
reports.
Syntax
Description
Returns
See also
AcDataSection::OnEmptyGroup method
Called if the section processed no data rows.
Syntax
Description
210
Sub OnEmptyGroup( )
The data section calls OnEmptyGroup( ) when it finishes the current group
and the group contains no data rows. Override OnEmptyGroup( ) to perform
processing in this situation, for example, to output a custom frame to describe
the case, or to raise an error.
Class AcDataSource
Class AcDataSource
A base class that defines how data sourcesone type of data adapter
retrieve data from an input source and create data rows.
AcComponent
AcDataAdapter
AcDataSource
Description
AcDataSource is the base class for data adapters that read data from an input
source such as a query, a file, or other external source. AcDataSource adds to
the base data adapter class some general functionality that is useful when
creating data sources.
AcDataSource defines and maintains a variable, IsAtEnd, that is helpful in
keeping track of a data sources state. You can set IsAtEnd to True when your
program detects that the data source has read the last input row.
Subclassing AcDataSource
Create a subclass directly from AcDataSource if you need a data source that
retrieves data from an input source that is not a database. For example, if your
report uses data from a spreadsheet or a text file, you need to create a data
source that can read from that file type.
You override these methods to create a custom data source:
Variables
Variable
Type
Description
IsAtEnd
Boolean
211
AcDataSource::HasFetchedLast method
Methods
Method
Type
HasFetchedLast( ) Boolean
See also
Description
Determines if the data source has fetched
the last row.
Class AcDataAdapter
Class AcDataRow
Class AcMultipleInputFilter
Class AcSingleInputFilter
AcDataSource::HasFetchedLast method
Determines if the data source has fetched the last row.
Syntax
Description
Returns
212
Class AcDateTimeControl
Class AcDateTimeControl
A class you use in the report design to display a date or time.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcDataControl
AcDateTimeControl
Description
Use the DateTime control to store and display a date and time numeric value.
The value you assign to the controls ValueExp property must be a date type.
If, for example, you specify Date$( ) in ValueExp, you get an error because the
Date$( ) function returns a string. To get the current date as a date type, use the
Now( ) function. Similarly, if the DateTime control gets its value from a data
row column, make sure the date is actually a date value and not a string.
AcDateTimeControl defines a DataValue variable to store the date/time value.
The framework generates SetValue( ) to set the value in DataValue. SetValue( )
uses the value you assign to the ValueExp property to generate the value. The
default format used to display a date and time numeric value is General Date.
Override SetValue( ) if you want to take control of setting the controls data
value.
Variables
Variable
Type
Description
DataValue
Date
213
Class AcDBConnection
Class AcDBConnection
A base class that defines the basic protocol for establishing database
connections.
AcComponent
AcConnection
AcDBConnection
Description
Properties
214
Property
Type
Description
ConfigKey
String
Maximum
StringLength
String
Variable
AcDBConnection::GetGeneralError method
Methods
See also
Method
Type
Description
GetGeneralError( )
Integer
GetGeneralErrorText( )
String
GetSpecificError( )
Integer
GetSpecificErrorText( )
String
Prepare( )
AcDBStatement
Class AcDBStatement
AcDBConnection::GetGeneralError method
Returns a general error code.
Syntax
Description
Constant
DB_NoError
DB_OutOfMemory
DB_Specific
DB_InvalidLogin
DB_InvalidColumn
DB_InvalidStatement
DB_TimeOut
DB_InternalError
DB_InvalidParameter
DB_DescNotAvailable
215
AcDBConnection::GetGeneralErrorText method
Returns
See also
Error Code
Constant
DB_ParameterNotBound
10
DB_EndOfResults
11
DB_CantConvertParameter
12
DB_NoCurrentConnection
13
DB_CursorNotOpen
14
DB_InvalidDescId
15
DB_InvalidParamId
16
DB_NoColumnInfo
17
DB_VariableDescMismatch
18
DB_LoginFailed
19
DB_CannotLoadDLL
20
DB_CursorOnSprocStmtErr
21
DB_OutOfCursors
22
DB_MaxCursorsOnStatement
23
DB_Invalid_DataType
24
DB_BadParamTypeForFunc
25
DB_MaxCursorsOnParm
26
DB_FuncNotForDB
27
DB_InvalidConnProperty
28
DB_EndOfLife
29
DB_NoResultSetAvailable
30
DB_FuncNotForDBServer
31
AcDBConnection::GetGeneralErrorText method
Returns a general error message.
Syntax
216
AcDBConnection::GetSpecificError method
Description
Returns
See also
AcDBConnection::GetSpecificError method
Returns the error code generated by the SQL database.
Syntax
Description
Returns
See also
AcDBConnection::GetSpecificErrorText method
Returns the error message generated by the SQL database.
Syntax
Description
Returns
See also
217
AcDBConnection::Prepare method
AcDBConnection::Prepare method
Creates and prepares a database statement object to execute a SQL statement.
Syntax
Description
Returns
See also
218
AcDBStatement::Execute method
AcDBStatement::Prepare method
Class AcDB2Connection
Class AcDB2Connection
Establishes a connection to a DB2 database.
AcComponent
AcConnection
AcDBConnection
AcDB2Connection
Description
Variables
Variable
Type
Description
DllPath
String
UserName
String
Password
String
DataSource
String
Properties
Property
Type
Description
DllPath
String
Variable
Password
String
Variable
DataSource
String
Variable
UserName
String
Variable
219
Class AcDB2Connection
220
Mapped to
Bigint
Binary
Actuate String.
Bit
Blob
Actuate String.
Char
Actuate String.
Clob
Actuate String.
Date
Dbclob
Actuate String.
Type_date
Type_time
Type_timestamp
Decimal
Double
Float
Integer
Longvarbinary
Actuate string.
Longvarchar
Actuate string.
Numeric
Real
Smallint
Class AcDB2Connection
Mapped to
Time
Timestamp
Tinyint
Varbinary
Actuate String.
Varchar
Actuate String.
221
Class AcDBCursor
Class AcDBCursor
A class that provides a Basic interface to a database cursor for a SQL
statement.
Description
Class AcDBCursor
Methods
Method
Type
Description
BindColumn( )
N/A
BindParameter( )
Boolean
CloseCursor( )
N/A
DefineProcedure
InputParameter( )
Boolean
DefineProcedure
OutputParameter( )
Boolean
DefineProcedure
ReturnParameter( )
Boolean
Fetch( )
Boolean
GetConnection( )
AcDBStatement
GetOutput
Parameter( )
Variant
GetProcedure
Status( )
Variant
GetStatement( )
AcDBStatement
IsOpen( )
Boolean
OpenCursor( )
Boolean
StartNextSet( )
Boolean
223
AcDBCursor::BindColumn method
AcDBCursor::BindColumn method
Binds a database column to a data row variable.
Syntax
Parameter
columnID
The index of the column to which to bind the data row variable. The first
column has an index of 1. The index of each column is determined by its
position in the SELECT clause.
columnName
The name of the column to which to bind the data row variable. The name
must be the same as the column name or alias used in the SELECT clause.
className
The name of the data row class. This class is typically a subclass of
AcDataRow. You can, however, bind column data to variables in any class.
memberName
The name of the variable in the data row to hold the output data.
Description
Use BindColumn( ) to specify how the framework copies column data to the
data row. Call BindColumn( ) repeatedly until you have bound each column to
a data row variable. All columns must be bound to variables of a single class.
The following figure shows conceptually how columns are bound to variables.
In the following example, you would call BindColumn( ) six times.
Row returned by the
SELECT statement
Columns
Variables
Data row
After binding the columns to the data row variables, call Fetch( ) to retrieve
each row from the database.
Example
224
AcDBCursor::BindParameter method
Class MyRow
Dim FirstName As String
Dim LastName As String
End Class
Sub Example( connection As AcDBConnection )
Dim stmt As AcDBStatement
Dim cursor As AcDBCursor
Dim row As MyRow
' Prepare the statement
Set stmt = connection.Prepare( "SELECT contact_first, contact_last FROM
Customers WHERE contact_last = 'Franco'" )
' Open the cursor
Set cursor = stmt.AllocateCursor( )
' Bind the columns to the data row variables
cursor.BindColumn( 1, "MyRow", "FirstName" )
cursor.BindColumn( 2, "MyRow", "LastName" )
' Instantiate the data row and retrieve data
Do While True
Set row = New MyRow
If Not Cursor.Fetch( row ) Then
Exit Do
End If
' Process the row
Loop
End Sub
See also
AcDBCursor::Fetch method
AcDBCursor::BindParameter method
Assigns the value of an Actuate Basic variable to a cursor parameter.
Syntax
Parameter
parameterId
The position of the cursor parameter. The first parameter in the statement is
position 1, the second is position 2, and so on.
var
The variable with the value assigned to the parameter. Its data type should be
appropriate for the parameter.
parameterName
The name of the cursor parameter.
Chapter 3, AFC classes
225
AcDBCursor::CloseCursor method
Description
Call BindParameter( ) to set the value of a cursor parameter. You must assign a
value to all the cursor parameters specified in the associated database
statement text.
AcDBCursor::CloseCursor method
Closes the cursor.
Syntax
Description
See also
Sub CloseCursor( )
Call CloseCursor( ) to close the cursor. Use CloseCursor( ) only if you intend to
reopen the same cursor later. Actuate closes the cursor automatically when it
deletes the cursor object.
AcDBCursor::OpenCursor method
AcDBCursor::DefineProcedureInputParameter
method
Defines an input parameter used by a stored procedure.
Syntax
Parameter
pname
The name of the input parameter.
val
The value to pass to a stored procedure input parameter.
Description
Returns
If your report accesses a stored procedure that uses only input parameters, you
must call DefineProcedureInputParameter( ) for each parameter to specify the
parameter name and Basic data type that matches the parameters type. If the
parameter both accepts an input value and returns an output value, specify the
input and output parameters using the method,
AcDBCursor::DefineProcedureOutputParameter method.
True if the parameter is defined successfully.
A database error is raised if errors are found.
See also
226
AcDBCursor::DefineProcedureOutputParameter method
AcDBCursor::DefineProcedureReturnParameter method
AcDBCursor::DefineProcedureOutputParameter method
AcDBCursor::DefineProcedureOutputParameter
method
Defines an input and output parameter or an output only parameter used by a
stored procedure.
Syntax
Parameter
pname
The name of the output parameter.
tcode
The Actuate Basic type code that maps to the data type of the stored procedure
output parameter. Valid data types are V_CURRENCY, V_DATE, V_DOUBLE,
V_INTEGER, V_LONG, V_SINGLE, and V_STRING.
val
The value to pass to a stored procedure output parameter that also takes input.
If the corresponding Actuate Basic type code is V_CPOINTER, specify a Null
value.
Description
If your report accesses a stored procedure that uses output parameters, you
must call DefineProcedureOutputParameter( ) for each parameter to specify
the parameter name and Basic data type that matches the parameters type. If
the parameter both accepts an input value and returns an output value, you
must additionally specify the input value to pass.
After defining the stored procedures output parameters and executing the
stored procedure, call AcDBCursor::StartNextSet method to get the value of
each output parameter. Output parameters with a V_CPOINTER Actuate
Basic type code cannot be accessed using GetOutputParameter( ). To get a
reference to the cursor, call AcDBStatement::AllocateCursor method.
Returns
See also
AcDBCursor::DefineProcedureInputParameter method
AcDBCursor::DefineProcedureReturnParameter method
AcDBStatement::AllocateCursor method
227
AcDBCursor::DefineProcedureReturnParameter method
AcDBCursor::DefineProcedureReturnParameter
method
Specifies the data type of the return value from a stored procedure.
Syntax
Parameter
Description
Returns
V_CURRENCY
V_DATE
V_DOUBLE
V_INTEGER
V_LONG
V_SINGLE
V_STRING
See also
AcDBCursor::DefineProcedureInputParameter method
AcDBCursor::DefineProcedureOutputParameter method
AcDBCursor::Fetch method
Retrieves one row from a database cursor.
Syntax
Parameter
228
AcDBCursor::GetConnection method
Description
Returns
Fetch( ) retrieves a single row from the database cursor. To retrieve all rows,
execute Fetch( ) in a Do loop. When Fetch( ) has retrieved all rows, it returns
False. See AcDataAdapter::Fetch method for an example showing how to use
Fetch( ).
True if a row is available.
False if there are no more rows. If you are reading from a stored procedure that
returns more than one set of rows, Fetch( ) returns False at the end of each set.
See also
AcDataAdapter::Fetch method
AcDBCursor::BindColumn method
AcDBCursor::GetConnection method
Returns the connection against which the cursor operates.
Syntax
Description
Returns
AcDBCursor::GetOutputParameter method
Returns the value of a stored procedures output parameter.
Syntax
Parameter
columnName
The name of the database column from which the data for the output
parameter is fetched. This argument must be used for output parameters on
Oracle 8 stored procedures. Output parameters with a datatype of
V_CPOINTER cannot be used.
columnIndex
The position of the column from which the data for the output parameter is
fetched. This argument cannot be used for Oracle 8 stored procedures.
229
AcDBCursor::GetProcedureStatus method
Description
Returns
See also
AcDBCursor::GetProcedureStatus method
Returns a preset value that indicates the status of a stored procedure.
Syntax
Description
Returns
AcDBCursor::GetStatement method
Returns the database statement for which the cursor was created.
Syntax
Description
Returns
AcDBCursor::IsOpen method
Returns whether the database cursor is open.
Syntax
Description
230
AcDBCursor::OpenCursor method
Returns
See also
AcDBCursor::OpenCursor method
AcDBStatement::AllocateCursor method
AcDBCursor::OpenCursor method
Opens the database cursor.
Syntax
Description
Example
The following code snippet illustrates the two ways to allocate and open a
cursor. The code snippet assumes the statement is created and prepared:
Dim cursor1 As AcDBCursor
Dim cursor2 As AcDBCursor
' Using the cursors AllocateCursor( ) and OpenCursor( ) methods
Set cursor1 = stmt.AllocateCursor( )
cursor.OpenCursor( )
' Using the statements OpenCursor( ) method
Set cursor2 = stmt.OpenCursor( )
Returns
See also
AcDBCursor::CloseCursor method
AcDBStatement::AllocateCursor method
AcDBStatement::OpenCursor method
231
AcDBCursor::StartNextSet method
AcDBCursor::StartNextSet method
Starts a new set of rows within a stored procedure.
Syntax
Description
Returns
Example
The following example shows how you use a cursor to read rows from a stored
procedure that returns two sets of rows:
Sub Example( connection As AcDBConnection )
Dim stmt As AcDBStatement
Dim cursor As AcDBCursor
Dim order As OrderRow
Dim payment As PaymentRow
' Prepare the statement and open the cursor.
Set stmt = connection.Prepare( "CustomerInfo Jones" )
Set cursor = stmt.AllocateCursor( )
cursor.OpenCursor( )
' Prepare for the first set; bind each database column
' to a data row variable.
cursor.BindColumn( 1, "OrderRow", "OrderNumber" )
' <bind other columns>
' Read the first set until Fetch( ) returns False.
Do While True
Set order = New OrderRow
If Not cursor.Fetch( order ) Then
Exit Do
End If
' <Process the order row>
Loop
' Prepare for the second set, then bind each database column
' to a data row variable.
Cursor.StartNextSet( )
232
AcDBCursor::StartNextSet method
233
Class AcDBStatement
Class AcDBStatement
A class that provides a Basic interface to a SQL statement.
Description
234
Class AcDBStatement
Methods
Method
Type
Description
AllocateCursor( )
AcDBCursor
BindParameter( )
Boolean
DefineProcedure
InputParameter( )
Boolean
DefineProcedure
OutputParameter( )
Boolean
DefineProcedure
ReturnParameter( )
Boolean
Execute( )
Boolean
GetOutputCount( )
Integer
GetOutputParameter( )
Variant
GetParameterCount( )
Integer
GetProcedureStatus( )
Integer
GetStatementText( )
String
235
AcDBStatement::AllocateCursor method
Method
Type
Description
OpenCursor( )
AcDBCursor
Prepare( )
Boolean
AcDBStatement::AllocateCursor method
Creates a cursor to read the rows that the statement returns.
Syntax
Parameter
parameterName
The name of a cursor variable parameter specified in the Oracle8 stored
procedure. ParameterName must be enclosed in quotes (.) Do not include a
colon (:) in cursorpname.
Description
Returns
Example
236
AcDBStatement::BindParameter method
See also
AcDBCursor::OpenCursor method
AcDBStatement::OpenCursor method
AcDBStatement::BindParameter method
Assigns the value of an Actuate Basic variable to a cursor parameter.
Syntax
Parameter
Description
Call BindParameter( ) to set the value of a cursor parameter. You must assign a
value to all the cursor parameters specified in the database statement.
Before calling BindParameter( ), you should already have created the
statement with Prepare( ).
Example
237
AcDBStatement::DefineProcedureInputParameter method
val1 = 100
val2 = 200
' Bind each parameter to a variable.
Statement.BindParameter( 1, val1 )
Statement.BindParameter( 2, val2 )
' Execute the statements.
If Not statement.Execute( ) Then
MsgBox "Failed to insert data"
MsgBox connection.GetSpecificErrorText( )
Exit Sub
End If
' Execute the statement again with different parameter values.
val1 = 500
val2 = 600
' Again, bind each parameter to a variable.
Statement.BindParameter( 1, val1 )
Statement.BindParameter( 2, val2 )
If Not statement.Execute( ) Then
MsgBox "Failed to insert data"
MsgBox connection.GetSpecificErrorText( )
Exit Sub
End If
' When this function exits, the framework deletes the statement,
' freeing the statement resources.
End Sub
See also
AcDBStatement::Prepare method
AcDBStatement::DefineProcedureInputParameter
method
Defines parameter information for an input parameter used by a stored
procedure.
Syntax
Parameter
238
AcDBStatement::DefineProcedureOutputParameter method
value
The value to pass to the stored procedure.
Description
Returns
If your report accesses a stored procedure that uses only input parameters, you
must call DefineProcedureInputParameter( ) for each parameter to specify the
parameter name and Basic data type that matches the parameters type. If the
parameter both accepts an input value and returns an output value, specify the
input and output parameters using the method,
AcDBStatement::DefineProcedureInputParameter method.
True if input parameter is defined successfully.
A database error is raised if errors are found.
See also
AcDBStatement::DefineProcedureOutputParameter method
AcDBStatement::DefineProcedureOutputParameter
method
Provides parameter information for an output parameter used by a stored
procedure.
Syntax
Parameter
pname
The name of the output parameter.
tcode
The Actuate Basic type code that maps to the data type of the stored procedure
input or output parameter. Valid data types are V_CPOINTER,
V_CURRENCY, V_DATE, V_DOUBLE, V_INTEGER, V_LONG, V_SINGLE,
and V_STRING.
val
The value to pass to a stored procedure output parameter that also takes input.
Description
If your report accesses a stored procedure that uses output parameters, you
must call DefineProcedureOutputParameter( ) for each parameter to specify
the parameter name and Actuate Basic data type that matches the parameters
239
AcDBStatement::DefineProcedureReturnParameter method
type. If the parameter both accepts an input value and returns an output value,
you must additionally specify the input value to pass.
After defining the stored procedures output parameters and executing the
stored procedure, call GetOutputParameter( ) to get the value of each output
parameter. Output parameters with a V_CPOINTER datatype cannot be
accessed using GetOutputParameter( ). To get a reference to a the cursor, call
AcDBStatement::AllocateCursor method.
Returns
Example
The following statement shows how to declare an input and output parameter
on an Oracle8 stored procedure as a cursor variable:
stmt.DefineProcedureOutputParameter( empCursor, V_CPOINTER, NULL )
See also
AcDBStatement::DefineProcedureInputParameter method
AcDBStatement::GetOutputParameter method
AcDBStatement::DefineProcedureReturnParameter
method
Specifies the data type of a return parameter.
Syntax
Parameter
Description
Returns
240
AcDBStatement::Execute method
Example
See also
AcDBStatement::DefineProcedureInputParameter method
AcDBStatement::DefineProcedureOutputParameter method
AcDBStatement::Execute method
Executes the SQL statement.
Syntax
Description
Create one INSERT statement with parameters using Prepare( ), bind each
parameter to a variable, then call Execute( ) 15 times after assigning
different values to the variables. The following code snippet creates one
INSERT statement and executes it twice, each time with different
parameter values:
Dim firstName As String
Dim lastName As String
Set stmt = connection.Prepare( "INSERT INTO MyTable (fName, lName)
VALUES (:param1, :param2)" )
241
AcDBStatement::GetOutputCount method
stmt.BindParameter( 1, firstName )
stmt.BindParameter( 2, lastName )
firstName = "John"
lastName = "Smith"
stmt.Execute( )
firstName = "Nancy"
lastName = "Alvarez"
stmt.Execute( )
Both techniques achieve the same results. The second technique, however,
executes more efficiently.
Returns
See also
AcDBConnection::Prepare method
AcDBStatement::BindParameter method
AcDBStatement::GetOutputCount method
Returns the number of columns.
Syntax
Description
Returns
AcDBStatement::GetOutputParameter method
Returns the value of a stored procedures output parameter.
Syntax
242
AcDBStatement::GetOutputParameter method
Parameter
columnName
The name of the database column from which the data for the output
parameter is fetched. Output parameters with a datatype of V_CPOINTER
cannot be used.
columnIndex
The position of the column from which the data for the output parameter is
fetched. This argument cannot be used for Oracle stored procedures.
Description
Returns
Example
243
AcDBStatement::GetParameterCount method
Print #1 connection.GetSpecificErrorText( )
Exit Sub
End If
' Execute the stored procedure
If stmt.Execute( ) = 0 Then
Print #1 "Failed to execute the OracleProc stored procedure"
Print #1 connection.GetSpecificErrorText( )
Else
Print #1 "OracleProc executed"
End If
' Get the values of the output parameters and write the information to a file
name = stmt.GetOutputParameter( "name" )
newId = stmt.GetOutputParameter( "id" )
Print #1, "Output: name = ", name
Print #1, "Output: id = ", newId
End Sub
See also
AcDBStatement::DefineProcedureOutputParameter method
AcDBStatement::Execute method
AcDBStatement::GetParameterCount method
Returns the number of parameters used in the SQL statement.
Syntax
Description
Returns
See also
AcDBStatement::GetProcedureStatus method
Returns the return value or status from a stored procedure.
Syntax
244
AcDBStatement::GetStatementText method
Description
Returns
If your code runs a stored procedure, you can call GetProcedureStatus( ) to get
the return value from the stored procedure or a status value if status values
were previously defined. GetProcedureStatus( ) is typically used to monitor
the proper execution and termination of the stored procedure.
A return or status value from a stored procedure.
AcDBStatement::GetStatementText method
Returns the text of the prepared SQL statement.
Syntax
Description
Returns
See also
AcDBStatement::OpenCursor method
Allocates and opens a database cursor.
Syntax
Description
Example
The following code snippet illustrates two ways to allocate and open a cursor.
The code snippet assumes the statement is created and prepared:
Dim cursor1 As AcDBCursor
Dim cursor2 As AcDBCursor
' Using the statements OpenCursor( ) method
Set cursor2 = stmt.OpenCursor( )
245
AcDBStatement::Prepare method
Returns
See also
AcDBStatement::Prepare method
Prepares a SQL statement for execution.
Syntax
Parameter
Description
Returns
See also
246
AcDBConnection::Prepare method
Class AcDetailChart
Class AcDetailChart
A subclass of AcChart that maps data rows directly into points in a chart.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcChart
AcDetailChart
Description
AcDetailChart maps each data row to a single data point in a chart. It does not
summarize data.
Use the detail chart to display a scatter chart and similar charts that display an
unsummarized set of points. To create meaningful line charts, ensure that the
points are sorted from lowest to highest x values.
All time series calculations are performed when custom x labels are created.
Properties
Property
Type
Description
DualYValueExp
Expression
SeriesExp
Expression
SeriesLabelExp
Expression
XLabelExp
Expression
XValueExp
Expression
YValueExp
Expression
247
AcDetailChart::AddPoint method
Methods
Method
Type
Description
AddPoint( )
N/A
AddSeriesPoint ( ) N/A
CustomXLabels( )
N/A
AcDetailChart::AddPoint method
Adds a data point at the end of the list of data points.
Syntax
Description
The AddPoint( ) method adds a data point at the end of the list of data points
for the chart. This method assumes that only one data set exists. The
framework calls the AddSeriesPoint( ) method instead of the AddPoint( )
method.
AcDetailChart::AddSeriesPoint method
Specifies multiple series in a detail chart.
Syntax
Parameter
248
AcDetailChart::CustomXLabels method
Label
The text of the label of the data point.
SeriesObj
The series key of the data point.
Description
AcDetailChart::CustomXLabels method
Creates labels for the x-axis.
Syntax
Description
Sub CustomXLabels( )
The CustomXLabels( ) method creates labels for the x-axis. For time series
charts, the labels are created by incrementing the starting date by the
TickInterval and formatting it with the value of the XFormatLabel property.
After this function is finished, the total number of labels to display is set.
249
Class AcDetailGraph
Class AcDetailGraph
A subclass of AcGraph that maps data rows directly into points in a graph.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcGraph
AcDetailGraph
Description
250
AcDetailGraph::AddSeriesPoint method
Properties
Property
Type
Description
LabelValueExp
Expression
OverlayValue
Expression
Expression
SeriesKey
Expression
SeriesLabel
Expression
XValueExp
Expression
YValueExp
Expression
ZValueExp
Expression
Methods
Method
Type
Description
AddSeriesPoint ( ) N/A
CustomXLabels( )
N/A
AcDetailGraph::AddSeriesPoint method
Specifies multiple series in a detail graph.
Syntax
Parameter
251
AcDetailGraph::CustomXLabels method
Y
The y value of the data point.
Z
The z value of the data point.
Label
The text of the label of the data point.
SeriesKey
The series key of the data point.
Description
This method allows the system to specify multiple series in a detail graph.
AcDetailGraph::CustomXLabels method
Creates labels for the x-axis.
Syntax
Description
252
Sub CustomXLabels( )
This method creates labels for the x-axis. The labels are created by
incrementing the starting date by the TickInterval and formatting it with the
value of the XFormatLabel property. After this function is finished, the total
number of labels to display is set.
Class AcDoubleControl
Class AcDoubleControl
A class you use in the report design to display a double-precision real (floating
point) number. Not applicable for HTML reports.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcDataControl
AcDoubleControl
Description
Use the AcDoubleControl class to store and display a real number, that is, a
number that has a fractional part. If you know the number will always be a
whole number (no fractions), use an integer control instead. Operations are
faster with integers. If you use an integer control, however, numbers with
fractions are rounded to the nearest whole number.
AcDoubleControl defines a DateValue variable to store the double value. The
framework generates SetValue( ) to set the value in DataValue. SetValue( ) uses
the value expression you assign to the ValueExp property to generate the
value. Override SetValue( ) if you want to take control of setting the controls
data value.
Variables
Variable
Type
Description
DataValue
Double
253
Class AcDynamicTextControl
Class AcDynamicTextControl
A class you use in a report design to control text formatting.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcDynamicTextControl
Description
AcDynamicTextControl is the AFC class that provides the ability display text
with multiple style formatting and variable amount of data. A dynamic text
control automatically adjusts its size and the size of the frame containing it to
accommodate varying amounts of data.
A single AcDynamicTextControl supports one of the following three text
formats:
Plaintext
Plaintext has no format tags, but can contain ASCII tags for specifying
carriage returns, line feeds, tabs, and so on. AcDynamicTextControl
supports only the CR, LF, and TAB tags.
HTML
AcDynamicTextControl supports a subset of the HTML 4 standard. Actuate
ignores tags it does not recognize.
RTF
AcDynamicTextControl supports a subset of the RTF 1.6 standard. Actuate
ignores tags it does not recognize.
For information about working with dynamic text controls, see Chapter 12,
Working with dynamic text controls, in Developing Advanced e.Reports.
For information about how Actuate gets font information, see Chapter 16,
Designing page layouts, in Developing Advanced e.Reports.
254
Class AcDynamicTextControl
Variables
Variable
Type
Description
Margins
AcMargins
Properties
Property
Group
Type
Description
AutoSplit
Vertical
Pagination
AcAutoSplit
Boolean
KeepTaggedText N/A
255
Class AcDynamicTextControl
256
Property
Group
Type
Description
LineSpacing
Text Layout
Double
LineWidth
Padding
Text Layout
Margins
Margins
AcMargins
MinimumLine
Height
Text Layout
AcTwips
Class AcDynamicTextControl
Property
Group
Type
Description
NoSplitBottom
Pagination
AcTwips
NoSplitTop
Pagination
AcTwips
SpaceBetween
Lines
Text Layout
AcTwips
SpaceBetween
Paragraphs
Text Layout
AcTwips
257
Class AcDynamicTextControl
258
Property
Group
Type
Description
SplitMargin
Bottom
Pagination
AcTwips
SplitMarginTop
Pagination
AcTwips
TabPadding
Text Layout
Class AcDynamicTextControl
Property
Group
Type
Description
TabSpacing
Text Layout
AcTwips
WidowAnd
OrphanControl
Pagination
Boolean
Methods
Method
Type
Description
BuildText( )
Boolean
GetAvailableHeight( )
AcTwips
GetAvailableWidth( )
AcTwips
GetFixedWidthFontF
aceName( )
String
GetPlaintext( )
String
GetTaggedText( )
String
GetText( )
String
KeepTaggedText( )
Boolean
259
AcDynamicTextControl::BuildText method
Method
Type
Description
LineSpacing( )
Double
LineWidthPadding( )
AcPercentage
MinimumLineHeight
()
AcTwips
ProcessText( )
N/A
SpaceBetweenLines( )
AcTwips
SpaceBetween
Paragraphs( )
AcTwips
TabPadding( )
AcPercentage
TabSpacing( )
AcTwips
TextFormat( )
WidowAndOrphan
Control( )
Boolean
SetTaggedText( )
AcDynamicTextControl::BuildText method
Parses tagged text and populates the internal data structure of the control.
Syntax
Description
Returns
260
AcDynamicTextControl::GetAvailableHeight method
AcDynamicTextControl::GetAvailableHeight method
Returns the height of the area in which text can be placed within the control.
Syntax
Description
AcDynamicTextControl::GetAvailableWidth method
Returns the width of the area in which text can be placed within the control.
Syntax
Description
AcDynamicTextControl::GetFixedWidthFontFaceName
method
Returns the name of the font to use as the default fixed-width font.
Syntax
Description
AcDynamicTextControl::GetPlaintext method
Returns the Plaintext value.
Syntax
Description
261
AcDynamicTextControl::GetTaggedText method
AcDynamicTextControl::GetTaggedText method
Returns the TaggedText value.
Syntax
Description
AcDynamicTextControl::GetText method
Returns the text of the control or a specified portion of text.
Syntax
Parameter
Description
The GetText( ) method returns the specified portion of text without the text
formatting tags.
AcDynamicTextControl::KeepTaggedText method
Returns the value of the KeepTaggedText property.
Syntax
Description
AcDynamicTextControl::LineSpacing method
Returns the value of the LineSpacing property.
Syntax
Description
262
AcDynamicTextControl::LineWidthPadding method
AcDynamicTextControl::LineWidthPadding method
Returns the value of the LineWidthPadding property.
Syntax
Description
AcDynamicTextControl::MinimumLineHeight
method
Returns the value of the MinimumLineHeight property.
Syntax
Description
AcDynamicTextControl::ProcessText method
Creates the internal data structure.
Syntax
Description
See also
Sub ProcessText( )
The ProcessText( ) method creates the internal data structure for the control
and calls the BuildText( ) method.
AcDynamicTextControl::BuildText method
AcDynamicTextControl::SetTaggedText method
Sets the TaggedText value.
Syntax
Parameter
Description
263
AcDynamicTextControl::SpaceBetweenLines method
AcDynamicTextControl::SpaceBetweenLines
method
Returns the value of the SpaceBetweenLines property.
Syntax
Description
AcDynamicTextControl::SpaceBetweenParagraphs
method
Returns the value of the SpaceBetweenParagraphs property.
Syntax
Description
AcDynamicTextControl::TabPadding method
Returns the value of the TabPadding property.
Syntax
Description
AcDynamicTextControl::TabSpacing method
Returns the value of the TabSpacing property.
Syntax
Description
264
AcDynamicTextControl::TextFormat method
AcDynamicTextControl::TextFormat method
Returns the value of the TextFormat property.
Syntax
Description
AcDynamicTextControl::WidowAndOrphanControl
method
Returns the value of the WidowAndOrphanControl property.
Syntax
Description
265
Class AcEllipseControl
Class AcEllipseControl
A class you use in the report design to display a circle.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcEllipseControl
Description
Variables
Variable
Type
Description
FillColor
AcColor
LineStyle
AcLineStyle
Properties
266
Property
Type
Description
FillColor
AcColor
LineStyle
AcLineStyle
Class AcEllipseControl
267
Class AcExcelApp
Class AcExcelApp
Creates an Excel object within a report design.
AcExcelApp
Description
The AcExcelApp is the root class that contains all instances of classes you use
to generate and work with Excel files. You create other objects using functions
in AcExcelApp or functions in other objects created from AcExcelApp.
For information about how Actuate gets font information for rendering Excel
files, see Chapter 16, Designing page layouts, in Developing Advanced
e.Reports.
Methods
Method
Type
Description
AddWorkbook( )
DeleteWorkbook( )
N/A
FindWorkbook( )
New( )
N/A
SetFontScalingFactor( )
N/A
Deletes a workbook.
AcExcelApp::AddWorkbook method
Adds a new workbook.
Syntax
Description
AddWorkbook( ) As AcExcelWorkbook
The AddWorkbook( ) method adds a new workbook. Actuate assigns a default
filename to the workbook, for example Book1.xls. The default path to the
workbook is the directory that contains the .roi file. For reports generated on
the server, the path listed in the AC_VIEWSERVER_EXCELOUTPUTDIR
environment variable is the default path.
To change either the filename or the default path for the file, use the
AcExcelWorkbook::SaveAs method. To set a default directory for all Excel
output, use the AC_VIEWSERVER_EXCELOUTPUTDIR environment
variable.
268
AcExcelApp::DeleteWorkbook method
Returns
Example
AcExcelApp::DeleteWorkbook method
Deletes a workbook.
Syntax
Parameter
wbName
The fully qualified name of the workbook to delete.
workbook
The handle to the workbook to delete.
Description
Example
excelApp.DeleteWorkbook(workbookName);
excelApp.DeleteWorkbook (excelWorkbook)
AcExcelApp::FindWorkbook method
Finds the specified workbook.
Syntax
Parameter
wbName
The fully qualified name of the workbook to find.
index
The index of the workbook to find.
Description
269
AcExcelApp::New method
Returns
Example
AcExcelApp::New method
Creates a new Excel application instance.
Syntax
Description
Returns
Example
Sub New( )
The New( ) method creates a new Excel application. New() should be the first
method you call.
The handle to the class.
The following example creates an new Excel application instance:
Dim excelApp As AcExcelApp
Set excelApp = New AcExcelApp
AcExcelApp::SetFontScalingFactor method
Specifies a scaling factor to apply to the specified font.
Syntax
Parameter
270
AcExcelApp::SetFontScalingFactor method
Description
271
Class AcExcelCell
Class AcExcelCell
The class that represents a cell in a worksheet.
AcExcelRange
AcExcelCell
Description
272
Class AcExcelColumn
Class AcExcelColumn
The class that represents a column in a worksheet.
AcExcelRange
AcExcelColumn
Description
Methods
Method
Type
Description
GetColumnWidth( )
Double
SetColumnWidth( )
N/A
AcExcelColumn::GetColumnWidth method
Returns the column width.
Syntax
Description
Returns
AcExcelColumn::SetColumnWidth method
Sets the column width.
Syntax
Parameter
273
AcExcelColumn::SetColumnWidth method
Description
274
Class AcExcelRange
Class AcExcelRange
The base class for the AcExcelCell, AcExcelColumn, and AcExcelRow classes.
AcExcelRange
Description
Methods
Method
Type
Description
GetBackgroundColor( )
AcColor
GetBorder( )
AcExcel
Border
GetFont( )
AcFont
GetHorizonalAlignment( )
AcExcelH
Alignment
GetIndent( )
Integer
GetMergeCells( )
Boolean
GetNumberFormat( )
String
GetValue( )
Variant
GetValueAsDate( )
Date
275
AcExcelRange::GetBackgroundColor method
Method
Type
Description
GetVerticalAlignment( )
AcExcelV
Alignment
GetWrapText( )
Boolean
SetBackgroundColor( )
N/A
SetBorder( )
N/A
SetFont( )
N/A
SetHorizontalAlignment( )
N/A
SetIndent( )
N/A
SetMergeCells( )
N/A
SetNumberFormat( )
N/A
SetValue( )
N/A
SetVerticalAlignment( )
N/A
SetWrapText( )
N/A
AcExcelRange::GetBackgroundColor method
Returns the background color.
Syntax
Description
Returns
AcExcelRange::GetBorder method
Returns the border.
Syntax
276
AcExcelRange::GetFont method
Parameter
Description
Returns
which
The side of the border to access. Values are:
ExcelBorderTop
ExcelBorderBottom
ExcelBorderLeft
ExcelBorderRight
AcExcelRange::GetFont method
Returns the font used for the range.
Syntax
Description
Returns
AcExcelRange::GetHorizontalAlignment method
Returns the horizontal alignment setting.
Syntax
Description
Returns
277
AcExcelRange::GetIndent method
AcExcelRange::GetIndent method
Returns the indent value.
Syntax
Description
Returns
AcExcelRange::GetMergeCells method
Returns the setting of the merge cells option.
Syntax
Description
Returns
AcExcelRange::GetNumberFormat method
Returns the string used for formatting numbers in the range.
Syntax
Description
Returns
278
AcExcelRange::GetValue method
AcExcelRange::GetValue method
Returns the contents of the range.
Syntax
Description
Returns
See also
AcExcelRange::GetValueAsDate method
AcExcelRange::GetValueAsDate method
Converts the contents of the range into date format.
Syntax
Description
Returns
AcExcelRange::GetVerticalAlignment method
Returns the vertical alignment setting.
Syntax
Description
Returns
The vertical alignment setting if it is the same for all cells in the range.
Null if the vertical alignment setting of any cell in the range is different.
279
AcExcelRange::GetWrapText method
AcExcelRange::GetWrapText method
Returns the setting of the wrap text option.
Syntax
Description
Returns
AcExcelRange::SetBackgroundColor method
Sets the background color.
Syntax
Parameter
Description
AcExcelRange::SetBorder method
Sets the border.
Syntax
Parameter
ExcelBorderTop
ExcelBorderBottom
ExcelBorderLeft
ExcelBorderRight
280
AcExcelRange::SetFont method
which
The border to set.
Description
AcExcelRange::SetFont method
Sets the font properties.
Syntax
Parameter
Description
AcExcelRange::SetHorizontalAlignment method
Sets horizontal alignment option.
Syntax
Parameter
ExcelHAlignGeneral
ExcelHAlignLeft
ExcelHAlignCenter
ExcelHAlignRight
ExcelHAlignFill
Chapter 3, AFC classes
281
AcExcelRange::SetIndent method
Description
ExcelHAlignJustify
ExcelHAlignCenterAcrossSelection
AcExcelRange::SetIndent method
Sets the indent property.
Syntax
Parameter
Description
AcExcelRange::SetNumberFormat method
Sets the number format properties.
Syntax
Parameter
Description
282
AcExcelRange::SetNumberFormat method
You specify the format using the constants listed in the following table or a
different format.
Example
Constant
Format
ExcelCurrencyFloat
$0.00
ExcelCurrencyFloatWithSeparator
$#,##0.00
ExcelCurrencyInt
$0
ExcelCurrencyIntWithSeparator
$#,##0
ExcelExp
0.00E+00
ExcelFixed
0.00
ExcelFloat
0.00
ExcelFloatWithSeparator
#,##0.00
ExcelGeneralDate
ExcelGeneralNumber
General
ExcelInt
ExcelIntWithSeparator
#,##0
ExcelLongDate
ExcelLongTime
hh:mm:ss AM/PM
ExcelMediumDate
dd-mmm-yy
ExcelMediumTime
h:mm AM/PM
ExcelPercent
0.00%
ExcelShortDate
mm/dd/yyyy
ExcelShortTime
hh:mm
ExcelStandard
0.00
See Also
AcExcelRange::SetValue method
283
AcExcelRange::SetValue method
AcExcelRange::SetValue method
Sets the contents for every cell in the range.
Syntax
Parameter
Description
See Also
AcExcelRange::SetNumberFormat method
AcExcelRange::SetVerticalAlignment method
Sets the vertical alignment option.
Syntax
Parameter
Description
ExcelVAlignTop
ExcelVAlignCenter
ExcelVAlignBottom
ExcelVAlignJustify
284
AcExcelRange::SetMergeCells method
AcExcelRange::SetMergeCells method
Turns the merge cells option on and off.
Syntax
Parameter
Description
AcExcelRange::SetWrapText method
Turns the wrap text option on and off.
Syntax
Parameter
Description
285
Class AcExcelRow
Class AcExcelRow
The class that represents a row in a workbook.
AcExcelRange
AcExcelRow
Description
Methods
Method
Type
Description
GetRowHeight( )
Double
SetRowHeight( )
N/A
AcExcelRow::GetRowHeight method
Returns the row height, in points.
Syntax
Description
Returns
286
AcExcelRow::SetRowHeight method
AcExcelRow::SetRowHeight method
Sets the row height.
Syntax
Parameter
height
The row height in points. Must be 0-409.
Description
The SetRowHeight( ) method sets the row height. The default row height is
12.75 points. The default value is assigned when the row is created. Excel
automatically adjusts row height to fit row contents, therefore, you usually do
not need to call SetRowHeight( ).
287
Class AcExcelWorkbook
Class AcExcelWorkbook
Contains information about a specific workbook.
AcExcelWorkbook
Description
Methods
Method
Type
Description
AddWorksheet( )
AcExcelWork
Sheet
DeleteWorksheet( )
N/A
FindWorksheet( )
AcExcelWork
Sheet
GetFullName( )
String
Save( )
N/A
SaveAs( )
N/A
AcExcelWorkbook::AddWorksheet method
Adds a worksheet to the workbook.
Syntax
Description
Returns
Example
288
AcExcelWorkbook::DeleteWorksheet method
AcExcelWorkbook::DeleteWorksheet method
Deletes a worksheet from the workbook.
Syntax
Parameter
wsName
The fully qualified name of the worksheet to delete.
worksheet
The handle to the worksheet to delete.
Description
Example
excelWorkbook.DeleteWorksheet(worksheetName);
excelApp.DeleteWorksheet (excelWorksheet)
AcExcelWorkbook::FindWorksheet method
Finds the specified worksheet.
Syntax
Parameter
wsName
The unique name of the worksheet to find.
index
The index of the worksheet to find.
Description
Returns
Example
289
AcExcelWorkbook::GetFullName method
AcExcelWorkbook::GetFullName method
Returns the fully qualified name of the workbook.
Syntax
Description
Returns
AcExcelWorkbook::Save method
Saves the workbook.
Syntax
Description
Function Save( )
The Save( ) method saves the workbook to disk. For reports generated on the
client, the workbook is saved in the directory that contains the .roi file. For
reports generated on the server, the workbook is saved in directory specified
in the AC_VIEWSERVER_EXCELOUTPUTDIR environment variable. If the
AC_VIEWSERVER_EXCELOUTPUTDIR environment variable is not set,
reports generated on the server are saved in the $AC_SERVER_HOME/Excel
directory.
If the workbook is successfully saved, the report generates without an error. If
an error occurs during this operation, an error message to signal an I/O error
is logged and the Excel file is not saved.
AcExcelWorkbook::SaveAs method
Saves the workbook with a specified name.
Syntax
Parameter
Description
290
AcExcelWorkbook::SaveAs method
291
Class AcExcelWorksheet
Class AcExcelWorksheet
Contains information about a specific worksheet.
AcExcelWorksheet
Description
Methods
Method
Type
Description
Autofit( )
N/A
GetCell( )
AcExcelCell
GetColumn( )
GetDisplayGridlines( ) Boolean
GetName( )
String
GetRange( )
AcExcelRange
GetRow( )
AcExcelRow
SetDisplayGridlines( )
N/A
SetName( )
N/A
AcExcelWorksheet::Autofit method
Adjusts the column width to fit the contents.
Syntax
292
Function AutoFit( )
AcExcelWorksheet::GetCell method
Description
The AutoFit( ) method adjusts the column width of all cells in the worksheet to
fit the contents of the tallest cell.
AcExcelWorksheet::GetCell method
Returns the handle to the cell to access.
Syntax
Parameter
Description
Returns
The GetCell( ) method returns a cell in the worksheet. GetCell( ) creates the cell
if it does not exist.
The handle to the cell if successful.
An empty handle if the row or column is out of range.
Example
AcExcelWorksheet::GetColumn method
Returns the handle to the column to access.
Syntax
Parameter
Description
Returns
Example
293
AcExcelWorksheet::GetDisplayGridlines method
AcExcelWorksheet::GetDisplayGridlines method
Returns the gridline setting.
Syntax
Description
Returns
AcExcelWorksheet::GetName method
Returns the name of the worksheet.
Syntax
Description
Returns
AcExcelWorksheet::GetRange method
Returns the handle to the cells to access.
Syntax
Parameter
Description
Returns
The GetRange( ) method returns a handle to the range of cells you want to
access. GetRange( ) creates the range if it does not exist.
The handle to the range if successful.
An empty handle if an error occurred.
294
AcExcelWorksheet::GetRow method
Example
AcExcelWorksheet::GetRow method
Returns the handle to the row to access.
Syntax
Parameter
Description
Returns
Example
AcExcelWorksheet::SetDisplayGridlines method
Turns the gridlines on and off.
Syntax
Parameter
Description
295
AcExcelWorksheet::SetName method
AcExcelWorksheet::SetName method
Sets the name of the worksheet.
Syntax
Parameter
Description
296
Class AcFlow
Class AcFlow
An abstract base class that defines the logic for placing frames in a flow, the
printable area of a page.
AcComponent
AcReportComponent
AcVisualComponent
AcFlow
Description
AcFlow is the abstract base class for AcTopDownFlow, the flow you use in a
report design. AcFlow defines the protocol that specifies how subpages,
content, header, and footer frames are added to a flow, and how flow space is
allocated. Its derived class, AcTopDownFlow, implements the details for
executing those tasks.
Factory protocol
Method
Task
Start( )
AddFrame( )
Finish( )
Subclassing AcFlow
Create a subclass directly from AcFlow if your report requires a flow other
than a top-down flow. For example, you might need a grid layout that flows
from left to right. AcFlow defines several methods that you must override to
specify implementation details. These methods, called pure virtual methods,
are empty in AcFlow.
297
Class AcFlow
Variables
Variable
Type
Description
BackgroundColor
AcColor
Border
AcBorder
Rounding
AcRounding
Margins
AcMargins
Property
Type
Description
BackgroundColor
AcColor
Border
AcBorder
Rounding
AcRounding
Margins
AcMargins
Properties
Methods
298
Method
Type
Description
AddFrame( )
N/A
AddHeader( )
Boolean
AddSubpage( )
Boolean
AdjustFooter( )
N/A
CanFitFrame( )
Boolean
CanFitHeight( )
Boolean
GetFreeSpace( )
AcSize
AcFlow::AddFrame method
See also
Method
Type
Description
GetInsideSize( )
AcSize
IsEmpty( )
Boolean
ReleaseSpace( )
N/A
ReserveSpace( )
N/A
ResetSpace( )
N/A
ShiftFooterUp( )
Boolean
Class AcBasePage
Class AcTopDownFlow
AcFlow::AddFrame method
Adds the frame to the flow.
Syntax
Parameter
Description
See also
AcFlow::AddHeader method
Adds a page header frame to the flow.
Syntax
Parameter
299
AcFlow::AddSubpage method
Description
Returns
AcFlow::AddSubpage method
Adds a subpage to the flow.
Syntax
Parameter
Description
Returns
AcFlow::AdjustFooter method
Changes the available space in the flow to contain the correct amount of space
for the page footer.
Syntax
Parameter
Description
300
AcFlow::CanFitFrame method
AcFlow::CanFitFrame method
Checks if the flow contains enough space to contain a frame.
Syntax
Parameter
Description
Returns
AcFlow::CanFitHeight method
Checks if the flow contains enough space to contain a frame.
Syntax
Parameter
Description
Returns
AcFlow::GetFreeSpace method
Returns the unused space in the flow.
Syntax
Description
301
AcFlow::GetInsideSize method
Returns
AcFlow::GetInsideSize method
Returns the size of the content rectangle.
Syntax
Description
See also
AcFlow::IsEmpty method
Indicates whether or not the flow contains a data frame.
Syntax
Description
AcFlow::ReleaseSpace method
Releases space back to the flow.
Syntax
Parameter
Description
302
In derived classes, ReleaseSpace( ) releases back to the flow all or part of the
space reserved with ReserveSpace( ). Derived classes override ReleaseSpace( ),
a pure virtual method in AcFlow, to specify how to free space. If you create a
subclass from AcFlow, you must override ReleaseSpace( ) to specify the
implementation details.
AcFlow::ReserveSpace method
Be careful when using ReleaseSpace( ). If you release too much space, the next
frame added to the flow might overlap existing contents of the flow.
See also
AcFlow::ReserveSpace method
AcFlow::ReserveSpace method
Reserves a part of the available space within the flow.
Syntax
Parameter
Description
See also
AcFlow::ReleaseSpace method
AcFlow::ResetSpace method
Sets the amount of space in the flow to zero.
Syntax
Description
See also
Sub ResetSpace( )
Derived classes can override ResetSpace( ), a pure virtual method in AcFlow,
to reset the amount of space available for frames remaining in the flow to zero.
If you create a subclass from AcFlow, you must override ResetSpace( ) only if
you want the AFC to perform automatic balancing of the contents between
multiple flows. You request automatic balancing by setting the BalanceFlows
property on the page or subpage to Y.
AcFlow::ReleaseSpace method
AcFlow::ReserveSpace method
303
AcFlow::ShiftFooterUp method
AcFlow::ShiftFooterUp method
Moves the footer so it appears immediately after the last content frame in the
flow.
Syntax
Parameter
Description
304
Class AcFrame
Class AcFrame
The base class for frames used in a report design.
AcComponent
AcReportComponent
AcVisualComponent
AcBaseFrame
AcDataFrame
AcFrame
Description
Margin
The content region can have a border. The figure also illustrates the border
layout in relation to the content region and frame.
305
Class AcFrame
Type
Description
BackgroundColor
AcColor
Border.Pen
AcLineStyle
Border.Width
AcLineStyle
Margins.Top and
Margins.Bottom
AcMargins
Margins.Left and
Margins.Right
AcMargins
Factory protocol
A frame is contained by some other component, such as a section or another
frame. The frames container calls the methods in AcFrame.
306
Method
Task
New( )
Start( )
N/A
Build( )
BuildFromRow( )
Finish( )
N/A
Class AcFrame
Viewer Protocol
Task
1 The user decides which page to display. The Viewer then
asks that page to display.
2 A page consists of flows that have frames in them. A page
asks the frames to display.
3 A frame asks the controls that it contains to display.
4 The individual controls within each frame display.
Subclassing AcFrame
Each time you drag a frame off the palette and drop it into the report design,
the Design Editor instantiates a subclass of AcFrame. You can use the Method
Editor to override methods in the derived class to do special processing or
change default properties of the frame.
Variables
Variable
Type
Description
Margins
AcMargins
Shadow
AcShadow
Rounding
AcRounding
307
Class AcFrame
Properties
308
Property
Group
Type
AutoSplit
Vertical
Pagination AcAutoSplit
Custom
DHTML
Footer
DHTML
String
Custom
DHTML
Header
DHTML
String
Description
Class AcFrame
Property
Group
Type
Description
Margins
Shadow
AcMargins
NoSplit
Bottom
Pagination AcTwips
NoSplitTop
Pagination AcTwips
Rounding
Windows
Viewer
Only
Shadow
Shadow
AcShadow
309
Class AcFrame
Property
Group
Type
SplitMargin
Bottom
Pagination AcTwips
SplitMargin
Top
Pagination AcTwips
Description
The margin between the bottom
edge and the contents of segments
of split frames.
The margin is not applied to the
last segment.
The default is 0".
For more information, see
Chapter 12, Working with
dynamic text controls, in
Developing Advanced e.Reports.
The margin between the top edge
and the contents of segments of
split frames. The margin is not
applied to the first segment.
The default is 0.
For more information, see
Chapter 12, Working with
dynamic text controls, in
Developing Advanced e.Reports.
Methods
310
Method
Type
Description
AddToAdjustSizeList( )
N/A
AdjustContentVertical
Geometry( )
N/A
AutoSplitVertical( )
AcAutoSplit
Custom
DHTMLFooter( )
String
Custom
DHTMLHeader( )
String
GetBorderOrigin( )
AcPoint
AcFrame::AddToAdjustSizeList method
Method
Type
Description
GetBorderRect( )
GetBorderSize( )
AcSize
NoSplitBottom( )
AcTwips
NoSplitTop( )
AcTwips
SplitMarginBottom( )
AcTwips
SplitMarginTop( )
AcTwips
AcFrame::AddToAdjustSizeList method
Propagates resizing and repositioning requests from a nested or page
decoration frame from the frames contents to the frames visual container.
Syntax
Parameter
Description
AcFrame::AdjustContentVerticalGeometry method
Adjusts the height of the frame and the vertical position and height of the
frames contents.
Syntax
Description
Sub AdjustContentVerticalGeometry( )
The AdjustContentVerticalGeometry( ) method adjusts the height of the frame
and the vertical position and height of the frames contents.
311
AcFrame::AutoSplitVertical method
AcFrame::AutoSplitVertical method
Returns the value of the AutoSplitVertical property.
Syntax
Description
AcFrame::CustomDHTMLFooter method
Enables use of custom browser scripting control in an HTML form.
Syntax
Description
See also
AcFrame::CustomDHTMLHeader method
Enables use of custom browser scripting control in an HTML form.
Syntax
Description
See also
AcFrame::GetBorderOrigin method
Returns the upper-left coordinates of the border.
Syntax
Description
Returns
312
AcFrame::GetBorderRect method
See also
AcFrame::GetBorderRect method
AcFrame::GetBorderSize method
AcFrame::GetBorderRect method
Returns the origin and size of the content area.
Syntax
Description
Returns
See also
AcFrame::GetBorderSize method
Returns the size of the content area.
Syntax
Description
Returns
See also
AcFrame::NoSplitBottom method
Returns the value of the NoSplitBottom property.
Syntax
Description
313
AcFrame::NoSplitTop method
AcFrame::NoSplitTop method
Returns the value of the NoSplitTop property.
Syntax
Description
AcFrame::SplitMarginBottom method
Returns the value of the SplitMarginBottom property.
Syntax
Description
AcFrame::SplitMarginTop method
Returns the value of the SplitMarginTop property.
Syntax
Description
314
Class AcGraph
Class AcGraph
An abstract base class that defines the core characteristics of all graph types.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcGraph
Description
AcGraph provides the interface to the Actuate graph engine. It defines the
properties of graphs, such as the type and general format of the graph, x-axis
and y-axis attributes, legend information, and so on. It also defines the
methods that compute x and y values, format graph labels, and return
information about where a graph is clicked at view time.
The classes you use in a report designAcDetailGraph, AcSummaryGraph,
and AcHLCGraphderive from AcGraph. These subclasses implement the
methods for building graphs from data rows. HTML reports treat graphs as
.JPEG images.
Methods
Method
Type
Description
CalculateEndingValue( )
Variant
CalculateRangeUnit( )
N/A
CalculateStartingValue( )
Variant
CalculateTickIntervalUnit( )
N/A
ComputeLabels( )
N/A
ComputeMinMax( )
N/A
ComputeYOverlayMinMax( )
N/A
315
Class AcGraph
Method
Type
Description
CustomYOverlayLabels( )
N/A
FormatXLabel( )
String
FormatYLabel( )
String
FormatYOverlayLabel( )
N/A
GetHitPoint( )
Integer
GetHitSet( )
Integer
GetHitXValue( )
Double
GetHitYValue( )
Double
GetSeriesKey( )
Variant
316
Property
Type
Description
AxisColor
AcColor
BackgroundColor
AcColor
BackgroundIsClear
Boolean
GraphBackground
Color
AcColor
GraphBackground
IsClear
Boolean
Class AcGraph
Property
Type
Description
GraphBorderStyle
AcGraphBorder
Style
GraphType
AcGraphType
GridColor
AcColor
Type
Description
AxisTitleFont
AcFont
LabelFont
AcFont
TitleBackground
Color
AcColor
TitleBackground
IsClear
Boolean
317
Class AcGraph
Property
Type
Description
TitleBorderStyle
AcGraph
BorderStyle
TitleFont
AcFont
TitleText
String
318
Property
Type
Description
DataSetCount
Integer
PointCount
Integer
PointLabelColor
AcColor
PointLabelStyle
AcGraphPoint
LabelStyle
Class AcGraph
Property
Type
Description
Points( )
AcGraphPoint
SampleMax
SampleMin
ValuesColorList
Type
YOverlayValueExp Expression
Description
Allows users to specify a value
expression for the overlay graph.
319
Class AcGraph
320
Property
Type
Description
Range
Integer
RangeUnit
AcGraphUnitType
RoundTo
AcGraphRoundTo
TickInterval
Integer
Class AcGraph
Property
Type
Description
TickInterval
Unit
AcGraphUnitType
XAxis
Position
AcGraph
XAxisPosition
XAxisStyle
AcGraph
AxisStyle
XLabelCount
Integer
XLabel
Format
String
321
Class AcGraph
Property
Type
Description
XLabels( )
String
XLabelsList
322
XLabelStyle
AcGraphLabel
Style
XMajorGrid
Style
AcLinePen
XMajorTick
Count
Integer
XMajorTick
Style
AcGraphTick
Style
XMax
Double
XMin
Double
Class AcGraph
Property
Type
Description
XMinorGrid
Style
AcLinePen
XShow
MinorTicks
Boolean
XTitle
String
XTitleBack
groundColor
AcColor
XTitle
Background
IsClear
Boolean
XTitleBorder
Style
AcGraph
BorderStyle
XValueSet
AcGraph
XValueSet
XVertical
Labels
Boolean
323
Class AcGraph
Type
Description
YAxisPosition
AcGraph
YAxisPosition
YAxisStyle
AcGraph
AxisStyle
YLabelCount
Integer
YLabelFormat
String
YLabels( )
String
YLabelsList
YLabelStyle
324
A comma-separated list of
quoted y-axis values.
(Property only)
AcGraphLabel
Style
Class AcGraph
Property
Type
Description
YMajorGridStyle
AcLineStyle
YMajorTickCount
Integer
YMajorTickStyle
AcGraphTick
Style
YMax
Double
YMin
Double
YMinorGridStyle
AcLineStyle
325
Class AcGraph
326
Property
Type
Description
YMinorTicks
Boolean
YTickInterval
Integer
YTitle
String
YTitleBackground
Color
AcColor
YTitleBackground
IsClear
Boolean
YTitleBorderStyle
AcGraphBorder
Style
YTitleOrientation
AcGraph
YOrientation
YVerticalLabels
Boolean
Class AcGraph
Type
Description
YOverlayAxisStyle
AcGraphAxisStyle
YOverlayDisplay
Boolean
YOverlayKeyValue
String
YOverlayLabel
Format
String
YOverlayLabelStyle
AcGraphLabel
Style
YOverlayLineColor
AcColor
YOverlayLinePattern
AcLinePen
327
Class AcGraph
328
Property
Type
Description
YOverlayLineStyle
AcGraphLineStyle
YOverlayLine
Thickness
Integer
YOverlayMajorTick
Count
Integer
YOverlayMajorTick
Style
AcGraphTickStyle
YOverlayMax
Double
YOverlayMin
Double
YOverlayTickInterval Integer
Class AcGraph
Property
Type
Description
YOverlayShow
Line
Boolean
YOverlayShow
Symbols
Boolean
YOverlayTitle
String
YOverlayTitle
BackgroundColor
AcColor
YOverlayTitleBorder
Style
AcGraphBorder
Style
YOverlayTitle
Orientation
AcGraph
YOrientation
YOverlayVertical
Labels
Boolean
329
Class AcGraph
330
Property
Type
Description
LegendBackground
Color
AcColor
LegendBackground
IsClear
Boolean
LegendColorText
Boolean
LegendFont
AcFont
LegendLabelCount
Integer
LegendLabels
String
LegendPosition
AcGraph
Legend
Position
Class AcGraph
Property
Type
Description
LegendSize
Integer
LegendBorderStyle
AcGraph
BorderStyle
Type
Description
BarGrouping
AcGraphBar
Grouping
BarOrientation
AcGraphBar
Orientation
HLCBarStyle
AcHLCBar
Style
331
Class AcGraph
Property
Type
LineStyle
LineStylesList
332
Description
LineThickness
Integer
PointsArePercent
Boolean
ShowAsPercent
Boolean
ShowLines
Boolean
ShowSticks
Boolean
AcGraph::CalculateEndingValue method
Property
Type
Description
ShowSymbols
Boolean
TimeSeries
Boolean
AcGraph::CalculateEndingValue method
Returns the ending date of the graph.
Syntax
Description
AcGraph::CalculateRangeUnit method
Calculates a new range unit.
Syntax
Description
Sub CalculateRangeUnit( )
The CalculateRangeUnit( ) method calculates a new range unit if the default
value has been set. CalculateRangeUnit( ) uses the tick interval values to
determine the correct unit.
CalculateRangeUnit( ) is called by the CalculateStartingValue( ) method.
AcGraph::CalculateStartingValue method
Returns the starting date of the graph.
Syntax
Description
333
AcGraph::CalculateTickIntervalUnit method
AcGraph::CalculateTickIntervalUnit method
Calculates a new tick interval unit.
Syntax
Description
Sub CalculateTickIntervalUnit( )
The CalculateTickIntervalUnit( ) method calculates a new tick interval unit if
the default value was set. For AcDetailGraph, CalculateTickIntervalUnit( )
uses the largest and smallest data points to determine the best units to use so
that 5 to 7 labels are displayed in the graph.
CalculateTickIntervalUnit( ) is called by the CalculateStartingValue() method.
AcGraph::ComputeLabels method
Computes the labels for the x-axis and y-axis.
Syntax
Description
Sub ComputeLabels( )
The framework calls ComputeLabels( ) to calculate and format the labels on
the X- and y-axis. The processing that ComputeLabels( ) performs depends on
the value of the XLabelStyle and YLabelStyle properties. If you set those
properties to GraphCustomLabels, ComputeLabels( ) calls FormatXLabel( )
and FormatYLabel( ), respectively, to format the labels. If you specified a
different value for XLabelStyle and YLabelStyle, this method does nothing.
The framework will generate default labels.
If you set the TimeSeries property, this method calls the CustomXLabels( )
method.
Override ComputeLabels( ) if you want to change the way labels are
computed. If you want to change the way labels are formatted, override
FormatXLabel( ) or FormatYLabel( ).
See also
334
AcGraph::FormatXLabel method
AcGraph::FormatYLabel method
AcGraph::ComputeMinMax method
AcGraph::ComputeMinMax method
Computes the minimum and maximum values for each axis.
Syntax
Description
Sub ComputeMinMax( )
The ComputeMinMax( ) method computes the minimum and maximum
values for each axis if not already specified. To have ComputeMinMax
compute these values, you must set the properties appropriately:
AcGraph::ComputeYOverlayMinMax method
Computes the minimum and maximum values for the overlay axis.
Syntax
Description
Sub ComputeYOverlayMinMax( )
The ComputeYOverlayMinMax( ) method computes the minimum and
maximum values for the overlay axis. The minimum and maximum values are
used by the CustomYOverlayLabels( ) method to calculate the best fitting
labels. ComputeYOverlayMinMax( ) is called by the ComputeMinMax( )
method.
AcGraph::CustomYOverlayLabels method
Calculates the Y-labels of the overlay axis.
Syntax
Description
Sub CustomYOverlayLabels( )
The CustomYOverlayLabels( ) method computes the label of the overlay axis
by using the YOverlayMin and YOverlayMax values.
CustomYOverlayLabels( ) then divides this by the number of tick marks and
creates the labels at each mark. CustomYOverlayLabels( ) is called by the
ComputeLabels( ) method.
Override CustomYOverlayLabels( ) if you want to change the way labels are
computed. If you want to change the way labels are formatted, override
FormatYOverlayLabel( ).
See also
AcGraph::FormatYOverlayLabel method
335
AcGraph::FormatXLabel method
AcGraph::FormatXLabel method
Formats a custom x-axis label.
Syntax
Parameter
Description
Returns
See also
AcGraph::FormatYLabel method
Formats a custom y-axis label.
Syntax
Parameter
Description
Returns
See also
336
AcGraph::FormatYOverlayLabel method
AcGraph::FormatYOverlayLabel method
Formats an overlay axis label.
Syntax
Parameter
Description
Returns
See also
AcGraph::GetHitPoint method
Returns the value of the category that was clicked at view time.
Syntax
Description
337
AcGraph::GetHitSet method
Returns
See also
The number of the category that was clicked. This number is stored in the first
index of the Point( ) array.
AcGraph::GetHitSet method
AcGraph::GetHitXValue method
AcGraph::GetHitYValue method
AcGraph::GetHitSet method
Returns the value of the series that was clicked at view time.
Syntax
Description
338
AcGraph::GetHitSet method
Returns
See also
The number of the series that was clicked. This number is stored in the second
index of the Point( ) array.
AcGraph::GetHitPoint method
AcGraph::GetHitXValue method
AcGraph::GetHitYValue method
339
AcGraph::GetHitXValue method
AcGraph::GetHitXValue method
Returns the x value of the data point that was clicked at view time.
Syntax
Description
600
650
700
750
600
650
700
750
500
Quantity
400
300
200
100
500
550
Price
Returns
See also
AcGraph::GetHitYValue method
Returns the y value of the data point that was clicked at view time.
Syntax
340
AcGraph::GetSeriesKey method
Description
Call GetHitYValue( ) to get the y-axis value of the data point a user clicked.
You can use this information to execute an action, such as displaying the value,
in response to a mouse event. You typically call GetHitYValue( ) in mouse
event methods, such as OnLButtonClk( ) or OnLButtonDblClk( ).
The following illustration shows a bar graph, and the value GetHitYValue( )
returns when each bar is clicked.
For each bar clicked,
GetHitYValue() returns:
Returns
See also
AcGraph::GetSeriesKey method
If an expression in the SeriesKey is entered, returns the Key code of the data
row.
Syntax
Parameter
Description
Returns
341
Class AcGroupSection
Class AcGroupSection
This class groups related rows into a section based on a key column.
AcComponent
AcReportComponent
AcSection
AcDataSection
AcGroupSection
Description
Reports often contain grouped data, many times with subtotals for each group.
For example, a report of customers could group the customers by state.
AcGroupSection is the report component that creates groups within your
report. Grouping is based on a key column in your data row, which you
identify by setting the Key property, and optionally, the GroupOn and
GroupInterval properties. You use the GroupOn and GroupInterval properties
when you need to convert a key column in your data row into a value that is
more suitable for your report. For example, if your key column contains the
full date that an item was sold and you need to produce a quarterly sales
report, use the GroupOn property to group the data by quarter. Actuate
extracts the date information from the key column, converts it to a calendar
quarter, and creates groups based on calendar quarter. Or, if you need to
produce a bimonthly report, set GroupOn to GroupOnMonth and set
GroupInteval to 2.
A group section is a data section, and so it inherits the Before, After, Page
Header, Page Footer, and Content slots. Use the After slot to create subtotals
over your group. Use the Content slot to process each row in the group. The
Content can be a frame, or another group section to create a nested group.
You always use a group section with a report section. If that report section uses
a query data stream, then the report section ensures that the query sorts the
data rows as needed for the group sections. Specifically, the report section tells
the query data stream to sort the data based on the columns identified in the
Key properties of group sections associated with the report. If you had
specified an Order By clause in your query, then the columns you specified
appear after the key columns in the modified Order By clause.
To specify a group to use with a query data source, set the Key property to the
name of a column in your data row. You must use the database column name,
not the Basic variable name in the data row. Actuate ensures the rows are
sorted correctly as explained above.
342
Class AcGroupSection
If your data stream is other than a query, you must ensure that the data stream
returns the rows sorted in the correct order as needed by the group sections.
Actuate cannot automatically sort the rows for you. You must still specify the
Key property for each group section, but in this case, the Key property must be
the name of a Basic variable in the data row.
If you want to do a level break on a computed value (such as a range of
account numbers) or by looking at only a substring within a field (such as the
area code portion of a phone number), then you must create a column that
represents this value in your data stream. For example, if you are using a
query data stream, you must create a computed column to hold the value that
you want to be the key.
You can nest group sections. Each group is identified not just by its own key,
but by the entire set of keys of any enclosing group sections. For example,
suppose you want a list of customers and their orders by state. You create a
report to do the query, then an outer group for states, and an inner group for
customers. Assume also that your database contains both Alabama and
Alaska, and both states have only one customer and both customers have the
name Smith. Actuate will treat the customers as belonging to different
groups. That is, the full key of the first customer is (Alabama, Smith) and
the full key of the second customer is (Alaska, Smith). Another way of
thinking about this is that, when an outer group ends, then all nested groups
end also.
343
Class AcGroupSection
If the row is the first row, BuildFromRow( ) produces the Page Header and
Before components as described in AcDataSection. BuildFromRow( ) also
records the rows key value.
If the row is not the first row, then BuildFromRow( ) compares the rows
key value with the recorded key value. If the key values differ, then
BuildFromRow( ) produces the After and Page Footer components as
described in AcDataSection, and returns False.
Calls the contents BuildFromRow( ) method. This time, the content must
accept the row, then BuildFromRow( ) returns True.
Variables
344
Variable
Type
Description
KeyValue
Variant
Class AcGroupSection
Properties
Property
Type
Description
GroupInterval
Function
GroupOn
AcGroupOn
Type
Key
Expression
345
AcGroupSection::GetIntervalValue method
Methods
Method
Type
Description
GetInterval
Value( )
Variant
GetKey( )
Variant
GetKeyString( )
String
GetKeyValue( )
Variant
IsSameKey( )
Boolean
SetTocEntry( )
N/A
AcGroupSection::GetIntervalValue method
Determines the group interval from the key and a grouping interval type.
Syntax
Parameter
Description
Returns
346
Call GetIntervalValue to get the value of the grouping interval from the
current key. For example, if the interval argument is GroupOnMonth and the
value argument is 990915, the return value is 9.
The value for the groups GroupInterval property.
AcGroupSection::GetKey method
AcGroupSection::GetKey method
Extracts the key value from a data row.
Syntax
Parameter
Description
Returns
AcGroupSection::GetKeyString method
Returns the key value as a string.
Syntax
Description
Returns
Example
347
AcGroupSection::GetKeyValue method
AcGroupSection::GetKeyValue method
Returns the group key for the data row.
Syntax
Parameter
Description
Returns
AcGroupSection::IsSameKey method
Checks if the group section key has changed.
Syntax
Parameter
Description
Returns
IsSameKey( ) compares the value of the current and the prior group section
keys. If you are using the results of a computation to determine whether you
should do a level break, call IsSameKey to help you make this determination.
True if the keys are equal.
False if the keys are not equal.
AcGroupSection::SetTocEntry method
Sets the Table of Contents entry for the data row.
Syntax
Parameter
348
Class AcHLCChart
Class AcHLCChart
A subclass of AcChart that displays data in a high-low-close or open-highlow-close chart.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcChart
AcHLCChart
Description
Properties
Property
Type
Description
CloseValueExp
Expression
DateExp
Expression
DualYValueExp Expression
HighValueExp
Expression
LabelExp
Expression
349
AcHLCChart::AddPoint method
Property
Type
Description
LowValueExp
Expression
OpenValueExp
Expression
Method
Type
Description
AddPoint( )
N/A
GetClose
Value( )
Double
GetDateValue( ) Variant
GetHigh
Value( )
Double
GetLabel
Value( )
String
GetLowValue( )
Double
GetOpen
Value( )
Double
Methods
AcHLCChart::AddPoint method
Adds a data point at the end of the list of data points.
Syntax
Parameters
350
AcHLCChart::GetCloseValue method
Label
The text of the label for the data point.
Description
The AddPoint( ) method adds a point at the end of the list of points for the
chart. Each data point consists of four y values, one each for open, close, high,
and low. This method assumes that only one data set exists.
AcHLCChart::GetCloseValue method
Sets the close value for the chart.
Syntax
Parameter
Description
Returns
AcHLCChart::GetDateValue method
If an expression in the DateExp is entered, returns the date value of the data
row.
Syntax
Parameter
Description
Returns
AcHLCChart::GetHighValue method
Sets the high value for the chart.
Syntax
Parameter
351
AcHLCChart::GetLabelValue method
Description
Returns
Override the GetHighValue( ) method to set the high value for the chart using
the values of data row columns.
The high value for the chart.
AcHLCChart::GetLabelValue method
Sets the label value for the chart.
Syntax
Parameter
Description
Returns
AcHLCChart::GetLowValue method
Sets the low value for the chart.
Syntax
Parameter
Description
Returns
AcHLCChart::GetOpenValue method
Sets the open value for the chart.
Syntax
Parameter
Description
Returns
352
Class AcHLCGraph
Class AcHLCGraph
A class you use in the report design to display data in a high-low-close or
open-high-low-close graph.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcGraph
AcHLCGraph
Description
Properties
Property
Type
Description
CloseValueExp
Expression
DateExp
Expression
HighValueExp
Expression
LabelExp
Expression
LowValueExp
Expression
OpenValueExp
Expression
353
AcHLCGraph::AddPoint method
Methods
Method
Type
Description
AddPoint( )
N/A
GetClose
Value( )
Double
GetDateValue( ) Variant
GetHigh
Value( )
Double
GetLabel
Value( )
String
GetLowValue( )
Double
GetOpen
Value( )
Double
AcHLCGraph::AddPoint method
Adds a point to the end of the list of points.
Syntax
Parameter
Description
354
Adds a point to the end of the list of points for the graph. This method
assumes that there is only one data set. Each data point actually consists of
four y values, one each for open, close, high, and low.
AcHLCGraph::GetCloseValue method
AcHLCGraph::GetCloseValue method
Sets the close value for the graph.
Syntax
Parameter
Description
Returns
AcHLCGraph::GetDateValue method
If an expression in the DateExp is entered, returns the date value of the data
row.
Syntax
Parameter
Description
Returns
AcHLCGraph::GetHighValue method
Sets the high value for the graph.
Syntax
Parameter
Description
Returns
355
AcHLCGraph::GetLabelValue method
AcHLCGraph::GetLabelValue method
Sets the label value for the graph.
Syntax
Parameter
Description
Returns
AcHLCGraph::GetLowValue method
Sets the low value for the graph.
Syntax
Parameter
Description
Returns
AcHLCGraph::GetOpenValue method
Sets the open value for the graph.
Syntax
Parameter
Description
Returns
356
Class AcHtmlAppletControl
Class AcHtmlAppletControl
A class you use in an HTML report design to add a Java applet.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcHtmlObjectControl
AcHtmlAppletControl
Description
357
Class AcHtmlAppletControl
Variables
358
Variable
Type
Description
Alignment
AcHtmlImage
Alignment
AlternateText
String
AppletName
String
CodeBase
String
ErrorText
String
Class AcHtmlAppletControl
Variable
Type
Description
Margin
Integer
Size
AcSize
Property
HTML attribute
Description
Alignment
align=option
Properties
AlternateText
AppletName
code=name
CodeBase
codebase=url
ErrorText
alt=text
Margin
hspace=width
vspace=height
Size
height=height
width=width
359
AcHtmlAppletControl::HtmlParams method
Methods
Method
Type
Description
HtmlParams( )
N/A
SetParam( )
N/A
AcHtmlAppletControl::HtmlParams method
Specifies the parameters to a Java applet included in a report design.
Syntax
Parameter
Description
End Sub
AcHtmlAppletControl::SetParam method
Specifies each parameter to a Java applet included in a report design.
Syntax
360
AcHtmlAppletControl::SetParam method
Parameter
htmlFile
The channel number for the HTML source file being generated.
param
The name of the parameter.
value
The value of the parameter.
Description
361
Class AcHtmlFrame
Class AcHtmlFrame
A frame that represents one or more lines of text in an HTML report.
AcComponent
AcReportComponent
AcVisualComponent
AcBaseFrame
AcDataFrame
AcFrame
AcHtmlFrame
Description
Use AcHtmlFrame as the container for controls that display text in an HTML
report. For example, you can use an HTML frame to create an HTML header,
list, or plain text. AcHtmlFrame adds an HtmlStyle property for specifying the
following HTML text formats:
Headers 1 though 6
Table
Plain text
You can use the standard frame (AcFrame) in an HTML report. However,
AcHtmlFrame provides HTML-specific properties for formatting lines of text.
When an AcFrame is rendered as an HTML table, the following properties
govern its appearance.
362
Appearance
property
Type
Description
BackgroundColor
AcColor
Border.Pen
AcLineStyle
Class AcHtmlFrame
Appearance
property
Type
Description
Border.Width
AcLineStyle
Margins.Top and
Margins.bottom
AcMargins
Margins.Left and
Margins.Right
AcMargins
Variables
Variable
Type
Description
FillRow
Boolean
FixedColumn
Widths
Boolean
HtmlStyle
AcHtmlFrameStyle
TextAlignment
AcHtmlAlignment
363
Class AcHtmlFrame
Properties
364
Property
HTML
Attribute/
Type
FillRow
Boolean
FixedColumn
Widths
N/A
HtmlStyle
(varies
depending on
the chosen
style)
TextAlignment
align=style
Description
Class AcHtmlImageControl
Class AcHtmlImageControl
A class you use in an HTML report design to display an image.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcImageControl
AcHtmlImageControl
Description
The HTML image control allows you to place an image into your HTML
report. You can use the standard image control (AcImageControl) in an HTML
report, but AcHtmlImageControl provides HTML-specific properties for
manipulating images in HTML. You should use AcHtmlImageControl only in
an HTML report (AcHtmlReport).
HTML reports support JPG image files. You can specify other types of graphic
files when you design an HTML report, as long as your web browser supports
those types of graphic files. During HTML report design, you specify the name
of the graphic file, but the file itself is not included until run time. Graphic files
with formats other than JPG do not display in your report design, but they do
display when the report runs in your web browser.
Variables
Variable
Type
Description
Alignment
AcHtmlImage
Alignment
AlternateText
String
LowResSourceURL
String
365
Class AcHtmlImageControl
Variable
Type
Description
MapName
String
MapType
AcHtmlImage
Maptype
Margin
AcSize
SourceURL
String
UseDefaultSize
Boolean
Property
HTML attribute
Description
Alignment
align=opt
AlternateText
alt=text
ImageName
src=basename
Properties
366
Class AcHtmlImageControl
Property
HTML attribute
Description
LowResSourceURL
lowsrc=url
MapName
map=name
MapType
ismap
Margin
hspace=width
vspace=height
Size
height=height
width=width
SourceURL
src=url
UseDefaultSize
367
Class AcHtmlImageControl
name is the file name itself, without the drive and directory path. For example,
if ImageName is set to C:/Reports/Custlist/Banner.gif, the base name is
Banner.gif. Therefore, AFC generates src=Banner.gif in HTML.
368
Class AcHtmlObjectControl
Class AcHtmlObjectControl
The base class for applets, plug-ins, and ActiveX controls.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcHtmlObjectControl
Description
369
Class AcHtmlPlugInControl
Class AcHtmlPlugInControl
A class you use in an Html report design to add a Netscape plug-in.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcHtmlObjectControl
AcHtmlPlugInControl
Description
370
Class AcHtmlPlugInControl
Variables
Variable
Type
Description
Alignment
AcHtmlImage
Alignment
IsHidden
Boolean
Margin
AcSize
MimeType
String
371
Class AcHtmlPlugInControl
Variable
Type
Description
PlugInPage
String
Size
AcSize
SizeUnits
AcHtmlPlugIn
Units
SourceURL
String
UseForegroundPalette
Boolean
Properties
372
Property
HTML attribute
Description
Alignment
align=option
IsHidden
hidden=opt
Margin
hspace=width
vspace=height
MimeType
type=opt
AcHtmlPlugInControl::HtmlParams method
Property
HTML attribute
Description
PlugInPage
pluginspage=
url
Size
height=height
width=weight
SizeUnits
units=opt
SourceURL
src=name
UseForegroundPalette
palette=opt
Methods
Method
Type
Description
HtmlParams( )
N/A
SetParams( )
N/A
AcHtmlPlugInControl::HtmlParams method
Specifies the parameters to a plug-in included in a report design.
Syntax
Parameter
Description
373
AcHtmlPlugInControl::SetParam method
AcHtmlPlugInControl::SetParam method
Specifies each parameter to a plug-in application included in a report design.
Syntax
Parameter
Description
374
Class AcHtmlReport
Class AcHtmlReport
The base class for an HTML report.
AcComponent
AcReportComponent
AcReport
AcHtmlReport
Description
Variables
Variable
Type
Description
BackgroundColor
AcColor
BackgroundImage
String
BackgroundSound
String
BackgroundStyle
AcHtml
Background
Style
BaseFontSize
Integer
375
Class AcHtmlReport
376
Variable
Type
Description
LinkColor
AcColor
MaxTocDepth
Integer
PageSize
AcSize
TextColor
AcColor
Title
String
TocStyle
AcHtmlToc
Style
TocWidth
Integer
TocWidthUnits
AcHtml
Units
VisitedLinkColor
AcColor
Class AcHtmlReport
Properties
Property
HTML Attribute
Description
BackgroundColor
BGColor=color
BackgroundImage
Background=
url
BackgroundSound BGSound
Src=name
BackgroundStyle
BGProperties
BaseFontSize
<BaseFontSize=
number>
LinkColor
Link=color
MaxTocDepth
PageSize
TopMargin=
height
LeftMargin=
width
TextColor
Text=color
Title
<Title>title
</Title>
377
AcHtmlReport::GetRowFileName method
Property
HTML Attribute
Description
TocStyle
TocWidth
TocWidthUnits
ShowTitle
VisitedLinkColor
VLink=color
Method
Type
Description
GetRowFile
Name( )
N/A
GetServerPrefix( )
String
WantHtml( )
Boolean
Methods
AcHtmlReport::GetRowFileName method
Returns the name of the .row file for a given .roi file.
Syntax
378
AcHtmlReport::GetServerPrefix method
Description
Override GetRowFileName( ) to change the name of the .row file for the .roi
file. The name of the .roi file must include the full path. HTML reports that run
on the Report Server use an .row file. By default, Actuate sets the .row file
name to the same name as the .rox.
AcHtmlReport::GetServerPrefix method
Returns the location of the server on which the HTML report will be deployed.
Syntax
Description
GetServerPrefix( ) As String
GetServerPrefix() affects how the AFC interprets server:// style hyperlinks
in HTML reports. An HTML report does not know where it will be deployed,
so you must override this method to give it that information.
The location format is:
http://web_server/acweb/rpt_server
If the hyperlink includes a server name, that server name is used instead of
rpt_server. If the destination location is relative to the root folder of the server,
AFC prepends the full server prefix.
The default value is the value which was set in the ReportCast URL prefix
property for the root folder of the Report Encyclopedia.
See also
Class AcDBConnection
AcHtmlReport::WantHtml method
Determines whether or not to generate HTML files for the report.
Syntax
Description
Returns
Example
379
AcHtmlReport::WantHtml method
See also
380
AcReport::RoiIsTemporary method
Class AcHtmlRuleControl
Class AcHtmlRuleControl
A class you use in an HTML report design to display a horizontal line.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcHtmlRuleControl
Description
Variables
Variable
Type
Description
Alignment
AcHtmlHorizontal
Alignment
NoShade
Boolean
381
Class AcHtmlRuleControl
Variable
Type
Description
WidthUnits
AcHtmlUnits
Property
HTML attribute
Description
Alignment
align=type
NoShade
noshade
Size.Height
size=pixels
Size.Width
width=value
Properties
WidthUnits
382
Class AcImageControl
Class AcImageControl
A class you use in the report design to display external images.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcImageControl
Description
Use AcImageControl to display images in your report. You can display a static
image file. Also, if your image file names are contained in a data column, you
can direct Actuate to present different images for each data row based on the
contents of the data column. In this case, the size of the images must be the
same.
If you distribute a report to users through e-mail or through the Report
Encyclopedia, use the Embedded property to include the image in the report
at image design time or image Factory time. If you do not embed images with
reports you distribute, an X appears in place of the image.
The following table lists the types of supported images.
File type
Supported formats
BMP
GIF
JPG
PCX
TGA
TIFF
383
Class AcImageControl
If the image file name is located on the database, set the FileNameExp to
the name of the data column containing the image file name. The name
of the data column must be enclosed in brackets.
If the name of the data column is not enclosed in brackets, set the
FileName property to the file name of the image to display.
2 Set the Embedded property to direct Actuate when to include the image in
the report:
Properties
384
Property
Type
Description
Border
AcLineStyle
Embedded
AcImage
EmbedType
FileName
String
FileName
Exp
Expression
AcImageControl::GetBaseImageName method
Methods
Method
Type
Description
GetBaseImage
Name( )
String
GetFileName( )
String
AcImageControl::GetBaseImageName method
Retrieves the file name for the image to be displayed when the report is
viewed or printed.
Syntax
Description
Returns
AcImageControl::GetFileName method
Returns the file name for the image to be displayed when the report is viewed
or printed.
Syntax
Description
Returns
385
Class AcInformixConnection
Class AcInformixConnection
Establishes a connection to an Informix database.
AcComponent
AcConnection
AcDBConnection
AcInformixConnection
Description
Variables
Variable
Type
Description
DatabaseEnvironment
String
DllPath
String
Password
String
UserName
String
Property
Type
Description
DatabaseEnvironment
String
DllPath
String
Variable
Properties
386
Password
String
UserName
String
Class AcInformixConnection
Mapped to
Boolean
Byte
Actuate String.
Char
Actuate String.
Date
Datetime
Decimal
Double precision
Int
Int8
Interval
Actuate String.
Lvarchar
Actuate String.
Money
Nchar
Actuate String.
Nvarchar
Actuate String.
Serial
Serial8
Small float
Small int
Text
Actuate String.
Varchar
Actuate String.
387
Class AcIntegerControl
Class AcIntegerControl
A class you use in the report design to display integer data.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcDataControl
AcIntegerControl
Description
Variables
388
Variable
Type
Description
DataValue
Integer
Class AcIterator
Class AcIterator
A base class for all iterators.
Description
AcIterator is the base class for all iterators. This class provides the methods
needed to work with iterators. Most of the time, you create an iterator in one of
the following two ways:
Traversing lists
AcIterator provides two ways to traverse lists of objects. The first way uses the
GetNext method to advance the iterator and return objects. You call the
methods HasMore and IsDone to test whether more objects exist or you have
reached the end of the list. The second way uses the MoveNext to move the
iterator and GetItem to retrieve the item. The return value from MoveNext
tells you when you have reached the end of the list. The latter way improves
list processing because positioning is independent of retrieval. You can also
combine MoveNext with the SkipTo and MoveTo methods to position the
iterator anywhere in the list.
You can position the iterator at a specific item in a list by specifying the items
position number. Items in the list are numbered sequentially starting with 1.
You use the MoveTo method to move the iterator to the correct item in the list
by specifying the position number for the item. Position numbers eliminate the
need to define counters in your code to keep track of the current position in the
list.
389
Class AcIterator
Methods
Example
Method
Type
Description
GetItem( )
AnyClass
GetNext( )
AnyClass
GetPosition( )
Integer
HasMore( )
Boolean
IsDone( )
Boolean
MoveNext( )
N/A
MoveTo( )
N/A
Restart( )
N/A
SkipTo( )
N/A
The following example shows how you create a list and traverse it in
sequential order:
Dim iter As AcIterator
Dim obj As MyClass
Set iter = aCollection.NewIterator( )
Do While iter.HasMore( )
Set obj = iter.GetNext( )
Loop
The following example shows how you create a list and traverse it using
methods that help you process the list sequentially or randomly. The code calls
the NewIterator method on the collection to create the iterator:
Dim iter As AcIterator
Dim obj As MyClass
Set iter = aCollection.NewIterator( )
Do While iter.MoveNext( )
Set obj = iter.GetItem( )
Loop
See also
390
Class AcCollection
Class AcReportComponent
AcIterator::GetItem method
AcIterator::GetItem method
Returns the item pointed to by the iterator.
Syntax
Description
Returns
See also
AcIterator::GetNext method
AcIterator::MoveNext method
AcIterator::GetNext method
Returns the next item in the list.
Syntax
Description
Returns
See also
AcIterator::GetPosition method
Returns the current position of the iterator.
Syntax
Description
391
AcIterator::HasMore method
positioned before the start of the list. GetPosition returns the number of items
in the list plus one if the iterator is positioned past the end of the list.
Returns
AcIterator::HasMore method
Determines whether or not the iterator returns any additional items.
Syntax
Description
Returns
See also
AcIterator::GetNext method
AcIterator::IsDone method
Determines if there are more items in the list.
Syntax
Description
Returns
See also
AcIterator::GetNext method
AcIterator::MoveNext method
Moves the iterator to the next position in the list.
Syntax
392
AcIterator::MoveTo method
Description
Returns
Call the MoveNext( ) method to move the iterator to the next position. After
you create the iterator, you can call MoveNext to position the iterator at the
first item in the list. Then, you can call the GetItem( ) method to retrieve the
item from the list.
True if the next position is in the list.
False if the next position is past the end of the list.
See also
AcIterator::GetItem method
AcIterator::MoveTo method
Positions of the iterator using an index.
Syntax
Parameter
Description
AcIterator::Restart method
Positions the iterator before the first item in the list.
Syntax
Description
Sub Restart( )
Call the Restart( ) method to position the iterator at the beginning of the list.
After the Restart method executes, the iterator is located at position number
zero.
393
AcIterator::SkipTo method
AcIterator::SkipTo method
Positions the iterator to the location of a specified object.
Syntax
Parameter
Description
Returns
See also
394
AcIterator::GetItem method
Class AcLabelControl
Class AcLabelControl
A class you use in the report design to display static, nonsearchable text labels.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcLabelControl
Description
A label control is a constant control that is fully defined at design time. Use it
to display titles and textual information that do not come from a data row. You
specify the text to display through the Text property. To display string data
from a data row, use AcTextControl instead.
Although the properties of a label control are typically set in the Design Editor,
you can write code to change its attributes at run time when the Factory builds
it. For example, you could change the color or text of the label depending on
the value of another control. To accomplish this task, you can override the
label controls Build( ) or BuildFromRow( ) method. The Build method you
override depends on whether the label control is contained in a frame that
processes data rows or not. For more information about when Build( ) and
BuildFromRow( ) are called, see the description for Class AcBaseFrame.
Variables
Variable
Type
Description
Text
String
Property
Type
Description
Text
String
Properties
395
Class AcLeftRightPageList
Class AcLeftRightPageList
Builds a page list with alternating left-right pages.
AcComponent
AcpageList
AcLeftRightPageList
Description
Properties
Property
Type
Description
FirstIsLeft
Boolean
LeftPage
AcPage
RightPage
AcPage
Method
Type
Description
NewLeftPage( )
AcPage
NewRightPage( )
AcPage
Methods
396
AcLeftRightPageList::NewLeftPage method
AcLeftRightPageList::NewLeftPage method
Instantiates the left page.
Syntax
Description
Returns
AcLeftRightPageList::NewRightPage method
Instantiates the right page.
Syntax
Description
Returns
397
Class AcLinearFlow
Class AcLinearFlow
An abstract base class that provides logic for adding frames to a flow that fills
in one direction, either top-down or left-to-right.
AcComponent
AcReportComponent
AcVisualComponent
AcFlow
AcLinearFlow
Description
AcLinearFlow is the abstract base class for flows that fill in one direction,
either top-down or left-to-right. Top-down flows fill with frames in the
standard top-down order, as described in Class AcTopDownFlow. The left-toright flow fills with frames starting on the left-hand side of the flow, with each
subsequent frame placed just to the right of the previous frame. When the
framework receives a frame that does not fit in the remaining space in the flow,
the framework advances to the next flow or page.
If you want to ensure that a flow is just large enough to hold its frames, with
no wasted space, set the ShrinkToFit property to True.
Variables
398
Variable
Type
Description
Alignment
AcFlowPlacement
Margins
AcMargins
Class AcLinearFlow
Variable
Type
Description
ShrinkToFit
Boolean
Property
Type
Description
Alignment
AcFlowPlacement
Margins
AcMargins
ShrinkToFit
Boolean
Properties
399
Class AcLineControl
Class AcLineControl
A class you use in the report design to display a line.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcLineControl
Description
A line control is a constant control that is fully defined at design time. The
properties you are likely to set are Position, EndPosition, and LineStyle.
Position specifies the starting coordinates of the line, and EndPosition specifies
the end coordinates. The X-coordinate is measured from the top left corner of
the frame that contains the line control. The Y-coordinate is measured from the
top of the enclosing frame.
The Line Style properties let you specify the color, style, and width of the line.
The length of the line is determined by the Position and EndPosition
properties and the width by the width property under LineStyle.
Variables
Variable
Type
Description
EndPosition
AcPoint
LineStyle
AcPoint
Property
Type
Description
EndPosition
AcPoint
LineStyle
AcPoint
Properties
400
Class AcLineControl
401
Class AcList
Class AcList
A base class that defines the list interface.
AcCollection
AcOrderedCollection
AcList
Description
The AcList class is an abstract class that defines the list interface. It provides a
complete set of list operations including the ability to add an item anywhere in
the list, to remove an item anywhere in the list, or to obtain statistics about the
contents of the list.
Actuate defines one concrete subclass of AcList, AcSingleList, which
implements a single linked list.
Methods
Example
Method
Type
Description
AddToHead( )
N/A
Contains( )
Boolean
GetIndex( )
Integer
InsertAfter( )
N/A
InsertBefore( )
N/A
RemoveHead( )
AnyClass
The following example shows how you create a list and traverse it with a list
iterator:
Class MyClass
Dim counter As Integer
End Class
Sub Main ( )
Dim list As AcList
Dim obj As MyClass
Dim count As Integer
Dim iterator As AcIterator
402
AcList::AddToHead method
'Create a list
Set list = New AcSingleList
'Create an object and add it to the list
Set obj = New MyClass
obj.counter = 1
list.AddToTail( obj )
'Create a second object and append it to the list
Set obj = New MyClass
obj.counter = 2
list.AddToTail( obj )
'Count the number of objects in the list
count = list.GetCount( )
MsgBox "Number of objects in the list: " & count
'Create a list iterator and get each object in the list
Set iterator = New AcSingleListIterator( list )
Do While iterator.HasMore( )
Set obj = iterator.GetNext( )
MsgBox "The position of this object in the list:" & obj.counter
Loop
'Delete the objects from the list
list.RemoveHead( )
list.RemoveHead( )
End Sub
See also
Class AcCollection
Class AcOrderedCollection
Class AcSingleList
AcList::AddToHead method
Adds an item to the beginning of the list.
Syntax
Parameter
Description
403
AcList::Contains method
AcList::Contains method
Determines whether or not the list contains the item.
Syntax
Parameter
Description
Returns
AcList::GetIndex method
Returns the position of the specified node.
Syntax
Parameter
Description
Returns
AcList::InsertAfter method
Inserts an item following a specified node.
Syntax
Parameter
Description
404
Inserts a node following the specified node. If the specified node cannot be
located, InsertAfter( ) raises an error.
AcList::InsertBefore method
AcList::InsertBefore method
Inserts an item before the specified node.
Syntax
Parameter
Description
Inserts a node before the specified node. If the specified node cannot be
located, InsertBefore( ) raises an error.
AcList::RemoveHead method
Removes the first node from a list.
Syntax
Description
Returns
405
Class AcMemoryBuffer
Class AcMemoryBuffer
A data filter that converts a sequential data stream into one which allows
random access by buffering data rows in memory.
AcComponent
AcDataAdapter
AcDataFilter
AcSingleInputFilter
AcMemoryBuffer
Description
Many data sources provide only the ability to read rows in a sequential firstto-last order. However, there are times when you need to move through the
data in random order, perhaps making multiple passes over certain groups of
data to print the data first in a graph, then in a tabular format. The
AcMemoryBuffer class acts as a converter to change a sequential data source
into a random-access data stream. It does so by storing (buffering) data rows
in memory as you read them so that you can return back to them again later.
You do not need to use this class if your data source already provides random
access.
Because this data filter supports random access, the CanSeek( ) method
returns True, and all the various random-access methods such as SeekTo( ) and
Rewind( ) are available.
AcMemoryBuffer lets you manipulate data as if you had direct access to the
input source. You can locate rows by specifying a row number with SeekTo( )
or by specifying a relative position with SeekBy( ). You can rewind to the
beginning of the data buffer with Rewind( ) or advance to the end with
SeekToEnd( ). The row number starts at 1. See class AcDataAdapter for details.
Although not required, you may choose to flush the buffer occasionally to
remove from memory those rows that you no longer need. For example, if you
need to make two passes over the data for each customer, you can flush the
rows for each customer as you complete the process. Flushing the buffer
causes no change to the way you access rows. You simply will not be able to
seek back to revisit the flushed rows. See the FlushBuffer( ) and
FlushBufferTo( ) methods for details.
You can also use the memory buffer class to gather data rows that your
application creates programmatically. For example, you might want to
produce a report of account activity. For every account with exceptional items,
you want to create a second data row that you will print in a second report. To
do this, create a memory buffer without an input adapter, then call
406
AcMemoryBuffer::AddRowToBuffer method
Methods
See also
Method
Type
Description
AddRowToBuffer( )
N/A
FlushBuffer( )
N/A
FlushBufferTo( )
N/A
GetBufferCount( )
Integer
GetBufferStart( )
Integer
Class AcDataAdapter
Class AcDataSource
Class AcMemoryDataSorter
Class AcSingleInputFilter
AcMemoryBuffer::AddRowToBuffer method
Adds a row to the data row buffer.
Syntax
Parameter
Description
AcMemoryBuffer::FlushBuffer method
Frees the rows currently buffered.
Syntax
Sub FlushBuffer( )
407
AcMemoryBuffer::FlushBufferTo method
Description
FlushBuffer( ) removes the current set of rows from the buffer. You may choose
to flush the buffer occasionally to remove from memory those rows that you
no longer need.
Flushing the buffer causes no change to the way you access rows. You simply
will not be able to seek back to revisit the flushed rows. For example, if the
buffer currently contains rows 20 through 40, and you flush the buffer, you can
still seek to row 41, 42, or any number up to the number of rows in the input
set. However, if you try to seek back to row 40 or earlier, you will get a Basic
run-time error.
See also
AcDataAdapter::FlushBuffer method
AcDataAdapter::FlushBufferTo method
AcMemoryBuffer::FlushBufferTo method
AcMemoryBuffer::FlushBufferTo method
Frees the rows in the buffer up to and including a specific row.
Syntax
Parameter
Description
See also
AcDataAdapter::FlushBuffer method
AcDataAdapter::FlushBufferTo method
AcMemoryBuffer::FlushBuffer method
AcMemoryBuffer::GetBufferCount method
Gets the number of rows currently in the buffer.
Syntax
408
AcMemoryBuffer::GetBufferStart method
Description
Returns
This method determines the number of rows that are currently in the buffer.
Rows that have been flushed are not counted.
The number of rows currently in the buffer.
AcMemoryBuffer::GetBufferStart method
Gets the position of the first row in the buffer.
Syntax
Description
Returns
409
Class AcMemoryDataSorter
Class AcMemoryDataSorter
A data filter that has the capability to sort rows in a memory buffer.
AcComponent
AcDataAdapter
AcDataFilter
AcSingleInputFilter
AcMemoryBuffer
AcRecordBuffer
AcMemoryDataSorter
Description
Subclassing AcMemoryDataSorter
To implement the sort functions to process data rows:
Methods
See also
410
Method
Type
Description
Compare( )
Integer
CompareKeys( )
Integer
Class AcDataAdapter
Class AcDataSource
Class AcMemoryBuffer
Class AcSingleInputFilter
AcMemoryDataSorter::Compare method
AcMemoryDataSorter::Compare method
Compares two data rows.
Syntax
Parameter
Description
This method defines how the sort algorithm determines when one row is
considered smaller than another. The comparison is based on sort keys. A sort
key is a column on which you want to base the sort. The following example
shows a sort based on State and Customer Name.
When writing the Compare method, cascade the comparisons as follows:
If the first sort key column differs between the two rows, return 1 if
key 1 > key 2 or -1 if key 1 < key 2.
If the first sort key columns are the same, then repeat the process on the
second key, third key, and so on.
This process does not work, however, for real numbers because of the
rounding errors that can be introduced when converting from a floating point
to an integer.
You must override the Compare( ) method when you create a custom sort
filter. If you forget to override this method, you will get a run-time error when
the memory sorter attempts to sort the data.
Returns
Example
The following example compares two customers by state. If the states are
identical, then Compare( ) compares the customer names:
Function Compare( row1 As AcDataRow, row2 As AcDataRow ) As Integer
Dim Cust1 As CustomerRow
Dim Cust2 As CustomerRow
Set Cust1 = row1
Set Cust2 = row2
Compare = CompareKeys( Cust1.State, Cust2.State )
If Compare = 0 Then
411
AcMemoryDataSorter::CompareKeys method
See also
AcMemoryDataSorter::CompareKeys method
AcMemoryDataSorter::CompareKeys method
Compares two sort keys.
Syntax
Parameter
Description
Returns
See also
412
AcMemoryDataSorter::Compare method
Class AcMSSQLConnection
Class AcMSSQLConnection
Establishes a connection to a Microsoft SQL database.
AcComponent
AcConnection
AcDBConnection
AcMSSQLConnection
Description
Variables
Variable
Type
Description
DllPath
String
Password
String
ServerName
String
UserName
String
Property
Type
Description
DllPath
String
Variable
Password
String
Variable
ServerName
String
Variable
UserName
String
Variable
Properties
413
Class AcMSSQLConnection
414
Mapped to
Binary
Actuate String.
Bit
Char
Actuate String.
DateTime
Decimal
Float
Image
String
Int
Money
Nchar
Actuate String.
Ntext
Actuate String.
NVarchar
Actuate String.
Numeric
Real
Smallint
SmallDateTime
SmallMoney
Sysname
Actuate String.
Text
Actuate String.
TimeStamp
Actuate String.
Class AcMSSQLConnection
Mapped to
Tinyint
Uniqueidentifier
Actuate String.
Varbinary
Actuate String.
Varchar
Actuate String.
Actuate accesses MS-SQL databases using the DB-library API. The DB-library
API only returns 255 characters of data. If the data column size for Char,
Varchar, Ntext, Nvar, or NChar exceeds 255 characters, the remainder of the
database column is truncated.
About queries
MS-SQL uses identifiers to name SQL server objects, such as servers and
databases, and database objects, such as tables, views, columns, and
procedures. Identifiers can include special characters and reserved words. You
must enclose any identifier that contains a special character or reserved word
in quotes. For example, if your table name contains blanks, enclose the table
name identifier with quotes in the SQL query as follows:
SELECT * FROM New York office
415
Class AcMultipleInputFilter
Class AcMultipleInputFilter
A base class for data filtersone type of data adapterthat accepts input from
any number of data adapters, processes the data, and then passes it to the next
data adapter or to the report.
AcComponent
AcDataAdapter
AcDataFilter
AcMultipleInputFilter
Description
Data source
(e.g.
customers)
Data row 1
Multi-input
data filter
Data source
(e.g. orders)
Data row 2
Data row
Data source
(e.g. items)
Data row 3
Data stream
Report section
The data sources are not limited to retrieving data from a single input source,
as the figure suggests. For example, one data source could be receiving data
from an SQL database, and another from an ODBC database.
A multi-input data filter receives input from other data adapters, either data
sources or other data filters. You can use the Design Editor to specify the input
adapters that provide input rows to the filter.
To implement the filter algorithm, you must override the Fetch( ) method.
416
Class AcMultipleInputFilter
Concatenate together the rows from each of the input filters. This is a union
filter.
Join or merge rows from one input adapter with those from a second input
adapter. This is a merge filter.
Return all rows from one adapter, except those that appear in another
adapter. This is a subtraction filter.
Subclassing AcMultipleInputFilter
Typically, you subclass AcMultipleInputFilter to create a custom filter:
Variables
Variable
Type
Description
InputAdapters
AcList
417
Class AcMultipleInputFilter
Methods
Example
Method
Type
Description
NewInputAdapter( )
AcDataAdapter
418
AcMultipleInputFilter::NewInputAdapter method
See also
Class AcDataAdapter
Class AcSingleInputFilter
AcMultipleInputFilter::NewInputAdapter method
Creates an input adapter.
Syntax
Description
Sub NewInputAdapter( )
Start( ) calls NewInputAdapter( ) to create the input adapters. You do not need
to override this method unless you want to specify a different way to create an
input adapter.
By default, this method instantiates the adapters you dropped into the Input
slot in the structure pane.
419
Class AcObjectArray
Class AcObjectArray
A dynamic array of objects.
AcCollection
AcOrderedCollection
AcObjectArray
Description
Methods
See also
420
Method
Type
Description
ResizeTo( )
N/A
SetAt( )
N/A
SetGrowth
Increment( )
N/A
Class AcCollection
Class AcIterator
Class AcOrderedCollection
AcObjectArray::ResizeTo method
AcObjectArray::ResizeTo method
Sets the size of the array.
Syntax
Parameter
Description
See also
AcObjectArray::SetAt method
AcObjectArray::SetAt method
Places an object in a specified array location.
Syntax
Parameter
Description
Use SetAt( ) to store an object in a particular array location. If the index you
specify is beyond the current array size, SetAt( ) resizes the array accordingly.
If the index you specify is within the current array size, SetAt( ) places the
specified object in the existing location, replacing any object that might be
stored there.
To store an object to the end of the array, use AddToTail( ).
See also
AcOrderedCollection::AddToTail method
421
AcObjectArray::SetGrowthIncrement method
AcObjectArray::SetGrowthIncrement method
Sets the number of slots to add to the array each time it expands.
Syntax
Parameter
Description
422
Class AcODBCConnection
Class AcODBCConnection
Establishes a connection to an ODBC database.
AcComponent
AcConnection
AcDBConnection
AcODBCConnection
Description
Variables
Variable
Type
Description
ConnectionString String
DataSource
String
DllPath
String
Password
String
UserName
String
Type
Description
Properties
Property
ConnectionString String
Variable
DataSource
String
Variable
DllPath
String
423
Class AcODBCConnection
Property
Type
Description
Password
String
Variable
UserName
String
Variable
424
Mapped to
Bigint
Binary
Actuate String.
Bit
Char
Actuate String.
Date
Decimal
Double
Float
Guid
Actuate String.
Integer
Interval_Day
Interval_Day_To_Hour
Interval_Day_To
_Minute
Interval_Day_To
_Second
Class AcODBCConnection
Mapped to
Interval_Hour
Interval_Hour_To
_Minute
Interval_Hour_To
_Second
Interval_Minute
Interval_Minute
_To_Second
Interval_Month
Interval_Second
Interval_Year
Interval_Year_To
_Month
Longvarbinary
Actuate String.
Longvarchar
Actuate String.
Numeric
Real
Small_Int
Time
Actuate String.
Timestamp
Tinyint
Type_Date
Type_Time
Actuate String.
Type_Timestamp
Varbinary
Actuate String.
425
Class AcODBCConnection
426
Mapped to
Varchar
Actuate String.
Wchar
Actuate String.
Wlongvarchar
Actuate String.
Wvarchar
Actuate String.
Class AcOleContainerControl
Class AcOleContainerControl
Implements an OLE container control.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcOleControl
AcOleContainerControl
Description
Methods
Method
Type
Description
CloseOrDeactivate( )
Boolean
DoVerb( )
Boolean
Object( )
Object
OnActivate( )
N/A
OnCreate( )
N/A
OnLButtonDblClk( )
Boolean
427
AcOleContainerControl::CloseOrDeactivate method
AcOleContainerControl::CloseOrDeactivate method
Closes or deactivates the specified OLE container.
Syntax
Description
Returns
CloseOrDeactivate( ) As Boolean
Closes or deactivates the specified OLE container. If the OLE container item is
in-place and active, CloseOrDeactivate( ) deactivates the container. If the OLE
container item is open within the server application, CloseOrDeactivate( )
closes the server application.
True if the OLE container was closed properly.
False if the item was neither open nor in-place and active.
AcOleContainerControl::DoVerb method
Executes the action specified for the OLE container.
Syntax
Parameter
Description
Returns
Finds the associated container item and executes the verb specified. The
possible verbs are:
Verb
Description
OleverbPrimary
OleverbShow
OleverbOpen
OleverbHide
428
AcOleContainerControl::Object method
AcOleContainerControl::Object method
Returns the OLE data object associated with the OLE container item.
Syntax
Description
Returns
AcOleContainerControl::OnActivate method
Called by the framework as the control is opened.
Syntax
Description
Sub OnActivate( )
Called by the framework as the control is opened for display in the report. This
is different from activating the OLE container item using DoVerb( ). Override
this method in a subclass to manipulate the container item before it is
displayed.
The default implementation creates a copy if CreateClone is True and updates
the key values to identify the newly created clone.
AcOleContainerControl::OnCreate method
Called by the framework as the control is being created.
Syntax
Description
Sub OnCreate( )
Called by the framework as the control is being created. You can override this
method to perform custom initialization. The default implementation saves
the original container keys if CreateClone is True.
AcOleContainerControl::OnLButtonDblClk method
Overrides the default implementation in AcVisualComponent.
Syntax
429
AcOleContainerControl::OnLButtonDblClk method
Parameter
view
The window the report is in.
Shift
A bit field that indicates if the Shift, Ctrl, or Alt keys were pressed at the time of
the event. Shift can contain one of the following values:
Keys pressed
Bit value
Shift value
None
NoKeys
Shift
ShiftKey
Ctrl
ControlKey
Shift + Ctrl
Alt
AltKey
Shift + Alt
Ctrl + Alt
x
The horizontal position of the mouse cursor at the time of the event, measured
in pixels relative to the left of the view.
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
Returns
See also
430
AcOleContainerControl::DoVerb method
AcVisualComponent::OnLButtonDblClk method
Class AcOleControl
Class AcOleControl
An abstract class for OLE controls.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcOleControl
Description
Properties
Property
Type
Description
CreateClone
Boolean
TrueSize
Boolean
TrueSize property
The TrueSize property controls how the control is displayed. TrueSize is most
useful for linked OLE items, since the contents and the size can change
without using Actuate.
When TrueSize is True, the framework disregards the size of the AFC control.
It displays the true size of the OLE container, as reported by the OLE server
application. TrueSize is True by default, but the Design Editor automatically
changes it if the user changes the size of the AFC OleContainer control. The
user can change this setting in the Design Editor.
431
Class AcOleControl
With TrueSize set to True, the content appears as it was intended by the server
application, but you have no control over the size it takes. It may, if the size
increased since the design was created, overwrite other elements of the report.
When TrueSize is False, the framework displays the OLE container using the
size specified in the AFC. When False, you will always know how much room
on the display the control is taking, but the content might appear distorted.
CreateClone property
This setting affects multiple OLE containers. If True, the AFC Basic code
creates a copy (clone) of the original OLE container. You can then change the
item before it displays. With a clone, the changes only affect this one instance.
If the CreateClone property is False, the change affects all instances. If you do
not intend to make changes to each instance, you can set this property to False
to reduce memory requirements.
Example
You want to show a graph using OLE, which will appear several times on each
page. The graph needs to change, using OLE Automation, depending on the
data in the report. Set CreateClone to True, otherwise changes to one graph
will affect all the others.
OLE Container
Copies
CreateClone = TRUE
CreateClone = FALSE
= AcOleContainerControls
The code displaying the OLE item removes the clones from memory when
done. The setting of CreateClones is used to determine this (see the previous
discussion). Thus, it is important that this property correctly reflects the status
of the OLE item. Be aware of this when modifying default behaviors.
432
Class AcOracleConnection
Class AcOracleConnection
Establishes a connection to an Oracle database.
AcComponent
AcConnection
AcDBConnection
AcOracleConnection
Description
Variables
Variable
Type
Description
DllPath
String
Password
String
HostString
String
UserName
String
Properties
Property
Type
Description
DbInterface
String
Password
String
Variable
HostString
String
Variable
UserName
String
Variable
433
Class AcOracleConnection
434
Mapped to
Timestamp
Char
Actuate String.
Date
Long
Actuate String.
Long Raw
Actuate String.
Nchar
Actuate String.
Number(x, 0) Integer
Number(x, y) Float
Nvarchar2
Actuate String.
Raw
Actuate String.
Rowid
Actuate String.
String
Actuate String.
Urowid
Actuate String.
Varchar
Actuate String.
Varchar2
Actuate String.
Class AcOrderedCollection
Class AcOrderedCollection
The base class for the Actuate ordered collection classes.
AcCollection
AcOrderedCollection
Description
Methods
See also
Method
Type
Description
AddToHead( )
N/A
AddToTail( )
N/A
Copy( )
N/A
GetAt( )
AnyClass
GetHead( )
AnyClass
GetTail( )
AnyClass
RemoveHead( )
AnyClass
RemoveTail( )
AnyClass
Class AcCollection
Class AcIterator
AcOrderedCollection::AddToHead method
Adds an item to the beginning of the collection.
Syntax
Parameter
435
AcOrderedCollection::AddToTail method
Description
See also
AcOrderedCollection::AddToTail method
Adds an item to the end of the collection.
Syntax
Parameter
Description
See also
AcOrderedCollection::Copy method
Copies the contents from another list to the end of this list.
Syntax
Parameter
Description
AcOrderedCollection::GetAt method
Returns the item at the specified location in the collection.
Syntax
Parameter
436
AcOrderedCollection::GetHead method
Description
Returns
See also
Use GetAt( ) to get a reference to the object at the specified location in the
collection. If you specify an invalid index, Actuate returns a run-time error.
A reference to the object at the specified location in the collection.
AcOrderedCollection::GetHead method
AcOrderedCollection::GetTail method
AcOrderedCollection::GetHead method
Returns the first item in the collection.
Syntax
Description
Returns
See also
AcOrderedCollection::GetTail method
Returns the last item in the collection.
Syntax
Description
Returns
See also
AcOrderedCollection::RemoveHead method
Removes the first item in the collection.
Syntax
437
AcOrderedCollection::RemoveTail method
Description
Returns
See also
Use RemoveHead( ) to delete the first object in the collection. If the collection
is empty, Actuate returns a run-time error. If you do not know if the collection
contains any objects, call IsEmpty( ) first.
A reference to the deleted object.
AcCollection::IsEmpty method
AcOrderedCollection::AddToHead method
AcOrderedCollection::RemoveTail method
Removes the last item in the collection.
Syntax
Description
Returns
See also
438
Class AcPage
Class AcPage
The base class for all pages.
AcComponent
AcReportComponent
AcVisualComponent
AcBaseFrame
AcBasePage
AcPage
Description
The AcPage class represents pages in your report. When you create the page
class, you set the size of the page to the size and orientation you need. The
Factory creates pages, one at a time as needed, when building reports. Pages
are persistent in the .roi file. The Viewer displays pages as you browse through
a report. Pages can contain flows and other page decoration controls. Pages do
not work with data rows.
Pages are identified with two numbers. The first is the page index which
identifies the position (starting with 1) of the page within the report. The other
is the page number, which you can display on the page in the format you
desire (such as 3-3, 3-4, 3-5, etc.). You can automatically number and display
pages in your report by using the functionality of the AcPageNumberControl
class. Also, you can create a formatted page number by setting the
PageNumberFormat property or by overriding the FormatPageNumber( )
method.
439
Class AcPage
X
Flow1
Flow top
Flow2
Flow
height
Flow midpoint
G
E
Flow bottom
Flow 1 and Flow 2 are flows. The items drawn with letters indicate various
controls. Controls fall into one of three groups depending on how changes in
size to the page affects the controls.
The first group are those that remain constant. A control remains constant if its
top is above the midpoint, and its bottom is above the flow bottom. In the
diagram, controls X, C, D, and F will remain unchanged as the page resizes.
The second group are controls that will maintain the same size, but the top
position will change to maintain a constant distance from the bottom of the
page. Controls fall into this group if their top is below the midpoint. In the
diagram, controls E, G, and Y fall into this group.
The third group are those controls that will maintain a constant position, but
will change size by the same amount that the flow changes size. A control falls
into this group if its top is at or above the flow top, and its bottom is at or
below the flow bottom. Controls A and B in the diagram fall into this group.
This allows you to create rulings alongside the flows.
There are times when you may want to have a ruling grow or shrink along
with the flow, but you want the ruling to be somewhat shorter than the flows
themselves. You can set the ResizeRegion property to indicate the tolerance for
resizing. If you set this property, the page will add its value to flow top and
subtract it from flow bottom to shrink the region that a control must span to be
resized.
440
Class AcPage
Factory protocol
Task
Method
Start( )
AddFrame( )
Finish( )
FormatPageNumber( )
Variables
Variable
Type
Description
PageIndex
Integer
PageNumber
String
Property
Type
Description
CanExpand
Boolean
MaximumHeight
Integer
Properties
441
AcPage::FormatPageNumber method
Methods
Method
Type
Description
FormatPageNumber( )
String
PageNumberFormat( )
String
See also
Class AcPageNumberControl
AcPage::FormatPageNumber method
Returns the formatted page number.
Syntax
Parameter
Description
Returns
See also
AcPage::PageNumberFormat method
Returns the page number format.
Syntax
Description
Returns
442
Class AcPageList
Class AcPageList
Instantiates and holds the pages for a report.
AcReportComponent
AcPageList
Description
The class AcPageList instantiates and holds the pages for a report. AcPageList
is an abstract class with methods for all types of page lists. Derived classes
provide the organization of the pages within the page list.
Page structure
The Actuate framework page structure consists of a page list, pages, flows,
and frames. A page list can contain multiple pages, a page can contain
multiple flows, and a flow can contain multiple frames. The following
illustration shows the page structure of page list, page, flow, and frame.
Frames
Data stream
Section
PageList
Events
Page
Flow
Frame
The page structure scheme works as follows: A page list receives a frame from
a section. The page list then attempts to place that frame on the current page.
The page attempts to place the frame in the current flow. If there is room for
the frame on the current page, the flow places the frame on the page. If there is
not room on the page for the frame, the page list builds another page. The
framework then places the frame on the new page.
The previous illustration also shows the roles of a data stream and section in
building a report. The data stream supplies data rows to the section. The data
443
Class AcPageList
stream is not concerned with how those data rows will be placed in a frame,
that is the responsibility of the section.
The section builds frames from the data rows supplied by the data stream and
hands them off to the page list. The section is not concerned with how those
frames are placed on the page, that is the role of the page list. In the simplest
case, the section does not respond to any eventsit simply feeds frames to the
page list. In a more advanced case, the section can respond to events such as a
page break and send special frames such as headers and footers to the page list
when needed.
A section can also contain logic that causes the page list to eject a page. For
example, the section could generate a blank even-numbered page at the end of
the section if it is needed for double-sided printing.
When the page list does not have a current page (for example, a page has
just been ejected) AddFrame instantiates a new page. It does so by asking
each active component in the structure hierarchy to instantiate a page by
calling the NewPage( ) method, starting with the frame passed to
AddFrame( ).
Normally, the frame does not contain page informationit does not care
where it gets placed on the page. In this case, the page list traverses up the
content structure searching for page placement information from
successively higher branches. If the search goes all the way to the top, then
the page list instantiates the default page as defined in the page list
subclass.
When the page list does have a current page, the page list determines
whether the frame will fit. If so, it just places the frame on the current page.
If not, the page list ejects the current page, instantiates a new page, and
places the frame on the new page.
Once the frame is placed on a page, the page list determines if the frame has
the PageBreakAfter property set. If so, the page list ejects the page. If not, the
process of adding frames continues.
444
Class AcPageList
Report section
Report Object
PageList
Page structure
Group section
Page
Flow
Frames
Content structure
Controls
Current page
When the page list is running, it always has knowledge of the first and last
pages. Normally, the page list also has knowledge of the current page.
However, there are times when the page list does not have a current page. For
example, when a page is ejected and before another page is built, the page list
does not have a current page. The page list must build another page, but
delays that decision as late as possible. Specifically, if a section has the
PageBreakAfter property set to True, the page list will not have a current page
until it receives another frame. The following figure illustrates the state of the
page list after page 4 is ejected. The page list does not point to any page, that is,
the connection to the current page is broken.
445
Class AcPageList
PageList
Page 1
Page 2
Page 3
Page 4
Subclassing AcPageList
AcPageList is an abstract class for all types of page lists. The derived classes
define the organization of the pages in the page list. The Actuate framework
provides three derived classes from AcPageList:
AcSimplePageList builds a page list with a series of body pages all of the
same style.
Variables
Variable
Type
Description
Pages
AcList
Method
Type
Description
EjectPage( )
N/A
GetCurrentFlow( )
AcFlow
Methods
446
GetCurrentPage( )
AcPage
GetCurrentPage
ACL( )
String
GetEstimatedPage
Count( )
Integer
GetFirstPage( )
AcPage
GetLastPage( )
AcPage
AcPageList::EjectPage method
Method
Type
Description
GetPageCount( )
Integer
NeedHeight( )
N/A
NewPage( )
AcPage
UseAccelerated
Checkpoints( )
Boolean
AcPageList::EjectPage method
Finishes the currently active page.
Syntax
Description
Sub EjectPage( )
The EjectPage( ) method finishes the currently active page. If no page is active,
EjectPage( ) does nothing.
AcPageList::GetCurrentFlow method
Returns the currently active flow on the current page.
Syntax
Description
Returns
447
AcPageList::GetCurrentPage method
AcPageList::GetCurrentPage method
Returns the current page in the page list.
Syntax
Description
Returns
AcPageList::GetCurrentPageACL method
Returns the Access Control List (ACL) for the current page in the page list.
Syntax
Description
Returns
AcPageList::GetEstimatedPageCount method
Provides an estimate of the number of pages needed for this report.
Syntax
Description
448
AcPageList::GetFirstPage method
Example
Function GetEstimatedPageCount( )
GetEstimatedPageCount = 100
End Function
AcPageList::GetFirstPage method
Returns the first page in the page list.
Syntax
Description
Returns
AcPageList::GetLastPage method
Returns the last page in the page list.
Syntax
Description
Returns
AcPageList::GetPageCount method
Returns the number of pages in the page list.
Syntax
Description
Returns
449
AcPageList::NeedHeight method
AcPageList::NeedHeight method
Ensures that a specified amount of vertical space is available in the current
flow, and if not, starts a new flow.
Syntax
Parameter
Description
AcPageList::NewPage method
Instantiates a new page.
Syntax
Description
Example
The following code example passes the value of TestIndex to the NewPage( )
method, so that the NewPage( ) method will know whether to instantiate
either the CustomerPage or the OrderPage component.
The call to Super::NewPage( ) is commented out:
Function NewPage( ) As AcPage
' Set NewPage = Super::NewPage( )
' Insert your code here
450
AcPageList::UseAcceleratedCheckpoints method
Returns
AcPageList::UseAcceleratedCheckpoints method
Creates additional page checkpoints in the .roi file.
Syntax
Description
Returns
451
Class AcPageNumberControl
Class AcPageNumberControl
A class used to calculate and display page numbers.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcPageNumberControl
Description
Use the page number control to calculate and display the current page number
or the total number of pages in the report. You can use the page number
control to display relative page numbers in the form, 1 of n. The page number
control can number pages for secure reports considering the visibility of pages
to the user. Pages in secure reports are visible to the user only if the user is
granted access to the page. For information about granting access to pages, see
Using page security later in this chapter.
ActualPageCount
ActualPageNofM
ActualPageNumber
FormattedPageNumber
VisiblePageCount
VisiblePageNofM
VisiblePageNumber
452
Class AcPageNumberControl
453
Class AcPageNumberControl
Properties
454
Property
Type
Description
PageNumber
Type
AcPage
Number
Style
AcPageNumberControl::GetActualPageCount method
Methods
See also
Method
Type
Description
GetActualPage
Count( )
Integer
GetActualPage
Number( )
Integer
GetFormattedPage
Number( )
String
GetVisiblePage
Count( )
Integer
GetVisiblePage
Number( )
Integer
PageNOfM( )
String
Class AcPage
Class AcPageList
AcPageNumberControl::GetActualPageCount
method
Returns the total page count for the report without considering page security.
Syntax
Description
See also
455
AcPageNumberControl::GetActualPageNumber method
AcPageNumberControl::GetActualPageNumber
method
Returns the current page number for the report without considering page
security.
Syntax
Description
See also
AcPageNumberControl::GetFormattedPageNumber
method
Returns the current page number (without considering page security) using
the format specified in the PageNumberFormat property for the page.
Syntax
Description
See also
AcPageNumberControl::GetVisiblePageCount
method
Returns the total page count for the report considering page security.
Syntax
Description
See also
456
AcPageNumberControl::GetVisiblePageNumber method
AcPageNumberControl::GetVisiblePageNumber
method
Returns the current page number for the report considering page security.
Syntax
Description
See also
AcPageNumberControl::PageNOfM method
Formats page number controls for display.
Syntax
Description
457
Class AcParallelSection
Class AcParallelSection
A class that fills two or more flows on the page.
AcComponent
AcReportComponent
AcSection
AcParallelSection
Description
458
First, if the only item in your report is the parallel section, then you can use
a simple page list, and make sure that the page in that page list has the
correct number of flows with the correct tags.
You can override the NewPage( ) method to instantiate the page you want
to use within the parallel section. This page takes precedence over any page
that the page list provides. If you do this, be sure to set the
PageBreakBefore and PageBreakAfter properties to True so that the parallel
section starts on the correct page, and no other components use the special
page.
You can provide a subpage that will fit inside the flow on your standard
page. To do this, drop a subpage component in the Subpage slot of the
parallel report.
Class AcParallelSection
The parallel section class is complex. It is usually best to use its methods as-is
rather than override them. The exceptions are the methods which affect the
formatting of parallel sections in HTML reports. Those HTML-related
methods are documented here.
Properties
Property
Type
Description
Content
AcReport
459
Class AcPopupMenu
Class AcPopupMenu
Allows the user to create pop-up menus in Basic.
Description
The AcPopupMenu class lets you create context menus. You create and use
menus in the Viewer in response to user actions, usually by pressing the right
mouse button. You respond to these user actions by overriding the set of user
event methods in AcVisualComponent. Using the methods in AcPopupMenu,
you can modify the standard menu or create your own menu. As a
convenience, Actuate automatically creates a menu in response to pressing the
right mouse button.
The methods in the AcPopupMenu class closely parallel their Windows
Software Development Kit (SDK) counterparts. These methods are
independent of the AFC class hierarchy, which means that you can create popup menus anywhere in your Viewer code.
To create a pop-up menu, populate it with menu items. Enable or disable
menu items as appropriate. Add cascading menus if you want. Finally, call
Run( ) to display or check the menu and let the user make a choice.
The menu works by associating subroutines with the menu items. The
subroutine can be a method on the menu itself or a method on another object.
When you instantiate a pop-up menu, the AFC framework creates a new
instance of the pop-up menu and attaches it to the given view. The view must
be an AcReportView provided as an argument to each of the user action
methods.
Variables
Variable
Type
Description
View
AcReportView
Method
Type
Description
AddCascade( )
Integer
AddItem( )
Integer
AddSeparator( )
N/A
Methods
460
AcPopupMenu::AddCascade method
Method
Type
Description
CheckMenuItem( )
N/A
EnableMenuItem( ) N/A
MakeMenu( )
N/A
Run( )
Integer
Executes a menu.
AcPopupMenu::AddCascade method
Adds a cascading menu.
Syntax
Parameter
Description
Returns
The AddCascade( ) method adds a cascading menu to the parent menu and
returns the integer position of the cascading menu. A cascading menu is a
submenu with each of its menu items renumbered from one. You must create
the menu first, then add it to its parent menu. The command argument is the
text to place in the parent menu. The command is added at the end of the
parent menu.
The menu ID of the added cascade menu.
AcPopupMenu::AddItem method
Adds an item to the menu.
Syntax
Parameter
command
The text string of the menu command.
461
AcPopupMenu::AddSeparator method
method
The method to associate with the menu command.
obj
The class that contains the method to associate with the menu command.
Description
The AddItem( ) method adds an item to the end of the menu, from the top
down. The command parameter is the text of the menu item, such as &Copy
or Follow &Link. The menu item can have an embedded ampersand, which
shows the access key for the menu in the standard Windows fashion. A double
ampersand (&&) in the menu command string results in a single displayed
ampersand (&). The return value is the position of the menu item in the menu,
and is the value that the user must pass to the EnableMenuItem method,
CheckMenuItem method, and so on.
Menu items are enabled and unchecked by default:
Use the first form of AddItem( ) to call methods on the menu class itself.
Use the second form when the method is defined in another class. The
method must be defined in the class the obj represents.
Every menu command causes an action. You specify the action in one of two
ways: First, you can call a method on the menu class itself. Second, you can
call a method on some other object. In either case, the method must be a
function that takes the same arguments as the user action methods on an
AcVisualComponent, and must return a Boolean.
Returns
Example
AcPopupMenu::AddSeparator method
Adds a separator (line) to the menu.
Syntax
Description
462
Sub AddSeparator( )
The AddSeparator( ) method adds a separator to the end of the menu.
AcPopupMenu::CheckMenuItem method
AcPopupMenu::CheckMenuItem method
Checks or unchecks a menu item.
Syntax
Parameter
item
The ID number of the menu item returned from AddItem( ).
check
True if the item is to be checked.
False if the item is to be unchecked.
Description
AcPopupMenu::EnableMenuItem method
Enables or disables a menu item.
Syntax
Parameter
Description
AcPopupMenu::MakeMenu method
Initializes a menu.
Syntax
Description
Sub MakeMenu( )
The MakeMenu( ) method is called by the AFC framework when a menu is
instantiated. Use this method to add, enable, and check default menu items for
the class.
You can override this method in a subclass of AcPopupMenu. Most of the
time, however, there is no need to subclass AcPopupMenu.
Chapter 3, AFC classes
463
AcPopupMenu::Run method
AcPopupMenu::Run method
Executes a menu.
Syntax
Description
Returns
464
Class AcProgressConnection
Class AcProgressConnection
Establishes a connection to a Progress Software database.
AcComponent
AcConnection
AcDBConnection
AcProgressConnection
Description
Variables
Variable
Type
Description
DatabaseList
String
Database name.
DllPath
String
Password
String
StartUpParameters
String
UserName
String
Properties
Property
Type
DatabaseList
String
Parameter
Description
-N TCP
-H <db-host>
465
Class AcProgressConnection
Property
Type
Parameter
Description
Dllpath
String
ESQL32.DLL
Actuate/Progress interface
software.
Password
String
ReadOnlyQuery
Boolean
Used to determine if
Actuate should add FOR
READ ONLY to SQL query.
StartUp
Parameters
String
UserName
-SV
-S
<broker-port>
-N TCP
-H
<broker-host>
String
When you connect to a Progress database through Actuate, you must specify
settings using DatabaseList and StartUpParameters. For DatabaseList, you
must use -db, -H, and -S to log on to the database. For StartUpParameters, you
must specify -SV, -H, -S and, -N to log into the Progress Open Interface Broker
(OIB).
If Progress Security is active, you can use the following optional DatabaseList
parameters to specify a user name and password:
You can log on to multiple databases using different user name and password
combinations. For example, you can enter the following string for the
DatabaseList parameter to log on to the sports and mktg databases:
-db sports -H ahost -S asvc -U aname -P apass -db mktg -H bhost -S bsvc
-U bname -P bpass
466
Class AcProgressConnection
Mapped to
Array
Character
Date
Logical
Integer
Decimal
Raw
Actuate Double.
Recid
Actuate Integer.
467
Class AcProgressConnection
The name extendedPrice becomes a name that can be used elsewhere in the
query, for example, in the WHERE clause or in the ORDER BY clause. For
Progress databases, Actuate replaces the name with the actual expression
before sending the query to the database.
If you define multiple SQL query data sources using the same Progress
connection, determine how ReadOnlyQuery should be set for each data
source. If ReadOnlyQuery should be set to different values depending on the
SQL query:
468
Class AcProgressConnection
Joins
e.Report Designer Professional can automatically create joins between tables.
Actuate attempts to create joins by matching the column names and data types
between the tables. If there is more than one matching column name and data
type, Actuate does not create a join. The developer must specify the join
manually in the Query Editor.
469
Class AcProgressSQL92Connection
Class AcProgressSQL92Connection
Establishes a connection to a Progress9 database.
AcComponent
AcConnection
AcDBConnection
AcProgressSQL92Connection
Description
Properties
If you are connecting to a remote database, specify the databases location by
entering a value in either the Host or ServiceOrPort property.
Property
Type
Description
Database
String
<db-name>
Database name.
DllPath
String
Acprg9.dll
Actuate/Progress9
interface library.
<db-host>
Host
FetchRowBuffer
Count
470
Parameter
Integer
Class AcProgressSQL92Connection
Property
Type
Parameter
Description
Password
String
ReadOnlyQuery
Boolean
ServiceOrPort
String
UserName
String
Mapped to
Bigint
Binary
Actuate String.
Bit
Character
Actuate String.
Date
Decimal
Double Precision
Float
471
Class AcProgressSQL92Connection
Mapped to
Integer
Numeric
Real
Smallint
Time
Actuate String.
Timestamp
Tinyint
Varbinary
Actuate String.
Varchar
Actuate String.
Database qualifiers
For most database connections, database qualifiers can be part of a SQL
identifier in a SQL statement. Progress9 does not have a database hierarchical
element that corresponds to an Actuate database qualifier. To be consistent
with other databases, Actuate assigns the database name to the database
qualifier for Progress9 connections. You must not use this database qualifier as
part of a SQL identifier for a Progress9 connection.
472
Class AcProgressSQL92Connection
Joins
Actuate supports all Progress9 join types. The following rules apply to joins
for Progress9 connections:
Only inner and left outer joins can be used in the FROM clause.
Joins in the FROM clause follow standard SQL syntax. Joins for left and right
outer joins in the WHERE clause follow a special syntax. You must add a
token, (+), to the side of the join for which matches are not required. All
rows from the opposite side are returned and nulls are returned for columns
where there are no matching values.
473
Class AcQuerySource
Class AcQuerySource
A class that processes a SQL query.
AcComponent
AcDataAdapter
AcDataSource
AcDatabaseSource
AcQuerySource
Description
AcQuerySource an abstract base class that provides the core logic for query
data sources that you build in the Actuate Query Editors. AcQuerySource
defines the methods for executing a SQL SELECT statement including:
Query source
SELECT
statement
Data rows
The normal way to create a query data source is to use the Actuate Query
Editor or the Textual Query Editor. You can, however, programmatically create
the query data source. If you do, you must override ObtainSelectStatement( )
to return the complete statement. You must also override
BindStaticParameters( ) (defined in AcDatabaseSource) to bind static
parameters and BindDataRow( ) (also defined in AcDatabaseSource) to bind
the data row to the cursor.
474
AcQuerySource::AddSortKey method
Methods
See also
Method
Type
Description
AddSortKey( )
N/A
GetStatementText( )
String
ObtainSelect
Statement( )
String
SetupAdHoc
Parameters( )
N/A
Class AcDataAdapter
Class AcDatabaseSource
Class AcDataRow
Class AcDataSource
Class AcDBConnection
Class AcSqlQuerySource
Class AcTextQuerySource
AcQuerySource::AddSortKey method
Specifies a sort key column at run time.
Syntax
Parameter
Description
475
AcQuerySource::GetStatementText method
If you are writing custom code that uses a query data source, your custom
code can call AddSortKey( ) to customize the sort order of the data. The value
you pass must match the column name or column alias that appears in the
SELECT clause of your SELECT statement.
When called from AcSqlQuerySource class, this method is available only if
you allow the SQL query source to assemble your statement from the
fragments.
AcQuerySource::GetStatementText method
Returns the text of the SELECT statement for the SQL query source.
Syntax
Description
Returns
AcQuerySource::ObtainSelectStatement method
Returns the SELECT statement of the query source.
Syntax
Description
Returns
AcQuerySource::SetupAdHocParameters method
Adds ad hoc parameters to the query.
Syntax
Description
See also
476
Sub SetupAdHocParameters( )
The AcQuerySource class calls SetupAdHocParameters( ) to enable your
derived class to set the value of its ad hoc parameters. Actuate normally
generates this method for you. If you programmatically create your class and
your class provides ad hoc parameters in the Requester, you must override
this method. Your override calls SetAdHocParameters( ) to set the value of
each parameter.
AcSqlQuerySource::SetAdHocParameter method
Class AcRecordBuffer
Class AcRecordBuffer
A data filter that converts a sequential data stream into one allowing random
access by buffering data rows on disk.
AcComponent
AcDataAdapter
AcDataFilter
AcSingleInputFilter
AcMemoryBuffer
AcRecordBuffer
Description
Many data sources provide only the ability to read rows in a sequential firstto-last order. However, there are times when you need to move through the
data in random order, perhaps making multiple passes over certain groups of
data to print the data first in a graph, then in a tabular format. The
AcRecordBuffer class acts as a converter to change a sequential data source
into a random-access data stream. It does so by storing (buffering) data rows
on disk as you read them so that you can return back to them again later. You
do not need to use this class if your data source already provides random
access.
This class is similar to the AcMemoryBuffer class, except that it allows you to
handle larger numbers of rows. You must also ensure that AcRecordBuffer can
create and return persistent copies of the input data rows.
Because this data filter supports random access, the CanSeek( ) method
returns True, and all the various random-access methods such as SeekTo( ) and
Rewind( ) are available.
AcRecordBuffer lets you manipulate data as if you had direct access to the
input source. You can locate rows by specifying a row number with SeekTo( )
or by specifying a relative position with SeekBy( ). You can rewind to the
beginning of the data buffer with Rewind( ) or advance to the end with
SeekToEnd( ). The row number starts at 1. (See AcDataAdapter for details.)
Although not required, you may choose to flush the buffer occasionally to
remove from memory those rows that you no longer need. For example, if you
need to make two passes over the data for each customer, you can flush the
rows for each customer as you complete the process. Flushing the buffer
causes no change to the way you access rows you simply will not be able to
seek back to revisit the flushed rows. See the FlushBuffer( ) and
FlushBufferTo( ) methods for details.
477
Class AcRectangleControl
Class AcRectangleControl
A class you use in the report design to display a rectangle.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcRectangleControl
Description
A rectangle is a content control that is fully defined at design time. You can
specify its color, size, and the curve of its corners. Using the two Rounding
properties, X and Y, you specify numeric values to control the roundness of the
rectangles corners. The higher the numbers, the rounder the corners. Actuate
creates rounded corners by centering an ellipse in the rectangle, and clipping
the area within the borders of the rectangle and the ellipse, as the following
illustration shows.
X
X
Actuate clips the areas
within the borders of the
ellipse and rectangle
Variables
Variable
478
Type
Description
FillColor
AcColor
LineStyle
AcLineStyle
Rounding
AcRounding
Class AcRectangleControl
Properties
Property
Type
Description
FillColor
AcColor
LineStyle
AcLineStyle
Rounding
AcRounding
479
Class AcReport
Class AcReport
The root object that contains all objects in a report.
AcComponent
AcReportComponent
AcReport
Description
Like the main program in an application, the report object is the entry point to
the report. In the structure pane, the report object appears at the top.
Immediately contained within it are the:
The report section starts the processes for building the report and for
displaying the report at run time.
To build the report, the report object:
Class AcReport
and product category role are real roles in the Report Encyclopedia, but the
combination of the two roles is a virtual security ID. You can customize the
security IDs to control access to pages in the following way:
Override the Start or Finish method for the report and modify the autoarchive public variables.
You modify the public variables when the auto-archive rules are the same for
all report objects generated by the report. If your report uses report bursting to
produce multiple .roi or .row files and you must specify different auto- archive
rules for the individual files, override the SetROIAgingProperties or
SetROWAgingProperties method to set the auto-archive rules. These methods
are called for each .roi or .row file.
481
Class AcReport
Variables
482
Variable
Type
Description
Age_ArchiveBefore
Delete
Constant
Age_ArchiveBefore
Delete: File must be
archived before it is
deleted. If no archive
driver is installed, this
option is ignored. This is
one of the values for the
variable Aging_Options.
Age_Delete
Dependencies
Constant
Age_Delete
Dependencies: When this
file is deleted, delete any
files that depend on it.
This is one of the values
for the variable
Aging_Options.
Age_NoExpiration
Constant
Age_NoExpiration: Do
not delete this file. This is
one of the values for the
variable Aging_Options.
Age_NoOptions
Constant
Age_NoOptions: No
auto-archive rules have
been set for this file. The
file inherits its autoarchive rules. Actuate
searches the Report
Encyclopedia
containment hierarchy to
to find auto-archive rules
for the file. This is one of
the values for the
variable Aging_Options.
Class AcReport
Variable
Type
Description
Aging_Options
Integer
ExpirationAge
Integer
ExpirationDate
Date
LayoutOrientation
AcLayoutOrientation
MaxVersCount
Integer
Pages
AcPageList
Root
AcReportComponent
483
Class AcReport
Properties
484
Property
Type
Description
Content
AcReportComponent
CustomRequesterName
String
GlobalDHTMLCode
String
LayoutOrientation
AcLayoutOrientation
Locale
String
PageList
AcPageList
Class AcReport
Property
Type
Description
ReportEncoding
String
SortParamsByAlias
Boolean
XMLCharSet
String
XMLDocType
String
XMLFileDescription
String
XMLFileExtension
String
485
Class AcReport
Property
Type
Description
XMLIndent
Integer
XMLMimeType
String
Methods
486
Method
Type
Description
GenerateXMLData
File( )
Boolean
GetContent( )
AcReport
Component
GetCustomFormat( )
N/A
GetFactoryLocale( )
String
GetGlobalDHTML
Code( )
String
GetHtmlDir( )
String
GetLayout
Orientation( )
AcLayout
Orientation
GetPageList( )
AcPageList
GetPrintLocale( )
String
GetTwipsPer
Pixel( )
Integer
Class AcReport
Example
Method
Type
Description
GetUserACL( )
String
GetViewLocale( )
String
HasPageSecurity( )
Boolean
NewContent( )
AcReport
Component
NewPageList( )
AcPageList
OnFinishViewer( )
N/A
OnStartViewer( )
N/A
RoiIsTemporary( )
Boolean
SetLayout
Orientation( )
N/A
SetROIAging
Properties( )
N/A
SetROWAging
Properties( )
N/A
SuggestRoi
Name( )
String
XMLDataProlog( )
N/A
The following example shows how to change the auto-archive rules for a
report object. The Finish method override modifies the rule to automatically
delete the .roi file 4 hours after it is created. The code converts the amount of
time from days to minutes and sets the public variable ExpirationAge to the
result:
Sub Finish
Force the file to always expire 4 hours after creation
ExpirationAge = 10 * 24
End Finish
The following example shows how to ensure that the .roi file is never deleted.
To do this, the code sets the Aging_Options variable to the constant
Age_NoExpiration:
487
AcReport::GenerateXMLDataFile method
Sub Finish
Never delete the file
AgingOptions = Age_NoExpiration
End Finish
See also
Class AcPageList
AcReport::GenerateXMLDataFile method
Builds an XML file from the report.
Syntax
Parameter
Description
Returns
AcReport::GetContent method
Returns the topmost component in the report.
Syntax
Description
AcReport::GetCustomFormat method
Retrieves the generated Excel file from the View process.
Syntax
Description
Sub GetCustomFormat( )
You use the Actuate Basic Excel classes to export report data to an Excel
spreadsheet. Use the GetCustomFormat method to retrieve the generated
Excel file.
For information about generating and displaying Excel files, see Programming
e.Reports.
488
AcReport::GetFactoryLocale method
AcReport::GetFactoryLocale method
Specifies the locale to use for report generation.
Syntax
Description
By default, the value of the Locale property is used for report generation. To
set a different locale for report generation, override the GetFactoryLocale( )
method.
The value this function returns replaces the value of the Locale property of the
generated report.
Returns
AcReport::GetGlobalDHTMLCode method
Appends global custom browser code to every DHTML page generated by the
DHTML converter.
Syntax
Description
AcReport::GetHtmlDir method
Returns a location on the client for the HTML files that make up the HTML
report.
Syntax
Parameter
Description
Returns
489
AcReport::GetLayoutOrientation method
AcReport::GetLayoutOrientation method
Returns the report orientation.
Syntax
Description
Returns
AcReport::GetPageList method
Returns the list of pages in the report.
Syntax
Description
AcReport::GetPrintLocale method
Specifies the locale to use for printing the report on the report server.
Syntax
Description
By default, the value of the Locale property is used for printing the report on
the report server. To set a different locale for printing the report, override the
GetPrintLocale( ) method.
The value this function returns is used only for report printing on the server, it
does not replace the value of the Locale property of the generated report.
Returns
490
AcReport::GetTwipsPerPixel method
AcReport::GetTwipsPerPixel method
Sets the ratio of twips per pixel.
Syntax
Description
AcReport::GetUserACL method
Returns the access control list (ACL) for the current user.
Syntax
Parameter
Description
Returns
491
AcReport::GetViewLocale method
Example
In this example, the actual security IDs Manager and Product Category are
combined to create the virtual security ID, Manager_Product Category:
Function GetUserACL( acl As String ) As String
GetUserACL = Super::GetUserACL( acl )
Dim tail As String
Dim mgrAs String
Dim prodAs String
Dim posnAs Integer
Dim sid As String
' Loop to get each SID and check if we want it.
tail = acl
Do While tail <> ""
posn = InStr( tail, "," )
If posn = 0 Then
sid = Trim$( tail )
tail = ""
Else
sid = Trim$( Left$( tail, posn - 1 ) )
tail = Trim$( Mid$( tail, posn + 1 ) )
End If
' Check if it is a manager SID or a product
' category SID.
If InStr( sid, "Manager" ) > 0 Then
mgr = sid
ElseIf InStr( sid, "Product Category" ) > 0 Then
prod = sid
End If
Loop
' Build the special ACL and add it to the list.
If mgr <> "" And prod <> "" Then
acl = acl & ", " & mgr & " " & prod
End If
GetUserACL = acl
End Function
AcReport::GetViewLocale method
Specifies the locale to use for report viewing.
Syntax
492
AcReport::HasPageSecurity method
Description
By default, the value of the Locale property is used for report viewing. To set a
different locale for report viewing, override the GetViewLocale( ) method.
The value this function returns is used only for report viewing, it does not
replace the value of the Locale property of the generated report.
Returns
AcReport::HasPageSecurity method
Returns True if the report uses page security.
Syntax
Description
Returns
AcReport::NewContent method
A generated method that creates the top-level section.
Syntax
Description
Returns
AcReport::NewPageList method
A generated method that creates the page list for the report.
Syntax
Description
493
AcReport::OnFinishViewer method
Generally, you do not need to override NewPageList( ). Instead, you use the
Design Editor to specify the PageList class to use for the report. Alternatively,
you can override NewPageList( ) to create the page list with a different page
style. If you override this method, replace it. Do not call the superclass
method.
Returns
See also
AcReport::OnFinishViewer method
Called by the Viewer before it closes the report object instance (.roi) file.
Syntax
Description
See also
Sub OnFinishViewer( )
This method is called by the Viewer before it closes the report instance (.roi)
file. You can override OnFinishViewer( ) to perform tasks at the completion of
viewing, for example:
AcReport::OnStartViewer method
AcReport::OnStartViewer method
Called by the Viewer before it opens the report instance (.roi) file.
Syntax
Description
See also
Sub OnStartViewer( )
This method is called by the Viewer before it opens the report instance (.roi)
file. You can override OnStartViewer( ) to perform tasks prior to viewing, for
example, to initialize a DDE link.
AcReport::OnFinishViewer method
AcReport::RoiIsTemporary method
Override RoiIsTemporary( ) to determine whether to discard or keep the .roi
file after the Factory generates the report.
Syntax
494
AcReport::SetLayoutOrientation method
Description
Returns
RoiIsTemporary( ) determines whether or not to keep the .roi file. For nonHTML reports, the default is to keep the .roi file. For HTML reports, the
default is to discard the .roi file after the HTML report is generated. Override
AcHtmlReport::RoiIsTemporary to set the return value to False if you want to
keep both the .roi and HTML files.
True to discard .roi file.
False to keep the .roi file.
AcReport::SetLayoutOrientation method
Sets the layout of the report.
Syntax
Parameter
Description
RightToLeft
LeftToRight
This method is used for right to left language support. It sets the report, and its
sub reports, to right to left or left to right layout.The layout is set regardless of
the operating system or locale.
SetLayoutOrientation can be called at report generation time, but not at view
time.
Example
This example shows how to override the Finish method of a text control to set
the report layout to right to left for an Arabic report. The layout is set at view
time:
Sub Finish( )
Super::Finish( )
' Set Report layout to Right to left for Arabic data
If DataValue = "Arabic" Then
Container.GetReport( ). SetLayoutOrientation(RightToLeft)
Else
Container.GetReport( ). SetLayoutOrientation(LeftToRight)
End If
End Sub
495
AcReport::SetROIAgingProperties method
AcReport::SetROIAgingProperties method
Sets the auto-archive rules for an .roi file.
Syntax
Parameter
Description
Example
See also
AcReport::SetROWAgingProperties method
AcReport::SetROWAgingProperties method
Sets the deletion and optionally the archive rule for .row files.
Syntax
Parameter
496
AcReport::SuggestRoiName method
Description
See also
AcReport::SetROIAgingProperties method
AcReport::SuggestRoiName method
Use SuggestRoiName( ) to specify a name for .roi.
Syntax
Description
Override SuggestRoiName( ) to customize the name for the .roi file generated
by the Factory. The .roi file name can include the protocol and path for this
report. The .roi file name can include a value of a runtime parameter or data
row variable, or the run date of the report.
The .roi name syntax is:
[<protocol>:]/<path>/<report name>
Parameter
<protocol>
The protocol to use to store the .roi. Supported protocols are the following.
Protocol
Description
file
rotp
<path>/<report name>
The .rois path name. Paths can be absolute or relative.
497
AcReport::SuggestRoiName method
Returns
Example
If you specify the .roi name using a relative path in SuggestROIName, the
Factory concatenates path information from SuggestRoiName to any path
information from the Output File Name parameter. For example, if the
Output File Name parameter contains file:C:\Forecast\East\
Quarterly.roi and SuggestRoiName returns Q1\Forecast.roi, the .roi
name generated is file:C:\Forecast\East\Q1\Forecast.roi. The report
name provided by SuggestRoiName is used by the Factory to name the .roi.
Custom .roi names generated by running this report application have names
such as State_ca.roi or State_ny.roi.
In this example, the report application uses report bursting to generate
multiple .roi files from a single .rox. Each .roi contains a census report for a
different state. Each states report should be stored in a folder in the Report
Encyclopedia named for the geographical region that contains the state. To
satisfy this report requirement, the Output File Parameter includes a folder
name that shows the type of report, such as census reports:
Function SuggestRoiName( row As AcDataRow ) As String
SuggestRoiName = row.GetValue ( Region) & \ & "State_" &
row.GetValue ( State) & ".roi"
End Function
498
AcReport::XMLDataProlog method
AcReport::XMLDataProlog method
Creates the XML prolog for a custom XML data file.
Syntax
Parameter
Description
499
Class AcReportComponent
Class AcReportComponent
The base class for all sections, pages, frames, and controls.
AcComponent
AcReportComponent
Description
AcReportComponent is the base class for all reports, sections, frames, controls,
page lists, flows, and pages. It establishes the core protocol for how objects in a
report are created and how they fit together in the reports containment
structure. The Build methods are key protocol elementsthey specify the logic
for creating the objects and their contents. Build( ) is always called from a
container object. At the topmost level of the structure, the Build( ) method for
the report object creates the next level object, the report, and calls the Build( )
method for the report to create the reports contents. Each container object
performs this task until all objects and their contents are built, as shown in the
following figure.
Structure
Implementation
Report
Build( )
Report Section
New( )
Start( )
Build( )
Frame
Finish( )
New( )
Controls
Start( )
New( )
Start( )
Build( )
Build( )
Finish( )
Finish( )
Most Actuate objects, such as sections and frames, can contain one or more
content objects. AcReportComponent provides methods to identify containers
and their contents. References to all these objects are stored in a list object. The
framework or applications can easily traverse the list object by using the
functionality of the AcIterator class. The following figure shows the
relationships between objects in the structure hierarchy.
500
Class AcReportComponent
Report
FirstContent
Container
Group section
Container
FirstContent
Container
Successor
Frame1
FirstContent
Frame2
Container
Successor
Control1
Control2
Page hierarchy
Report
Report section
Group section
Frame
Frame
Page list
Page
Group section
Frame
Flow
Frame
Frame
Page
Flow
Frame
Frame
Flow
Frame
Frame
Flow
Frame
Frame
Frame
501
Class AcReportComponent
creates an ACL for the page and the View or print process creates an ACL for
the current user. The View or print process determines whether the current
user can view the page by comparing the pages ACL with the current users
ACL. If a matching security ID is found, the page is visible to the current user.
Developers modify the list of security IDs in the ACL for the page or the
current user to customize page security.
Most of the time, you create an ACL by entering security IDs directly in the
GrantExp property on the section or by entering an expression that evaluates
to a list of security IDs. Nested sections inherit page security from their
container components. The Factory builds an ACL for a page from the frame
components ACL. The Factory provides methods to dynamically change the
contents of an ACL for a page. The View or print process provides a method to
modify the content of the current users ACL. The following process
highlights the methods used by the Factory and the view process to build the
ACL for the page and the current user.
Factory events
As the Factory builds a section, it passes the frames contained in the section to
the page list. The Factory builds the ACL for the page in the following way:
The section calls GetComponentACL to get its own ACL and appends it to
the ACL for the frame.
Most of the time, the ACL corresponds to the GrantExp property for the
section. If you want to customize the ACL for the section, override the
SetSecurity method or create your own Actuate Basic function to do this.
The previous step is repeated until all container sections are processed. The
ACL resulting from steps 1 through 4 is the ACL for the frame.
If the ACL for the frame is different from the ACL for the previous frame,
the Factory inserts a page break.
To customize an ACL for a section and preserve the inheritance of security IDs
from its containers, override the GetComponent method. To customize an
ACL for a section and prevent it from inheriting security IDs from its
containers, set the CascadeSecurity property on the section to False.
502
Class AcReportComponent
The View or print process builds a list of visible pages for the current user.
The View or print process compares the ACL for the current user to the
ACL for the page to determine whether to add the page to the list of visible
pages. If one of the security IDs for the current user is in the pages ACL,
the View or print process adds the page to the list.
The View or print process uses the list of visible pages to build the table of
contents and support display, print, and search operations.
503
Class AcReportComponent
Subclassing AcReportComponent
Most of the time, you do not derive directly from AcReportComponent or
override methods in this class because AcReportComponent establishes the
containment and build protocols for all classes of persistent objects.
Variables
Variable
Type
Description
Container
AcReport
Component
RowCount
Integer
TocEntry
String
Properties
504
Property
Type
Description
TocAdd
Component( )
AcTOC
NodeType
TocAdd
Contents( )
Boolean
function
Class AcReportComponent
Property
Type
Description
TocValueExp
Expression
XMLAdd
Contents
Boolean
XML
Attributes
String
XMLTag
String
XMLType
String
505
Class AcReportComponent
Methods
506
Method
Type
Description
Abandon( )
N/A
AddContent( )
N/A
ApplyVisitor( )
N/A
Build( )
N/A
Overridden by container
objects to build objects that do
not use data rows.
BuildFromRow( )
AcBuildStatus
DetachContent( )
N/A
DetachFromContainer( )
N/A
FindContainerByClass( )
AcReport
Component
Finish( )
N/A
GenerateXML( )
N/A
GetComponentACL( )
String
GetFullACL( )
String
GetConnection( )
AcConnection
Class AcReportComponent
Method
Type
Description
GetContainer( )
AcReport
GetContentCount( )
Integer
GetContentIterator( )
AcIterator
GetContents( )
AcOrdered
Collection
GetDataStream( )
AcDataStream
GetFirstContent( )
AcReport
Component
GetFirstContentFrame( )
AcFrame
GetPage( )
AcPage
GetPageIndex( )
Integer
GetPageList( )
AcList
GetReport( )
AcReport
GetRowCount( )
Integer
GetTocEntry( )
String
GetXmlText( )
String
HasContents( )
Boolean
507
AcReportComponent::Abandon method
See also
Method
Type
Description
IsContainer( )
Boolean
IsFrame( )
Boolean
IsLeaf( )
Boolean
IsVisual( )
Boolean
OnRow( )
N/A
SetTocEntry( )
N/A
Start( )
N/A
Class AcPageList
Class AcSection
Class AcVisualComponent
Class AcXMLDataVisitor
AcReportComponent::Abandon method
Use Abandon( ) to remove a component that is no longer needed.
Syntax
Description
Sub Abandon( )
The Abandon( ) method removes and unpins the component that is currently
being referenced.
AcReportComponent::AddContent method
Adds a content component to the current component.
Syntax
Parameter
508
AcReportComponent::ApplyVisitor method
Description
See also
AcReportComponent::ApplyVisitor method
Use ApplyVisitor( ) to revisit components in your report to do special
processing such as creating output in a text file or spreadsheet.
Syntax
Parameter
Description
Example
See also
Class AcVisitor
509
AcReportComponent::Build method
AcReportComponent::Build method
Overridden by subclasses to build objects that do not use data rows.
Syntax
Description
See also
Sub Build( )
Build( ) is called by container objects and is overridden by derived content
classes to create their contents. A report, for example, overrides Build( ) to
create all the pages in the report. Similarly, a frame overrides Build( ) to create
all the controls it contains.
AcReportComponent::BuildFromRow method
AcReportComponent::BuildFromRow method
Overridden by derived classes to build objects that use data rows.
Syntax
Parameter
Description
Returns
See also
AcReportComponent::DetachContent method
Detaches a report component from its container component.
Syntax
Parameter
Description
510
AcReportComponent::DetachFromContainer method
you might decide that for certain data rows you want to omit certain controls.
This method does not delete the component. The component still resides in the
persistent .roi file, but it no longer appears in the Viewer.
AcReportComponent::DetachFromContainer
method
Detaches a report component from its container component.
Syntax
Description
Sub DetachFromContainer( )
Most report components keep track of the container component that contains
the component. There are times when you might decide to remove an object
from its container. For example, you may decide that for certain data rows you
want to omit certain controls. This method does not delete the component. The
component still resides in the persistent .roi file, but it no longer appears in the
Viewer.
AcReportComponent::FindContainerByClass
method
Returns a reference to the named container object in the structure hierarchy.
Syntax
Description
Returns
See also
For information about finding a container object in the page hierarchy, see
AcVisualComponent::FindPageContainerByClass method.
511
AcReportComponent::Finish method
AcReportComponent::Finish method
Contains the logic for completing an object.
Syntax
Description
Sub Finish( )
Finish( ) contains the logic for completing an object.
After Finish( ) has finished processing, the Persistent Object Storage
Mechanism (POSM) writes the objects to the report instance (.roi) file as
needed. POSM optimizes memory usage by swapping objects in and out of
memory.
Derived classes can override Finish( ) to do additional work when the Factory
finishes processing the component. The derived version must always call the
superclass version after doing the custom work.
About UnpinObject( )
UnpinObject( ) is an Actuate Basic function that works with POSM.
UnpinObject( ) releases an object that was previously pinned to memory by
PinObject( ).
Objects that are pinned to memory are not written to disk. Objects that hold
references to transient objects must be pinned so they are not written to disk,
maintaining the reference to the transient object. When an object is finished
and ready to be written to disk, Finish( ) calls UnpinObject( ) to release the
object.
See AcBaseFrame::GetControl method for an example showing how to use the
Finish( ) method.
See also
AcBaseFrame::GetControl method
AcReportComponent::Start method
AcReportComponent::GenerateXML method
Generates XML for components that have a custom XML type.
Syntax
Parameter
Description
512
AcReportComponent::GetComponentACL method
using the Actuate Basic Print statement to write the custom XML to the
channel directly. Use the channel in the AcXMLDataVisitors XMLFile
variable.
Example
In this example, the code adds a comment to the custom XML that provides
the date when the XML data was generated:
Sub GenerateXML( visitor As AcXMLDataVisitor )
Dim channel As Integer
channel = visitor.XMLFile
Print #channel, <!- Generated on
Print #channel, Today( ); -!>
End Sub
AcReportComponent::GetComponentACL method
Returns the access control list (ACL) for this component.
Syntax
Description
Returns
See also
AcReportComponent::GetFullACL method
AcReportComponent::GetConnection method
Returns the connection associated with this component.
Syntax
Description
513
AcReportComponent::GetContainer method
framework continues searching with the next enclosing section until either a
connection is found or until the search reaches the root of the report.
The framework uses this method to locate the connection to use for a data
stream when you do not explicitly specify a connection. This allows you to
create a sequential report that will print five subreports about your customer
database. If you place the database connection on the topmost sequential
section, then all the nested reports share this connection by using this method
to search upward through the hierarchy to find the connection.
Returns
AcReportComponent::GetContainer method
Returns a reference to the container object for this component.
Syntax
Description
Returns
See also
AcVisualComponent::GetPageContainer method
AcReportComponent::GetContentCount method
Returns the number of content items in a component.
Syntax
Description
Returns
514
AcReportComponent::GetContentIterator method
AcReportComponent::GetContentIterator method
Returns an iterator over the contents of this component.
Syntax
Description
Returns
AcReportComponent::GetContents method
Returns a handle to the collection of contents for this component.
Syntax
Description
Returns
AcReportComponent::GetDataStream method
Returns the data stream that is associated with this component.
Syntax
Description
515
AcReportComponent::GetFirstContent method
stream positioned at the same row as it was before the nested report started, or
your outer report produces incorrect results.
Returns
AcReportComponent::GetFirstContent method
Gets the first content component.
Syntax
Description
Returns
AcReportComponent::GetFirstContentFrame
method
Gets the first content frame (if any) for the current component.
Syntax
Description
Returns
516
AcReportComponent::GetFullACL method
AcReportComponent::GetFullACL method
Returns the access control list (ACL) for this component combined with the
other container components in the structure hierarchy.
Syntax
Description
Returns
AcReportComponent::GetPage method
A Viewer method that returns the page that a particular object first appears on.
Syntax
Description
Returns
See also
517
AcReportComponent::GetPageIndex method
AcReportComponent::GetPageIndex method
A Viewer method that returns the number of the page that an object is on.
Syntax
Description
Returns
AcReportComponent::GetPageList method
Returns the page list associated with the report that contains this component.
Syntax
Description
Returns
AcReportComponent::GetReport method
Returns the report that contains this component.
Syntax
Description
Returns
Example
518
AcReportComponent::GetRowCount method
AcReportComponent::GetRowCount method
Returns the number of rows that this component has processed.
Syntax
Description
Returns
AcReportComponent::GetTocEntry method
Gets the text of the TOC entry.
Syntax
Description
AcReportComponent::GetXMLText method
Returns the value for an XML attribute or element.
Syntax
Description
Call GetXMLText( ) to retrieve the value for an XML attribute or element. If the
component is a data control, GetXMLText( ) returns the value of the GetText
function formatted for XML. Override this method to modify the data value
for your custom XML format. For example, you can encode numbers as strings
or translate codes from one set of values to another. If you override
GetXMLValue, you must return the XML value as a string using the standard
XML quotes. Call ConvertToXML at the end of your code to have the function
add the quotes required by XML.
Example
This example shows one way to translate codes from one set of values to
another. A control in the report design displays transaction type as Credit or
Debit. The XML DTD defines the transaction format as TransType=C or D.
The following code translates the data values to be consistent with the DTD:
519
AcReportComponent::HasContents method
Returns
See also
XML value in string format. By default, Actuate returns the value of GetText( )
formatted for XML if the control is a data control. For other components,
Actuate returns a blank string.
For information about ConvertToXML, see the Actuate Basic Language
Reference.
AcReportComponent::HasContents method
Returns whether the component has at least one content.
Syntax
Description
Returns
AcReportComponent::IsContainer method
Determines whether a component can have contents.
Syntax
Description
Returns
See also
520
AcReportComponent::IsLeaf method
AcReportComponent::IsFrame method
AcReportComponent::IsFrame method
Checks whether the component is a frame.
Syntax
Description
Returns
AcReportComponent::IsLeaf method
Determines whether a component cannot contain contents.
Syntax
Description
Returns
See also
AcReportComponent::IsContainer method
AcReportComponent::IsVisual method
Checks whether or not the component is a visual component.
Syntax
Description
Returns
521
AcReportComponent::OnRow method
AcReportComponent::OnRow method
Called for each new row.
Syntax
Description
Example
Sub OnRow( )
Called for each new row.
The following example shows how to create a distinctive look for the sales
reports of three sales offices within the same company. View the code used in
this example in a fuller context by opening Examples/Condtnl.rod,
highlighting the group section component OfficeGroup, and examining its
OnRow( ) method.
The following code sets a custom variable, ContentsFrame, in OfficeGroup.
When the code is finished executing, the variable ContentsFrame will contain
one of three possible frames, BostonFrame, NewYorkFrame, or
PhiladelphiaFrame. The choice of the correct frame depends upon the value of
the offices_officeID variable of the current row. For instance, if offices_officeID
is 1, then the variable ContentsFrame will contain BostonFrame.
This example does not actually instantiate any frame as content for the
OfficeGroup group section in Condtnl.rod it merely identifies which frame
should be instantiated as content. The OfficeGroup components
NewContent( ) method determines the correct frame to instantiate by
inspecting the ContentsFrame variable you set in the OnRow( ) method:
Sub OnRow( row As AcDataRow )
Dim currentRow As ConditionalExampleDataRow
Set currentRow = row
Select Case currentRow.offices_officeID
Case 1
Set ContentsFrame = New Persistent BostonFrame
Case 2
Set ContentsFrame = New Persistent NewYorkFrame
Case 3
Set ContentsFrame = New Persistent PhiladelphiaFrame
End Select
'Notice that the call to the super occurs here, at the end of the custom code
Super::OnRow( row )
End Sub
522
AcReportComponent::SetTocEntry method
AcReportComponent::SetTocEntry method
A generated method that sets the text of a TOC entry.
Syntax
Description
Sub SetTocEntry( )
SetTocEntry( ) uses the TocValueExp property value to assign table of contents
names.
AcReportComponent::Start method
Contains the logic for preparing an object for the build process.
Syntax
Description
Sub Start( )
Start( ) calls PinObject( ) and prepares an object for the build process.
Derived classes can override Start( ) to do additional work when the Factory
starts processing the component. The derived version must always call the
superclass version before doing the custom work.
About PinObject( )
PinObject( ) is an Actuate Basic function that works with the Persistent Object
Storage Mechanism (POSM). POSM writes persistent objects to the report
instance (.roi) file. It also optimizes memory usage by swapping objects in and
out of memory as needed.
PinObject( ) pins an object to memory so that it is not written to disk. Objects
that hold references to transient objects must be pinned so that they maintain
their references to the transient object.
See also
AcReportComponent::Finish method
523
Class AcReportController
Class AcReportController
Issues Viewer commands to a report.
Description
Methods
Method
Type
Description
AttachReport( )
Boolean
AttachToThisReport( )
Boolean
FollowLink( )
Boolean
ShowNextPage( )
N/A
ShowPage( )
N/A
ShowPrevPage( )
N/A
AcReportController::AttachToThisReport method
Attaches the report controller to the current report.
Syntax
Description
Returns
524
AcReportController::AttachReport method
AcReportController::AttachReport method
Attaches the report controller to the specified report.
Syntax
Parameter
Description
Returns
AcReportController::FollowLink method
Executes a link to the destination component.
Syntax
Parameter
Description
525
AcReportController::ShowNextPage method
Description
\a
\b
\t
\n
\f
\r
\\
[]
[char-list]
[a-z0-9]
[a-z-]
[^a-z0-9]
[^]
[?] or \?
[\3] or \#
[*] or \*
[[] or \[
[]] or \]
[\[-\]]
[\1-\377]
[\x100-\xffff]
AcReportController::ShowNextPage method
Displays the next page.
Syntax
526
Sub ShowNextPage( )
AcReportController::ShowPage method
Description
Displays the page following the current page. If the current page is the last
page, ShowNextPage stays on the current page.
AcReportController::ShowPage method
Displays the specified page.
Syntax
Parameter
Description
AcReportController::ShowPrevPage method
Displays the previous page.
Syntax
Description
Sub ShowPrevPage( )
Displays the page previous to the current page. If the current page is the first
page, ShowPrevPage stays on the first page.
527
Class AcReportSection
Class AcReportSection
A class that builds a report from a data stream.
AcComponent
AcReportComponent
AcSection
AcDataSection
AcReportSection
Description
The report section class builds a report from rows read from a data stream. The
report section is a kind of data section, and so it provides a Before and After
frame, contents, and a page header and footer. The report section inherits a
connection slot from AcSection, and adds the slot to the specified data stream.
Factory protocol
The following table shows how a report section works in the Factory.
Task
Method
New( )
Start( )
Build( )
BuildFromRow( )
Finish( )
528
Class AcReportSection
Placing a connection
Typically when you create a report section, you place the connection in the
Connection slot of the data stream itself. However, if you want to share the
connection with nested sections, you should place the connection in the
Connection slot of the report section. See the GetConnection( ) method for
details.
529
Class AcReportSection
If you place the connection in the Connection slot of the report section, the
report will open the connection in Start( ) method of the report section. If you
want to share a connection defined in a section that appears above this report
in the structure hierarchy, leave both the report section and data stream
Connection slots empty. The framework automatically searches to find the
shared connection. As described in AcSection, you can customize how the
report obtains and opens the connection. See AcSection::ObtainConnection( )
for details.
Build( )
530
Calls...
To...
AcSection::
ObtainConnection( )
AcReportSection::
ObtainDataStream( )
AcReportSection::
NewDataStream( )
AcReportComponent:
GetConnection( )
By default, called by
ObtainDataStream( ) to locate the
connection to associate with the data
stream.
AcReportSection::
StartDataStream( )
AcDataAdapter::
Fetch( )
Class AcReportSection
Protocol
Method
Finish( )
Calls...
To...
AcReportSection::
FinishDataStream( )
AcSection::
FinishConnection( )
You can override any of the methods in the middle column to customize your
section or data adapter to suit your application.
In the Content slot of the outer report, create another report to query the
orders you want to retrieve and print.
The inner report section opens its data stream at the beginning of its Build( )
method. To set a parameter on the inner query based on a value in the current
data row in the outer query, override the BuildFromRow( ) method to get the
customer ID from the outer data row, then pass this value to the query you
created in your inner report.
Properties
Property
Type
Description
DataStream
AcDataAdapter
Sorting
AcSortingOptions
531
Class AcReportSection
AutoSort: The default. If AutoSort is set, the report section determines if the
data source can sort data dynamically according to AddSortKey() calls. If
the data source cannot sort dynamically, the report section instantiates a
sort filter and places that filter in the chain of data adapters. The report
section determines whether or not the data source yields data in the order
expected by the group sections.
PreSorted. If PreSorted is set, the data arrives from the data source already
sorted in the order that data sections expect the data. No attempt is made to
tell the data source how to sort (by making AddSortKey() calls), and the
report section does not instantiate a sort filter.
Methods
Example
Method
Type
Description
FinishDataStream( )
N/A
NewDataStream( )
AcDataAdapter
ObtainDataStream( )
AcDataAdapter
SetSortKey( )
N/A
StartDataStream( )
N/A
532
AcReportSection::FinishDataStream method
AcReportSection::FinishDataStream method
Closes the data stream for this report.
Syntax
Description
See also
Sub FinishDataStream( )
Finishes the data stream. By default, it closes the data stream by calling its
Finish( ) method. You can override this, for example, to do nothing if you want
to use the same data stream instance later.
AcReportSection::NewDataStream method
AcReportSection::ObtainDataStream method
AcReportSection::StartDataStream method
533
AcReportSection::NewDataStream method
AcReportSection::NewDataStream method
Instantiates the data stream.
Syntax
Description
Returns
See also
AcReportSection::ObtainDataStream method
Creates or locates the data stream to use for this report.
Syntax
Description
Example
The following example shows how to query a database once and use the result
set for more than one report or subreport. To view the code used in this
example in a fuller context, open Examples/Reusequery/Smdsrc.rod. The
example shows how a number of related methods work together in an Actuate
report, in particular the ObtainDataStream, StartDataStream, and
FinishDataStream methods.
The report design in Smdsrc.rod has a sequential section with two subreports,
R1 and R2. R1 and R2 use data from the same database query. So instead of
each subreport making its own individual query, R1 first makes the query for
both, stores the resulting datastream in BufDStream, and uses it. Then R2 picks
up the datastream from BufDStream and reuses it.
In report component R1, override the Finish method as follows:
Sub Finish( )
534
AcReportSection::ObtainDataStream method
To see BufDStream, open the component editor on the sApp component, and
choose the Variables tab. BufDStream is what holds the data for R2.
In report component R2, override the ObtainDataStream, StartDataStream,
and FinishDataStream methods. The call to Super::ObtainDataStream( ) has
been deleted in the following code, so that the overridden methods do not
inherit the original ObtainDataStream( ) behavior:
Function ObtainDataStream( ) As AcDataAdapter
' R2 will use sApp::BufDStream as its datastream.
Set ObtainDataStream = sApp::BufDStream
End Function
Returns
535
AcReportSection::SetSortKey method
See also
AcReportSection::FinishDataStream method
AcReportSection::NewDataStream method
AcReportSection::StartDataStream method
AcReportSection::SetSortKey method
Sets the sort key for the data adapter.
Syntax
Parameter
Description
AcReportSection::StartDataStream method
Opens the data stream for this report.
Syntax
Parameter
Description
See also
536
Class AcReportView
Class AcReportView
Provides a visual view of a report object.
Description
The report view class provides a way to visually examine a report object. There
can be many views for the same object open at one time.
Use AcReportView methods to send a message to the window telling it to
print the displayed report, or to examine the set of report components which a
user has selected.
To examine (or scan through) the collection of report objects selected by a user:
1 Initialize the scan by calling StartSelectionScan( ).
2 Retrieve the number of objects in the collection by calling
GetSelectionCount( ).
3 Iterate through the collection using GetNextSelection( ).
4 When you are finished with the scan, call EndSelectionScan( ) to close the
collection and end the scan.
Methods
Method
Type
Description
EndSelection Scan( )
N/A
GenerateXML( )
N/A
GetNextSelection( )
AcReport
Component
GetSelectionCount( )
Integer
PrintAllPages( )
N/A
PrintPages( )
N/A
StartSelectionScan( )
N/A
537
AcReportView::EndSelectionScan method
Example
AcReportView::EndSelectionScan method
Ends the selection set scan.
Syntax
538
Sub EndSelectionScan( )
AcReportView::GenerateXMLData method
Description
See also
AcReportView::GenerateXMLData method
Generates XML data for a report.
Syntax
Parameter
Description
AcReportView::GetNextSelection method
Retrieves the next object in the collection.
Syntax
Description
See also
GetNextSelection( ) As AcReportComponent
GetNextSelection( ) retrieves the next report object in the selected collection.
Call this method to iterate through the collection.
AcReportView::EndSelectionScan method
AcReportView::GetSelectionCount method
AcReportView::StartSelectionScan method
AcReportView::GetSelectionCount method
Retrieves the number of report objects in the selected collection.
Syntax
GetSelectionCount( ) As Integer
539
AcReportView::PrintAllPages method
Description
See also
AcReportView::PrintAllPages method
Prints all pages of a displayed report.
Syntax
Description
See also
Sub PrintAllPages( )
PrintAllPages( ) allows users to print all pages of a report directly from the
Viewer window.
AcReportView::PrintPages method
AcReportView::PrintPages method
Prints a report directly from a Viewer window.
Syntax
Parameter
Description
PrintPages( ) allows users to print reports directly from the Viewer window,
and provides a facility for automatic report printing.
If silent is False, PrintPages displays the standard print dialog box, which
allows users to set up print options for the report.
If silent is True, the print dialog does not display and automatic report printing
is enabled. This is useful for applications that run a series of reports, display
them in the Viewer, then print them and go on to the next in the series.
If first or last are set to integers greater than 0, only those pages print.
See also
540
AcReportView::PrintAllPages method
AcReportView::StartSelectionScan method
AcReportView::StartSelectionScan method
Initialize the scan of the selected collection of report objects.
Syntax
Description
See also
StartSelectionScan( )
StartSelectionScan( ) starts the scan of a selected collection of report objects.
Use it to initialize your examination of a collection of report objects, or to reset
the scan.
AcReportView::EndSelectionScan method
AcReportView::GetNextSelection method
AcReportView::GetSelectionCount method
541
Class AcSection
Class AcSection
The base class for all sections.
AcComponent
AcReportComponent
AcSection
Description
In this example, the roles on the Report Encyclopedia include managers at the
state level, such as MgrCa and MgrFl. Using this page security scheme,
managers can view pages showing data for their state only.
You can override the SetSecurity method on AcSection to build a custom ACL.
By default, SetSecurity returns the security identifiers that are contained in the
542
Class AcSection
GrantExp property. SetSecurity provides access to the current data row to help
you decide how to build the security ids for the section.
The CascadeSecurity property prevents page security on a section from being
inherited from its container sections (if any.) By default, nested sections inherit
the Access Control List(s) from their container sections. To define an ACL for a
nested section and prevent the ACL(s) from container sections to be inherited:
Set the GrantExp property to the security IDs for the nested section.
Types of sections
AcSection is the base class from which the Actuate framework sections are
derived. Each type of section is summarized here. Further information about
each type of section is described in more detail in the individual class
descriptions.
Section
type
Description
Example
Report
Group
Sequential
Conditional
Parallel
543
Class AcSection
Factory protocol
AcSection provides a specific protocol to be followed by derived classes. This
protocol follows that set by AcReportComponent. The description here
identifies the specific ways this class uses the standard protocol.
Method
Task
New( )
Start( )
Build( )
BuildFromRow( )
Finish( )
544
Class AcSection
that query. When looking for the connection, the local connection takes
precedence over any connection defined higher in the structure hierarchy.
If you want to keep two connections open, you must write custom code to
maintain the second connection. In the example above, you can define a static
variable to hold the connection, override the Start( ) method of your topmost
section to open the additional ODBC connection, and override the Finish( )
method to close it. In the section where you need the second connection,
override ObtainConnection( ) to return this second connection from the static
variable you defined above, and override FinishConnection( ) to do nothing so
that the nested section does not close this shared connection.
Interrupting a section
Sections usually run until they have processed all the available data rows or
section contents. There are times when you might want to stop processing
early. For example, you might want to stop output after the first page or after a
certain number of rows. The section class gives you three methods to stop
processing. They differ in the amount of cleanup they perform:
Variables
Variable
Type
Description
ContentList
AcList
545
Class AcSection
Properties
Property
Type
Description
Cascade
Security
Boolean
Connection
AcConnection
Structure
Reference
GrantExp
Expression
PageBreakAfter
Boolean
Function
PageBreakBefore Boolean
Function
Subpage
AcSubpage
Class AcSection
are ignored when generating HTML for a report. For this class, the specific
properties ignored by HTML reports are:
PageBreakBefore
PageBreakAfter
Methods
Method
Type
Description
AddContent( )
N/A
CommittedToFlow( )
N/A
FinishConnection( )
N/A
FinishFlow( )
N/A
FinishPage( )
N/A
GetContents( )
AcOrdered
Collection
GetCurrentRow( )
AcDataRow
ObtainConnection( )
AcConnection
NewPage( )
AcPage
PageBreakAfter( )
Boolean
PageBreakBefore( )
Boolean
SetSecurity( )
AcDataRow
547
AcSection::AddContent method
Method
Type
Description
StartFlow( )
N/A
StartPage( )
N/A
StopAfterCurrentFrame( )
N/A
StopAfterCurrentRow( )
N/A
StopNow( )
N/A
AcSection::AddContent method
Adds content to a section.
Syntax
Parameter
Description
AcSection::CommittedToFlow method
Called by the page list for each registered section.
Syntax
Parameter
Description
548
AcSection::FinishConnection method
Note that there will be at least one call to StartFlow( ) before a call to
CommittedToFlow( ), but there may be two calls, the first of which represents
a failed attempt to start the section on an existing flow.
AcSection::FinishConnection method
Closes the connection.
Syntax
Parameter
Description
See also
AcSection::FinishFlow method
Called at the end of each flow.
Syntax
Description
See also
Sub FinishFlow
The page list calls FinishFlow( ) for each active section at the end of each flow.
There will be one call to EndFlow( ) for each call to CommittedToFlow( ). This
is the place to add page footers.
AcSection::FinishPage method
AcSection::StartFlow method
AcSection::StartPage method
AcSection::FinishPage method
Tells a section that a new page is finishing.
Syntax
549
AcSection::GetContents method
Parameter
Description
page
A reference to the page that is ending.
FinishPage( ) identifies that a page is finishing and gives you an opportunity
to insert custom code. If you override FinishPage, call the Super version first.
In derived classes, the page list calls each objects FinishPage( ) to check if the
objects want to add information to a page before the page is finished.
See also
AcSection::FinishFlow method
AcSection::StartFlow method
AcSection::StartPage method
AcSection::GetContents method
Returns the collection of contents for this section.
Syntax
Description
Returns
See also
AcSection::GetCurrentRow method
Returns the current data row.
Syntax
Description
Returns
AcSection::NewPage method
Lets the section determine the page on which it appears.
Syntax
550
AcSection::ObtainConnection method
Description
Returns
NewPage( ) lets the section determine the page on which it appears. The page
you instantiate here takes precedence over the default page that the page list
supplies.
The page on which the section appears.
AcSection::ObtainConnection method
Creates a connection for this section.
Syntax
Description
Returns
AcSection::PageBreakAfter method
Returns the value of the PageBreakAfter property.
Syntax
Description
Returns
See also
AcSection::PageBreakBefore method
Returns the value of the PageBreakBefore property.
Syntax
Description
Returns
551
AcSection::PageBreakBefore method
Example
This example shows how to conditionally set page breaks. To view the code
used in this example in a fuller context:
1 Open \Erdpro\Examples\Detail\Detail.rod.
552
AcSection::SetSecurity method
See also
AcSection::PageBreakAfter method
AcSection::SetSecurity method
Sets the access control list (ACL) for the section.
Syntax
Parameter
Description
Example
553
AcSection::StartFlow method
AcSection::StartFlow method
Called at the beginning of each flow.
Syntax
Parameter
Description
See also
AcSection::FinishFlow method
AcSection::FinishPage method
AcSection::StartPage method
AcSection::StartPage method
Called at the start of each new page.
Syntax
Parameter
554
AcSection::StopAfterCurrentFrame method
Description
See also
AcSection::StopAfterCurrentFrame method
Stop processing after the current frame is added to a page.
Syntax
Description
See also
Sub StopAfterCurrentFrame( )
StopAfterCurrentFrame( ) finishes the current frame by placing it on a page,
but then produces no more output. The section will not display any totals.
Note that finishing the frame might entail creating a new page to contain the
frame.
AcSection::StopAfterCurrentRow method
AcSection::StopNow method
AcSection::StopAfterCurrentRow method
Stop processing after the current row is complete.
Syntax
Description
See also
Sub StopAfterCurrentRow( )
StopAfterCurrentRow( ) processes the current data row before stopping. The
section outputs the frame or frames, if any, for the row and outputs totals, and
so on, depending on the kind of frame. You use this method when you want to
stop processing a section after a given row, or a given number of rows. The
resulting report will look as if the input data stream contained only rows up to
the current row. All subsequent rows are silently ignored.
AcSection::StopAfterCurrentFrame method
AcSection::StopNow method
AcSection::StopNow method
Stops processing a data row.
Syntax
Sub StopNow( )
555
AcSection::StopNow method
Description
See also
556
Class AcSequentialSection
Class AcSequentialSection
A class that generates multiple, sequential components.
AcComponent
AcReportComponent
AcSection
AcSequentialSection
Description
557
Class AcSequentialSection
Properties
558
Property
Type
Description
Content
AcReportComponent
AcSequentialSection::NewContent method
Methods
Method
Type
Description
NewContent( )
AcReport
Component
SelectContent( )
Boolean
AcSequentialSection::NewContent method
Instantiates one of the list of contents for this section.
Syntax
Parameter
Description
Returns
559
AcSequentialSection::SelectContent method
AcSequentialSection::SelectContent method
Allows the section to filter out some of its contents.
Syntax
Parameter
Description
Returns
True if the section wants to include the given content in the report.
False if the section does not want to include the given content in the report.
Example
The following example prints a customer contact report only if the customers
account is past due:
Function SelectContent( index As Integer, row As AcDataRow ) As Boolean
Dim cust As CustomerRow
'Get the customer row
Set cust = row
'Check if this is the index for the contact report.
If GetContentName( "Content", index ) = "ContactReport" Then
SelectContent = ( cust.PastDue > 0 )
Else
SelectContent = True
End If
End Function
560
AcSequentialSection::SelectContent method
561
Class AcSimplePageList
Class AcSimplePageList
Builds a page list with a series of pages, all of the same style.
AcComponent
AcPageList
AcSimplePageList
Description
Provides a report style in which all pages have the same layout.
Properties
562
Property
Type
Description
PageStyle
AcPage
Class AcSingleInputFilter
Class AcSingleInputFilter
A data filterone type of data adapterthat accepts input from one data
adapter, processes the data, then passes it to the next data adapter or the
report.
AcComponent
AcDataAdapter
AcDataFilter
AcSingleInputFilter
Description
AcSingleInputFilter is a data filter that accepts one data adapter as its input
and filters each data row. Create a derived class to define the filtering.
You can create filters to:
Split large input rows into smaller rows needed by your report. For
example, if your input row gives twelve months of financial data per data
row, but your report needs the data organized as one month per row, you
can create a filter to split up the row.
Combine data rows into a larger aggregate row. For example, you could do
the opposite of the above filter to combine data rows that contain one
month of financial data per row into a large row that contains twelve
months of data per row.
Add to fields in a data row by doing a lookup on an in-memory or diskbased table. This is a lookup filter. For example, you could do an inmemory lookup of a transaction code on each row to find its description,
then copy the description into the data row.
Sort rows. This is a sort filter. Actuate provides a memory-based sort filter
called AcMemoryDataSorter.
The uses of a single input filter are many. If your application needs to combine
several of the above transformations into a single data stream, your
application will be easier to build, maintain, and understand if you create a
separate filter for each transformation, then chain these transformations
together to form the data stream.
If your data source is an SQL query, then you can increase the performance of
your report by doing as much filtering as possible in the SQL query itself. Note
563
Class AcSingleInputFilter
that data filters are optional, and that a data stream can have multiple data
filters.
Data
Input source
Data source
Data filter
Data row 1
Report section
Data row 2
Data stream
You can simply drop the input adapter into the Input slot of the data filter
in the structure pane.
You can call SetInput( ) from code to programmatically set the input
adapter.
If you drop the input adapter into the Input slot, then the single input filter
takes responsibility for instantiating the input adapter by providing the input
adapter with a connection, starting the input adapter when the filter itself
starts, and finishing the input adapter when the filter itself finishes.
If you set the input adapter with a call to SetInput( ), then you can pass either
an open or unopened data adapter. If you pass an opened data adapter, then
the single input filter assumes that your application will close this adapter, and
so the single input filter will not close the input adapter for you. If you pass an
unopened input adapter, then the single input filter takes responsibility for
starting the input adapter when the filter itself starts and for finishing the
input adapter when the filter itself finishes. If you call SetInput( ), do so before
calling the Start( ) method for the filter.
In either case, use the method GetInput to access the input adapter.
If you specify an input adapter in the structure pane, but then subsequently
call SetInput( ) in your code, the input adapter passed to SetInput( ) takes
precedence.
564
AcSingleInputFilter::Fetch method
Creating a filter
To define a filter, override the Fetch( ) method. See the description of Fetch( )
for details.
Variables
Variable
Type
Description
InputAdapter
AcDataAdapter
Method
Type
Description
Fetch( )
AcDataRow
GetInput( )
AcDataAdapter
NewInputAdapter( )
AcDataAdapter
SetInput( )
N/A
Methods
See also
Class AcDataAdapter
Class AcDataSource
Class AcMemoryBuffer
Class AcMultipleInputFilter
AcSingleInputFilter::Fetch method
Fetches a row from the filter.
Syntax
Description
Returns
565
AcSingleInputFilter::GetInput method
Example
The following example shows how to create a Fetch( ) method that filters out
all customers except those in California:
Function Fetch( ) As AcDataRow
'Loop to read rows until there are no more rows, or until
'finding a customer in California.
Do While True
'Fetch the next row from the input
Set Fetch = InputAdapter.Fetch( )
If Fetch Is Nothing Then
Exit Function
End If
'Return the row if the customer is in California.
If Fetch.GetValue( "State" ) = "CA" Then
Exit Function
End If
Loop
End Function
See also
AcDataAdapter::Fetch method
AcSingleInputFilter::GetInput method
Returns the input adapter associated with this data filter.
Syntax
Description
Returns
AcSingleInputFilter::NewInputAdapter method
Instantiates the input adapter.
Syntax
Description
Returns
566
AcSingleInputFilter::SetInput method
AcSingleInputFilter::SetInput method
Sets the input adapter for this data filter.
Syntax
Parameter
Description
567
Class AcSingleList
Class AcSingleList
Implements a singly linked list.
AcCollection
AcOrderedCollection
AcList
AcSingleList
Description
Subclassing AcSingleList
You must subclass AcSingleList when you want to be able to look up items in a
list by value. To do this, override the Compare method to specify how objects
in the list are to be located by value. For an example of how to subclass
AcSingleList, see Class AcList.
Methods
Method
Type
Description
Compare( )
Variant
FindByValue( )
AnyClass
AcSingleList::Compare method
Compares two objects in a singly linked list by value.
Syntax
Parameter
568
AcSingleList::FindByValue method
obj2
A reference to the second object to be compared.
Description
Returns
See also
The Compare( ) method defines how objects in the singly linked list are to be
compared.You must override the Compare( ) method to specify this logic.
FindByValue calls the Compare method to determine if an object with a
matching value can be located in the ordered list.
0 if a matching object exists, greater than 0 if no matching object exists.
AcSingleList::FindByValue method
AcSingleList::FindByValue method
Locates an object in a singly linked list that has a matching value.
Syntax
Parameter
Description
Returns
See also
AcSingleList::Compare method
569
Class AcSingleListIterator
Class AcSingleListIterator
A concrete class to iterate over a list.
AcIterator
AcSingleListIterator
Description
570
Class AcSqlQuerySource
Class AcSqlQuerySource
A class that retrieves data from an SQL SELECT statement.
AcComponent
AcDataAdapter
AcDataSource
AcDatabaseSource
AcQuerySource
AcSqlQuerySource
Description
AcSqlQuerySource is the class for query data sources that you build in the
Query Editor.
You can also create the query data source programmatically. If you do, you
must either set the various variables that hold the fragments of the SELECT
statement or override ObtainSelectStatement( ) to return the complete
statement. You must also override BindStaticParameters( ) (defined in
AcDatabaseSource) to bind static parameters and BindDataRow( ) (also
defined in AcDatabaseSource) to bind the data row to the cursor.
AcSqlQuerySource returns True from a call to CanSortDynamically( ) to
indicate that custom sorting is supported. If your custom subclass cannot
support custom sorting, then you should override CanSortDynamically( ) to
return False.
Variables
Variable
Type
Description
FromClause
String
GroupByClause
String
HavingClause
String
OrderByClause
String
SelectClause
String
WhereClause
String
571
AcSqlQuerySource::ObtainSelectStatement method
Properties
Property
Type
Description
Query
Query
Methods
See also
Method
Type
Description
ObtainSelectStatement( )
String
SetAdHocParameter( )
N/A
Class AcDataAdapter
Class AcDatabaseSource
Class AcDataRow
Class AcDataSource
Class AcDBConnection
AcSqlQuerySource::ObtainSelectStatement method
Returns a SQL SELECT statement.
Syntax
Description
Returns
AcSqlQuerySource::SetAdHocParameter method
Sets the value of a single ad hoc parameter.
Syntax
572
AcSqlQuerySource::SetAdHocParameter method
Parameter
columnName
The name of a database column. The column need not appear in the SELECT
clause, but must be a column available in one of the tables in the FROM clause.
dataType
The type of the data column. The data type must be one of String, Integer,
Long, Currency, Single, Double, or Date.
value
The value of the ad hoc parameter.
Description
Example
Your query can contain any number of ad hoc parameters, which provide
additional conditions for the WHERE clause of a SELECT statement.
SetAdHocParameter( ) sets the value of a single ad hoc parameter. An ad hoc
parameter is identified by a column name. The column name need not appear
in the SELECT clause of your SELECT statement, but must be a column
available in one of the tables in the FROM clause. The value of the parameter is
either an empty string (which means the parameter is ignored), or an ad hoc
expression using the syntax described in Designing e.Reports.
This example shows how to programmatically set up ad hoc parameters:
Sub SetupAdHocParameters( )
SetAdHocParameter( "Customer.State", "String", NameParm )
SetAdHocParameter( "Customer.Balance", "Currency", BalanceParm )
End Sub
See also
Class AcStoredProcedureSource
573
Class AcStoredProcedureSource
Class AcStoredProcedureSource
A class that retrieves data from a stored procedure.
AcComponent
AcDataAdapter
AcDataSource
AcDatabaseSource
AcStoredProcedureSource
Description
About parameters
AcStoredProcedureSource handles input, output and input/output stored
procedure parameters. Stored procedure input parameters are similar to static
parameters in the WHERE clause of a query.
If a stored procedure parameter has output parameters (output or input/
output), AcStoredProcedureSource creates separate variables for these
574
Class AcStoredProcedureSource
parameters. These parameter output variables are cleared when the data
source is initialized and started to allow repeated execution of the stored
procedure. AcStoredProcedureSource sets the variables as soon as the data is
available from the stored procedure. From the standpoint of Actuate Basic, the
data is available after the Finish method on AcStoredProcedureSource
completes.
The DefineInputParameter, DefineOutputParameter,
DefineProcedureReturnParameter, GetOutputCount, and
GetOutputParameter methods help you define parameters and set and
retrieve their values. These methods are only available if you are using a
stored procedure data source. The methods are defined on AcDBCursor and
AcDBStatement classes to support maximum programming flexibility.
Variables
Do not modify the variables defined on AcStoredProcedureSource.
Variable
Type
Description
CursorParameter
String
OwnerName
String
ProcedureName
String
ProcedureStatus
Variant
QualificationOption
String
QualifierName
String
575
Class AcStoredProcedureSource
Properties
Property
Type
Description
StoredProcedureDef
N/A
After you select a stored procedure using the Stored Procedure Browser,
AcStoredProcedureSource retrieves the definition of the stored procedure
from the database and stores the definition in StoredProcedureDef. This is a
complex property that you can edit only with the Stored Procedure Builder.
AcStoredProcedureSource retrieves the following information from the
database when a connection and stored procedure are specified:
Owner name. A database user name that the stored procedure is scoped
within.
Return type information. The return type of the stored procedures return
value. Some stored procedures do not use a return value.
576
Class AcStoredProcedureSource
Example
In the code, cparmname is the name of the cursor parameter in the Oracle 8
call to the stored procedure or function. Do not include a colon (:) in
cparmname:
CursorParameter = cparmname
Super::OpenCursor( )
If you specify a different result set to return, make sure that the columns in the
result set match the ones built by the Stored Procedure DataSource Builder. If
they do not match, you must override the BindColumns method to account for
any differences.
See also
Class AcDataAdapter
Class AcDatabaseSource
Class AcDataRow
Class AcDataSource
Class AcDBConnection
Class AcSqlQuerySource
577
Class AcSubPage
Class AcSubPage
A subpage fits inside a flow.
AcComponent
AcReportComponent
AcVisualComponent
AcBaseFrame
AcBasePage
AcSubPage
Description
AcSubpage lets you introduce a different collection of flows within a page. You
use a subpage to dynamically switch from one column to two columns on the
same page. For example, you might produce a report that lists orders and the
items on the order. You may want the order information to fill the full width of
the page. However, the item information may be short enough that you would
like to list it in two columns. You do this by adding a subpage to your design
and creating two flows within the subpage. Actuate places the subpage inside
the flow in your (real) page, and all subsequent output goes into the subpage.
You can ensure that the contents of each flow are the same (even, or balanced)
by setting the subpages BalanceFlows property to True.
Properties
578
Property
Type
Description
Margins
AcMargins
Rounding
AcRounding
Shadow
AcShadow
Class AcSummaryChart
Class AcSummaryChart
A subclass of AcChart that provides the mechanism for building chart data
from data rows.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcChart
AcSummaryChart
Description
Makes a final pass over the summarized data to populate the chart legend,
series, and points arrays.
All time series calculations are performed when categories are created. The
calculations are performed before the CustomXLabels( ) method is called.
The order in which the methods are called is shown below. Each method calls
the methods indented below it:
Properties
Property
Type
Description
CategoryExp
Expression
CategoryLabel
Exp
Expression
579
AcSummaryChart::ComputeCategoryRange method
Property
Type
Description
DualYValueExp
Expression
SeriesExp
Expression
SeriesLabelExp
Expression
YValueExp
Expression
Methods
Method
Type
Description
ComputeCategoryRange( )
N/A
ConvertCategoryExp( )
N/A
CreateEmptyCategories( )
N/A
PopulateCategoryIndex( )
N/A
RoundToRange( )
N/A
AcSummaryChart::ComputeCategoryRange method
Sets up the Range and TickInterval.
Syntax
Description
Sub ComputeCategoryRange( )
The ComputeCategoryRange( ) method sets up the Range and TickInterval so
that they can be used without conversion. This method also calculates the new
XMin, or starting point.
ComputeCategoryRange( ) is called by the GatherCategories( ) method.
580
AcSummaryChart::ConvertCategoryExp method
AcSummaryChart::ConvertCategoryExp method
Rounds the category key form each data row to the appropriate category.
Syntax
Description
Sub ConvertCategoryExp( )
The ConvertCategoryExp( ) method rounds the value of the category key from
each data row into the appropriate category. For example, if a data point is 4/2
and the categories are months, the value is rounded to 4/1.
ConvertCategoryExp( ) is called by the GatherCategories( ) method.
AcSummaryChart::CreateEmptyCategories method
Adds categories to the category list.
Syntax
Description
Sub CreateEmptyCategories( )
The CreateEmptyCategories( ) method creates empty categories and recreates
existing categories in the category list. Categories are created based on the
Range and TickInterval, starting at XMin. New categories are added regardless
of existing categories.
CreateEmptyCategories( ) is called by the GatherCategories( ) method.
AcSummaryChart::PopulateCategoryIndex method
Recreates the CategoryIndex.
Syntax
Description
Sub PopulateCategoryIndex( )
The PopulateCategoryIndex( ) method recreates the CategoryIndex from the
new data row. CategoryIndex is the structure that determines to which
category a data row belongs. If a category does not have a data row pointing to
it, the category is considered empty and is plotted with the y value set to zero.
PopulateCategoryIndex( ) is called by the GatherCategories( ) method.
581
AcSummaryChart::RoundToRange method
AcSummaryChart::RoundToRange method
Rounds the data based on the Range.
Syntax
Description
Sub RoundToRange( )
The RoundToRange( ) method rounds the data based on the Range. This
method is called when the RoundTo property is set to ChartRoundToRange. If
the RangeUnit is larger than the TickIntervalUnit, the XMin is set to the
beginning of the RangeUnit that the first data point falls into. For example, if
RangeUnit is GraphYearUnit and the first data point is 4/2, the XMin is set to
1/1.
RoundToRange( ) is called by the ComputeCategoryRange( ) method.
582
Class AcSummaryGraph
Class AcSummaryGraph
Provides the mechanism for building graph data from data rows.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcGraph
AcSummaryGraph
Description
Makes a final pass over the summarized data to populate the graph legend,
series, and points arrays.
583
Class AcSummaryGraph
Properties
Property
Type
Description
CategoryKey
Expression
CategoryLabel
Expression
OverlayValueExp Expression
SeriesKey
Expression
SeriesLabel
Expression
ValueExp
Expression
Methods
584
Method
Type
Description
ComputeCategoryRange( )
N/A
ConvertCategoryKey( )
N/A
CreateEmptyCategories( )
N/A
PopulateCategoryIndex( )
N/A
RoundToRange( )
N/A
AcSummaryGraph::ComputeCategoryRange method
AcSummaryGraph::ComputeCategoryRange
method
Sets up the Range and TickInterval.
Syntax
Description
Sub ComputeCategoryRange( )
The ComputeCategoryRange( ) method sets up the Range and TickInterval so
that they can be used without conversion. This method also calculates the new
XMin, or starting point.
ComputeCategoryRange( ) is called by the GatherCategories( ) method.
AcSummaryGraph::ConvertCategoryKey method
Rounds the category key form each data row to the appropriate category.
Syntax
Description
Sub ConvertCategoryKey( )
The ConvertCategoryKey( ) method rounds the value of the category key from
each data row into the appropriate category. For example, if a data point is 4/2
and the categories are months, the value is rounded to 4/1.
ConvertCategoryKey( ) is called by the GatherCategories( ) method.
AcSummaryGraph::CreateEmptyCategories method
Adds categories to the category list.
Syntax
Description
Sub CreateEmptyCategories( )
The CreateEmptyCategories( ) method creates empty categories and recreates
existing categories in the category list. Categories are created based on the
Range and TickInterval, starting at XMin. New categories are added regardless
of existing categories.
CreateEmptyCategories( ) is called by the GatherCategories( ) method.
585
AcSummaryGraph::PopulateCategoryIndex method
AcSummaryGraph::PopulateCategoryIndex method
Recreates the CategoryIndex.
Syntax
Description
Sub PopulateCategoryIndex( )
The PopulateCategoryIndex( ) method recreates the CategoryIndex from the
new data row. CategoryIndex is the structure that determines to which
category a data row belongs. If a category does not have a data row pointing to
it, the category is considered empty and is plotted with the Y-value set to zero.
PopulateCategoryIndex( ) is called by the GatherCategories( ) method.
AcSummaryGraph::RoundToRange method
Rounds the data based on the Range.
Syntax
Description
Sub RoundToRange( )
The RoundToRange( ) method rounds the data based on the Range. This
method is called when RoundTo is set to GraphRoundToRange. If the
RangeUnit is larger than the TickIntervalUnit, the XMin is set to the beginning
of the RangeUnit that the first data point falls into. For example, if RangeUnit
is GraphYearUnit and the first data point is 4/2, the XMin is set to 1/1.
RoundToRange( ) is called by the ComputeCategoryRange( ) method.
586
Class AcSybaseConnection
Class AcSybaseConnection
Establishes a connection to a Sybase database.
AcComponent
AcConnection
AcDBConnection
AcSybaseConnection
Description
Variables
Variable
Type
Description
Password
String
ServerName
String
UserName
String
Properties
Property
Type
Description
DBInterface
String
Variable
Password
String
Variable
ServerName
String
Variable
587
Class AcSybaseConnection
Property
Type
Description
PacketSize
String
FetchRowBuff
erCount
String
UserName
String
Variable
588
Mapped to
Binary
Actuate String.
Bit
Char
Actuate String.
DateTime
Decimal
Float
Image
Actuate String.
Int
Long
LongBinary
Actuate String.
LongChar
Actuate String.
Money
Numeric
Class AcSybaseConnection
Mapped to
Real
SmallDateTime
SmallInt
SmallMoney
Text
Actuate String.
TinyInt
VarBinary
Actuate String.
VarChar
Actuate String.
589
Class AcTextControl
Class AcTextControl
A class you use in the report design to display string data.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
AcDataControl
AcTextControl
Description
AcTextControl is a data control you typically use to store and display string
data from a data row. You can, however, also use it to display values returned
by methods or functions, such as PageNo$( ) or Date$( ), as long as the return
value is a string.
The text control is typically used for displaying one line from a table column,
such as a name or address, but it can be used for multi-line text as well. To
display multi-line text, set the MultiLine property to True. You should also
specify a size that will accommodate all the lines of text. If you do not know
the length of the text, use the Clip property to select how Actuate handles
extra characters.
AcTextControl defines a DataValue variable to store the string value. The
framework generates SetValue( ) to set the value in DataValue. SetValue( ),
turn, uses the value expression you assign to the ValueExp property to
generate the value. Override SetValue( ) if you want to take control of setting
the controls data value.
If you want to change the value or properties of the text control when the
Factory is building it, you can override the text controls BuildFromRow( )
method. For example, you can change the properties of the control depending
on the value stored in the DataValue variable. For an example of how to
accomplish this task, see Building the control from the data row.
Variables
590
Variable
Type
Description
DataValue
String
Class AcTextQuerySource
Class AcTextQuerySource
A class that provides a way to write textual SQL SELECT queries.
AcComponent
AcDataAdapter
AcDataSource
AcDatabaseSource
AcQuerySource
AcTextQuerySource
Description
AcTextQuerySource is the class for query data sources that you build in the
Textual Query Editor.
You can also create the query data source programmatically. If you do, you
must override ObtainSelectStatement( ) to return the complete statement. You
must also override BindStaticParameters( ) (defined in AcDatabaseSource) to
bind static parameters and BindDataRow( ) (also defined in
AcDatabaseSource) to bind the data row to the cursor.
Properties
Property
Type
Description
CanModifyOrderByClause
Boolean
591
Class AcTextQuerySource
Property
Type
Description
Query
Query
An internal representation of
the query that this query source
class uses. The user uses the
Textual Query Editor to specify
the query.
SelectStatement
String
Methods
Example
Method
Type
Description
CanSortDynamically( )
Boolean
ObtainSelectStatement( ) String
SetAdHocCondition( )
N/A
This example shows how to specify the adhoc conditions, by overriding the
SQL statement, then overriding the SetupAdHocParameters() method to call
SetAdHocCondition() with the proper input arguments:
Sub SetProperties( )
Super::SetProperties( )
CanModifyOrderByClause = True
SelectStatement = "select * from offices"
SelectStatement = SelectStatement & " where :?myOffice"
End Sub
Sub SetupAdHocParameters( )
SetAdHocCondition( "myOffice", "officeID", "Integer", myOfficeID )
' myOfficeID is a static parameter variable defined in the text query source
class
End Sub
592
AcTextQuerySource::CanSortDynamically method
AcTextQuerySource::CanSortDynamically method
Determines whether dynamic ordering is supported.
Syntax
Description
AcTextQuerySource::ObtainSelectStatement
method
Returns the SELECT statement of the query source.
Syntax
Description
Returns
AcTextQuerySource::SetAdHocCondition method
Processes an ad hoc parameter.
Syntax
Parameter
593
AcTextQuerySource::SetAdHocCondition method
value
The value of the ad hoc parameter.
Description
594
Class AcTextualControl
Class AcTextualControl
The base class for controls that display data from data rows.
AcComponent
AcReportComponent
AcVisualComponent
AcControl
AcTextualControl
Description
Properties
Property
Type
Description
BackgroundColor
AcColor
Border
AcLineStyle
Font
AcFont
TextPlacement
AcText
Placement
595
Class AcTitleBodyPageList
Class AcTitleBodyPageList
Builds a page list with a title page, followed by a simple page list.
AcComponent
AcPageList
AcTitleBodyPageList
Description
The AcTitleBodyPageList class builds a page list with a title page, followed by
all other pages of another style.
You can insert title pages into your report. For example, you could design a
report that printed the customer name in a large font on a single page, then
produce body pages as necessary for that customer, and repeat that scenario
for all customers.
Properties
Property
Type
Description
BodyPage
AcPage
TitlePage
AcPage
Method
Type
Description
NewBodyPage( )
AcPage
NewTitlePage( )
AcPage
Methods
AcTitleBodyPageList::NewBodyPage method
Instantiates the body page.
Syntax
Description
596
AcTitleBodyPageList::NewTitlePage method
AcTitleBodyPageList::NewTitlePage method
Instantiates the title page.
Syntax
Description
597
Class AcTopDownFlow
Class AcTopDownFlow
Adds frames to a flow from the top to the bottom.
AcComponent
AcReportComponent
AcVisualComponent
AcFlow
AcLinearFlow
AcTopDownFlow
Description
The top-down flow fills with frames in the standard top-down order. The first
frame starts at the top of the flow. Then, each subsequent frame is placed just
below the previous frame. When the framework receives a frame that does not
fit in the remaining space in the flow, the framework advances to the next flow
or page.
If both your flow and frames have a border, your layout might look better if
you provide some extra margins between the flow and the frames. The
Margins property of frames lets you create empty space between frames in the
flow. The flow provides a margin that reserves empty space between the
border and the contained frames.
Rectangle origin
Frame
Border
Rectangle region
Margin
You subclass AcTopDownFlow when you drag a flow component off of the
palette.
598
Class AcTopDownFlow
Variables
Variable
Type
Description
Alignment
AcFlowPlacement
Margins
AcMargins
Property
Type
Description
Alignment
AcFlowPlacement
Margins
AcMargins
Properties
599
Class AcVisitor
Class AcVisitor
Provides a mechanism for creating a utility to visit and perform some action
on report objects. AcVisitor methods provide subroutines to process a report
object and its components in hierarchical order. You override AcVisitor
methods to provide any specialized behavior for each component.
Description
The page hierarchy, composed of the report, page list, pages, flows, frames,
and controls
When you use the visitor class, you determine whether to visit the objects that
comprise the structure hierarchy, or the page hierarchy.
The visitor visits each object in the chosen hierarchy by default. If the object
contains other objects, the visitor visits each of those objects as well, in the
order in which they appear in the reports structure pane. You can derive
AcVisitor classes which skip certain components, or add behavior specific to
particular components.
To use the AcVisitor class methods:
1 Open your report design in e.Report Designer Professional.
2 Set up the visitor class:
1 Create a new Actuate Basic source file.
2 Create a new subclass of the AcVisitor class and instantiate it. The
visitor class provides a visit method for each type of component. You
override the method for a particular component if you want to perform
operations on it.
3 Decide which report object is the visitors starting point. For example,
the AcReport component (to visit every object in a report), or a section
or page.
4 Call the ApplyVisitor( ) method on the starting point. By default, the
Visit method for a particular component calls the Visit method for the
superclass of that component. For example, by default VisitTextControl
calls VisitDataControl. Also by default, every method ultimately calls
VisitComponent.
600
Class AcVisitor
If the application will visit the entire report, the derived visitor class
must know which of the reports hierarchies to visit. Override the
VisitReport( ) method to call either VisitContents( ) to visit the data
hierarchy, or VisitPage( ) to visit the page hierarchy. By default, the
visitor visits the data hierarchy.
If the application will not visit the entire report, decide which
components should be included or excluded from processing. If the
component has contents, the visit method for the contents is called by
default. If you want to exclude the contents from being processed,
override the components visit method to inhibit the call to the
components superclass method.
Methods
Method
Type
Description
VisitBaseFrame( )
N/A
VisitBasePage( )
N/A
VisitComponent( )
N/A
VisitConditional
Section( )
N/A
VisitContents( )
N/A
VisitControl( )
N/A
VisitCurrencyControl( )
N/A
VisitDataControl( )
N/A
601
Class AcVisitor
602
Method
Type
Description
VisitDataFrame( )
N/A
VisitDataSection( )
N/A
VisitDateTimeControl( )
N/A
VisitDetailGraph( )
N/A
VisitDoubleControl( )
N/A
VisitDynamicTextControl( )
N/A
VisitEllipseControl( )
N/A
VisitFlow( )
N/A
Visit Frame( )
N/A
VisitFrameSetSection( )
N/A
VisitGraph( )
N/A
VisitGroupSection( )
N/A
VisitHLCGraph( )
N/A
Visit a high-low-close or
open-high-low graph
component.
VisitHtmlApplet
Control( )
N/A
VisitHtmlFrame( )
N/A
VisitHtmlImage
Control( )
N/A
VisitHtmlObject
Control( )
N/A
VisitHtmlPlugIn
Control( )
N/A
VisitHtmlReport( )
N/A
Class AcVisitor
Method
Type
Description
VisitHtmlRuleControl( )
N/A
VisitImageControl( )
N/A
VisitIntegerControl( )
N/A
VisitLabelControl( )
N/A
VisitLeftRightPageList( )
N/A
VisitLeftToRightFlow( )
N/A
VisitLinearFlow( )
N/A
VisitLineControl( )
N/A
VisitOleContainer
Control( )
N/A
VisitOleControl( )
N/A
VisitPage( )
N/A
VisitPageNumber
Control( )
N/A
VisitPageList( )
N/A
VisitParallelSection( )
N/A
VisitRectangleControl( )
N/A
VisitReport( )
N/A
VisitReportSection( )
N/A
VisitSection( )
N/A
VisitSequentialSection( )
N/A
VisitSimplePageList( )
N/A
VisitSubpage( )
N/A
603
Class AcVisitor
Example
Method
Type
Description
VisitSummaryGraph( )
N/A
VisitTextControl( )
N/A
VisitTextualControl( )
N/A
VisitTitleBodyPageList( )
N/A
VisitTopDownFlow( )
N/A
VisitVisualComponent( )
N/A
604
Declaring subroutines that convert the values of the data controls to the
form needed in the output text file
Class AcVisitor
605
Class AcVisitor
606
Class AcVisitor
Case Else
Print #Channel, c;
End Select
Next
Print #Channel, """";
NeedComma = True
End Sub
607
Class AcVisitor
' Close output text file and end processing after extraction is complete
Close #Channel
End Sub
608
Class AcVisitor
Case "CustomerTitleFrame"
VisitCustomerTitleFrame( obj )
Case "CustomerGroupTotals"
VisitCustomerGroupTotals( obj )
Case "OrderTitleFrame"
VisitOrderTitleFrame( obj )
Case "OrderTotalsFrame"
VisitOrderTotalsFrame( obj )
Case "ItemFrame"
VisitItemDetail( obj )
End Select
End Sub
This code sample extracts data from the content frame, ItemFrame. The
GetControlValue( ) function accesses the data controls DataValue property.
TextField and NumericField are data extraction utility functions that
convert the format of each controls value before writing the value to the
output text file. The subroutines, TextField and NumericField are shown in
the sample code for step 1:
Sub VisitItemDetail( frame As AcDataFrame )
ItemCategory = frame.GetControlValue( "ItemCategory" )
ItemCode = frame.GetControlValue( "ItemCode" )
ItemDescription = frame.GetControlValue( "ItemCategory" )
ItemQuantity = frame.GetControlValue( "IntegerControl" )
ItemPrice = frame.GetControlValue( "IntegerControl1" )
ItemExtension = frame.GetControlValue( "IntegerControl2" )
' Converts the control to the format required for the output text file
TextField( OfficeName )
TextField( RepName )
TextField( CustomerContactName )
TextField( CustomerContactPhone )
TextField( CustomerName )
TextField( CustomerCreditRank )
TextField( CustomerPurchPattern )
NumericField( OrderNumber )
TextField( OrderForecastDate1 )
TextField( OrderNeededDate )
TextField( OrderForecastDate2 )
TextField( OrderStatus )
TextField( ItemCategory )
TextField( ItemDescription )
NumericField( ItemQuantity )
NumericField( ItemPrice )
609
AcVisitor::VisitBaseFrame method
NumericField( ItemExtension )
' Writes converted field to output text file
Print #Channel
NeedComma = False
End Sub
5 Defines an action (left-click mouse button) on the report control to start the
data extraction utility. The example overrides the OnLButtonClick( )
method to perform the following tasks:
1 Instantiate the reports visitor class, AcDetailCsvVisitor.
2 Set the text output file name.
3 Get a reference to the location of the report object.
4 Start to traverse the structure hierarchy.
5 After data extraction is complete, start Microsoft Excel and displays the
spreadsheet.
Function OnLButtonClick( view As AcReportView, Shift As AcShiftKeyState, x
As Integer, y As Integer ) As Boolean
Dim visitor As AcDetailCsvVisitor
Set visitor = New AcDetailCsvVisitor
visitor.FileName = "c:\Temp\Extract.csv"
GetContainer( ).GetContainer( ).ApplyVisitor( visitor )
Shell( "D:\Program Files\Microsoft Office\Office\Excel.exe C:\Temp\
Extract.csv", 1 )
OnLButtonClick = True
End Function
AcVisitor::VisitBaseFrame method
Visit the AcBaseFrame component.
Syntax
610
AcVisitor::VisitBasePage method
AcVisitor::VisitBasePage method
Visit the AcBasePage component.
Syntax
AcVisitor::VisitComponent method
Visit the components of a report.
Syntax
AcVisitor::VisitConditionalSection method
Visit the AcConditionalSection component.
Syntax
AcVisitor::VisitContents method
Visit the contents of a reports data hierarchy components.
Syntax
Description
AcVisitor::VisitControl method
Visit the AcControl component.
Syntax
611
AcVisitor::VisitCurrencyControl method
AcVisitor::VisitCurrencyControl method
Visit the AcCurrencyControl component.
Syntax
AcVisitor::VisitDataControl method
Visit the AcDataControl component.
Syntax
AcVisitor::VisitDataFrame method
Visit the AcDataFrame component.
Syntax
Example
612
AcVisitor::VisitDataSection method
AcVisitor::VisitDataSection method
Visit the AcDataSection component.
Syntax
AcVisitor::VisitDateTimeControl method
Visit the AcDateTimeControl component.
Syntax
AcVisitor::VisitDetailGraph method
Visit the AcDetailGraph component.
Syntax
AcVisitor::VisitDoubleControl method
Visit the AcDoubleControl component.
Syntax
613
AcVisitor::VisitDynamicTextControl method
AcVisitor::VisitDynamicTextControl method
Visit the AcDynamicTextControl component.
Syntax
AcVisitor::VisitEllipseControl method
Visit the AcEllipseControl component.
Syntax
AcVisitor::VisitFlow method
Visit the AcFlow component.
Syntax
AcVisitor::VisitFrame method
Visit the AcFrame component.
Syntax
AcVisitor::VisitGraph method
Visit the AcGraph component.
Syntax
AcVisitor::VisitGroupSection method
Visit the AcGroupSection component.
Syntax
614
AcVisitor::VisitHLCGraph method
AcVisitor::VisitHLCGraph method
Visit the AcHLCGraph component.
Syntax
AcVisitor::VisitHtmlAppletControl method
Visit the AcHtmlAppletControl component.
Syntax
AcVisitor::VisitHtmlFrame method
Visit the AcHtmlFrame component.
Syntax
AcVisitor::VisitHtmlImageControl method
Visit the AcHtmlImageControl component.
Syntax
AcVisitor::VisitHtmlObjectControl method
Visit the AcHtmlObjectControl component.
Syntax
AcVisitor::VisitHtmlPlugInControl method
Visit the AcHtmlPlugInControl component.
Syntax
615
AcVisitor::VisitHtmlReport method
AcVisitor::VisitHtmlReport method
Visit the HtmlReport component.
Syntax
AcVisitor::VisitHtmlRuleControl method
Visit the AcHtmlRuleControl component.
Syntax
AcVisitor::VisitImageControl method
Visit the AcImageControl component.
Syntax
AcVisitor::VisitIntegerControl method
Visit the AcIntegerControl component.
Syntax
AcVisitor::VisitLabelControl method
Visit the AcLabelControl component.
Syntax
AcVisitor::VisitLeftRightPageList method
Visit the AcLeftRightPageList component.
Syntax
616
AcVisitor::VisitLeftToRightFlow method
AcVisitor::VisitLeftToRightFlow method
Visit the AcLeftToRightFlow component.
Syntax
AcVisitor::VisitLinearFlow method
Visit the AcLinearFlow component.
Syntax
AcVisitor::VisitLineControl method
Visit the AcLineControl component.
Syntax
AcVisitor::VisitOleContainerControl method
Visit the AcOleContainerControl component.
Syntax
AcVisitor::VisitOleControl method
Visit the AcOleControl component.
Syntax
AcVisitor::VisitPage method
Visit the AcPage component.
Syntax
617
AcVisitor::VisitPageList method
AcVisitor::VisitPageList method
Recursively traverses all the components that comprise a reports page
hierarchy.
Syntax
Description
AcVisitor::VisitPageNumberControl method
Visit the AcPageNumberControl component.
Syntax
AcVisitor::VisitParallelSection method
Syntax
Description
AcVisitor::VisitRectangleControl method
Visit the AcRectangleControl component.
Syntax
AcVisitor::VisitReport method
Visit the report component.
Syntax
618
AcVisitor::VisitReportSection method
AcVisitor::VisitReportSection method
Visit the AcReportSection component.
Syntax
AcVisitor::VisitSection method
Visit the AcSection component.
Syntax
AcVisitor::VisitSequentialSection method
Visit the AcSequentialSection component.
Syntax
AcVisitor::VisitSimplePageList method
Visit the AcSimplePageList component.
Syntax
AcVisitor::VisitSubpage method
Visit the AcSubpage component.
Syntax
AcVisitor::VisitSummaryGraph method
Visit the AcSummaryGraph component.
Syntax
619
AcVisitor::VisitTextControl method
AcVisitor::VisitTextControl method
Visit the AcTextControl component.
Syntax
AcVisitor::VisitTextualControl method
Visit the AcTextualControl component.
Syntax
AcVisitor::VisitTitleBodyPageList method
Visit the AcTitleBodyPageList component.
Syntax
AcVisitor::VisitTopDownFlow method
Visit the AcTopDownFlow component.
Syntax
AcVisitor::VisitVisualComponent method
Visit the VisualComponent component.
Syntax
620
Class AcVisualComponent
Class AcVisualComponent
AcVisualComponent is the base class for all classes in which the objects are
visual.
AcComponent
AcReportComponent
AcVisualComponent
Description
Frames
Graphs
Controls
Pages
Flows
Interactive attributes that specify how users can interact with visual objects
in the Viewer. AcVisualComponent defines methods that let you control
the following events when users view and interact with the report:
Mouse events
Hyperlinks
Context-sensitive help
Context menu
You can access the control only from its containing frame, not from another
control. When you assign a value to ObjectVariable, do not use the name of an
existing method. If you do so, a compile-time error occurs.
621
Class AcVisualComponent
Subclassing AcVisualComponent
Do not subclass from AcVisualComponent. Rather, subclass from classes
derived from AcVisualComponent, such as AcFrame and the classes derived
from AcDataControl or other concrete control classes.
Variables
Variable
Type
Description
Position
AcPoint
Size
AcSize
407, 195
1000, 195
TextControl
407, 450
TextControl
TextControl
Height
Width
LinkTo
622
String
Class AcVisualComponent
Properties
Property
Group
Type
Description
AnalysisType
N/A
AcAnalysis
Type
CanIncrease
Height
Dynamic
Size &
Position
Boolean
CanMoveUp
Dynamic
Size &
Position
Boolean
CanReduce
Height
Dynamic
Size &
Position
Boolean
623
Class AcVisualComponent
624
Property
Group
Type
Description
CursorShape
Windows
Viewer
Only
AcCursor
Shape
HelpText
Windows
Viewer
Only
String
LinkExp
Linking
String
Maximum
Height
Dynamic
Size &
Position
AcTwips
Class AcVisualComponent
Property
Group
Type
Description
Minimum
Height
Dynamic
Size &
Position
AcTwips
ObjectVariable
N/A
Value
Position
Position
AcPosition
Searchable
Searching
AcSearch
Type
625
Class AcVisualComponent
626
Property
Group
Type
Description
SearchAlias
Searching
String
Selectable
Searching
Boolean
ShowIn
DHTML
Visibility
Boolean
ShowInPDF
Visibility
Boolean
ShowWhen
Printing
Visibility
Boolean
ShowWhen
Viewing
Visibility
Boolean
Size
Size
AcSize
TargetWindow
Name
Linking
String
Class AcVisualComponent
Property
Group
VerticalPosition Dynamic
Size &
Position
Type
Description
AcVertical
Position
627
Class AcVisualComponent
Property
Group
Type
VerticalSize
Dynamic
Size &
Position
AcVertical
Size
Description
Specifies how the components
vertical size is adjusted:
VerticalSizeFixed (default)the
object is not resized.
VerticalSizeRelativeif the top
of the object is at or above the
top of the reference object and its
bottom is at or below the bottom
of the reference object, the
objects size is increased as
follows to give the greatest
height increase:
the distance between the
objects bottom and the bottom
of the reference object is kept
constant.
the object height is increased by
the same amount as the
reference objects height
increase.
If the top of the object is below
the top of the reference object or
its bottom is above the bottom of
the reference object, the object is
moved according to the setting
of its VerticalPosition property.
VerticalSizeFrameRelativethe
object is resized to keep the
distance between its bottom and
the bottom of the frame
constant.
Methods
628
Method
Type
Description
AddMenuCommands( )
N/A
AdjustSize( )
N/A
Class AcVisualComponent
Method
Type
Description
AdjustVerticalGeometry( )
N/A
CanIncreaseHeight( )
Boolean
CanMoveUp( )
Boolean
CanReduceHeight( )
Boolean
CanSplitVertically( )
Boolean
ComputeLowestSplit( )
Boolean
CursorShape( )
AcCursor
Shape
FindLowestSplit( )
Boolean
FindPageContainerBy
Class( )
AcReport
Returns a reference to this class in
Component the page hierarchy.
GetBottom( )
Integer
GetFirstSlave( )
AcVisual
Returns the handle to the objects
Component first slave object.
GetFrame( )
AcFrame
GetHeight( )
Integer
GetHtmlLinkTo( )
String
GetLastSlave( )
AcVisual
Returns the handle to the objects
Component last slave object.
GetLeft( )
Integer
629
Class AcVisualComponent
630
Method
Type
Description
GetLinkTo( )
String
GetMaster( )
AcVisual
Returns the handle to the objects
Component master object.
GetPageContainer( )
AcVisual
Returns the container in the page
Component hierarchy for the component.
GetRect( )
Ac
Rectangle
GetRight( )
Integer
GetTop( )
Integer
GetVisualComponent( )
AcVisual
Returns the current visual
Component component.
GetWidth( )
Integer
HelpText( )
String
IsFirstSlave( )
Boolean
IsFrameDecoration( )
Boolean
IsMaster( )
Boolean
IsNormal( )
Boolean
IsSlave( )
Boolean
IsVisible( )
Boolean
MaximumHeight( )
Boolean
MinimumHeight( )
Boolean
Class AcVisualComponent
Method
Type
Description
MoveBy( )
N/A
MoveByConstrained( )
N/A
MoveTo( )
N/A
MoveToConstrained( )
N/A
OnActuate( )
Boolean
OnContextMenu( )
Boolean
OnCopyLink( )
N/A
OnFollowLink( )
Boolean
Override to implement a
hyperlink.
OnHelp( )
Boolean
OnLButtonClick( )
Boolean
OnLButtonDblClk( )
Boolean
OnLButtonDown( )
Boolean
OnLButtonUp( )
Boolean
OnRButtonClick( )
Boolean
OnRButtonDblClk( )
Boolean
OnRButtonDown( )
Boolean
OnRButtonUp( )
Boolean
ResizeBy( )
N/A
ResizeByConstrained( )
N/A
ResizeTo( )
N/A
631
AcVisualComponent::AddMenuCommands method
See also
Method
Type
Description
ResizeToConstrained( )
N/A
Searchable( )
AcSearch
Type
SearchAlias( )
String
Selectable( )
Boolean
SetLinkTo( )
N/A
ShowInHtml( )
Boolean
SplitVertically( )
N/A
StatusText( )
String
TargetWindowName( )
String
Implements the
TargetWindowName property.
VerticalPosition
AcVertical
Position
VerticalSize( )
AcVertical
Size
Class AcControl
Class AcFrame
Class AcGraph
Class AcReportComponent
AcVisualComponent::AddMenuCommands method
Builds the context menu that appears when the user presses the right mouse
button.
Syntax
Parameter
632
AcVisualComponent::AddMenuCommands method
Description
Default Action executes OnActuate( ) when users choose this menu item.
Example
633
AcVisualComponent::AdjustSize method
See also
AcVisualComponent::HelpText method
AcVisualComponent::OnActuate method
AcVisualComponent::OnContextMenu method
AcVisualComponent::OnHelp method
Class AcPopupMenu
AcVisualComponent::AdjustSize method
Changes the size of the component.
Syntax
Description
Sub AdjustSize( )
Override AdjustSize( ) to change the size of a component after it is built but
before it is added to a page. For example, you can use AdjustSize to perform
the following actions:
If the component is a control or a nested frame, you must add the component
to its containers list of objects to be resized using the AddToAdjustSizeList( )
method. This causes the AdjustSize( ) method to be called automatically.
Example
In this example, the frame size is large enough to hold four controls. If more
than four controls are needed to display the information, then AdjustSize
dynamically changes the frame size based on the additional space
requirements:
Sub AdjustSize( )
' Every frame can hold at least 4 animals, if there
' are more, then we have to widen the frame.
If RowCount > 4 Then
Size.Width = Size.Width + Offset * (RowCount - 4)
End If
End Sub
634
AcVisualComponent::AdjustVerticalGeometry method
See also
AcBaseFrame::AddToAdjustSizeList method
AcVisualComponent::AdjustVerticalGeometry
method
Adjusts the height and vertical position of the object relative to its reference
object.
Syntax
Parameter
Description
AcVisualComponent::CanIncreaseHeight method
Determines whether or not the height of the object can be increased
automatically.
Syntax
Description
AcVisualComponent::CanMoveUp method
Specifies whether or not the object can move up automatically.
Syntax
635
AcVisualComponent::CanReduceHeight method
Description
See also
The CanMoveUp( ) method specifies whether or not the object can move up
automatically. For example, use CanMoveUp( ) in conjunction with
CanReduceHeight( ) to suppress blank lines in addresses.
AcVisualComponent::CanReduceHeight method
AcVisualComponent::CanReduceHeight method
Determines whether or not the height of the object can be reduced
automatically.
Syntax
Description
AcVisualComponent::CanSplitVertically method
Determines whether or not the object can be split across multiple pages.
Syntax
Description
Returns
AcVisualComponent::ComputeLowestSplit method
Determines whether or not the object can be split.
Syntax
Parameter
636
AcVisualComponent::CursorShape method
splitIsNecessary
Determines if the visual object must be split if possible.
Description
AcVisualComponent::CursorShape method
Implements the CursorShape property that appears in the Properties page of
the Component Editor.
Syntax
Description
See also
AcVisualComponent::FindLowestSplit method
Establishes the vertical point at which the object can split.
Syntax
Parameter
637
AcVisualComponent::FindPageContainerByClass method
Description
Returns
See also
AcVisualComponent::SplitVertically method
AcVisualComponent::FindPageContainerByClass
method
Returns a reference to the named container object in the page hierarchy.
Syntax
Description
Returns
A reference to the container object in the page hierarchy with the named class.
Nothing if the container object cannot be found.
Example
See also
638
AcReportComponent::FindContainerByClass method
AcVisualComponent::GetBottom method
AcVisualComponent::GetBottom method
Returns the position of the bottom of the component.
Syntax
Description
AcVisualComponent::GetFirstSlave method
Returns the handle to the objects first slave object.
Syntax
Description
Returns
AcVisualComponent::GetFrame method
Returns a reference to the frame containing the visual object.
Syntax
Returns
AcVisualComponent::GetHeight method
Returns the height of the component.
Syntax
Description
639
AcVisualComponent:GetHtmlLinkTo method
AcVisualComponent:GetHtmlLinkTo method
Returns the value of the LinkTo variable in HTML format.
Syntax
Description
AcVisualComponent::GetLastSlave method
Returns the handle to the objects last slave object.
Syntax
Description
Returns
AcVisualComponent::GetLeft method
Returns the position of the left edge of the component.
Syntax
Description
AcVisualComponent::GetLinkTo method
Returns the value of the hyperlink expression contained in the LinkTo
variable.
Syntax
Description
640
AcVisualComponent::GetMaster method
AcVisualComponent::GetMaster method
Returns the handle to the objects master object.
Syntax
Description
Returns
AcVisualComponent::GetPage method
Returns the page on which this frame or control appears.
Syntax
Description
Returns
AcVisualComponent::GetPageContainer method
Returns a reference to the container object in the page hierarchy for this
component.
Syntax
Description
641
AcVisualComponent::GetRect method
At report generation time, the Factory builds two object hierarchies, the
structure hierarchy and the page hierarchy. When report generation begins,
components in the report design are stored in the structure hierarchy and the
page hierarchy is empty. As frames are built, the Factory places the visual
components in the report design in the page hierarchy. The frames container
object in the page hierarchy is different from its container object in the
structure hierarchy. For example, in the structure hierarchy, a frames object
container may be another frame, section, or report object. When the Factory
builds the frame, the flow object in the page hierarchy contains the frame.
Returns
See also
AcReportComponent::GetContainer method
AcVisualComponent::GetRect method
Returns the rectangular coordinates of the component relative to its enclosing
frame.
Syntax
Description
Returns
AcVisualComponent::GetRight method
Returns the position of the right edge of the component.
Syntax
Description
AcVisualComponent::GetTop method
Returns the position of the top of the component.
Syntax
642
AcVisualComponent::GetVisualComponent method
Description
Returns the position of the top of the component, in twips, relative to the top
of its enclosing frame.
AcVisualComponent::GetVisualComponent method
Returns the current visual component.
Syntax
Description
Returns
AcVisualComponent::GetWidth method
Returns the width of the component.
Syntax
Description
AcVisualComponent::HelpText method
Implements the HelpText property.
Syntax
Description
643
AcVisualComponent::IsFirstSlave method
OnRButtonDown( )
See also
OnContextMenu( )
AddMenuCommands( )
HelpText( )
OnHelp( )
AcVisualComponent::AddMenuCommands method
AcVisualComponent::OnHelp method
AcVisualComponent::IsFirstSlave method
Determines whether or not the object is the first slave of the master object.
Syntax
Description
Returns
AcVisualComponent::IsFrameDecoration method
Determines whether or not the object is a frame decoration.
Syntax
Description
AcVisualComponent::IsMaster method
Determines whether or not the object is a master object.
Syntax
644
AcVisualComponent::IsNormal method
Description
Returns
A master object is an object that has been split across multiple pages. A slave
object is a fragment that is produced after an object has been split.
True if the object is a master object.
False if the object is not a master object.
AcVisualComponent::IsNormal method
Returns True if the object is neither a master or a slave object.
Syntax
Description
Returns
AcVisualComponent::IsSlave method
Determines whether or not the object is a slave object.
Syntax
Description
Returns
AcVisualComponent::IsVisible method
Determines whether the component is visible to the user.
Syntax
Description
Returns
645
AcVisualComponent::MaximumHeight method
AcVisualComponent::MaximumHeight method
Specifies the maximum height to which the component can grow
automatically.
Syntax
Description
AcVisualComponent::MinimumHeight method
Specifies the minimum height to which the component can shrink
automatically.
Syntax
Description
AcVisualComponent::MoveBy method
Moves a control or frame.
Syntax
Parameter
646
AcVisualComponent::MoveByConstrained method
Description
See also
The MoveBy( ) method moves a control or nested frame within its enclosing
frame or flow by the given distances. The distances can be positive or negative.
AcVisualComponent::MoveTo method
AcVisualComponent::MoveByConstrained method
Specifies the distance by which to move the component.
Syntax
Parameter
Description
See also
AcVisualComponent::MoveTo method
Changes the position of a control or nested frame.
Syntax
Parameter
Description
See also
647
AcVisualComponent::MoveToConstrained method
AcVisualComponent::MoveToConstrained method
Moves the component.
Syntax
Parameter
Description
See also
AcVisualComponent::OnActuate method
Override to implement the visual objects main task.
Syntax
Parameter
Description
648
AcVisualComponent::OnContextMenu method
OnFollowLink( )
AddMenuCommands( )
Returns
See also
AcVisualComponent::AddMenuCommands method
AcVisualComponent::OnFollowLink method
AcVisualComponent::OnLButtonDblClk method
AcVisualComponent::OnContextMenu method
Displays the context menu that appears when users press the right mouse
button.
Syntax
Parameter
Description
649
AcVisualComponent::OnCopyLink method
OnContextMenu( )
AddMenuCommands( )
Returns
See also
AcVisualComponent::AddMenuCommands method
AcVisualComponent::OnRButtonDown method
AcVisualComponent::OnCopyLink method
Use OnCopyLink to copy a link to the clipboard.
Syntax
Description
Sub OnCopyLink( )
OnCopyLink( ) uses the Actuate Basic function OnCopyLink to copy the
contents of the LinkExp property to the clipboard.
AcVisualComponent::OnFollowLink method
A placeholder method that implements hyperlinks between objects.
Syntax
Parameter
650
AcVisualComponent::OnFollowLink method
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
OnFollowLink( )
AddMenuCommands( )
Returns
Example
651
AcVisualComponent::OnHelp method
See also
AcVisualComponent::AddMenuCommands method
AcVisualComponent::OnActuate method
AcVisualComponent::OnLButtonDblClk method
AcVisualComponent::OnHelp method
Displays the string specified in HelpText.
Syntax
Parameter
Description
652
AcVisualComponent::OnLButtonClick method
The following figure illustrates the default sequence of method calls leading to
HelpText( ).
OnRButtonDown( )
OnContextMenu( )
AddMenuCommands( )
HelpText( )
OnHelp( )
Returns
See also
AcVisualComponent::AddMenuCommands method
AcVisualComponent::HelpText method
AcVisualComponent::OnContextMenu method
AcVisualComponent::OnRButtonDown method
AcVisualComponent::OnLButtonClick method
Executes when users click the left mouse button on a visual object.
Syntax
Parameter
653
AcVisualComponent::OnLButtonClick method
Shift
A bit field that indicates if the Shift, Ctrl, or Alt keys were pressed at the time of
the event. Shift can contain one of the following values:
Keys pressed
Bit value
Shift value
None
NoKeys
Shift
ShiftKey
Ctrl
ControlKey
Shift + Ctrl
Alt
AltKey
Shift + Alt
Ctrl + Alt
x
The horizontal position of the mouse cursor at the time of the event, measured
in pixels relative to the left of the view.
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
Example
654
AcVisualComponent::OnLButtonClick method
the selected control is set to light gray and the background color of the other
controls is set to transparent:
Function OnLButtonClick( view As AcReportView, Shift As AcShiftKeyState, x
As Integer, y As Integer ) As Boolean
Dim theLink As AcReportController
' Set up object reference variables for frame and selectable controls
Dim aFrame As AcFrame
Dim USDTC As AcTextControl
Dim FFTC As AcTextControl
Dim DMTC As AcTextControl
' Get frame location
Set aFrame = GetContainer()
' Get location for each selectable control
Set USDTC = FindContentByClass("NewReportApp::Frame2::TextControl")
Set FFTC = FindContentByClass("NewReportApp::Frame2::TextControl1")
Set DMTC = FindContentByClass("NewReportApp::Frame2::TextControl2")
' Change background of controls to emphasize selected control
USDTC.BackgroundColor = TransparentColor
FFTC.BackgroundColor = LightGray
DMTC.BackgroundColor = TransparentColor
' Get access to Report Controller methods so you can issue Viewer
' commands to refresh pages
Set theLink = New AcReportController
theLink.AttachToThisReport( )
' Refresh the page -- calls GetText( ) method for controls
theLink.ShowNextPage()
theLink.ShowPrevPage()
Set return code to indicate that the event has been handled
OnLButtonClick = True
End Function
When the Actuate Viewer refreshes the display, the GetText( ) method for
every control is called. In this override to the GetText( ) method, the currency
controls value is recalculated based on the monetary unit selected by the user:
Chapter 3, AFC classes
655
AcVisualComponent::OnLButtonDblClk method
Returns
See also
AcVisualComponent::OnLButtonDblClk method
AcVisualComponent::OnLButtonDown method
AcVisualComponent::OnLButtonUp method
AcVisualComponent::OnLButtonDblClk method
Executes when users double-click the left mouse button on a visual object.
Syntax
Parameter
656
AcVisualComponent::OnLButtonDown method
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
Returns
See also
AcVisualComponent::OnLButtonDblClk method
AcVisualComponent::OnLButtonDown method
AcVisualComponent::OnLButtonUp method
AcVisualComponent::OnLButtonDown method
Executes when the user presses the left mouse button.
Syntax
Function OnLButtonDown( view As AcReportView, Shift As AcShiftKeyState,
x As Integer, y As Integer ) As Boolean
view
The window the report is in.
Shift
A bit field that indicates if the Shift, Ctrl, or Alt keys were pressed at the time of
the event. See OnLButtonClick for the codes.
x
The horizontal position of the mouse cursor at the time of the event, measured
in pixels relative to the left of the view.
657
AcVisualComponent::OnLButtonUp method
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
OnLButtonDown action
Returns
See also
AcVisualComponent::OnLButtonClick method
AcVisualComponent::OnLButtonDblClk method
AcVisualComponent::OnLButtonUp method
AcVisualComponent::OnLButtonUp method
Executes when users release the left mouse button on a visual object.
Syntax
Parameter
658
AcVisualComponent::OnRButtonClick method
x
The horizontal position of the mouse cursor at the time of the event, measured
in pixels relative to the left of the view.
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
Returns
See also
AcVisualComponent::OnLButtonClick method
AcVisualComponent::OnLButtonDblClk method
AcVisualComponent::OnLButtonDown method
AcVisualComponent::OnRButtonClick method
Executes when users click the right mouse button on a visual object.
Syntax
Parameter
659
AcVisualComponent::OnRButtonDblClk method
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
Returns
See also
AcVisualComponent::OnRButtonDblClk method
AcVisualComponent::OnRButtonDown method
AcVisualComponent::OnRButtonUp method
AcVisualComponent::OnRButtonDblClk method
Executes when users double click the right mouse button on a visual object.
Syntax
Parameter
660
AcVisualComponent::OnRButtonDown method
y
The vertical position of the mouse cursor at the time of the event, measured in
pixels relative to the top of the view.
Description
Returns
See also
AcVisualComponent::OnRButtonClick method
AcVisualComponent::OnRButtonDown method
AcVisualComponent::OnRButtonUp method
AcVisualComponent::OnRButtonDown method
Executes when the user presses the right mouse button.
Syntax
Parameter
661
AcVisualComponent::OnRButtonUp method
Description
Returns
See also
AcVisualComponent::OnRButtonClick method
AcVisualComponent::OnRButtonDblClk method
AcVisualComponent::OnRButtonUp method
AcVisualComponent::OnRButtonUp method
Executes when the user releases the right mouse button.
Syntax
Parameter
Description
662
AcVisualComponent::ResizeBy method
Returns
See also
AcVisualComponent::OnLButtonDown method
AcVisualComponent::OnRButtonClick method
AcVisualComponent::OnRButtonDblClk method
AcVisualComponent::ResizeBy method
Resizes a component by the given distances.
Syntax
Parameter
Description
See also
AcVisualComponent::ResizeByConstrained method
Specifies the amount by which to resize the component.
Syntax
Parameter
663
AcVisualComponent::ResizeTo method
Description
See also
AcVisualComponent::ResizeTo method
Resizes a frame or control to the given size.
Syntax
Parameter
Description
See also
AcVisualComponent::ResizeToConstrained method
Resizes the component to the given size.
Syntax
Parameter
Description
See also
664
AcVisualComponent::Searchable method
AcVisualComponent::Searchable method
Implements the Searchable property.
Syntax
Description
See also
AcVisualComponent::SearchAlias method
Implements the SearchAlias property that appears on the Properties page of
the Component Editor.
Syntax
Description
Default
See also
AcVisualComponent::Selectable method
Implements the Selectable property that appears on the Properties page of the
Component Editor.
Syntax
Description
Returns
See also
AcVisualComponent::Searchable method
665
AcVisualComponent::SetLinkTo method
AcVisualComponent::SetLinkTo method
Sets the LinkTo run-time variable based on values of data row variables.
Syntax
Description
Example
AcVisualComponent::ShowInHTML method
Determines whether or not a control is visible in the HTML report.
Syntax
Description
Returns
Example
666
AcVisualComponent::SplitVertically method
AcVisualComponent::SplitVertically method
Overridden by AFC classes to split visual objects vertically.
Syntax
Parameter
Description
AcVisualComponent::StatusText method
Returns the value of GetLinkTo( ) if there is a hyperlink, or the help text
associated with this component.
Syntax
Description
667
AcVisualComponent::TargetWindowName method
Returns
The value of the hypertext link if there is one, help text if there is any, or the
empty string if there is no hyperlink or help text.
AcVisualComponent::TargetWindowName method
Implements the TargetWindowName property.
Syntax
Description
Returns
AcVisualComponent::VerticalPosition method
Returns the value of the VerticalPosition property.
Syntax
Description
AcVisualComponent::VerticalSize method
Returns the value of the VerticalSize property.
Syntax
Description
668
Class AcXMLDataVisitor
Class AcXMLDataVisitor
AcXMLDataVisitor is a tools class.
Description
Subclassing AcXMLDataVisitor
To perform custom XML generation:
1 Open your report design in e.Report Designer Professional.
2 Set up the XML data visitor class:
1 Create a new Actuate Basic source file.
2 Create a new subclass of the AcXMLDataVisitor class and instantiate it.
3 Trigger XML generation.
Call the GenerateXML method specifying the name of the structure
component where you want the generation to start. For example, if you
want to generate XML for all components in the report, pass the name
of the report. If you want to generate XML for a group section, pass the
name of the group section.
3 Provide custom logic to generate XML. For each component that needs
custom XML generation:
669
Class AcXMLDataVisitor
browser to interpret the XML file. Actuate rules for the order of adding XML
data are:
The current element must have all its attributes before you add a nested
element, text, or end the element.
Before you add an attribute, you must open the element by calling
StartElement and add any required attributes by calling GenerateAttribute.
Variables
Variable
Type
Description
Level
Integer
TabSize
Integer
XMLFile
Integer
Methods
670
Method
Type
Description
EndElement( )
N/A
GenerateAttribute( )
N/A
GenerateEmpty
Element( )
N/A
GenerateText( )
N/A
GenerateXML( )
AcXML
Visitor
StartElement( )
N/A
AcXMLDataVisitor::EndElement method
AcXMLDataVisitor::EndElement method
Completes an XML element initiated with the StartElement( ) method.
Syntax
Parameter
Description
See also
AcXMLDataVisitor::GenerateAttribute method
Adds an attribute to the current element.
Syntax
Parameter
attrib
The name of the attribute.
value
The value of the attribute.
Description
See also
AcXMLDataVisitor::GenerateEmptyElement method
Builds an element with no content.
Syntax
671
AcXMLDataVisitor::GenerateText method
Parameter
Description
tag
The name of the element.
Call GenerateEmptyElement( ) to build an element with the form <tag/>.
AcXMLDataVisitor::GenerateText method
Adds text to the current element.
Syntax
Parameter
Description
See also
AcXMLDataVisitor::GenerateXML method
Generates custom XML.
Syntax
Parameter
channel
The Actuate Basic channel to be opened for output.
encoding
The encoding to use for opening the output file. To use the default encoding,
specify an empty string.
fileName
The name of the XML file.
672
AcXMLDataVisitor::StartElement method
root
The name of the highest level component for which XML is to be generated.
Description
Returns
Call GenerateXML( ) to generate the XML file. The form of GenerateXML that
accepts a filename calls the second form of GenerateXML( ) that accepts a
channel as input. The channel number is available in the XMLFile variable.
True if the output file is generated.
False if the output file is not generated.
AcXMLDataVisitor::StartElement method
Creates an element.
Syntax
Parameter
Description
673
AcXMLDataVisitor::StartElement method
674
Index
Symbols
& (ampersand) in menu commands 462
* as overflow character 81
. (dot) notation 196
[] in value expressions 195, 196
Numerics
2-D graphs
specifying 65
3-D graphs
bar grouping constants for 61
specifying 65
A
Abandon method 508
abstract base classes 4
AC_VIEWSERVER_EXCELOUTPUTDIR
variable 268
AcAutoSplit data type 44
AcBaseFrame class 88
subclassing 89
AcBasePage class 101
AcBitmapStyle data type 45
AcBrowserScriptingControl class 103
AcBTree class 107
Access Control Lists (ACLs)
changing 513
customizing 502
generating 553
getting 448, 491, 513, 517, 546
overview 480, 501
access keys (menus) 462
access restrictions 480, 501
accessing online help xxix
AcChartAxisOrigin data type 45
AcChartBarGrouping data type 45
AcChartBarOrientation data type 46
AcChartBorderStyle data type 46
AcChartHLCBarStyle data type 47
AcChartLegendPosition data type 47
AcChartLinePen data type 48
AcChartLineStyle data type 48
Index
675
Index
677
AcHtmlAppletControl 358
AcHtmlImageControl 365
AltKey constant 80
ampersand (&) in menu commands 462
analysis tools (third-party) xxiii
AnalysisType property 623
annual costs 168
AnyClass type 138
AppletName property 359
AppletName variable 358
applets
aligning 70, 358, 359
attaching to reports 357, 369
defining parameters for 360
providing alternate text for 358
providing specialized behavior for 615
sizing 358, 359
application programming interfaces xxiii
applications
sample xxvi
ApplyVisitor method 509
AppStartingCursor constant 56
archiving 481, 496
changing rules for 487
area graphs 65, 332
arrays
creating 420
expanding 422
resizing 421
setting object location 421
ArrowCursor constant 55
AsColumnHeader constant 203
AsPageHeader constant 203
aspect ratios 45
attaching
applets to reports 357, 369
plug-ins to reports 370
to databases See connections
AttachReport method 525
AttachToThisReport method 524
auto-archive rules
changing 487
customizing 481
setting 496
Autofit method 292
automatic sorting 531
automating reporting tasks xxiv
automation servers 427
B
BackgroundColor property
AcBaseFrame 90
AcFlow 298
AcFrame 306
AcGraph 316
AcHtmlFrame 362
AcHtmlReport 377
AcTextualControl 595
BackgroundColor variable
AcBaseFrame 89
AcFlow 298
AcGraph 316
AcHtmlReport 375
BackgroundImage property 377
BackgroundImage variable 375
BackgroundIsClear property 316
BackgroundIsClear variable 316
backgrounds
Excel spreadsheets 276, 280
flows 298
Index
679
Border variable
AcBaseFrame 89
AcFlow 298
BorderColor property 201
BorderDarkColor property 202
borderless graphs 62
BorderLightColor property 202
BorderLineWidth property 202
borders
Excel spreadsheets 276, 280
flows 298
frame origins 312, 313
frame size 313
frame styles 89, 90
graphs 62
HTML tables 201, 306, 362
images 384
bounding rectangles See enclosing rectangles
brackets in value expressions 195, 196
browser code
adding 103, 312
debugging 104
BrowserClipping property 104
BrowserCode method 105
BrowserCode property 104
getting value for 105
buffering data rows 406, 477
buffers
adding specified data 407
creating memory 406
creating record 477
data sorter for 410
flushing 171, 406, 407, 408, 477
getting contents 408
getting first row position 409
Build method 510
BuildFromRow method 510
building reports
factory protocol for 441
nested 459, 532, 557
overview 480
procedure described 480, 529
with method calls 510, 512, 523
BuildText method 260
bulleted lists 69
680
C
calculated variables 197
CalculateEndingValue method 333
CalculateRangeUnit method 333
CalculateStartingValue method 333
CalculateTickIntervalUnit method 334
calculations 195, 250
candlestick graphs 65
CanExpand property 441
CanFitFrame method 301
CanFitHeight method 301
CanIncreaseHeight property 623
CanModifyOrderByClause property 591
CanMoveUp method 635
CanMoveUp property 623
CanReduceHeight method 636
CanReduceHeight property 623
CanSeek method 166
CanShrink property 101
CanSortDynamically method 166, 593
CanSplitVertically method 636
CascadeSecurity property 546
cascading menus 461
case statements 147
categories
defined 583
numbering 337
CategoryKey property 584
CategoryLabel property 584
CellPadding property 202
CellSpacing property 202
centering frames 58
centering HTML objects 69
centering images 70
centering text 72, 81, 82
changing
access lists 513
auto-archive rules 487
graphical elements at runtime 266
labels at runtime 395
private classes 4
report structures 4
channels xxiv
charts See graphs
charts. See graphs 247
CheckMenuItem method 463
checkpoints 451
circles 266
class library 1
data types defined in 42
classes
Actuate inheritance hierarchy 2
caution for changing private 4
instantiating abstract base 4
summary of 439
clearing
data buffers 171
memory buffers 406, 407, 408
record buffers 477
ClipLeading constant 81
clipping
browser output 104
images 45
text 80, 82
ClipToControlSize constant 104
ClipTrailing constant 81
cloning OLE objects 432
CloseConnection method 167
CloseCursor method 226
CloseOrDeactivate method 428
CloseValueExp property 353
closing
data adapters 170
data streams 533
database connections 151, 167, 549
database cursors 226
OLE applications 428
report files 494
cluster bar graphs 61
CodeBase property 359
CodeBase variable 358
collection classes 29
collections
accessing items 139, 420
adding items 108, 110, 435, 436
assigning object references for 138
controlling item order 435
counting items 141, 539
creating 107, 138
defined 138
defining list interface for 402, 568
getting contents 141
getting object keys 109
Index
681
components (continued)
getting first usage 517
getting names 143
getting top-level frame 516
implementing security 501
instantiating with conditions 147, 148
pinning/unpinning 508, 512, 523
providing specialized behavior for 600,
611
removing from containers 508, 510, 511
searching for 79, 622, 665
testing contents 520, 521
testing for in slots 144
testing for type 144
testing for visual 521
ComputeCategoryRange method 585
computed columns 343
ComputeLabels method 334
ComputeLowestSplit method 636
ComputeMinMax method 335
ComputeYOverlayMinMax method 335
concatenation 417
conditional expressions 148, 149
conditional section components 147
conditional sections
creating 147, 148
defined 543
providing specialized behavior for 611
ConditionIsTrue method 148
ConfigKey property 214
Connect method 151
connection classes
instantiating 173
overview 25
connection components
adding server-specific 219, 386, 413, 423,
433, 465, 470, 587
adding to reports 150, 214
Connection property
AcDataAdapter 163
AcSection 546
connections
closing 167, 549
current state 150
database-specific 219, 386, 413, 423, 433,
465, 470, 587
defining for data adapters 163, 172, 176
682
Index
683
cursor constants 55
cursor shapes 55, 637
CursorParameter variable 575
cursors (SQL)
accessing 222
allocating 231, 236, 245
assigning values to parameters 226
binding to data rows 179
binding to SQL parameters 180
closing 226
creating 222, 236
defined 222
defining parameters for 225, 237
deleting 222
fetching data rows 228
getting associated connection 229
getting associated data source 181
getting database statements for 230
opening 182, 231, 245
example for 231, 236, 245
overview 472
returning data rows 178
testing if opened 230
CursorShape method 637
CursorShape property 624
custom browser code
adding 103, 312
debugging 104
custom reports 4
custom run-time sorting 166
CustomDHTMLFooter method 312
CustomDHTMLFooter property property
AcFrame 308
CustomDHTMLHeader method 312
CustomDHTMLHeader property 308
customizing data filters 189
customizing sort order 166
CustomRequesterName property 484
CustomXLabels method 252
AcDetailChart 249
CustomYOverlayLabels method 335
D
DashDotDotLine constant 74
DashDotLine constant 74
DashLine constant 74
684
data adapters
adding data rows 165
advancing row position 174, 175, 176
closing 170
creating 162, 211, 419
defining connections for 163, 172, 176
enabling dynamic ordering 166
getting connections for 171
getting data randomly 166, 406, 477
getting data rows 167, 172
getting row position 172
input filters for 189
opening connections for 173
sorting defaults 166
starting 176
testing for open 163, 172
usage overview 417
data controls
adding 305, 595
assigning values 55, 158, 159, 186
building if no data rows 183
building with data rows 184, 185
contents categorized 184
defined 153
for date and time values 213
for graphical elements 266, 383, 400, 478
for graphical elements in HTML
documents 365, 381
for graphs 250, 315, 353, 583
for monetary values 161
for numbers 253, 388
for text strings 590
formatting 157, 187
getting values 95, 157
providing specialized behavior for 612
retrieving sort key information 187
returning formatted values 192
setting display values for 183
setting sample values for 186
values defined 183
data extraction 604
data filter classes 189, 416, 563
data filters
closing input adapters 170
creating 189, 410, 563
creating for multiple sources 416
creating input streams for 419
instantiating 173
mapping to high-low data points 353
mapping to summary data points 583
mapping to unsummarized data
points 250
nesting values 342, 343
reading 197, 211, 212
retrieving from databases 574
returning adapter position 172
setting number of retrievable 163
data section components 199, 342, 528
data sections
creating 199
defined 199
getting components in 205
getting current header or footer 207
getting first page header or footer 206
instantiating components for 207, 208, 209,
210
providing specialized behavior for 613
with no data rows 210
data series (graphs)
defined 583
defining number of 318
getting user-initiated hits 339
setting colors for 319
data sorter component 410
data sources
closing input sources 170
connecting to 25
containing formatted data 192
customizing 167, 173, 192
defined 162
getting associated connections 181
getting associated cursors 181
monitoring state 211, 212
reading from 178, 211, 574
starting data adapters for 176
data stream classes 30
data streams
associated with reports sections 343
closing 533
connecting to 514, 544
creating for database cursors 178
creating for SQL queries 195, 474, 571
creating for stored procedures 574
defined 162
Index
685
686
Index
687
displaying (continued)
plug-ins 371
report objects 307, 439, 537
report pages 76, 526, 527
secured reports 502
string data 590
DisplayName property 142
DllPath property
AcDB2Connection 219
AcInformixConnection 386
AcMSSQLConnection 413
AcODBCConnection 423
AcProgressConnection 466
AcProgressSQL92Connection 470
DllPath variable
AcDB2Connection 219
AcInformixConnection 386
AcMSSQLConnection 413
AcODBCConnection 423
AcOracleConnection 433
AcProgressConnection 465
document files
archiving 496
closing 494
discarding generated 494
naming 497
opening 494
removing archived 496
Document Type Definition (DTD) 669
documentation xxvii
online xxviii
syntax conventions xxxii
typographical conventions xxxi
dot syntax 196
DotLine constant 74
DoubleLine constant 74
double-precision reals 253, 613
DoVerb method 428
drop shadows
graphs 62
rectangles 79
DualYValueExp property
AcDetailChart 247
dynamic arrays
creating 420
expanding 422
688
resizing 421
setting object location 421
dynamic sorting 593
E
e.Analysis application xxiv
e.Report Designer xxiii
e.Report Designer Java Edition xxiii
e.Report Designer Professional xxiii
overview xxv
e.Reporting Server xxiv
e.Reporting Suite xxi
product summary xxiii
e.Spreadsheet
Designer xxv
EjectPage method 447
ellipse controls
adding 266
providing specialized behavior for 614
ellipses as truncated text 81, 82
else expressions 148
Else property 148
Embedded property 384
embedding images 74
EnableMenuItem method 463
enclosing rectangles 75, 78, 642
End User Desktop xxiii
EndElement method 671
ending dates 333
EndPosition property 400
EndPosition variable 400
EndSelectionScan method 538
enumerations (enums) 42
error codes
getting SQL specific 217
listing of 215
error messages
creating 152
getting general 216
getting SQL specific 217
ErrorText property 359
ErrorText variable 358
events 502, 503
Example folder xxvi
Excel classes 33
Excel files 268
Excel spreadsheets
accessing specific cells 293
accessing specific columns 293
adding rows 286
adding workbooks 268
adding worksheets 288
creating 268, 270
deleting workbooks 269
deleting worksheets 289
displaying gridlines 294, 295
enabling autofit option for 292
finding specific workbook 269
finding worksheets 289
generating 33, 509
getting alignment settings 277, 279
getting background color 276
getting border type 276, 280
getting fonts for 277
getting indentation values 278
getting merge cells option 278
getting merge cells options 278
getting numeric formats 278
getting range content 279
getting specific cells 294
getting specific rows 295
getting workbook name 290
getting worksheet name 294
getting wrap text setting 280
instantiating worksheet cells 272
instantiating worksheet columns 273
managing workbooks in 288
managing worksheets in 292
naming worksheets 296
saving workbooks 290
setting alignment options 281, 284
setting background color 280
setting border type 280
setting data types for 284
setting fonts for 281
setting indentation values 282
setting merge cell options 285
setting numeric formats 282
setting properties for 275
setting wrap text option 285
ExcelBorderBottom constant 57
ExcelBorderDashDot constant 56
ExcelBorderDashDotDot constant 57
ExcelBorderDashed constant 56
ExcelBorderDotted constant 56
ExcelBorderDouble constant 56
ExcelBorderHair constant 56
ExcelBorderLeft constant 57
ExcelBorderMedium constant 56
ExcelBorderMediumDashDot constant 57
ExcelBorderMediumDashDotDot
constant 57
ExcelBorderMediumDashed constant 56
ExcelBorderNone constant 56
ExcelBorderRight constant 57
ExcelBorderSlantedDashDot constant 57
ExcelBorderThick constant 56
ExcelBorderThin constant 56
ExcelBorderTop constant 57
ExcelHAlignCenter constant 57
ExcelHAlignCenterAcrossSelection
constant 58
ExcelHAlignFill constant 58
ExcelHAlignGeneral constant 57
ExcelHAlignJustify constant 58
ExcelHAlignLeft constant 57
ExcelHAlignRight constant 58
ExcelVAlignBottom constant 58
ExcelVAlignCenter constant 58
ExcelVAlignJustify constant 58
ExcelVAlignTop constant 58
Execute method 241
executing queries 234, 241, 246
ExpirationAge variable 483
ExpirationDate variable 483
expressions 319
F
F1 key xxix
FaceName property 59
Factory checkpoints 451
Fetch method
AcDataAdapter 167
AcDBCursor 228
AcSingleInputFilter 565
FetchLimit property 163
FetchLimit variable 163
FetchRowBufferCount property 470
fields See columns
FileName property 384
Index
689
690
Finish method
AcDataAdapter 170
AcReportComponent 512
FinishConnection method 549
FinishDataStream method 533
FinishFlow method 549
FinishPage method 549
FirstIsLeft property 396
FixedBackground constant 68
FixedColumnWidths property
AcDataSection 202
AcHtmlFrame 364
FixedColumnWidths variable 363
floating-point numbers 253, 388
flow (page layouts)
adding frames 97, 299
adding headers and footers 299
adjusting headers and footers 300, 304
aligning frames 58
attaching to sections 548, 549, 554
attaching to subpages 101, 300, 578
balancing in subpages 96, 101
binding frames to 92, 96
defining 297
freeing space in 302
getting active 447
getting content size 302
getting current header/footer 207
getting first page header/footer 206
getting unused space 301
HTML reports and 297
multiple 458
providing one-directional 398
providing specialized behavior for 614,
617, 620
providing top-down 598
reserving available space 303, 450
resetting available space 303
testing size 301
flow components 297, 398, 598
FlowAlignCenter constant 58
FlowAlignCustom constant 59
FlowAlignLeft constant 58
FlowAlignRight constant 59
FlushBuffer method
AcDataAdapter 171
AcMemoryBuffer 407
FlushBufferTo method
AcDataAdapter 171
AcMemoryBuffer 408
FollowLink method 525
Font property 595
fonts
Excel spreadsheets 277, 281
graph legends 330
graph titles 317
setting text attributes 59
footers See page headers and footers
Format method 187
format patterns 187
Format$ function 157
FormatPageNumber method 442
FormattedPageNumber constant 76
FormattedPageNumber type 454
formatting custom graph labels 336, 337
formatting data values 157, 187
formatting page numbers 457
formatting text
for HTML documents 68, 156, 362
for report documents 157
FormatXLabel method 336
FormatYLabel method 336
FormatYOverlayLabel method 337
fractions 253
frame components 88, 190, 305, 362
frames
accessing contents 93, 94, 95
adding controls 91, 93, 94, 260, 261, 262,
263, 264, 265, 311, 312, 313, 314, 635, 636,
637, 638, 639, 640, 641, 644, 645, 646, 648,
664, 667, 668
adding for HTML reports 362
adding to flow 97, 299
adding to page layouts 444
adding to report designs 88, 305
aligning text in HTML 72
alignment constants 58
as HTML contents page 73
binding to flow 92, 96, 297, 398, 598
borders 312, 313
building from data rows 190
building if no data rows 89
defining viewing areas 305
G
GenerateAttribute method 671
GenerateEmptyElement method 671
GenerateText method 672
GenerateXML method
AcReportComponent 512
AcXMLDataVisitor 672
GenerateXMLData method 539
GenerateXMLDataFile method 488
GetActualPageCount method 455
GetActualPageNumber method 456
GetAfter method 205
GetAt method 436
GetAvailableHeight method 261
GetAvailableWidth method 261
GetBackgroundColor method 276
GetBaseImageName method 385
GetBefore method 205
GetBorder method 276
Index
691
692
Index
693
694
GraphXAxisAuto constant 66
GraphXAxisBottom constant 66
GraphXAxisNone constant 66
GraphXAxisTop constant 66
GraphXValuePerPoint constant 66
GraphXValuesPerDataSet constant 66
GraphYAxisAuto constant 67
GraphYAxisLeft constant 67
GraphYAxisNone constant 67
GraphYAxisRight constant 67
GraphYearUnit constant 320, 321
GraphYLabelDown constant 67
GraphYLabelHoriz constant 67
GraphYLabelUp constant 67
GraphZeroOrigin constant 60
grid lines in graphs 317, 322, 325
GridColor property 317
GridColor variable 317
group keys 346, 347, 348
group section components 342
group sections
adding 342
building 343
comparing key values 348
defined 199, 543
determining group interval 346
getting group key 187
getting key values 347, 348
grouping data in 67, 345
nesting in report sections 342
providing specialized behavior for 614
setting key values 148
setting sort key 166
GroupByClause variable 571
grouping data 67, 345
GroupInterval property 345
GroupOn property 345
GroupOnCustom constant 68
GroupOnDay constant 68
GroupOnEveryValue constant 67
GroupOnHour constant 68
GroupOnInterval constant 68
GroupOnMinute constant 68
GroupOnMonth constant 68
GroupOnPrefix constant 67
GroupOnQuarter constant 68
GroupOnWeek constant 68
GroupOnYear constant 67
H
HandCursor constant 56
HasContents method 520
HasFetchedLast method 212
HasMore method 392
HasPageSecurity method 493
HavingClause variable 571
headers See page headers and footers
headings 68
help xxviiixxxi
creating for controls 155
creating report-specific xxxi
usage overview xxix
help cursors 56
Help menu xxix
help topics xxix
HelpText method 643
HelpText property 624, 643
hiding controls 666
hiding TOC entries 83
hierarchical trees
adding items 108, 109, 110
creating 107
getting items 108, 109
getting object keys 109
high-low-close graphs
creating 65, 353
providing specialized behavior for 615
HighValueExp property 353
hints 154, 155
hits 337, 338, 340
HLC graphs See high-low-close graphs
HLCBarStyle property 331
HLCBarStyle variable 331
horizontal bar graphs 61
horizontal resize arrows 55
horizontal rules 381, 616
Host property 470
HostString property 433
HostString variable 433
hourglass cursors 55
HTML documents
adding images 365, 479
adding Java applets 357, 369
Index
695
696
HtmlAlignImageBottom constant 70
HtmlAlignImageCenter constant 70
HtmlAlignImageLeft constant 70
HtmlAlignImageMiddle constant 70
HtmlAlignImageNone constant 70
HtmlAlignImageRight constant 70
HtmlAlignImageTextTop constant 70
HtmlAlignImageTop constant 70
HtmlAutomaticTable constant 72, 203
HtmlBodyText constant 68
HtmlBulletedList constant 69
HtmlCaptionAbove constant 71
HtmlCaptionBelow constant 71
HtmlCenterAlign constant 69
HtmlClientSideMap constant 71
HtmlCreateTable constant 72, 203
HtmlDefinitionList constant 69
HtmlHeading19 constants 68
HtmlHorizDefault constant 69
HtmlLeftAlign constant 69
HtmlNoCaption constant 71
HtmlNoImageMap constant 71
HtmlNoToc constant 73
HtmlNotTable constant 72, 203
HtmlOrderedList constant 69
HtmlParams method
AcHtmlAppletControl 360
AcHtmlPlugInControl 373
HtmlPercent constant 73
HtmlPixels constant 73
HtmlPlugInEns constant 71
HtmlPlugInPercent constant 71
HtmlRightAlign constant 69
HtmlServerSideMap constant 71
HtmlStyle property 364
HtmlStyle variable 363
HtmlTable constant 69
HtmlTextAlignCenter constant 72
HtmlTextAlignLeft constant 72
HtmlTextBaseline constant 73
HtmlTextBottom constant 73
HtmlTextMiddle constant 72
HtmlTextTop constant 72
HtmlTextVertDefault constant 72
HtmlTocInFrame constant 73
HtmlTocInHeader constant 73
hyperlink cursors 56
hyperlinks
copying 650
creating 524
defined 524
executing 525, 648
getting values 640, 667
implementing 650
providing server prefixes for 379
setting at runtime 666
I
IBeamCursor constant 55
IconCursor constant 55
If expressions 148, 149
IfExp property 148
overriding 149
image controls
adding to HTML documents 68, 70, 365
associating with HTML documents 71
bitmapped styles for 45
clipping 45
creating for external files 383
embedding in reports 74
getting file names 385
providing specialized behavior for 615,
616
supported file formats 383
image maps 71
ImageDesignTime constant 74
ImageFactoryTime constant 74
ImageName property 366
images 367
aligning 70
as backgrounds 68
scrollable 68
supported in HTML reports 267, 401, 479
ImageViewTime constant 74
implementing security 501
index searches 79, 622
Informix database connections
creating 386
data types 387
initializing
database statement objects 218, 246
properties 144
user-defined variables 144
input adapters
closing 170
creating 419, 566
defined 170
getting 566
setting for data filters 567
usage overview 417, 564
input filters 189
input parameters
defining 226, 238
overview 574
input sources
closing 170
connecting to 150
current position 163
defined 162
getting data from 192, 211
InputAdapter variable 565
InputAdapters variable 417
Insert method 110
INSERT queries 234
InsertAfter method 404
InsertBefore method 405
InsideFrameBorder constant 74
installing online documentation xxviii
instantiation 4
conditional 147, 148
integers 253, 388, 616
internal tools classes 35
IsAtEnd variable 211
getting values 212
IsConnected method 151
IsContainer method 520
IsDone method 392
IsEmpty method 141, 302
IsFirstSlave method 644
IsFrame method 521
IsFrameDecoration method 644
IsHidden property 372
IsHidden variable 371
IsLeaf method 521
IsMaster method 644
IsNormal method 645
IsOpen method 230
IsOpen variable
AcConnection 150
AcDataAdapter 163
IsPersistent method 144
Index
697
J
Java applets
aligning 70, 358, 359
attaching to reports 357, 369
defining parameters for 360
providing alternate text for 358
providing specialized behavior for 615
sizing 358, 359
joins 417, 468, 469, 473
JPG files 383
justifying text 81, 82
K
KeepAspectRatio constant 45
KeepOriginalSize constant 45
KeepTaggedText method 262
KeepTaggedText property
AcDynamicTextControl 255
key columns 148
Key property 345
keyboard events 80
KeyValue variable 148, 344
L
LabelExp property 353
LabelFont property 317
LabelFont variable 317
labels
698
Locale property
AcReport 484
lookahead aggregates 200
lookup filters 563
LowResSourceURL property 367
LowResSourceURL variable 365
LowValueExp property 353
LRX (Live Report Extension) xxv
setting target window for 668
M
MakeContents method 96
MakeMenu method 463
Manuals directory xxviii
MapName property 367
MapName variable 366
MapType property 367
MapType variable 366
Margin property
AcDataSection 202
AcHtmlAppletControl 359
AcHtmlImageControl 367
AcHtmlPlugInControl 372
Margin variable
AcHtmlAppletControl 359
AcHtmlImageControl 366
AcHtmlPlugInControl 371
margins 75, 305, 598
Margins property
AcDynamicTextControl 256
AcFlow 298
AcFrame 306, 309
AcHtmlFrame 363
AcLinearFlow 399
AcSubpage 578
AcTopDownFlow 599
Margins variable
AcDynamicTextControl 255
AcFlow 298
AcFrame 307
AcLinearFlow 398
AcTopDownFlow 599
MaximumHeight method 646
MaximumHeight property 441, 624
MaximumStringLength property
AcDBConnection 214
MaxTocDepth property 377
Index
699
700
N
names
assigning to report files 497
getting component 143
NeedHeight method 450
nested data groups 342, 343
nesting reports 459, 531, 532, 557
NESW cursors 55
Netscape plug-ins 370
New method
AcComponent 144
AcExcelApp 270
NewAfter method 207
NewBefore method 208
NewBodyPage method 596
NewComponent method 145
NewConnection method 172
NewContent method
AcDataSection 208
AcReport 493
AcSequentialSection 559
NewDataRow method 173
NewDataStream method 534
NewInputAdapter method
AcMultipleInputFilter 419
AcSingleInputFilter 566
NewIterator method 139
NewLeftPage method 397
NewPage method
AcPageList 450
AcSection 550
NewPageFooter method 209
NewPageHeader method 210
NewPageList method 493
NewPersistentComponent method 145
NewRightPage method 397
NewTitlePage method 597
NoClipping constant 104
NoCursor constant 56
NoHeaderOnFirst constant 203
NoKeys constant 80
nonsearchable components 79
NoShade property 382
NoShade variable 381
NoSplitBottom property
AcDynamicTextControl 257
AcFrame 309
NoSplitTop property
AcDynamicTextControl 257
AcFrame 309
NotSearchable constant 79, 622
Now() function 213
NT cursors 56
NullLine constant 74
numbered lists 69
numeric controls
adding to reports 253, 388
integer vs. double 253
providing specialized behavior for 613,
616
NWSE cursors 55
O
Object method 429
objects
accessing 420
accessing nested 196
adding to collections 108, 110, 138, 435,
436
Index
701
P
packet size 588
page breaks
adding 450, 550, 551, 554
conditionally setting 552
HTML documents and 442, 447, 546
page components
adding to reports 101, 439, 578
instantiating 443, 450
providing specialized behavior for 617
page containers 638, 641
page count
estimating 448
getting in page lists 449
getting total in report 455, 456
page headers and footers
adding 299, 549
adding page numbers to 157, 158
adding to HTML reports 362
adjusting 300, 304
getting 206, 207
placing 201, 202, 203
page hierarchy 445, 501, 600
getting 638
page indexes
defined 439
getting 157, 518
page layout classes 11
page layouts
accessing contents 93, 94, 95
adding frames 444
adding subpages 101, 300
adding title pages 596
adjusting headers and footers 300, 304
alternating left/right formats 396, 397
building if no data rows 89
creating simple 562
creating top-level sections 493
customizing 11
defining printable areas 297, 398, 598
designing specific pages for 439
displaying page numbers 76, 452
getting formatted page numbers 442, 456
getting printable areas 447
getting top-most component 488
inserting new pages 450, 550, 551, 554
instantiating 89
moving contents 97
multicolumnar 101, 578
multiple flows 458
providing contents for 88, 101, 439
providing formatted contents for 192
rebuilding pages 445, 447
Index
703
704
AcDB2Connection 219
AcInformixConnection 386
AcMSSQLConnection 413
AcODBCConnection 424
AcOracleConnection 433
AcProgressConnection 466
AcProgressSQL92Connection 471
AcSybaseConnection 587
Password variable
AcDB2Connection 219
AcInformixConnection 386
AcMSSQLConnection 413
AcODBCConnection 423
AcOracleConnection 433
AcProgressConnection 465
AcSybaseConnection 587
past due accounts 560
patterns 63
PCX files 383
pens 74, 306, 362
percentages
in area graphs 332
in bar graphs 61
in pie graphs 332
performance 448, 451
PerRowControl constant 55
Persistent Object Storage Mechanism 512
persistent objects
creating 145
testing for 144
pie graphs 65, 332
pinning components 512, 523
PinObject function 512, 523
pixels 491
plug-in controls
adding to HTML documents 369, 370
defining parameters for 373, 374
providing specialized behavior for 615
size constants 71
sizing windows 371
PlugInPage property 373
PlugInPage variable 372
PointCount property 318
PointCount variable 318
PointLabelColor property 318
PointLabelColor variable 318
PointLabelStyle property 318
Q
QcPercentage data type 77
QualificationOption variable 575
QualifierName variable 575
queries 468, 563
creating 192
creating textual 591
executing 237, 243
parameterized See parameterized queries
running 234, 241
usage overview 415
query data source components 474, 571
creating for textual queries 591
query data streams
associated with reports sections 342
building 195
Query property
AcSQLQuerySource 572
AcTextQuerySource 592
query statements 192, 468
binding to cursors 180
counting parameters 244
creating 178, 474, 571
defining cursors for 222
defining sort keys 475
executing 234, 241
getting 245, 476, 572, 593
not returning data rows 234
opening cursors for 182
Index
705
R
raised borders 62
RaiseError method 152
random access 406, 477
enabling 166
Range property 320
Range variable 320
RangeUnit property 320
RangeUnit variable 320
ReadOnlyQuery property 466
AcProgressSQL92Connection 471
real numbers 253
ReBindToFlow method 96
record buffers
allocating 477
flushing 171, 477
records See data rows
rectangles
adding 478
bounding points 78
drop shadows 79
providing specialized behavior for 618
rounding 78, 478
size 80
referencing objects 138, 511, 512, 514
relational databases 152
relative page numbers 452
release notes xxv
ReleaseSpace method 302
Remove method 140
RemoveAll method 139
RemoveHead method
AcList 405
AcOrderedCollection 437
RemoveTail method 438
706
report components
accessing contents 515
accessing for special processing 509, 600
adding 500, 508
building with data rows 510
building with no data rows 510
checking type 521
counting content items in 514
getting associated data stream 515
getting associated report 518
getting contents 515, 516
getting first usage 517
getting top-level frame 516
pinning/unpinning 508, 512, 523
providing specialized behavior for 611,
618
removing from containers 508, 510, 511
testing contents 520, 521
report controller
attaching to reports 524, 525
displaying report pages 526, 527
executing links 525
implementing 524
report examples xxvi
report files
archiving 481, 496
closing 494
discarding 494
generating for HTML formats 375, 379
generating for XML reports 503, 539
getting specific 378
naming 497
opening 494
removing archived 496
specifying HTML locations 489
report objects 480
report section classes 4
report section components 528
report sections
adding group sections to 342
closing data streams 533
creating 528
defined 199, 543
getting data streams for 534
instantiating data streams for 534
opening data streams for 536
preparing 528
S
sample application xxiv
sample applications xxvi
sample reports xxvi
sample values 319
SampleMax property 319
SampleMin property 319
SampleValue property 186
Save method 290
SaveAs method 290
scatter graphs 65, 250, 332, 333
scripting 103, 312
scroll bars 104
scrollable images 68
Index
707
ScrollableBackground constant 68
Scrollbars constant 104
search criteria 665
search extension API xxiii
search strings 526
Searchable method 665
searchable objects 665
Searchable property 625, 665
SearchableNoIndex constant 79
SearchableWithIndex constant 79
SearchAlias method 665
SearchAlias property 626, 665
searches (help topics) xxix
searching for components 79, 622, 665
SearchNoIndex constant 622
SearchWithIndex constant 622
secondary indexes 411, 412
section components
adding for data groups 199, 342, 528
adding for multiple flows 458
adding for sequential reporting 557
adding for specified conditions 147
initializing 542
sections
adding content to 548
adding flows to 548, 549, 554
building 502, 544, 557, 558
closing connections 549
creating 458, 542, 557
creating based on conditions 147, 148
creating for data groups 199, 342, 528
creating top-level 493
defined 542
establishing connections 551
getting contents lists 550
getting current row 550
getting page status 549
interrupting builds 545, 555
nesting 342
providing specialized behavior for 611,
613, 614, 618, 619
setting page for 550, 551, 554
types described 543
with no data rows 210, 557
security
changing ACLs 513
customizing ACLs 502
708
ServerName property
AcMSSQLConnection 413
AcSybaseConnection 587
ServerName variable
AcMSSQLConnection 413
AcSybaseConnection 587
servers xxiv
ServiceOrPort property 471
SetAdHocCondition method 593
SetAdHocParameter method 572
SetAt method 421
SetBackgroundColor method
Excel spreadsheets
setting background color 280
SetBorder method 280
SetColumnWidth method 273
SetConnection method 176
SetDataValue method 158
SetDisplayGridlines method 295
SetFont method 281
SetFontScalingFactor method
AcExcelApp 270
SetGrowthIncrement method 422
SetHorizontalAlignment method 281
SetIndent method 282
SetInput method 567
SetLayoutOrientation method 495
SetLinkTo method 666
SetName method 296
SetNumberFormat method 282
SetParam method
AcHtmlAppletControl 360
AcHtmlPlugInControl 374
SetROIAgingProperties method 496
SetROWAgingProperties method 496
SetRowHeight method 287
SetSecurity method 553
SetSortKey method 536
SetTaggedText method 263
SetTocEntry method
AcDataControl 188
AcGroupSection 348
AcReportComponent 523
SetupAdHocParameters method 476
SetValue method 284
AcControl 159
AcDataRow 198
Index
709
Size property
AcFont 60
AcHtmlAppletControl 359
AcHtmlImageControl 367
AcHtmlPlugInControl 373
AcVisualComponent 626
Size variable
AcHtmlAppletControl 359
AcHtmlPlugInControl 372
AcVisualComponent 622
Size.Height property 382
Size.Width property 382
SizeAllCursor constant 56
SizeCursor constant 55
SizeNESWCursor constant 55
SizeNSCursor constant 55
SizeNWSECursor constant 55
SizeUnits property 373
SizeUnits variable 372
SizeWECursor constant 55
sizing HTML objects 73
sizing plug-in windows 71, 371
sizing rectangle controls 80
SkipTo method 394
slots (Design Editor)
See also specific
adding frames with no data rows 89
getting components in 143, 205
instantiating components for 207, 208, 209,
210
nesting data groups 342
processing data rows for 200
testing for contents 144
Software Development Kit xxiii
solid borders 62
sort algorithm 410
sort filters 563
sort key columns
adding 166
setting at runtime 165, 475
sort keys
adding 165, 475
comparing 412
defined 411
specifying 343, 536
sort order
customizing 166
710
implementing 410
setting 475
SortAscending constant 475
SortDescending constant 475
sorting data
dynamically 593
in memory buffers 410
in report sections 531
multiple data sources 416
on key properties 342
Sorting property 531
SortParamsByAlias property 485
sound files 375, 377
SourceURL property
AcHtmlImageControl 367
AcHtmlPlugInControl 373
SourceURL variable
AcHtmlImageControl 366
AcHtmlPlugInControl 372
SpaceBetweenLines method 264
SpaceBetweenLines property
AcDynamicTextControl 257
SpaceBetweenParagraphs method 264
SpaceBetweenParagraphs property
AcDynamicTextControl 257
SplitContents method 97
SplitFrame method 97
SplitMarginBottom property
AcDynamicTextControl 258
AcFrame 310
SplitMarginTop property
AcDynamicTextControl 258
AcFrame 310
SplitVertically method 667
spreadsheets
creating 33, 268, 270
data types for Excel 284
SQL database connections
creating 413
data types 414
SQL statements 192, 468
binding to cursors 180
counting parameters 244
creating 178, 474, 571
defining cursors for 222
defining sort keys 475
executing 234, 241
Index
711
SummaryControl constant 55
sunken borders 62
supported databases 150
Sybase database connections
creating 587
data types 588
syntax conventions (documentation) xxxii
T
Table of Contents
adding entries 83, 188, 348, 523
adding to HTML documents 73
getting entries 519
getting page numbers 517
TableAlignment property 203
TableColor property 203
tables 468, 469
adding captions for HTML 71
aligning text in HTML 72
creating HTML 69, 72, 199
defaults for HTML 459
setting properties for HTML 306
TableStyle property 203
TableWidth property 204
TableWidthUnits property 204
TabPadding method 264
TabPadding property
AcDynamicTextControl 258
TabSize variable 670
TabSpacing method 264
TabSpacing property
AcDynamicTextControl 259
tape graphs 65
TargetWindowName method 668
TargetWindowName property 626, 668
terminating database connections 151, 167
text attributes 59
text controls
adding 362, 590
adding for labels 395, 595
aligning in HTML documents 363, 364
alignment constants 72
clipping 80
formatting 157
formatting for HTML 68, 156, 362
justification constants 81
placing 82
712
U
Underline property 60
union filter 418
units of measurement 77, 83
unpinning components 508, 512
UnpinObject function 512
unsummarized data points 250
UpArrowCursor constant 55
UPDATE queries 234
UseAcceleratedCheckpoints method 451
UseDefaultSize property 367
UseDefaultSize variable 366
UseForegroundPalette property 373
UseForegroundPalette variable 372
user-defined variables 144
UserName property
AcDB2Connection 219
AcInformixConnection 386
AcMSSQLConnection 413
AcODBCConnection 424
AcOracleConnection 433
AcProgressConnection 466
AcProgressSQL92Connection 471
AcSybaseConnection 588
UserName variable
AcDB2Connection 219
AcInformixConnection 386
AcMSSQLConnection 413
AcODBCConnection 423
AcOracleConnection 433
AcProgressConnection 465
AcSybaseConnection 587
utility class 600
Index
713
V
value expressions
assigning 183
square bracket notation in 195, 196
ValueExp property 186, 584
implementing 159
values
assigning to cursor parameters 237
assigning to data controls 55
comparing group key 348
copying 224, 538
defining for data points 319
generating sample for graphs 319
getting cursor parameter 226
getting for data controls 95, 157
getting group section key 347, 348
reading 197
returning specified column or variable 194
setting column or variable 198
setting data 158, 159
setting for controls 159
setting group key 148
setting sample 186
ValuesColorList property 319
ValuesColorList variable 319
ValueType constants 55
ValueType property 186
variable index 197
variables 87
accessing values 194, 196
as structures 42
assigning values 198
binding to columns 224
binding to cursors 225, 237
binding to data rows 195
defining 518
getting values 194
in stored procedures 575
initializing user-defined 144
iterating over 197
manipulating 197
order of evaluation for 197
vertical bar graphs 61
vertical resize arrows 55
VerticalPosition method 668
VerticalPosition property 627
714
W
WaitCursor constant 55
WantHtml method 379
web browsers xxv
adding custom code for 103, 312
debugging code for 104
web pages See HTML reports
web site (Actuate) xxv
WhereClause variable 571
whole numbers 388
WidowAndOrphanControl method 265
Index
715
WidowAndOrphanControl property
AcDynamicTextControl 259
WidthUnits property 382
WidthUnits variable 382
wildcards 526
windows
setting HTML target 668
sizing for plug-ins 371
wordwrapping 82, 85
X
XAxisPosition property 321
XAxisPosition variable 321
XAxisStyle property 321
XAxisStyle variable 321
XLabelCount variable 321
XLabelExp property
AcDetailChart 247
XLabelFormat property 321
XLabelFormat variable 321
XLabels variable 322
XLabelsList property 322
XLabelStyle property 322
XLabelStyle variable 322
XMajorGridStyle property 322
XMajorGridStyle variable 322
XMajorTickCount property 322
XMajorTickCount variable 322
XMajorTickStyle property 322
XMajorTickStyle variable 322
XMax property 322
XMax variable 322
XMin property 322
XMin variable 322
XMinorGridStyle property 323
XMinorGridStyle variable 323
XML documents
adding attributes to elements 671
adding text 672
building elements for 671
creating 86, 488, 503, 539
creating elements for 671, 673
creating prologs for 499
customizing 512, 669, 672
getting attributes 519
ordering elements in 669
716
Y
YAxisPosition property 324
YAxisPosition variable 324
YAxisStyle property 324
Z
ZValueExp property
AcDetailGraph 251
Index
717
718