Examples of ExtendedConfigurationWrapper


Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

    if ("true".equals(configuration.getConfigProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.WatermarkPrinted")))
    {
      addFeature(OutputProcessorFeature.WATERMARK_SECTION);
    }
    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);
    final double deviceResolution = extendedConfig.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.DeviceResolution", 0);
    if (deviceResolution > 0)
    {
      setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

        ("org.pentaho.reporting.engine.classic.core.modules.output.table.xls.ShapeAsContent")))
    {
      addFeature(AbstractTableOutputProcessor.SHAPES_CONTENT);
    }

    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);
    final double deviceResolution = extendedConfig.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.table.xls.DeviceResolution", 0);
    if (deviceResolution > 0)
    {
      setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

    if ("true".equals(configuration.getConfigProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.WatermarkPrinted")))
    {
      addFeature(OutputProcessorFeature.WATERMARK_SECTION);
    }
    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);
    final double deviceResolution = extendedConfig.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.DeviceResolution", 0);
    if (deviceResolution > 0)
    {
      setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

      throw new NullPointerException("ReportProcessor null");
    }

    this.pageProcess = proc;

    final ExtendedConfigurationWrapper config = new ExtendedConfigurationWrapper(proc.getConfiguration());

    this.primaryPoolSize = config.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.performance.pagestates.PrimaryPoolSize", PRIMARY_MAX);
    this.secondaryPoolFrequency = config.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.performance.pagestates.SecondaryPoolFrequency", MASTERPOSITIONS_MED);
    this.secondaryPoolSize = config.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.performance.pagestates.SecondaryPoolSize", MASTER4_MAX) + primaryPoolSize;
    this.tertiaryPoolFrequency = config.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.performance.pagestates.TertiaryPoolFrequency", MASTERPOSITIONS_MAX);

    if (primaryPoolSize < 1)
    {
      throw new IllegalStateException("Invalid configuration: Primary pool must be >= 1");
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

    this.numericFeatures = new HashMap();
    this.reusableFontContext = new ReusableFontContext();
    this.fontMetricsCache = new HashMap();
    this.lookupKey = new FontMetricsKey();

    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);

    final double defaultFontSize = extendedConfig.getIntProperty("org.pentaho.reporting.libraries.css.defaults.FontSize", 12);

    fontFamilyMapping = new HashMap();

    setNumericFeatureValue(OutputProcessorFeature.DEFAULT_FONT_SIZE, defaultFontSize);

    final double fontSmoothThreshold =
        extendedConfig.getIntProperty("org.pentaho.reporting.libraries.css.defaults.FontSmoothThreshold", 8);
    setNumericFeatureValue(OutputProcessorFeature.FONT_SMOOTH_THRESHOLD, fontSmoothThreshold);

    final double deviceResolution = extendedConfig.getIntProperty("org.pentaho.reporting.libraries.css.defaults.DeviceResolution", 72);
    if (deviceResolution > 0)
    {
      setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
    }
    else
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

    }
    if (this.context != context)
    {
      this.context = context;
      this.iconTheme = context.getIconTheme();
      this.configuration = new ExtendedConfigurationWrapper(context.getConfiguration());
      this.baseResources = new ResourceBundleSupport
          (context.getLocale(), SwingCommonModule.BUNDLE_NAME, ObjectUtilities.getClassLoader(SwingCommonModule.class));
    }
    return true;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

   */
  public synchronized ExtendedConfiguration getExtendedConfig()
  {
    if (extWrapper == null)
    {
      extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig());
    }
    return extWrapper;
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

    {
      addFeature(OutputProcessorFeature.ITERATIVE_RENDERING);
      addFeature(OutputProcessorFeature.UNALIGNED_PAGEBANDS);
    }

    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);
    final double deviceResolution = extendedConfig.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.table.rtf.DeviceResolution", 0);
    if (deviceResolution > 0)
    {
      setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

        "org.pentaho.reporting.engine.classic.core.modules.output.table.html.TreatEllipseAsRectangle")))
    {
      addFeature(AbstractTableOutputProcessor.TREAT_ELLIPSE_AS_RECTANGLE);
    }

    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);
    final double deviceResolution = extendedConfig.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.table.html.DeviceResolution", 0);
    if (deviceResolution > 0)
    {
      setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper

        ("org.pentaho.reporting.engine.classic.core.modules.output.table.xls.ShapeAsContent")))
    {
      addFeature(AbstractTableOutputProcessor.SHAPES_CONTENT);
    }

    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);
    final double deviceResolution = extendedConfig.getIntProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.table.xls.DeviceResolution", 0);
    if (deviceResolution > 0)
    {
      setNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION, deviceResolution);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.