Examples of BlockRenderBox


Examples of org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox

     
      final DesignerRenderer renderer = new DesignerRenderer(context.getOutputProcessor());
      renderer.startReport(report);
      final LogicalPageBox logicalPageBox = renderer.getPageBox();
      final DesignerLayoutBuilder builder = new DesignerLayoutBuilder(context.getMetaData());
      final BlockRenderBox contentArea = logicalPageBox.getContentArea();
      builder.startSection(contentArea, false);
      builder.add(contentArea, band, runtime, null);
      final InlineSubreportMarker[] subreportMarkers = builder.endSection(contentArea, contentArea);

      for (int i = 0; i < subreportMarkers.length; i++)
      {
        final InlineSubreportMarker marker = subreportMarkers[i];
        final RenderNode node =
            contentArea.findNodeById(marker.getInsertationPointId());
        if (node instanceof RenderBox)
        {
          final RenderBox box = (RenderBox) node;
          box.close();
        }
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.