RotateOptionsPane() { super(Style.DEFAULT_SPACING); this.rotationType.getItems() .add(keyValue(PredefinedSetOfPages.ALL_PAGES, DefaultI18nContext.getInstance().i18n("All pages"))); this.rotationType.getItems() .add(keyValue(PredefinedSetOfPages.EVEN_PAGES, DefaultI18nContext.getInstance().i18n("Even pages"))); this.rotationType.getItems() .add(keyValue(PredefinedSetOfPages.ODD_PAGES, DefaultI18nContext.getInstance().i18n("Odd pages"))); this.rotationType.setId("rotationType"); this.rotation.getItems() .add(keyValue(Rotation.DEGREES_90, DefaultI18nContext.getInstance().i18n("90 degrees clockwise"))); this.rotation.getItems() .add(keyValue(Rotation.DEGREES_180, DefaultI18nContext.getInstance().i18n("180 degrees clockwise"))); this.rotation.getItems().add( keyValue(Rotation.DEGREES_270, DefaultI18nContext.getInstance().i18n("90 degrees counterclockwise"))); this.rotation.setId("rotation"); getStyleClass().addAll(Style.HCONTAINER.css()); getStyleClass().addAll(Style.CONTAINER.css()); resetView(); getChildren().addAll(new Label(DefaultI18nContext.getInstance().i18n("Rotate ")), this.rotationType, this.rotation); }
acroForms.getItems().add(keyValue(AcroFormPolicy.FLATTEN, i18n.i18n("Flatten"))); acroForms.getItems().add(keyValue(AcroFormPolicy.DISCARD, i18n.i18n("Discard forms"))); acroForms.setId("acroFormsCombo"); options.add(new Label(i18n.i18n("Interactive forms (AcroForms):")), 0, 0); acroForms.setMaxWidth(Double.POSITIVE_INFINITY); i18n.i18n("Retain bookmarks as one entry for each merged document"))); outline.setId("outlineCombo"); options.add(new Label(i18n.i18n("Bookmarks handling:")), 0, 1); outline.setMaxWidth(Double.POSITIVE_INFINITY); toc.getItems().add(keyValue(ToCPolicy.DOC_TITLES, i18n.i18n("Generate from documents titles"))); toc.setId("tocCombo"); options.add(new Label(i18n.i18n("Table of contents:")), 0, 2); toc.setMaxWidth(Double.POSITIVE_INFINITY);