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

PageEngine Object Properties

Property

Description

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

ImageOptions

Returns/Sets CRImageType (see

Read/Write

Can be written only when

 

table below) indicating the image

 

formatting idle.

 

type for EPF format.

 

 

 

 

 

 

 

Constant

Value

 

 

 

 

 

 

 

 

 

 

 

 

 

crDIBImageType

1

 

 

 

 

 

 

 

 

crJPEGImageType

2

 

 

 

 

 

 

 

Property

Description

 

Read/Write

Restriction in event handler

 

 

 

 

 

 

 

 

Parent

Reference to the Parent object

Read only

None

 

(PageGenerator Object (page 77)).

 

 

 

 

 

 

 

PageEngine Object Methods

CreatePageGenerator Method (PageEngine Object), Page 75

RenderTotallerETF Method (PageEngine Object), Page 76

RenderTotallerHTML Method (PageEngine Object), Page 76

CreatePageGenerator Method (PageEngine Object)

The CreatePageGenerator method returns a PageGenerator Object (page 77), allowing you to get pages from the view of the report, specified by the GroupPath parameter. This method can be invoked only when in formatting idle mode.

Syntax

PgGenObject = object.CreatePageGenerator (GroupPath)

Parameter

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 (i.e., 0 = first group in Group

 

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

 

 

NOTE: Another optional parameter, DrillDownLevel, will appear in the Object Browser for the CreatePageGenerator Method. This parameter has not been implemented; the value will be ignored.

Report Designer Component Object Model

75

RenderTotallerETF Method (PageEngine 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)

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 (PageEngine 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)

Report Designer Component Object Model

76

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