Bug 166443 Can not preview the multi master pages in PDF[05]
Description: A report design file include multi-master pages and one of them has the AutoText, if a element point to the master page which has no AutoText, the preview is failed. Build number: 2.1.2.v20061201-0710 2.2.0.v20061201-0710 Steps to reproduce: 1, New a report design with two master pages 2, The first master page include some AutoText in master page header 3, Left the second master page by default 4, In lay out use a Text element point to the second master page 5, Preview in PDF Expected result: It can be previewed successfully Actual result: Exception occurs when previewing the result in PDF
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
tplSize = ImageSize;
				}
				else
				{
					tplOrigin = containerBaseAbsPos + absPos; 
					tplSize = containerSize - absPos;
				}
				translation = 0.0f;
			}
			return new tplValueTriple(tplOrigin, tplSize, translation);
		
		}
		
		/**
		 * Draws the backgound image at the contentByteUnder of the pdf with the given offset
		 * @param imageURI		the URI referring the image
		 * @param x				the start X coordinate at the pdf where the image is positioned
		 * @param y				the start Y coordinate at the pdf where the image is positioned
		 * @param width			the width of the background dimension
		 * @param height		the height of the background dimension
		 * @param positionX		the offset X percentage relating to start X
		 * @param positionY		the offset Y percentage relating to start Y
		 * @param repeat		the background-repeat property
		 * @param xMode			whether the horizontal position is a percentage value or not
		 * @param yMode			whether the vertical position is a percentage value or not
		 */
		private void drawBackgroundImage(String imageURI, float x, float y,
				float width, float height, float positionX, float positionY,
				String repeat, boolean xMode, boolean yMode) {