Project: Birt
Bug 267577 hasExpression property for Text and TextData
Reported: 2009-03-09 02:07:29 | Status: verified fixed

Add an new hasExpression property to <text-data> and <text> to indicate if there is an expression in the text value of text-data that needs engine to parse the text data strings. Need UI to allow user to set this property on a text-data and text, and need engine to check this property before parsing the string. For backward compatibility, old version of design treat hasExpression=true.

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TextDataItemParseTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TextItemParseTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/writer/DocumentUtilTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DataSetHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/FilterConditionElementHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/GroupHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ListingHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ParameterGroupHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ParameterHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportDesignHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportItemHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/RowHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ScalarParameterHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/SimpleMasterPageHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/StyleHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/TextDataHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/TextItemHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/olap/DimensionHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/olap/MeasureHandle.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/interfaces/ITextDataItemModel.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/interfaces/ITextItemModel.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/TextDataItemState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/TextItemState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java