Examples of ReportElement


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

    elementById.setAttribute(attributeNamespace, attributeName, oldValue);
  }

  public void redo(final ReportDocumentContext renderContext)
  {
    final ReportElement elementById = ModelUtility.findElementById(renderContext.getReportDefinition(), target);
    elementById.setAttribute(attributeNamespace, attributeName, newValue);
  }
View Full Code Here

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

    this.oldValue = oldValue;
  }

  public void undo(final ReportDocumentContext renderContext)
  {
    final ReportElement elementById = ModelUtility.findElementById(renderContext.getReportDefinition(), target);
    elementById.setAttributeExpression(attributeNamespace, attributeName, oldValue);
  }
View Full Code Here

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

    elementById.setAttributeExpression(attributeNamespace, attributeName, oldValue);
  }

  public void redo(final ReportDocumentContext renderContext)
  {
    final ReportElement elementById = ModelUtility.findElementById(renderContext.getReportDefinition(), target);
    elementById.setAttributeExpression(attributeNamespace, attributeName, newValue);

  }
View Full Code Here

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

    assertNotNull(url);
    final ResourceManager resourceManager = new ResourceManager();
    resourceManager.registerDefaults();
    final Resource directly = resourceManager.createDirectly(url, MasterReport.class);
    final MasterReport report = (MasterReport) directly.getResource();
    final ReportElement crosstab = report.getChildElementByType(CrosstabGroupType.INSTANCE);
    crosstab.setAttribute(AttributeNames.Core.NAMESPACE, AttributeNames.Crosstab.DETAIL_MODE, CrosstabDetailMode.first);

    // Test whether the final page has out-of-bounds boxes. The FillPhysicalPages step should have removed them
    final PrintReportProcessor rp = new PrintReportProcessor(report);
    for (int page = 0; page < rp.getNumberOfPages(); page += 1)
    {
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.