report size of entries for POIFSViewer

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775992 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
kiwiwings 2016-12-25 00:06:13 +00:00
parent 3ff9eb5f0d
commit b4728919b9

View File

@ -473,7 +473,7 @@ public abstract class Property implements Child, POIFSViewable {
*/ */
public Object [] getViewableArray() public Object [] getViewableArray()
{ {
Object[] results = new Object[ 5 ]; Object[] results = new Object[ 6 ];
results[ 0 ] = "Name = \"" + getName() + "\""; results[ 0 ] = "Name = \"" + getName() + "\"";
results[ 1 ] = "Property Type = " + _property_type.get(); results[ 1 ] = "Property Type = " + _property_type.get();
@ -487,6 +487,7 @@ public abstract class Property implements Child, POIFSViewable {
time <<= 32; time <<= 32;
time += _seconds_2.get() & 0x0000FFFFL; time += _seconds_2.get() & 0x0000FFFFL;
results[ 4 ] = "Time 2 = " + time; results[ 4 ] = "Time 2 = " + time;
results[ 5 ] = "Size = " + getSize();
return results; return results;
} }