Beispiel #1
0
  public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[AREA]\n");
    buffer
        .append("    .formatFlags          = ")
        .append("0x")
        .append(HexDump.toHex(getFormatFlags()))
        .append(" (")
        .append(getFormatFlags())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer.append("         .stacked                  = ").append(isStacked()).append('\n');
    buffer
        .append("         .displayAsPercentage      = ")
        .append(isDisplayAsPercentage())
        .append('\n');
    buffer.append("         .shadow                   = ").append(isShadow()).append('\n');

    buffer.append("[/AREA]\n");
    return buffer.toString();
  }
  public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[FBI]\n");
    buffer
        .append("    .xBasis               = ")
        .append("0x")
        .append(HexDump.toHex(getXBasis()))
        .append(" (")
        .append(getXBasis())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .yBasis               = ")
        .append("0x")
        .append(HexDump.toHex(getYBasis()))
        .append(" (")
        .append(getYBasis())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .heightBasis          = ")
        .append("0x")
        .append(HexDump.toHex(getHeightBasis()))
        .append(" (")
        .append(getHeightBasis())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .scale                = ")
        .append("0x")
        .append(HexDump.toHex(getScale()))
        .append(" (")
        .append(getScale())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .indexToFontTable     = ")
        .append("0x")
        .append(HexDump.toHex(getIndexToFontTable()))
        .append(" (")
        .append(getIndexToFontTable())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));

    buffer.append("[/FBI]\n");
    return buffer.toString();
  }
Beispiel #3
0
  public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[CHART]\n");
    buffer
        .append("    .x                    = ")
        .append("0x")
        .append(HexDump.toHex(getX()))
        .append(" (")
        .append(getX())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .y                    = ")
        .append("0x")
        .append(HexDump.toHex(getY()))
        .append(" (")
        .append(getY())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .width                = ")
        .append("0x")
        .append(HexDump.toHex(getWidth()))
        .append(" (")
        .append(getWidth())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .height               = ")
        .append("0x")
        .append(HexDump.toHex(getHeight()))
        .append(" (")
        .append(getHeight())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));

    buffer.append("[/CHART]\n");
    return buffer.toString();
  }
  public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[AI]\n");
    buffer
        .append("    .linkType             = ")
        .append("0x")
        .append(HexDump.toHex(getLinkType()))
        .append(" (")
        .append(getLinkType())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .referenceType        = ")
        .append("0x")
        .append(HexDump.toHex(getReferenceType()))
        .append(" (")
        .append(getReferenceType())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .options              = ")
        .append("0x")
        .append(HexDump.toHex(getOptions()))
        .append(" (")
        .append(getOptions())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("         .customNumberFormat       = ")
        .append(isCustomNumberFormat())
        .append('\n');
    buffer
        .append("    .indexNumberFmtRecord = ")
        .append("0x")
        .append(HexDump.toHex(getIndexNumberFmtRecord()))
        .append(" (")
        .append(getIndexNumberFmtRecord())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .formulaOfLink        = ")
        .append(" (")
        .append(getFormulaOfLink())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));

    buffer.append("[/AI]\n");
    return buffer.toString();
  }
Beispiel #5
0
  public String toString() {
    StringBuffer buffer = new StringBuffer();

    buffer.append("[SERIESTEXT]\n");
    buffer
        .append("    .id                   = ")
        .append("0x")
        .append(HexDump.toHex(getId()))
        .append(" (")
        .append(getId())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .textLength           = ")
        .append("0x")
        .append(HexDump.toHex(getTextLength()))
        .append(" (")
        .append(getTextLength())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer
        .append("    .undocumented         = ")
        .append("0x")
        .append(HexDump.toHex(getUndocumented()))
        .append(" (")
        .append(getUndocumented())
        .append(" )");
    buffer.append(System.getProperty("line.separator"));
    buffer.append("    .text                 = ").append(" (").append(getText()).append(" )");
    buffer.append(System.getProperty("line.separator"));

    buffer.append("[/SERIESTEXT]\n");
    return buffer.toString();
  }