Bug 154835 long text is truncated after page break in PDF report
Long text is truncated after auto page break in PDF report. No matter how long the text is, PDF only shows one line in the second page. Steps to reproduce: 1.new a report in designer. 2.insert a label, and ensure the text is long enough to exceed two page. 3.preview in PDF. Expected result: PDF shows all text. Actual result Text is truncated, PDF only shows one line in the second page
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextLM.java
{
	private PDFLineAreaLM lineLM;
	/**
	 * Checks if the compositor needs to pause.
	 */
	private boolean pause = false;
	private Compositor comp = null;
	private ITextContent textContent = null;
	public PDFTextLM( PDFLayoutEngineContext context, PDFStackingLM parent,
			IContent content, IReportItemExecutor executor )
	{
		super( context, parent, content, executor );
		lineLM = (PDFLineAreaLM) parent;
		ITextContent textContent = (ITextContent) content;
		String text = textContent.getText( );
		if ( text != null && text.length( ) != 0 )
		{
			transform( textContent );
			this.textContent = textContent;
			comp = new Compositor();
		}
	}
	protected boolean layoutChildren( )
	{
		if ( null == textContent )
			return false;
		pause = false;
		return comp.compose( );