Bug 124444 Preview attached file in pdf will display nothing.
Description: Preview attached file in pdf will display nothing. Steps to reproduce: 1. Preview attached design file in pdf Expected result: Report content shows Actual result: Wait for 10 minutes but nothing showed at all
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
layoutPointX2PDF( bi.endX-bi.borderWidth/2+outerBorderWidth/2 ), layoutPointY2PDF( bi.endY ), 
 	 						pdfMeasure(outerBorderWidth), bi.borderColor, "solid", cb ); 
 	 				drawLine( layoutPointX2PDF( bi.startX+bi.borderWidth/2-innerBorderWidth/2 ), 
 	 						layoutPointY2PDF( bi.startY+2*borders[BorderInfo.TOP_BORDER].borderWidth/3 ), 
 	 						layoutPointX2PDF( bi.endX+bi.borderWidth/2-innerBorderWidth/2 ), 
 	 						layoutPointY2PDF( bi.endY-2*borders[BorderInfo.BOTTOM_BORDER].borderWidth/3 ), 
 	 						pdfMeasure(innerBorderWidth), bi.borderColor, "solid", cb ); 
 	 				break;
 				}
 			}
 		}
	}
	
	/**
	 * draw a line from the start position to the end position with the given
	 * linewidth, color, and style at the given pdf layer.
	 * 
	 * @param startX			the start X coordinate of the line
	 * @param startY 			the start Y coordinate of the line
	 * @param endX 				the end X coordinate of the line
	 * @param endY 				the end Y coordinate of the line
	 * @param width 			the lineWidth
	 * @param color 			the color of the line
	 * @param lineStyle 		the given line style
	 * @param contentByte 		the given pdf layer
	 */
	private void drawLine(float startX, float startY, float endX, float endY, float width, 
			Color color, String lineStyle, PdfContentByte contentByte )
	{