public RTFOutputProcessorMetaData( final int paginationMode ) { super( new ITextFontStorage( BaseFontModule.getFontRegistry() ) ); this.paginationMode = paginationMode; }
.getConfigProperty( "org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.Encoding" ); if ( !StringUtils.isEmpty( defaultEncoding ) ) { getITextFontStorage().setDefaultEncoding( defaultEncoding );
public PdfOutputProcessor( final Configuration configuration, final OutputStream outputStream, final ResourceManager resourceManager ) { if ( configuration == null ) { throw new NullPointerException( "Configuration must not be null" ); } if ( outputStream == null ) { throw new NullPointerException( "OutputStream must not be null" ); } if ( resourceManager == null ) { throw new NullPointerException(); } this.resourceManager = resourceManager; this.outputStream = outputStream; this.flowSelector = new AllPageFlowSelector(); // for the sake of simplicity, we use the AWT font registry for now. // This is less accurate than using the iText fonts, but completing // the TrueType registry or implementing an iText registry is too expensive // for now. final ITextFontStorage fontStorage = new ITextFontStorage( BaseFontModule.getFontRegistry() ); metaData = new PdfOutputProcessorMetaData( fontStorage ); }