mirror of https://github.com/apache/poi.git
finishing Libin's work.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8c3d5d665e
commit
4ab7e8adb0
|
@ -655,6 +655,14 @@ public class BiffViewer
|
||||||
retval = new AxisLineFormatRecord(rectype, size, data);
|
retval = new AxisLineFormatRecord(rectype, size, data);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case SupBookRecord.sid:
|
||||||
|
retval = new SupBookRecord(rectype, size, data);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ExternSheetRecord.sid:
|
||||||
|
retval = new ExternSheetRecord(rectype, size, data);
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
default :
|
default :
|
||||||
retval = new UnknownRecord(rectype, size, data);
|
retval = new UnknownRecord(rectype, size, data);
|
||||||
|
|
|
@ -176,6 +176,16 @@ public class ExternSheetRecord extends Record {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuffer buffer = new StringBuffer();
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
|
||||||
|
buffer.append("[EXTERNSHEET]\n");
|
||||||
|
buffer.append(" numOfRefs = ").append(getNumOfREFStructures()).append("\n");
|
||||||
|
for (int k=0; k < this.getNumOfREFRecord(); k++) {
|
||||||
|
buffer.append("refrec #").append(k).append('\n');
|
||||||
|
buffer.append(getREFRecordAt(k).toString());
|
||||||
|
buffer.append("----refrec #").append(k).append('\n');
|
||||||
|
}
|
||||||
|
buffer.append("[/EXTERNSHEET]\n");
|
||||||
|
|
||||||
|
|
||||||
return buffer.toString();
|
return buffer.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,9 @@ public class ExternSheetSubRecord extends Record {
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuffer buffer = new StringBuffer();
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
buffer.append(" supbookindex =").append(getIndexToSupBook()).append('\n');
|
||||||
|
buffer.append(" 1stsbindex =").append(getIndexToFirstSupBook()).append('\n');
|
||||||
|
buffer.append(" lastsbindex =").append(getIndexToLastSupBook()).append('\n');
|
||||||
return buffer.toString();
|
return buffer.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -136,7 +136,12 @@ public class SupBookRecord extends Record
|
||||||
|
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
return "";
|
StringBuffer buffer = new StringBuffer();
|
||||||
|
buffer.append("[SUPBOOK]\n");
|
||||||
|
buffer.append("numberosheets = ").append(getNumberOfSheets()).append('\n');
|
||||||
|
buffer.append("flag = ").append(getFlag()).append('\n');
|
||||||
|
buffer.append("[/SUPBOOK]\n");
|
||||||
|
return buffer.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue