private static void splitLine(Document doc, PdfWriter writer) {
PdfContentByte cb = writer.getDirectContentUnder();
cb.moveTo(doc.right() / 2, doc.bottom());
cb.lineTo(doc.right() / 2, doc.top());
cb.stroke();
}
private static void booklet(String input) throws Exception {
String output = input.replace(".pdf", "-booklet.pdf");
PdfReader reader = new PdfReader(input);