Bug 156159 [acceptance] data item disappears when preview in pdf
steps to reproduce: - create a report - add a data item - bring up properties - set its width to 1cm or 50%, etc - set its background color to blue - preview in html and pdf expected behavior: - data item width is changed in html and pdf report actual behavior: - i got one empty report when preview in pdf
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFLayoutManagerFactory.java
return visitContent( foreign, value );
			}
			LabelContent label = new LabelContent( foreign );
			return handleText( label );
		}
		public Object visitAutoText( IAutoTextContent autoText, Object value )
		{
			if ( IAutoTextContent.PAGE_NUMBER == autoText.getType( ) )
			{
				if ( parent instanceof PDFLineAreaLM )
				{
					String originalPageNumber = autoText.getText( );
					NumberFormatter nf = new NumberFormatter( );
					String patternStr = autoText.getComputedStyle( )
							.getNumberFormat( );
					nf.applyPattern( patternStr );
					try
					{
						autoText.setText( nf.format( Integer
								.parseInt( originalPageNumber ) ) );
					}
					catch(NumberFormatException nfe)
					{
						autoText.setText( originalPageNumber );
					}
				}
				return handleText( autoText );
			}
			return new PDFTemplateLM( context, parent, autoText, 
					executor );