Examples of OutputProcessorMetaData


Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

  }

  public void initialize(final ReportDefinition report,
                         final ExpressionRuntime runtime, final boolean pagination)
  {
    OutputProcessorMetaData metaData = runtime.getProcessingContext().getOutputProcessorMetaData();
    if (pagination)
    {
      this.sharedSheetLayout = new SheetLayout(metaData);
      this.processor = new FastSheetLayoutProducer(sharedSheetLayout);
      this.processor.initialize(report, runtime, pagination);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

  }

  public void initialize(final ReportDefinition report,
                         final ExpressionRuntime runtime, final boolean pagination)
  {
    OutputProcessorMetaData metaData = runtime.getProcessingContext().getOutputProcessorMetaData();
    if (pagination)
    {
      this.sharedSheetLayout = new SheetLayout(metaData);
      this.processor = new FastSheetLayoutProducer(sharedSheetLayout);
      this.processor.initialize(report, runtime, pagination);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

    }

    try
    {
      this.runtime = runtime;
      final OutputProcessorMetaData outputProcessorMetaData = runtime.getProcessingContext().getOutputProcessorMetaData();
      this.designtime = outputProcessorMetaData.isFeatureSupported(OutputProcessorFeature.DESIGNTIME);
      collectedReports.clear();

      final SimpleStyleSheet styleSheet = band.getComputedStyle();
      final boolean invConsSpace = builder.isEmptyElementsHaveSignificance();
      if (invConsSpace || isElementProcessable(band, styleSheet))
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

    }


    if (root == false && builder.isEmpty())
    {
      final OutputProcessorMetaData metaData = runtime.getProcessingContext().getOutputProcessorMetaData();
      if (metaData.isFeatureSupported(OutputProcessorFeature.STRICT_COMPATIBILITY))
      {
        // this is the behaviour of the old 3.9 code. It is hard to explain in sane words, just look at
        // the old LayoutBuilder class for an example.
        final StyleSheet computedStyle = band.getComputedStyle();
        if (invConsSpace == false && DefaultLayoutModelBuilder.isControlBand(computedStyle) == false)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

  public void initialize(final ReportDefinition report,
                         final ExpressionRuntime runtime,
                         final boolean pagination)
  {
    OutputProcessorMetaData metaData = runtime.getProcessingContext().getOutputProcessorMetaData();
    if (pagination)
    {
      this.sharedSheetLayout = new SheetLayout(metaData);
      this.processor = new FastSheetLayoutProducer(sharedSheetLayout);
      this.processor.initialize(report, runtime, pagination);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

    {
      rawWidth = -Math.max(0, widthValue);
    }
    else if (widthType == WidthType.PIXELS)
    {
      final OutputProcessorMetaData data = context.getOutputProcessorMetaData();
      final double resolution = data.getNumericFeatureValue(OutputProcessorFeature.DEVICE_RESOLUTION);
      final double deviceScaleFactor = (72.0 / resolution);
      rawWidth = (float) (widthValue * deviceScaleFactor);
    }
    else // if (widthType == ColumnWidth.POINTS
    {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

  private boolean designtime;

  public SubReportProcessPreprocessor(final DefaultFlowController startFlowController)
  {
    this.startFlowController = startFlowController;
    final OutputProcessorMetaData md = startFlowController.getReportContext().getOutputProcessorMetaData();
    this.designtime = md.isFeatureSupported(OutputProcessorFeature.DESIGNTIME);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

  {
  }

  protected boolean isDesignTime(final DefaultFlowController flowController)
  {
    final OutputProcessorMetaData metaData = flowController.getReportContext().getOutputProcessorMetaData();
    return metaData.isFeatureSupported(OutputProcessorFeature.DESIGNTIME) == false;
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData

        logicalPageDrawable = null;
        computedBounds = new Rectangle2D.Double();
      }
      else
      {
        final OutputProcessorMetaData outputProcessorMetaData = getOutputProcessorMetaData();
        final TableLayoutProducer tableLayoutProducer =
            new TableLayoutProducer(outputProcessorMetaData);
        // we need to work on a copy here, as the layout computation marks boxes as finished to keep track
        // of the progress.
        final SheetLayout layout =
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.