Examples of InstanceID


Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

    List<AttributedStringChunk> attr = new ArrayList<AttributedStringChunk>();
    computeText(lineBoxContainer, attr);
    if (attr.isEmpty())
    {
      attr.add(new AttributedStringChunk("", computeStyle(lineBoxContainer.getStyleSheet()),
          lineBoxContainer.getAttributes(), lineBoxContainer.getStyleSheet(), new InstanceID(), lineBoxContainer));
    }

    attr = processWhitespaceRules(lineBoxContainer, attr);

    StringBuilder text = new StringBuilder();
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

    for (int i = crosstabLayout.getFirstColGroupIndex(), count = 0; i < gidx; i += 1, count += 1)
    {
      if (crosstabLayout.isGenerateColumnTitleHeaders())
      {
        final InstanceID columnTitleHeaderId = crosstabLayout.getColumnTitleHeaderCellId(i - crosstabLayout.getFirstColGroupIndex());
        final RenderNode columnTitleHeaderCell = CrosstabOutputHelper.findNode(section, columnTitleHeaderId);
        if (columnTitleHeaderCell instanceof TableCellRenderBox)
        {
          final TableCellRenderBox cellBox = (TableCellRenderBox) columnTitleHeaderCell;
          cellBox.update(cellBox.getRowSpan(), cellBox.getColSpan() + 1);
        }
        else
        {
          throw new IllegalStateException("Unable to find node for previous column title header. Aborting report processing.");
        }
      }

      final InstanceID columnHeaderId = crosstabLayout.getColumnHeaderCellId(i - crosstabLayout.getFirstColGroupIndex());
      final RenderNode columnHeaderCell = CrosstabOutputHelper.findNode(section, columnHeaderId);
      if (columnHeaderCell instanceof TableCellRenderBox)
      {
        final TableCellRenderBox cellBox = (TableCellRenderBox) columnHeaderCell;
        cellBox.update(cellBox.getRowSpan(), cellBox.getColSpan() + 1);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

    final RenderableTextFactory textFactory = new DefaultRenderableTextFactory(outputProcessorMetaData);
    textFactory.startText();

    final RenderNode[] renderNodes = textFactory.createText(bufferArray, 0, buffer.getLength(),
        SimpleStyleSheet.EMPTY_STYLE, AutoLayoutBoxType.INSTANCE, new InstanceID(), ReportAttributeMap.EMPTY_MAP);
    final RenderNode[] finishNodes = textFactory.finishText();
    if (renderNodes.length > 0)
    {
      return renderNodes[0];
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID

      layoutModelBuilder.legacyFlagNotEmpty();
      final TableSectionRenderBox rowRenderNode = CrosstabOutputHelper.findTableSection(layoutModelBuilder.dangerousRawAccess());

      for (int i = crosstabLayout.getFirstRowGroupIndex(), count = 0; i < gidx; i += 1, count += 1)
      {
        final InstanceID rowHeader = crosstabLayout.getRowHeader(i - crosstabLayout.getFirstRowGroupIndex());
        final RenderNode cell = CrosstabOutputHelper.findNode(rowRenderNode, rowHeader);
        if (cell instanceof TableCellRenderBox)
        {
          final TableCellRenderBox cellBox = (TableCellRenderBox) cell;
          cellBox.update(cellBox.getRowSpan() + 1, cellBox.getColSpan());
View Full Code Here

Examples of org.voltcore.utils.InstanceId

            try
            {
                byte[] data =
                    m_zk.getData(CoreZK.instance_id, false, null);
                JSONObject idJSON = new JSONObject(new String(data, "UTF-8"));
                m_instanceId = new InstanceId(idJSON.getInt("coord"),
                        idJSON.getLong("timestamp"));

            }
            catch (Exception e)
            {
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.