348349350351352353354355356357358
text.setStyle(boldStyle); return text; } private JRPrintLine divLine(int posX) { line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(posX); line.setY(posY); line.setWidth(0); line.setHeight(15);
358359360361362363364365366367368
return line; } private JRPrintLine divTitleLine(int posX) { line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(posX); line.setY(posY); line.setWidth(0); line.setHeight(20);
368369370371372373374375376377378
return line; } private JRPrintLine divTitleLine(int posX,int posY) { line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(posX); line.setY(posY); line.setWidth(0); line.setHeight(16);
319320321322323324325326327328329330
} return image; } private JRPrintLine drawVerticalLine(int posX, int posY, int height) { JRBasePrintLine line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(posX); line.setY(posY); line.setWidth(0); line.setHeight(height); return line; }
292293294295296297298299300301302
return jasperPrint; } private void insertHorizontalLine() { line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(10); line.setY(posY); line.setWidth(convert(210)-20); line.setHeight(0); page.addElement(line);
370371372373374375376377378379380
text.setStyle(boldStyle); return text; } private JRPrintLine divLine(int posX) { line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(posX); line.setY(posY); line.setWidth(0); line.setHeight(15); return line;
349350351352353354355356357358359
359360361362363364365366367368369
460461462463464465466467468469470
} return image; } private JRPrintLine drawVerticalLine(int posX, int posY, int height) { line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(posX); line.setY(posY); line.setWidth(0); line.setHeight(height); return line;
469470471472473474475476477478479
line.setHeight(height); return line; } private JRPrintLine drawHorizontalLine(int posX, int posY, int width) { line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); line.setX(posX); line.setY(posY); line.setWidth(width); line.setHeight(0); return line;