Bug 198056 Overline, Underline, line-through does not take effect on master page when preview as DOC, PPT, PDF, POSTSCRIPT, XLS [12]
Description: Overline, Underline, line-through does not take effect on master page when preview as DOC, PPT, PDF, POSTSCRIPT, XLS. Build number: 2.2.1.v20070727-0630 Steps to reproduce: 1. New a report, insert label in master header/footer. 2. Select the masterpage, go to Property Editor->Advanced, set font Overline, Underline and Line-through. 3. Preview as DOC, PPT, PDF, POSTSCRIPT, XLS. Expected result: Overline, Underline, line-through takes effect. Actual result: Overline, Underline, line-through does not take effect. Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/StyleBuilder.java
{
	public static final String C_PATTERN = "(rgb\\()(\\d+)\\,(\\s?\\d+)\\,(\\s?\\d+)\\)";
	public static int[] UNHERITABLE = new int[]{
			StyleConstant.BORDER_BOTTOM_COLOR_PROP,
			StyleConstant.BORDER_BOTTOM_STYLE_PROP,
			StyleConstant.BORDER_BOTTOM_STYLE_PROP,
			StyleConstant.BORDER_TOP_COLOR_PROP,
			StyleConstant.BORDER_TOP_STYLE_PROP,
			StyleConstant.BORDER_TOP_STYLE_PROP,
			StyleConstant.BORDER_LEFT_COLOR_PROP,
			StyleConstant.BORDER_LEFT_STYLE_PROP,
			StyleConstant.BORDER_LEFT_STYLE_PROP,
			StyleConstant.BORDER_RIGHT_COLOR_PROP,
			StyleConstant.BORDER_RIGHT_STYLE_PROP,
			StyleConstant.BORDER_RIGHT_STYLE_PROP};
	public static final Pattern colorp = Pattern.compile( C_PATTERN,
			Pattern.CASE_INSENSITIVE );
	private static Logger logger = Logger.getLogger( StyleBuilder.class
			.getName( ) );
	public static StyleEntry createStyleEntry( IStyle style )
	{
		StyleEntry entry = new StyleEntry( );
		entry.setProperty( StyleConstant.BACKGROUND_COLOR_PROP,
				convertColor( style.getBackgroundColor( ) ) );
		float width = Float.parseFloat( style.getBorderBottomWidth( ) );
		if ( width > 0 )
		{
			entry.setProperty( StyleConstant.BORDER_BOTTOM_COLOR_PROP,