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
/** 
		 * The flag to indicate whether the current TextArea needs to be added
		 * into the line by force. 
		 */ 
		private boolean addByForce = false;
		
		/**
		 * The flag to indicate whether we need to split off the first character next time. 
		 */
		private boolean nothingSplitted = false;
		
		private int leftMargin;
		private int leftBorder;
		private int leftPadding;
		private int rightMargin;
		private int rightBorder; 
		private int rightPadding;
		private int topBorder;
		private int topPadding;
		private int bottomBorder;
		private int bottomPadding;
		
		public Compositor()
		{
			this.content = textContent;
			boolean bidiProcessing = context.getBidiProcessing();
			boolean fontSubstitution = context.getFontSubstitution();
			this.pdfTextWrapping = context.getTextWrapping();
			cg = new ChunkGenerator(content, bidiProcessing, fontSubstitution, context.getFormat( ));
			this.isInline = PropertyUtil.isInlineElement(content);