Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug 165277 --- this.text doesn't work in onCreate of text item[0801][0001]

Title: [birt-dev]CheckIn: Fix Bugzilla Bug 165277 --- this.text doesn't work in onCreate of text item[0801][0001]

- Summary:
Support this.text of text item.

- Bugzilla Bug (s) Resolved:
Fix Bugzilla Bug 165277 --- this.text doesn't work in onCreate of text item[0801][0001]

- Description:
If the TextItem's type is Auto or Plain, we will create LabelContent. But setText() API in script will change the text value of the labelContent not labelText. So when localize it, we should first check if the text is null or not.

If the TextItem's type is HTML, we will create ForeignContent. And setText() API in script will change the raw value of the ForeignContent. We should process the rawValue in localizing it.


- Tests Description  :
Manual Test.


- Notes to Build Team:

- Notes to Developers:

- Notes to QA:  
 
- Notes to Documentation:  

- Files Edited:
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java"
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/TextItemExecutor.java"
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/ForeignContent.java"
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ForeignTextInstance.java"
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/template/TemplateExecutor.java"
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/IForeignContent.java"

- Files Added:

- Files Deleted


-Wei Zhao( Shanghai )



Back to the top