private KeyedComboBoxModel<String, String> createExportTypeModel() {
   final KeyedComboBoxModel<String, String> keyedComboBoxModel =
       new KeyedComboBoxModel<String, String>();
   keyedComboBoxModel.add(null, null);
   keyedComboBoxModel.add(
       PdfPageableModule.PDF_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.PDF"));
   keyedComboBoxModel.add(
       HtmlTableModule.TABLE_HTML_STREAM_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.HTMLStream"));
   keyedComboBoxModel.add(
       ExcelTableModule.EXCEL_FLOW_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.XLS"));
   keyedComboBoxModel.add(
       ExcelTableModule.XLSX_FLOW_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.XLSX"));
   keyedComboBoxModel.add(
       CSVTableModule.TABLE_CSV_STREAM_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.CSV"));
   keyedComboBoxModel.add(
       RTFTableModule.TABLE_RTF_FLOW_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.RTF"));
   keyedComboBoxModel.add(
       PlainTextPageableModule.PLAINTEXT_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.TEXT"));
   keyedComboBoxModel.add(
       HtmlTableModule.TABLE_HTML_PAGE_EXPORT_TYPE,
       Messages.getInstance().getString("RepositoryPublishDialog.ExportType.HTMLPage"));
   return keyedComboBoxModel;
 }
 private KeyedComboBoxModel createWhitspaceModel() {
   final KeyedComboBoxModel model = new KeyedComboBoxModel();
   model.add(
       WhitespaceCollapse.COLLAPSE,
       Messages.getString("ParagraphPropertiesPane.CollapseWhitespaces"));
   model.add(
       WhitespaceCollapse.DISCARD,
       Messages.getString("ParagraphPropertiesPane.DiscardAllWhitespaces"));
   model.add(
       WhitespaceCollapse.PRESERVE,
       Messages.getString("ParagraphPropertiesPane.PreserveAllWhitespaces"));
   model.add(
       WhitespaceCollapse.PRESERVE_BREAKS,
       Messages.getString("ParagraphPropertiesPane.PreserveBreaks"));
   return model;
 }
 private KeyedComboBoxModel createTextAlignmentModel() {
   final KeyedComboBoxModel model = new KeyedComboBoxModel();
   model.add(VerticalTextAlign.TOP, Messages.getString("ParagraphPropertiesPane.Top"));
   model.add(VerticalTextAlign.CENTRAL, Messages.getString("ParagraphPropertiesPane.Central"));
   model.add(VerticalTextAlign.MIDDLE, Messages.getString("ParagraphPropertiesPane.Middle"));
   model.add(VerticalTextAlign.BASELINE, Messages.getString("ParagraphPropertiesPane.Baseline"));
   model.add(
       VerticalTextAlign.USE_SCRIPT, Messages.getString("ParagraphPropertiesPane.UseScript"));
   model.add(VerticalTextAlign.TEXT_TOP, Messages.getString("ParagraphPropertiesPane.TextTop"));
   model.add(
       VerticalTextAlign.TEXT_BOTTOM, Messages.getString("ParagraphPropertiesPane.TextBottom"));
   model.add(VerticalTextAlign.SUB, Messages.getString("ParagraphPropertiesPane.Subscript"));
   model.add(VerticalTextAlign.SUPER, Messages.getString("ParagraphPropertiesPane.Superscript"));
   model.add(VerticalTextAlign.BOTTOM, Messages.getString("ParagraphPropertiesPane.Bottom"));
   return model;
 }