Package org.pentaho.reporting.engine.classic.core

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


    {
      xmlWriter.writeCloseTag();
    }
    catch (IOException e)
    {
      throw new InvalidReportStateException(e.getMessage(), e);
    }
  }
View Full Code Here


      writeElementAttributes(box);
      return true;
    }
    catch (IOException e)
    {
      throw new InvalidReportStateException(e.getMessage(), e);
    }
  }
View Full Code Here

      writeElementAttributes(box);
      return true;
    }
    catch (IOException e)
    {
      throw new InvalidReportStateException(e.getMessage(), e);
    }
  }
View Full Code Here

          continue;
        }

        if (content.isCommited() == false)
        {
          throw new InvalidReportStateException("Uncommited content encountered");
        }

        final long contentOffset = contentProducer.getContentOffset(row, col);
        final TableRectangle rectangle = sheetLayout.getTableBounds
            (content.getX(), content.getY() + contentOffset,
View Full Code Here

        this.metaData.commit();
        writer.close();
      }
      catch (IOException e)
      {
        throw new InvalidReportStateException("Failed to close writer");
      }
    }
  }
View Full Code Here

  protected boolean startBox(final RenderBox box)
  {
    if (lineBreakState.isInsideParagraph() == false)
    {
      throw new InvalidReportStateException("A inline-level box outside of a paragraph box is not allowed.");
    }

    final int nodeType = box.getLayoutNodeType();
    if (nodeType == LayoutNodeTypes.TYPE_BOX_CONTENT)
    {
View Full Code Here

  protected void processOtherNode(final RenderNode node)
  {
    if (lineBreakState.isInsideParagraph() == false)
    {
      throw new InvalidReportStateException("A inline-level box outside of a paragraph box is not allowed.");
    }

    final int nodeType = node.getNodeType();
    if (nodeType == LayoutNodeTypes.TYPE_NODE_FINISHEDNODE)
    {
View Full Code Here

  protected void finishBox(final RenderBox box)
  {
    if (lineBreakState.isInsideParagraph() == false)
    {
      throw new InvalidReportStateException("A inline-level box outside of a paragraph box is not allowed.");
    }

    final int nodeType = box.getLayoutNodeType();
    if (nodeType == LayoutNodeTypes.TYPE_BOX_CONTENT)
    {
View Full Code Here

    }

    final CrosstabCellBody dataBody = event.getReport().getCrosstabCellBody();
    if (dataBody == null)
    {
      throw new InvalidReportStateException();
    }

    final LayoutModelBuilder layoutModelBuilder = outputFunction.getRenderer().getNormalFlowLayoutModelBuilder();
    layoutModelBuilder.startSubFlow(crosstabLayout.getMeasureHeaderSubflowId());
    CrosstabOutputHelper.createAutomaticCell(layoutModelBuilder);
View Full Code Here

  public InstanceID getColumnTitleHeaderSubflowId(final int gidx)
  {
    if (generateColumnTitleHeaders == false)
    {
      throw new InvalidReportStateException();
    }
    final int offset = gidx - crosstabGroupIndex - otherGroups - rowGroups - 1;
    return columnHeaderSubflows[offset * 2];
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.InvalidReportStateException

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.