Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
191
Добавлен:
11.05.2015
Размер:
4.96 Mб
Скачать

PageGenerator Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

ContainingGroup-

Gets containing group name

Read only

None

Name

for out of place subreport view.

 

 

 

 

 

 

ContainingGroup-

Gets containing group path for

Read only

None

Path

out of place subreport view.

 

 

 

 

 

 

ContainingPage-

Gets containing page number

Read only

None

Number

for out of place subreport view.

 

 

 

 

 

 

DrillDownLevel

Returns the number of levels

Read only

None

 

to drill down.

 

 

 

 

 

 

GroupName

Returns the group name for

Read only

None

 

drill down on graph view.

 

 

 

 

 

 

GroupPath

Returns the GroupPath

Read only

None

 

parameter set by

 

 

 

CreatePageGenerator Method

 

 

 

(PageEngine Object), Page 75.

 

 

 

 

 

 

Pages

Returns Pages Collection, Page

Read only

None

 

83, (32-bit only) which is a

 

 

 

collection of pages in the

 

 

 

report.

 

 

 

 

 

 

Parent

Reference to the Parent object

Read only

None

 

(PageEngine Object (page 74)).

 

 

ReportName

Gets report name for drill

Read only

None

 

down on out of place

 

 

 

subreport view.

 

 

 

 

 

 

XOffset

Gets object xoffset.

Read only

None

 

 

 

 

yOffset

Gets object yoffset.

Read only

None

 

 

 

 

PageGenerator Object Methods

DrillOnGraph Method (PageGenerator Object), Page 79

DrillOnMap Method (PageGenerator Object), Page 79

DrillOnSubreport Method (PageGenerator Object), Page 79

GetPageNumberForGroup Method (PageGenerator Object), Page 80

RenderTotallerETF Method (PageGenerator Object), Page 80

RenderTotallerHTML Method (PageGenerator Object), Page 81

SearchForText Method (PageGenerator Object), Page 82

Report Designer Component Object Model

78

DrillOnGraph Method (PageGenerator Object)

The DrillOnGraph method creates a new PageGenerator Object (page 77) that results from drilling down on the specified point in a graph on the given page. This method can be invoked only when in formatting idle mode.

Syntax

pgGenObject = object.DrillOnGraph (PageNumber, XOffset, YOffset)

Parameters

Parameter

Description

 

 

 

 

PageNumber

Specifies the page number.

 

 

XOffset

Specifies the X coordinate on page in twips where the drill down occurred.

YOffset

Specifies the Y coordinate on page in twips where the drill down occurred.

 

 

DrillOnMap Method (PageGenerator Object)

The DrillOnMap method creates a new PageGenerator Object that results from drilling down on the specified point in a map on the given page. This method can be invoked only when in formatting idle mode.

Syntax

pgGenObject = object.DrillOnMap (PageNumber, XOffset, YOffset)

Parameters

Parameter

Description

 

 

 

 

PageNumber

Specifies the page number.

XOffset

Specifies the X coordinate on page in twips where the drill down occurred.

YOffset

Specifies the Y coordinate on page in twips where the drill down occurred.

 

 

DrillOnSubreport Method (PageGenerator Object)

The DrillOnSubreport method creates a new PageGenerator Object that results from drilling down on the specified point in an on-demand subreport on the given page. This method can be invoked only when in formatting idle mode.

Report Designer Component Object Model

79

Syntax

pgGenObject = object.DrillOnSubreport (PageNumber, XOffset, YOffset)

Parameters

Parameter

Description

 

 

 

 

PageNumber

Specifies the page number.

 

 

XOffset

Specifies the X coordinate on page in twips where the drill down occurred.

 

 

YOffset

Specifies the Y coordinate on page in twips where the drill down occurred.

 

 

GetPageNumberForGroup Method (PageGenerator Object)

The GetPageNumberForGroup method returns the page number on which the given group starts. This method can be invoked only when in formatting idle mode.

Syntax

numbervar = object.GetPageNumberForGroup (GroupPath)

Parameters

Parameter

Description

 

 

 

 

GroupPath

Specifies an integer array that represents the group path (separated by “/”). An empty

 

array would represent the entire report, an array (0, 1) would represent a drill down on

 

the second group member within the first group member (that is, 0 = first group in

 

Group #1 and 1 = second group in Group #2).

 

 

RenderTotallerETF Method (PageGenerator Object)

The RenderTotallerETF method returns a variant that contains ETF code for the Group Tree. This method can be invoked only when in formatting idle mode.

Syntax

variantData = object.RenderTotallerETF (RootGroupPath, StartingChildNumber, PastRootLevels, MaxNodeCount, ResultType)

Report Designer Component Object Model

80

Parameters

Parameter

Description

 

 

 

 

MaxNodeCount

The maximum number of nodes for the Group Tree.

 

 

PastRootLevels

An array of past root levels.

 

 

ResultType

Returns CRRenderResultType (see table below) indicating whether the page will

 

be rendered using strings or arrays.

 

 

 

Constant

Value

 

 

 

 

 

 

 

crBSTRType

8

 

 

 

 

crUISafeArrayType

8209

 

 

 

 

 

 

Parameter

Description

 

 

 

 

 

RootGroupPath

The URL address of the report when it is first generated by the web server.

 

 

StartingChildNumber

The child level to display the report grouping at.

RenderTotallerHTML Method (PageGenerator Object)

The RenderTotallerHTML method returns a variant that contains HTML code for the Group Tree. This method can be invoked only when in formatting idle mode.

Syntax

variantData = object.RenderTotallerHTML (RootGroupPath, StartingChildNumber, PastRootLevels, MaxNodeCount, OpenGroupPath, IncludeDrillDownLinks, BaseURL, ResultType)

Parameters

Parameter

Description

 

 

 

 

BaseURL

Specifies an integer array that represents the root group path (separated by “/”).

 

An empty array would represent the entire report, an array (0, 1) would represent

 

a drill down on the second group member within the first group member (that is, 0

 

= first group in Group #1 and 1 = second group in Group #2).

 

 

IncludeDrillDown

Indicates whether or not drill down hyperlinks are generated for summary values

Links

in the report.

 

 

MaxNodeCount

The maximum number of nodes to display in the Group Tree.

 

 

OpenGroupPath

An array of groups to be opened in the report.

 

 

PastRootLevels

A value indicating the number of past root levels.

Report Designer Component Object Model

81

Соседние файлы в папке crystal