Bug 203576 NullPointerException when preview report in PDF
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);