Bug 179676 [regression]Error when report has chart in master page[05]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
if ( text == null )
			{
				text = localize( foreignContent, design.getTextKey( ), design.getText( ) );
			}
			
			TextTemplate template = parseTemplate( text );
			String result = executeTemplate( template, rawValues );
			
			foreignContent.setRawType( IForeignContent.HTML_TYPE );
			foreignContent.setRawValue( result );
		}
	}
	protected String getOutputFormat()
	{
		return outputFormat;
	}
	
	/**
	 * @return whether the output format is for printing
	 */
	protected boolean isForPrinting( )
	{
		String outputFormat = getOutputFormat( );
		if ( "FO".equalsIgnoreCase( outputFormat )
				|| "PDF".equalsIgnoreCase( outputFormat ) )
			return true;
		return false;
	}
	/**
	 * handle an extended item.