private JRExporter text(JasperITextExporter jasperExporter) {
   JRExporter jrExporter = new JRTextExporter();
   exporter(jrExporter, jasperExporter);
   if (jasperExporter.getCharacterWidth() != null) {
     jrExporter.setParameter(
         JRTextExporterParameter.CHARACTER_WIDTH, jasperExporter.getCharacterWidth());
   } else {
     DRFont font = Defaults.getDefaults().getFont();
     jrExporter.setParameter(
         JRTextExporterParameter.CHARACTER_WIDTH, new Float(StyleResolver.getFontWidth(font)));
   }
   if (jasperExporter.getCharacterHeight() != null) {
     jrExporter.setParameter(
         JRTextExporterParameter.CHARACTER_HEIGHT, jasperExporter.getCharacterHeight());
   } else {
     DRFont font = Defaults.getDefaults().getFont();
     jrExporter.setParameter(
         JRTextExporterParameter.CHARACTER_HEIGHT, new Float(StyleResolver.getFontHeight(font)));
   }
   if (jasperExporter.getPageWidth() != null) {
     jrExporter.setParameter(JRTextExporterParameter.PAGE_WIDTH, jasperExporter.getPageWidth());
   }
   if (jasperExporter.getPageHeight() != null) {
     jrExporter.setParameter(JRTextExporterParameter.PAGE_HEIGHT, jasperExporter.getPageHeight());
   }
   if (jasperExporter.getBetweenPagesText() != null) {
     jrExporter.setParameter(
         JRTextExporterParameter.BETWEEN_PAGES_TEXT, jasperExporter.getBetweenPagesText());
   }
   if (jasperExporter.getLineSeparator() != null) {
     jrExporter.setParameter(
         JRTextExporterParameter.LINE_SEPARATOR, jasperExporter.getLineSeparator());
   }
   return jrExporter;
 }
 @Override
 public HorizontalAlignment getHorizontalAlignment() {
   return Defaults.getDefaults().getDateType().getHorizontalAlignment();
 }
 @Override
 public String getPattern() {
   return Defaults.getDefaults().getDateType().getPattern();
 }