Examples of DetailsHeader


Examples of org.pentaho.reporting.engine.classic.core.DetailsHeader

    final MasterReport org = (MasterReport) directly.getResource();

    assertNotNull(WizardProcessorUtil.loadWizardSpecification(org, resourceManager));
    final MasterReport report = postProcess(org);
    assertNotNull(WizardProcessorUtil.loadWizardSpecification(report, report.getResourceManager()));
    DetailsHeader detailsHeader = report.getDetailsHeader();
    detailsHeader.getElement(0).setName("MagicChange");

    LogicalPageBox logicalPageBox = DebugReportRunner.layoutPage(report, 1);
    ModelPrinter.INSTANCE.print(logicalPageBox);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.DetailsHeader

  public void itemsStarted(final ReportEvent event)
  {
    final int numberOfRows = event.getState().getNumberOfRows();

    final DetailsHeader detailsHeader = event.getReport().getDetailsHeader();
    if (detailsHeader != null)
    {
      this.template.write(detailsHeader, getRuntime());
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.DetailsHeader

    // activating this state after the page has ended is invalid.
    final int numberOfRows = event.getState().getNumberOfRows();
    final Renderer renderer = outputFunction.getRenderer();
    outputFunction.updateFooterArea(event);

    final DetailsHeader detailsHeader = event.getReport().getDetailsHeader();
    if (detailsHeader != null)
    {
      renderer.startSection(Renderer.SectionType.NORMALFLOW);
      outputFunction.print(outputFunction.getRuntime(), detailsHeader);
      outputFunction.addSubReportMarkers(renderer.endSection());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.DetailsHeader

    {
      final GroupDataBody dataBody = (GroupDataBody) report.getChildElementByType(GroupDataBodyType.INSTANCE);
      final ItemBand itemBand = dataBody.getItemBand();
      final NoDataBand noDataBand = dataBody.getNoDataBand();
      final DetailsFooter detailsFooter = dataBody.getDetailsFooter();
      final DetailsHeader detailsHeader = dataBody.getDetailsHeader();

      report.setRootGroup(groupReadHandler.getGroup());

      final GroupDataBody newDataBody = (GroupDataBody) report.getChildElementByType(GroupDataBodyType.INSTANCE);
      newDataBody.setItemBand(itemBand);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.DetailsHeader

      final GroupDataBody body = (GroupDataBody) rawLeadSelection;
      try
      {
        if (insert instanceof DetailsHeader)
        {
          final DetailsHeader detailsHeader = (DetailsHeader) insert.derive();
          body.setDetailsHeader(detailsHeader);
          return detailsHeader;
        }
        if (insert instanceof DetailsFooter)
        {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.DetailsHeader

      return new SectionEditUndoEntry(g.getObjectID(), ModelUtility.findIndexOf(g, newBand), oldBand, newBand);
    }
    if (data instanceof DetailsHeader)
    {
      final GroupDataBody g = (GroupDataBody) parent;
      final DetailsHeader oldHeader = g.getDetailsHeader();
      final DetailsHeader newHeader = new DetailsHeader();
      g.setDetailsHeader(newHeader);
      return new SectionEditUndoEntry(g.getObjectID(), ModelUtility.findIndexOf(g, newHeader), oldHeader, newHeader);
    }
    if (data instanceof DetailsFooter)
    {
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.