private void addBarcodes(final Document document, PdfWriter writer) {
        /**
         * Mögliche Barcodes:
         * BarcodeEAN, BarcodeEANSUPP, Barcode128, BarcodeInter25,
         * BarcodePostnet, Barcode39, BarcodeCodabar
         * BarcodePDF417, BarcodeDatamatrix, BarcodeQRCode
         */
        final CMYKColor blue = new CMYKColor(0.8f, 0.8f, 0, 0);
        final Font font9 = new Font(cousineBold, 9);
        font9.setColor(blue);
        final Phrase text = new Phrase("ISBN: ");
        final Paragraph absatz = new Paragraph();
        absatz.setAlignment(Paragraph.ALIGN_JUSTIFIED);
        absatz.setFont(font9);
        absatz.add(text);

        // EAN13 Kode z.B. ISBN Strichkode aus Nummer
        final BarcodeEAN isbn = new BarcodeEAN();
        isbn.setCodeType(Barcode.EAN13);
        isbn.setCode("9783446429246");
        final Image bild = isbn.createImageWithBarcode(
                writer.getDirectContent(), blue, null);
        bild.setAlignment(Paragraph.ALIGN_JUSTIFIED);
        bild.scalePercent(120);
        absatz.add(bild);

        // PDF417 Punktekode aus Text
        try {
            final BarcodePDF417 pdf417 = new BarcodePDF417();
            pdf417.setText("ISBN: 9783446429246");
            final Image dataCode = pdf417.getImage();
            absatz.add(dataCode);
        } catch (BadElementException e) {
            printLogMessage(e.toString());
        }

        // DataMatrix PunkteKode aus Text
        try {
            final BarcodeDatamatrix dataMatrix = new BarcodeDatamatrix();
            dataMatrix.generate("ISBN: 9783446429246");
            final Image image = dataMatrix.createImage();
            absatz.add(image);
        } catch (UnsupportedEncodingException | BadElementException e) {
            printLogMessage(e.toString());
        }

        try {
            document.add(absatz);
        } catch (DocumentException e) {
            printLogMessage(e.toString());
        }
    }