class ExporterPDFSettings extends AbstractExporterSettings {

        // Preference names
        private final static String MARGIN_TOP = "PDF_marginTop";
        private final static String MARGIN_BOTTOM = "PDF_marginBottom";
        private final static String MARGIN_LEFT = "PDF_marginLeft";
        private final static String MARGIN_RIGHT = "PDF_marginRight";
        private final static String LANDSCAPE = "PDF_landscape";
        private final static String PAGE_SIZE_WIDTH = "PDF_pageSizeWidth";
        private final static String PAGE_SIZE_HEIGHT = "PDF_pageSizeHeight";
        private final static String TRANSPARENT_BACKGROUND = "PDF_transparentBackground";
        // Default
        private final static PDFExporter DEFAULT = new PDFExporter();

        private void load(PDFExporter exporter) {<FILL_FUNCTION_BODY>}

        private void save(PDFExporter exporter) {
            put(MARGIN_TOP, exporter.getMarginTop());
            put(MARGIN_BOTTOM, exporter.getMarginBottom());
            put(MARGIN_LEFT, exporter.getMarginLeft());
            put(MARGIN_RIGHT, exporter.getMarginRight());
            put(LANDSCAPE, exporter.isLandscape());
            put(PAGE_SIZE_WIDTH, exporter.getPageSize().getWidth());
            put(PAGE_SIZE_HEIGHT, exporter.getPageSize().getHeight());
            put(TRANSPARENT_BACKGROUND, exporter.isTransparentBackground());
        }
    }

            exporter.setMarginTop(get(MARGIN_TOP, DEFAULT.getMarginTop()));
            exporter.setMarginBottom(get(MARGIN_BOTTOM, DEFAULT.getMarginBottom()));
            exporter.setMarginLeft(get(MARGIN_LEFT, DEFAULT.getMarginLeft()));
            exporter.setMarginRight(get(MARGIN_RIGHT, DEFAULT.getMarginRight()));
            exporter.setLandscape(get(LANDSCAPE, DEFAULT.isLandscape()));
            float width = get(PAGE_SIZE_WIDTH, DEFAULT.getPageSize().getWidth());
            float height = get(PAGE_SIZE_HEIGHT, DEFAULT.getPageSize().getHeight());
            exporter.setPageSize(new PDRectangle(width, height));
            exporter.setTransparentBackground(get(TRANSPARENT_BACKGROUND, DEFAULT.isTransparentBackground()));
        
<no_super_class>