Bug 168816 Set text alignment to inline dynamic text in cell doesn't display properly[0003]
Set text alignment to inline items in cell doesn't display properly[0003] Build number: 2.2.0.v20061220 Steps to reproduce: 1.new a report 2.insert a 1r*1c grid 3.insert two dynamic text items in the cell and input some text in it 4.set the two dynamic text items to display "inline" and set the grid text alignment to center 5.preview in html,web viewer and PDF Expected result: the two items should be in the center Actual result: The two items are in the center in html and web viewer While in PDF,they're not. Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextLM.java
private boolean isInline;
		private boolean isNew = true;
		
		/**
		 * if it is set to false, all the text should be displayed into one line, 
		 * so there is no need to do the wrapping.
		 */
		private boolean pdfTextWrapping;
		
		private int leftSpaceHolder = 0; 
		private int rightSpaceHolder = 0;
		
		/** 
		 * The vestige is the word which can not be added into last line,
		 * or the remain clip after hyphenation.
		 * vestigeIndex saves the position of the vestige relative to 
		 * the text in chunk. 
		 */
		private int vestigeIndex = -1;
		private int vestigeLength = 0;
		
		private int currentPos = 0;
		private int areaStartPos = 0;
		
		private int letterSpacing = 0;
		private int wordSpacing = 0;
		
		private int maxLineSpace = 0;
		private IWordRecognizer wr = null;