Index: trunk/src/main/groovy/com/lemans/pdf/bms/BmsPdfBuilder.groovy =================================================================== diff -u -r9857 -r9997 --- trunk/src/main/groovy/com/lemans/pdf/bms/BmsPdfBuilder.groovy (.../BmsPdfBuilder.groovy) (revision 9857) +++ trunk/src/main/groovy/com/lemans/pdf/bms/BmsPdfBuilder.groovy (.../BmsPdfBuilder.groovy) (revision 9997) @@ -250,26 +250,14 @@ } private PdfPTable createRateTable() { - int[] rateSizes = [2, 1, 2, 1] - PdfPTable rateTable = new PdfPTable(4) + int rateSizes = 2 + PdfPTable rateTable = new PdfPTable(1) rateTable.widthPercentage = 100f rateTable.widths = rateSizes String returnRate = root.vwDealerInfo.dealerReturnRate?.text() rateTable.addCell(cellWithoutBorder('Dealer Return Rate:', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) rateTable.addCell(cellWithoutBorder(returnRate ? new DecimalFormat('0.00%').format(new BigDecimal(returnRate)) : '', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) - BigDecimal percent3Total = get3percentTotal() - rateTable.addCell(cellWithoutBorder(percent3Total ? '3% Total:' : '', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) - rateTable.addCell(cellWithoutBorder(percent3Total ? DECIMAL_FORMAT.format(percent3Total) - : '', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) - rateTable.addCell(cellWithoutBorder('12 Month Handling Fees:', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) - BigDecimal handlingFee = totalhandlingFee() - rateTable.addCell( cellWithoutBorder(handlingFee ? DECIMAL_FORMAT.format(handlingFee) - : '', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) - rateTable.addCell(cellWithoutBorder('Monthly Handling Fees:', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) - rateTable.addCell(cellWithoutBorder(handlingFee ? DECIMAL_FORMAT.format(handlingFee / 12) - : '', 11f, Element.ALIGN_LEFT, Element.ALIGN_TOP, NORMAL_8FONT)) - rateTable.defaultCell.setBorder(Rectangle.NO_BORDER) rateTable }