Examples of removeElement()


Examples of org.pentaho.reporting.engine.classic.core.CrosstabCellBody.removeElement()

    public void undo(final ReportDocumentContext renderContext)
    {
      final CrosstabCellBody selectedGroup = (CrosstabCellBody)
              ModelUtility.findElementById(renderContext.getReportDefinition(), target);
      selectedGroup.removeElement(cell);
    }

    public void redo(final ReportDocumentContext renderContext)
    {
      final CrosstabCellBody selectedGroup = (CrosstabCellBody)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.PageHeader.removeElement()

    final Resource directly = resourceManager.createDirectly(url, MasterReport.class);
    final MasterReport report = (MasterReport) directly.getResource();

    // having images in the header does not add any information, but slows down the report processing.
    PageHeader pageHeader = report.getPageHeader();
    pageHeader.removeElement(pageHeader.getElement(5));
    pageHeader.removeElement(pageHeader.getElement(0));

    List<LogicalPageBox> logicalPageBoxes = DebugReportRunner.layoutPages(report, 0, 1);
    for (LogicalPageBox box : logicalPageBoxes)
    {
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.