Bug 156636 [Acceptance] Format does not take effect in pre-defined style report
Format does not take effect in pre-defined style report Steps to reproduce: 1. New a report, add a sample datasource and data set with table "CUSTOMERS" 2. Drag the dataset in the report 3. Add a pre-define style "report" Set format Number as to Currency Set format Datetime to Shorttime Set format String to Lowercase 4. Preview the report in Web viewer, HTML and PDF Expected result: Format takes effect Actual result: Format does not take effect
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
* step of the reconstruction is needed for several reasons:
 * <p>
 * <li>Style handling: DE stores all styles in an unflatten version. Factory
 * needs to reference styles where the element hierarchy has been flattened.
 * <li>Faster lookup: DE stores various properties as property name/value
 * pairs. Factory IR might store them as structure. See
 * <code>createHighlightRule()</code> for an example.
 * <li>Merging properties: DE stores custom and default properties separately.
 * In FPE, they are merged.</li>
 * <p>
 * 
 * This class visits the Design Engine's IR to create a new IR for FPE. It is
 * usually used in the "Design Adaptation" phase of report generation, which is
 * also the first step in report generation after DE loads the report in.
 * 
 * <p>
 * special consideration in styles
 * <p>
 * BIRT uses a simlar style mode with CSS, but not exactly the same. The main
 * differences are:
 * <li> text-decoration is not inheraible which simplify the CSS standard. This
 * rules makes text-decroation are usless for all the containers. As the HTML
 * treat the text-decoration inheritable in block-level element, the ENGINE must
 * remove the text-decoration from the container's styles.
 * <li> BIRT doesn't define the body style, it uses a predefined style "report"
 * as the default style.
 * 
 * @version $Revision: 1.127 $ $Date: 2006/09/21 10:11:48 $
 */
class EngineIRVisitor extends DesignVisitor