Bug 124260 [regression]Pre-define style "report" won't take effect in PDF
Steps to reproduce: 1.Add a label in the report 2.New a pre-define style "report", set font color to red, size to large 3.Preview the report in PDF Actual result: The style is not applied to the report Expected result: The style is applied to the report
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/PageRegion.java
{
		if ( content != null )
		{
			ArrayList contents = getAncestors( content );
			int size = contents.size( );
			for ( int i = 0; i < size; i++ )
			{
				closeContent( (IContent) contents.get( i ) );
			}
		}
	}
	private ArrayList getAncestors( IContent content )
	{
		ArrayList list = new ArrayList( );
		while ( content != null )
		{
			list.add( content );
			content = (IContent) content.getParent( );
		}
		return list;
	}
	protected void openContent( IContent content )
	{
		startEmitterVisitor.visit( content, null );
	}
	protected void closeContent( IContent content )
	{
		endEmitterVisitor.visit( content, null );
	}
	private class StartEmitterVisitor extends ContentVisitorAdapter