public String toString() {StringBuilder sb = new StringBuilder();sb.append(getClass().getName());sb.append(" [");if (externalWorkbookNumber >= 0) {sb.append(" [");sb.append("workbook=").append(getExternalWorkbookNumber());sb.append("] ");}sb.append("sheet=").append(firstSheetName);if (lastSheetName != null) {sb.append(" : ");sb.append("sheet=").append(lastSheetName);}sb.append(" ! ");sb.append(formatReferenceAsString());sb.append("]");return sb.toString();}

public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(this.GetType().Name);sb.Append(" [");if (externalWorkbookNumber >= 0){sb.Append(" [");sb.Append("workbook=").Append(ExternalWorkbookNumber);sb.Append("] ");}sb.Append("sheet=").Append(firstSheetName);if (lastSheetName != null){sb.Append(" : ");sb.Append("sheet=").Append(lastSheetName);}sb.Append(" ! ");sb.Append(FormatReferenceAsString());sb.Append("]");return sb.ToString();}
