Bug 214089 [Automation][Regression]Page Break within nested table or list works in web viewer, not in PDF
Description: Page Break within nested table or list works in web viewer, not in PDF. Test Date: 20080102 Test Build: BIRT2.3.0 Daily Build: v20080102-1021 Step to reproduce: 1. Use the report attached. 2. Preview it in PDF Expect result: Page break should take effect after data item of nested list. Actual result: Page break takes effect after every row.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextLM.java
if (chunk == Chunk.HARD_LINE_BREAK)
					{
						FontHandler handler = new FontHandler(content, false, context.getFormat( ));
						Dimension d = new Dimension( 0,
								(int)(handler.getFontInfo().getWordHeight()*PDFConstants.LAYOUT_TO_PDF_RATIO));	
						IArea con = buildArea( "", content, handler.getFontInfo(), d);
						PDFTextLM.this.addSpaceHolder(con);
						PDFTextLM.this.newLine();
						currentPos = chunk.getText().length();
						vestigeIndex = -1;
						return;
					}
					if (!pdfTextWrapping)
					{
						
						String originalText = chunk.getText();
						int areaWidth = (int)(chunk.getFontInfo().getWordWidth(originalText)
								* PDFConstants.LAYOUT_TO_PDF_RATIO) + letterSpacing *originalText.length();
						Dimension d = new Dimension( areaWidth,
								(int)(chunk.getFontInfo().getWordHeight() * PDFConstants.LAYOUT_TO_PDF_RATIO));	
						
						IArea builtArea = buildArea(getReverseText(originalText), content, chunk.getFontInfo(), d);
						PDFTextLM.this.addTextLine(builtArea);
						PDFTextLM.this.newLine();
						currentPos = chunk.getText().length();
						vestigeIndex = -1;
						return;
					}
					currentPos = 0;
					vestigeIndex = -1;