public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[SHTPROPS]\n");
    buffer
        .append("    .flags                = ")
        .append(HexDump.shortToHex(field_1_flags))
        .append('\n');
    buffer
        .append("         .chartTypeManuallyFormatted= ")
        .append(isChartTypeManuallyFormatted())
        .append('\n');
    buffer
        .append("         .plotVisibleOnly           = ")
        .append(isPlotVisibleOnly())
        .append('\n');
    buffer
        .append("         .doNotSizeWithWindow       = ")
        .append(isDoNotSizeWithWindow())
        .append('\n');
    buffer
        .append("         .defaultPlotDimensions     = ")
        .append(isDefaultPlotDimensions())
        .append('\n');
    buffer.append("         .autoPlotArea              = ").append(isAutoPlotArea()).append('\n');
    buffer
        .append("    .empty                = ")
        .append(HexDump.shortToHex(field_2_empty))
        .append('\n');

    buffer.append("[/SHTPROPS]\n");
    return buffer.toString();
  }
Пример #2
0
  public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[BOF RECORD]\n");
    buffer.append("    .version  = ").append(HexDump.shortToHex(getVersion())).append("\n");
    buffer.append("    .type     = ").append(HexDump.shortToHex(getType()));
    buffer.append(" (").append(getTypeName()).append(")").append("\n");
    buffer.append("    .build    = ").append(HexDump.shortToHex(getBuild())).append("\n");
    buffer.append("    .buildyear= ").append(getBuildYear()).append("\n");
    buffer.append("    .history  = ").append(HexDump.intToHex(getHistoryBitMask())).append("\n");
    buffer.append("    .reqver   = ").append(HexDump.intToHex(getRequiredVersion())).append("\n");
    buffer.append("[/BOF RECORD]\n");
    return buffer.toString();
  }
  @Override
  public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[SXVDEX]\n");

    buffer.append("    .grbit1 =").append(HexDump.intToHex(_grbit1)).append("\n");
    buffer.append("    .grbit2 =").append(HexDump.byteToHex(_grbit2)).append("\n");
    buffer.append("    .citmShow =").append(HexDump.byteToHex(_citmShow)).append("\n");
    buffer.append("    .isxdiSort =").append(HexDump.shortToHex(_isxdiSort)).append("\n");
    buffer.append("    .isxdiShow =").append(HexDump.shortToHex(_isxdiShow)).append("\n");
    buffer.append("    .subtotalName =").append(_subtotalName).append("\n");
    buffer.append("[/SXVDEX]\n");
    return buffer.toString();
  }
Пример #4
0
 public String toString() {
   StringBuffer sb = new StringBuffer();
   sb.append(getClass().getName()).append(" [ARRAY]\n");
   sb.append(" range=").append(getRange().toString()).append("\n");
   sb.append(" options=").append(HexDump.shortToHex(_options)).append("\n");
   sb.append(" notUsed=").append(HexDump.intToHex(_field3notUsed)).append("\n");
   sb.append(" formula:").append("\n");
   Ptg[] ptgs = _formula.getTokens();
   for (int i = 0; i < ptgs.length; i++) {
     Ptg ptg = ptgs[i];
     sb.append(ptg.toString()).append(ptg.getRVAType()).append("\n");
   }
   sb.append("]");
   return sb.toString();
 }