Bug 180439 Style on toc doesn't take effect in PDF[0002]
Style on toc doesn't take effect in PDF[0002] Build number: 2.2.0.v20070402-1259 Steps to reproduce: 1.new a label and input "test style for toc" 2.new a style:style1,set Font:Arial,Color:red,size:20,style:Italic,weight:Bolder 3.select the label and set toc "toc" ,choose style:style1 4.preview in web viewer and PDF Expected result: Style on web viewer and PDF both take effects Actual result: In web viewer style takes effects In PDF no effects displayed Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/StyleInstance.java
/*******************************************************************************
 * Copyright (c) 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.script.internal.instance;
import org.eclipse.birt.report.engine.content.IStyle;
import org.eclipse.birt.report.engine.api.script.ScriptException;
import org.eclipse.birt.report.engine.api.script.instance.IScriptStyle;
import org.w3c.dom.DOMException;
/**
 * A class representing the style of a report item in the scripting environment
 */
public class StyleInstance implements IScriptStyle