drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY ), layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY ), pdfMeasure(border.borderWidth), border.borderColor, "solid", cb ); return;
if ( IStyle.DOUBLE_VALUE.equals( borders[i].borderStyle) ) { if (null == dbl) { dbl = new ArrayList(); } dbl.add(borders[i]); } else if ( IStyle.DASHED_VALUE.equals(borders[i].borderStyle) ) { if (null == dashed) { dashed = new ArrayList(); } dashed.add(borders[i]); } else if ( IStyle.DOTTED_VALUE.equals(borders[i].borderStyle) ) { if (null == dotted) { dotted = new ArrayList(); } dotted.add(borders[i]); }  else { if (null == solid) { solid = new ArrayList(); } solid.add(borders[i]); }
		private void drawBorder(BorderInfo border)		{			if(IStyle.SOLID_VALUE.equals( border.borderStyle ))			{				drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY ),  						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY ),  						pdfMeasure(border.borderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$				return;			}						if(IStyle.DOTTED_VALUE.equals( border.borderStyle ))			{				drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY ),  						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY ),  						pdfMeasure(border.borderWidth), border.borderColor, "dotted", cb ); //$NON-NLS-1$				return;			}			if(IStyle.DASHED_VALUE.equals( border.borderStyle ))			{				drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY ),  						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY ),  						pdfMeasure(border.borderWidth), border.borderColor, "dashed", cb ); //$NON-NLS-1$				return;			}			if(IStyle.DOUBLE_VALUE.equals( border.borderStyle ))			{ 				int outerBorderWidth=border.borderWidth/3; 				int innerBorderWidth=border.borderWidth/3; 				 				switch (border.borderType) 				{ 				case BorderInfo.TOP_BORDER: 					drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY-border.borderWidth/2+outerBorderWidth/2 ),  	 						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY-border.borderWidth/2+outerBorderWidth/2 ),  	 						pdfMeasure(outerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				drawLine( layoutPointX2PDF( border.startX+2*border.borderWidth/3 ),  	 						layoutPointY2PDF( border.startY+border.borderWidth/2-innerBorderWidth/2 ),  	 						layoutPointX2PDF( border.endX-2*border.borderWidth/3 ),  	 						layoutPointY2PDF( border.endY+border.borderWidth/2-innerBorderWidth/2 ),  	 						pdfMeasure(innerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				return; 				case BorderInfo.RIGHT_BORDER: 					drawLine( layoutPointX2PDF( border.startX+border.borderWidth/2-outerBorderWidth/2 ), layoutPointY2PDF( border.startY ),  	 						layoutPointX2PDF( border.endX+border.borderWidth/2-outerBorderWidth/2 ), layoutPointY2PDF( border.endY ),  	 						pdfMeasure(outerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				drawLine( layoutPointX2PDF( border.startX-border.borderWidth/2+innerBorderWidth/2 ),  	 						layoutPointY2PDF( border.startY+2*border.borderWidth/3 ),  	 						layoutPointX2PDF( border.endX-border.borderWidth/2+innerBorderWidth/2 ),  	 						layoutPointY2PDF( border.endY-2*border.borderWidth/3 ),  	 						pdfMeasure(innerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				return; 				case BorderInfo.BOTTOM_BORDER: 					drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY+border.borderWidth/2-outerBorderWidth/2 ),  	 						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY+border.borderWidth/2-outerBorderWidth/2 ),  	 						pdfMeasure(outerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				drawLine( layoutPointX2PDF( border.startX+2*border.borderWidth/3 ),  	 						layoutPointY2PDF( border.startY-border.borderWidth/2+innerBorderWidth/2 ),  	 						layoutPointX2PDF( border.endX-2*border.borderWidth/3 ),  	 						layoutPointY2PDF( border.endY-border.borderWidth/2+innerBorderWidth/2 ),  	 						pdfMeasure(innerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				return; 				case BorderInfo.LEFT_BORDER: 					drawLine( layoutPointX2PDF( border.startX-border.borderWidth/2+outerBorderWidth/2 ), layoutPointY2PDF( border.startY ),  	 						layoutPointX2PDF( border.endX-border.borderWidth/2+outerBorderWidth/2 ), layoutPointY2PDF( border.endY ),  	 						pdfMeasure(outerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				drawLine( layoutPointX2PDF( border.startX+border.borderWidth/2-innerBorderWidth/2 ),  	 						layoutPointY2PDF( border.startY+2*border.borderWidth/3 ),  	 						layoutPointX2PDF( border.endX+border.borderWidth/2-innerBorderWidth/2 ),  	 						layoutPointY2PDF( border.endY-2*border.borderWidth/3 ),  	 						pdfMeasure(innerBorderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$ 	 				return; 				}	 		}			drawLine( layoutPointX2PDF( border.startX ), layoutPointY2PDF( border.startY ), 						layoutPointX2PDF( border.endX ), layoutPointY2PDF( border.endY ), 						pdfMeasure(border.borderWidth), border.borderColor, "solid", cb ); //$NON-NLS-1$			return;		}