Package org.pentaho.reporting.engine.classic.core.modules.output.table.base

Examples of org.pentaho.reporting.engine.classic.core.modules.output.table.base.TableLayoutProducer


  }

  protected void processPaginationContent(final LogicalPageKey logicalPageKey, final LogicalPageBox logicalPage)
      throws ContentProcessingException
  {
    final TableLayoutProducer tableLayoutProducer = new TableLayoutProducer(metaData);
    tableLayoutProducer.update(logicalPage, false);
    final SheetLayout layout = tableLayoutProducer.getLayout();
    final TableContentProducer tcp = new TableContentProducer(layout, metaData);
    tcp.compute(logicalPage, false);
    try
    {
      // then add it to the layout-producer ..
View Full Code Here


      if (pageBox != null)
      {
        final OutputProcessorMetaData outputProcessorMetaData = getOutputProcessorMetaData();
        if (tableLayoutProducer == null)
        {
          tableLayoutProducer = new TableLayoutProducer(outputProcessorMetaData);
          tableLayoutProducer.setProcessWatermark(false);
        }
        else
        {
          tableLayoutProducer.clear();
View Full Code Here

                                                         final SheetLayout layout,
                                                         final OutputProcessorMetaData metaData)
  {
    layout.clearVerticalInfo();

    TableLayoutProducer currentLayout = new TableLayoutProducer(metaData, layout);
    currentLayout.update(pageBox.derive(true), false);
    currentLayout.pageCompleted();

    TableContentProducer contentProducer = new TableContentProducer(layout, metaData);
    contentProducer.compute(pageBox, false);
    return contentProducer;
  }
View Full Code Here

    public void produceTemplate(final LogicalPageBox pageBox)
    {
      sheetLayout.clearVerticalInfo();

      TableLayoutProducer currentLayout = new TableLayoutProducer(metaData, sheetLayout);
      currentLayout.update(pageBox, false);
      currentLayout.pageCompleted();
    }
View Full Code Here

    //ModelPrinter.print(logicalPageBox);

    final DebugOutputProcessorMetaData metaData = new DebugOutputProcessorMetaData();
    metaData.initialize(report.getConfiguration());
   
    final TableLayoutProducer tlb = new TableLayoutProducer(metaData);
    tlb.update(logicalPageBox, false);
    final TableContentProducer tcp = new TestTableContentProducer(tlb.getLayout(), metaData);
    tcp.compute(logicalPageBox, false);
//    final SheetLayout layout = tlb.getLayout();
  }
View Full Code Here

        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 =
            tableLayoutProducer.createSheetLayout((RenderBox) pageBox.getContentArea().derive(true));
        final DesignerTableContentProducer tableContentProducer = new DesignerTableContentProducer(layout, outputProcessorMetaData);
        final Map<InstanceID, Object> conflicts = tableContentProducer.computeConflicts(pageBox);

        transferLayoutProcessor.performTransfer
            (element, pageBox, verticalEdgePositions, horizontalEdgePositions, elementsById, conflicts);
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.output.table.base.TableLayoutProducer

Copyright © 2018 www.massapicom. 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.