| Summary: | [Improve Page Break Management] Cannot set style in onPageBreak method | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Liwen Chen <lchen> | ||||
| Component: | BIRT | Assignee: | Wei Yan <wyan> | ||||
| Status: | VERIFIED WONTFIX | QA Contact: | mindan xu <mindan.xu> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bluesoldier, xwang | ||||
| Version: | unspecified | Keywords: | plan | ||||
| Target Milestone: | 2.5.0 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | Obsolete | ||||||
| Attachments: |
|
||||||
|
Description
Liwen Chen
Created attachment 45432 [details]
tableonpagebreak java class
report attached in bug #148519 the onPageBreak is used to control the next page content, the user can only change the global variables and then access the global variables in the page content. To complete fix this issue, engine need use a readonly content to invoke the onPageBreak event handler. how about provide access to the "this" handle where the onPageBreak event belongs to. changing the style in the "this" object should take effect in the next page this object is render? defer to RC1 due to resource limitation. In the new page script framework, the onPageBreak is used to evaluate the page aggregation. The content is a read only object as the content has been serialized into the document, so the user can't changes the content in the onPageBreak. throw out a UnsupportedException if the user tries to change the style in onPageBreak scripts. Mark as Verified fisrt. |