Bug 196419 Long string word in element will lost head and tail when preview as PDF[0004]
Description: Long string word in element will lost head and tail[0004] Step: 1.Input "labellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabel" in label or text. 2.Preview as PDF Actual result: It only privew the center of content on label and text. Please see the attached image
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextLM.java
isNew = false;
				if (isInline)
				{
					AbstractArea con = (AbstractArea)createInlineContainer(content, true, false);
					con.setWidth(leftBorder+leftPadding);
					con.setHeight( (int)(chunk.getFontInfo().getWordHeight()*PDFConstants.LAYOUT_TO_PDF_RATIO)
							+ topBorder + topPadding + bottomBorder + bottomPadding);
					PDFTextLM.this.addSpaceHolder(con);
					leftSpaceHolder = leftMargin + leftBorder + leftPadding;
					freeSpace -= leftSpaceHolder;
				}
			}
			
			String str = null;
			Word currentWord = null;
			if (-1 == vestigeIndex)
			{
				currentWord = wr.getNextWord();
				 
				if (null == currentWord)
				{
					Dimension d = new Dimension( 0, 
							(int)(chunk.getFontInfo().getWordHeight() * PDFConstants.LAYOUT_TO_PDF_RATIO ));
					IArea builtArea = buildArea("", content,  
							chunk.getFontInfo(), d);
					PDFTextLM.this.addTextLine(builtArea);
					return;
				}
				str = currentWord.getValue();
				areaStartPos = chunk.getOffset() + currentWord.getStart();