There is no two separated
stage for RunAndRenderTask. Each report element is processed in generation
stage then in presentation stage. Both the isInFactory and isInPresentation are
return TRUE in RunAndRenderTask. That’s why we can’t have
getProcessingStage() which only return two values.
From:
birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Wenfeng Li
Sent: Thursday, March 15, 2007
3:37 AM
To: Wei Wang; birt-dev@xxxxxxxxxxx
Subject: RE: [birt-dev] API change
request: API change request: AddHyperlinkAction APIs
Which
mode will be return in RunAndRender Task? Will the "mode"
change between generation and rendiner stage of this task?
What do
you think of replacing these two methods (isInFactory() and IsInPresentation()
) with one method - getProcessingStage() with enum value of generation and
rendering?
-----Original
Message-----
From: birt-dev-bounces@xxxxxxxxxxx
[mailto:birt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Wei Wang
Sent: Tuesday, March 13, 2007 8:38
PM
To: birt-dev@xxxxxxxxxxx
Subject: [birt-dev] API change
request: API change request: Add HyperlinkAction APIs
Add
new methods to return the mode of execution.
Clients
have the request to access the whether a report is in factoryMode or
presentationMode.
For
fix bugs:
131577 ---
Script Access to Factory/Presentation Mode