poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r805284 [7/8] - in /poi/trunk/src: examples/src/org/apache/poi/hssf/usermodel/examples/ java/org/apache/poi/hpsf/ java/org/apache/poi/hssf/eventmodel/ java/org/apache/poi/hssf/model/ java/org/apache/poi/hssf/record/ java/org/apache/poi/hssf...
Date Tue, 18 Aug 2009 05:29:55 GMT
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java Tue Aug 18 05:29:53 2009
@@ -239,65 +239,63 @@
         field_51_nfcEdnRef              = LittleEndian.getShort(data, 0x1ee + offset);
         field_52_hpsZoonFontPag         = LittleEndian.getShort(data, 0x1f0 + offset);
         field_53_dywDispPag             = LittleEndian.getShort(data, 0x1f2 + offset);
-
     }
 
     public void serialize(byte[] data, int offset)
     {
-        data[ 0x0 + offset] = field_1_formatFlags;;
-        data[ 0x1 + offset] = field_2_unused2;;
-        LittleEndian.putShort(data, 0x2 + offset, (short)field_3_footnoteInfo);;
-        data[ 0x4 + offset] = field_4_fOutlineDirtySave;;
-        data[ 0x5 + offset] = field_5_docinfo;;
-        data[ 0x6 + offset] = field_6_docinfo1;;
-        data[ 0x7 + offset] = field_7_docinfo2;;
-        LittleEndian.putShort(data, 0x8 + offset, (short)field_8_docinfo3);;
-        LittleEndian.putShort(data, 0xa + offset, (short)field_9_dxaTab);;
-        LittleEndian.putShort(data, 0xc + offset, (short)field_10_wSpare);;
-        LittleEndian.putShort(data, 0xe + offset, (short)field_11_dxaHotz);;
-        LittleEndian.putShort(data, 0x10 + offset, (short)field_12_cConsexHypLim);;
-        LittleEndian.putShort(data, 0x12 + offset, (short)field_13_wSpare2);;
-        LittleEndian.putInt(data, 0x14 + offset, field_14_dttmCreated);;
-        LittleEndian.putInt(data, 0x18 + offset, field_15_dttmRevised);;
-        LittleEndian.putInt(data, 0x1c + offset, field_16_dttmLastPrint);;
-        LittleEndian.putShort(data, 0x20 + offset, (short)field_17_nRevision);;
-        LittleEndian.putInt(data, 0x22 + offset, field_18_tmEdited);;
-        LittleEndian.putInt(data, 0x26 + offset, field_19_cWords);;
-        LittleEndian.putInt(data, 0x2a + offset, field_20_cCh);;
-        LittleEndian.putShort(data, 0x2e + offset, (short)field_21_cPg);;
-        LittleEndian.putInt(data, 0x30 + offset, field_22_cParas);;
-        LittleEndian.putShort(data, 0x34 + offset, (short)field_23_Edn);;
-        LittleEndian.putShort(data, 0x36 + offset, (short)field_24_Edn1);;
-        LittleEndian.putInt(data, 0x38 + offset, field_25_cLines);;
-        LittleEndian.putInt(data, 0x3c + offset, field_26_cWordsFtnEnd);;
-        LittleEndian.putInt(data, 0x40 + offset, field_27_cChFtnEdn);;
-        LittleEndian.putShort(data, 0x44 + offset, (short)field_28_cPgFtnEdn);;
-        LittleEndian.putInt(data, 0x46 + offset, field_29_cParasFtnEdn);;
-        LittleEndian.putInt(data, 0x4a + offset, field_30_cLinesFtnEdn);;
-        LittleEndian.putInt(data, 0x4e + offset, field_31_lKeyProtDoc);;
-        LittleEndian.putShort(data, 0x52 + offset, (short)field_32_view);;
-        LittleEndian.putInt(data, 0x54 + offset, field_33_docinfo4);;
-        LittleEndian.putShort(data, 0x58 + offset, (short)field_34_adt);;
-        System.arraycopy(field_35_doptypography, 0, data, 0x5a + offset, field_35_doptypography.length);;
-        System.arraycopy(field_36_dogrid, 0, data, 0x190 + offset, field_36_dogrid.length);;
-        LittleEndian.putShort(data, 0x19a + offset, (short)field_37_docinfo5);;
-        LittleEndian.putShort(data, 0x19c + offset, (short)field_38_docinfo6);;
-        System.arraycopy(field_39_asumyi, 0, data, 0x19e + offset, field_39_asumyi.length);;
-        LittleEndian.putInt(data, 0x1aa + offset, field_40_cChWS);;
-        LittleEndian.putInt(data, 0x1ae + offset, field_41_cChWSFtnEdn);;
-        LittleEndian.putInt(data, 0x1b2 + offset, field_42_grfDocEvents);;
-        LittleEndian.putInt(data, 0x1b6 + offset, field_43_virusinfo);;
-        System.arraycopy(field_44_Spare, 0, data, 0x1ba + offset, field_44_Spare.length);;
-        LittleEndian.putInt(data, 0x1d8 + offset, field_45_reserved1);;
-        LittleEndian.putInt(data, 0x1dc + offset, field_46_reserved2);;
-        LittleEndian.putInt(data, 0x1e0 + offset, field_47_cDBC);;
-        LittleEndian.putInt(data, 0x1e4 + offset, field_48_cDBCFtnEdn);;
-        LittleEndian.putInt(data, 0x1e8 + offset, field_49_reserved);;
-        LittleEndian.putShort(data, 0x1ec + offset, (short)field_50_nfcFtnRef);;
-        LittleEndian.putShort(data, 0x1ee + offset, (short)field_51_nfcEdnRef);;
-        LittleEndian.putShort(data, 0x1f0 + offset, (short)field_52_hpsZoonFontPag);;
-        LittleEndian.putShort(data, 0x1f2 + offset, (short)field_53_dywDispPag);;
-
+        data[ 0x0 + offset] = field_1_formatFlags;
+        data[ 0x1 + offset] = field_2_unused2;
+        LittleEndian.putShort(data, 0x2 + offset, field_3_footnoteInfo);
+        data[ 0x4 + offset] = field_4_fOutlineDirtySave;
+        data[ 0x5 + offset] = field_5_docinfo;
+        data[ 0x6 + offset] = field_6_docinfo1;
+        data[ 0x7 + offset] = field_7_docinfo2;
+        LittleEndian.putShort(data, 0x8 + offset, field_8_docinfo3);
+        LittleEndian.putShort(data, 0xa + offset, (short)field_9_dxaTab);
+        LittleEndian.putShort(data, 0xc + offset, (short)field_10_wSpare);
+        LittleEndian.putShort(data, 0xe + offset, (short)field_11_dxaHotz);
+        LittleEndian.putShort(data, 0x10 + offset, (short)field_12_cConsexHypLim);
+        LittleEndian.putShort(data, 0x12 + offset, (short)field_13_wSpare2);
+        LittleEndian.putInt(data, 0x14 + offset, field_14_dttmCreated);
+        LittleEndian.putInt(data, 0x18 + offset, field_15_dttmRevised);
+        LittleEndian.putInt(data, 0x1c + offset, field_16_dttmLastPrint);
+        LittleEndian.putShort(data, 0x20 + offset, (short)field_17_nRevision);
+        LittleEndian.putInt(data, 0x22 + offset, field_18_tmEdited);
+        LittleEndian.putInt(data, 0x26 + offset, field_19_cWords);
+        LittleEndian.putInt(data, 0x2a + offset, field_20_cCh);
+        LittleEndian.putShort(data, 0x2e + offset, (short)field_21_cPg);
+        LittleEndian.putInt(data, 0x30 + offset, field_22_cParas);
+        LittleEndian.putShort(data, 0x34 + offset, field_23_Edn);
+        LittleEndian.putShort(data, 0x36 + offset, field_24_Edn1);
+        LittleEndian.putInt(data, 0x38 + offset, field_25_cLines);
+        LittleEndian.putInt(data, 0x3c + offset, field_26_cWordsFtnEnd);
+        LittleEndian.putInt(data, 0x40 + offset, field_27_cChFtnEdn);
+        LittleEndian.putShort(data, 0x44 + offset, field_28_cPgFtnEdn);
+        LittleEndian.putInt(data, 0x46 + offset, field_29_cParasFtnEdn);
+        LittleEndian.putInt(data, 0x4a + offset, field_30_cLinesFtnEdn);
+        LittleEndian.putInt(data, 0x4e + offset, field_31_lKeyProtDoc);
+        LittleEndian.putShort(data, 0x52 + offset, field_32_view);
+        LittleEndian.putInt(data, 0x54 + offset, field_33_docinfo4);
+        LittleEndian.putShort(data, 0x58 + offset, field_34_adt);
+        System.arraycopy(field_35_doptypography, 0, data, 0x5a + offset, field_35_doptypography.length);
+        System.arraycopy(field_36_dogrid, 0, data, 0x190 + offset, field_36_dogrid.length);
+        LittleEndian.putShort(data, 0x19a + offset, field_37_docinfo5);
+        LittleEndian.putShort(data, 0x19c + offset, field_38_docinfo6);
+        System.arraycopy(field_39_asumyi, 0, data, 0x19e + offset, field_39_asumyi.length);
+        LittleEndian.putInt(data, 0x1aa + offset, field_40_cChWS);
+        LittleEndian.putInt(data, 0x1ae + offset, field_41_cChWSFtnEdn);
+        LittleEndian.putInt(data, 0x1b2 + offset, field_42_grfDocEvents);
+        LittleEndian.putInt(data, 0x1b6 + offset, field_43_virusinfo);
+        System.arraycopy(field_44_Spare, 0, data, 0x1ba + offset, field_44_Spare.length);
+        LittleEndian.putInt(data, 0x1d8 + offset, field_45_reserved1);
+        LittleEndian.putInt(data, 0x1dc + offset, field_46_reserved2);
+        LittleEndian.putInt(data, 0x1e0 + offset, field_47_cDBC);
+        LittleEndian.putInt(data, 0x1e4 + offset, field_48_cDBCFtnEdn);
+        LittleEndian.putInt(data, 0x1e8 + offset, field_49_reserved);
+        LittleEndian.putShort(data, 0x1ec + offset, field_50_nfcFtnRef);
+        LittleEndian.putShort(data, 0x1ee + offset, field_51_nfcEdnRef);
+        LittleEndian.putShort(data, 0x1f0 + offset, field_52_hpsZoonFontPag);
+        LittleEndian.putShort(data, 0x1f2 + offset, field_53_dywDispPag);
     }
 
     public String toString()
@@ -1426,8 +1424,6 @@
     public void setFFacingPages(boolean value)
     {
         field_1_formatFlags = (byte)fFacingPages.setBoolean(field_1_formatFlags, value);
-
-
     }
 
     /**
@@ -1437,7 +1433,6 @@
     public boolean isFFacingPages()
     {
         return fFacingPages.isSet(field_1_formatFlags);
-
     }
 
     /**
@@ -1447,8 +1442,6 @@
     public void setFWidowControl(boolean value)
     {
         field_1_formatFlags = (byte)fWidowControl.setBoolean(field_1_formatFlags, value);
-
-
     }
 
     /**
@@ -1458,7 +1451,6 @@
     public boolean isFWidowControl()
     {
         return fWidowControl.isSet(field_1_formatFlags);
-
     }
 
     /**
@@ -1468,8 +1460,6 @@
     public void setFPMHMainDoc(boolean value)
     {
         field_1_formatFlags = (byte)fPMHMainDoc.setBoolean(field_1_formatFlags, value);
-
-
     }
 
     /**
@@ -1479,7 +1469,6 @@
     public boolean isFPMHMainDoc()
     {
         return fPMHMainDoc.isSet(field_1_formatFlags);
-
     }
 
     /**
@@ -1489,8 +1478,6 @@
     public void setGrfSupression(byte value)
     {
         field_1_formatFlags = (byte)grfSupression.setValue(field_1_formatFlags, value);
-
-
     }
 
     /**
@@ -1500,7 +1487,6 @@
     public byte getGrfSupression()
     {
         return ( byte )grfSupression.getValue(field_1_formatFlags);
-
     }
 
     /**
@@ -1510,8 +1496,6 @@
     public void setFpc(byte value)
     {
         field_1_formatFlags = (byte)fpc.setValue(field_1_formatFlags, value);
-
-
     }
 
     /**
@@ -1521,7 +1505,6 @@
     public byte getFpc()
     {
         return ( byte )fpc.getValue(field_1_formatFlags);
-
     }
 
     /**
@@ -1531,8 +1514,6 @@
     public void setUnused1(boolean value)
     {
         field_1_formatFlags = (byte)unused1.setBoolean(field_1_formatFlags, value);
-
-
     }
 
     /**
@@ -1542,7 +1523,6 @@
     public boolean isUnused1()
     {
         return unused1.isSet(field_1_formatFlags);
-
     }
 
     /**
@@ -1552,8 +1532,6 @@
     public void setRncFtn(byte value)
     {
         field_3_footnoteInfo = (short)rncFtn.setValue(field_3_footnoteInfo, value);
-
-
     }
 
     /**
@@ -1563,7 +1541,6 @@
     public byte getRncFtn()
     {
         return ( byte )rncFtn.getValue(field_3_footnoteInfo);
-
     }
 
     /**
@@ -1573,8 +1550,6 @@
     public void setNFtn(short value)
     {
         field_3_footnoteInfo = (short)nFtn.setValue(field_3_footnoteInfo, value);
-
-
     }
 
     /**
@@ -1584,7 +1559,6 @@
     public short getNFtn()
     {
         return ( short )nFtn.getValue(field_3_footnoteInfo);
-
     }
 
     /**
@@ -1594,8 +1568,6 @@
     public void setFOnlyMacPics(boolean value)
     {
         field_5_docinfo = (byte)fOnlyMacPics.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1605,7 +1577,6 @@
     public boolean isFOnlyMacPics()
     {
         return fOnlyMacPics.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1615,8 +1586,6 @@
     public void setFOnlyWinPics(boolean value)
     {
         field_5_docinfo = (byte)fOnlyWinPics.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1626,7 +1595,6 @@
     public boolean isFOnlyWinPics()
     {
         return fOnlyWinPics.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1636,8 +1604,6 @@
     public void setFLabelDoc(boolean value)
     {
         field_5_docinfo = (byte)fLabelDoc.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1647,7 +1613,6 @@
     public boolean isFLabelDoc()
     {
         return fLabelDoc.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1657,8 +1622,6 @@
     public void setFHyphCapitals(boolean value)
     {
         field_5_docinfo = (byte)fHyphCapitals.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1668,7 +1631,6 @@
     public boolean isFHyphCapitals()
     {
         return fHyphCapitals.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1678,8 +1640,6 @@
     public void setFAutoHyphen(boolean value)
     {
         field_5_docinfo = (byte)fAutoHyphen.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1689,7 +1649,6 @@
     public boolean isFAutoHyphen()
     {
         return fAutoHyphen.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1699,8 +1658,6 @@
     public void setFFormNoFields(boolean value)
     {
         field_5_docinfo = (byte)fFormNoFields.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1710,7 +1667,6 @@
     public boolean isFFormNoFields()
     {
         return fFormNoFields.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1720,8 +1676,6 @@
     public void setFLinkStyles(boolean value)
     {
         field_5_docinfo = (byte)fLinkStyles.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1731,7 +1685,6 @@
     public boolean isFLinkStyles()
     {
         return fLinkStyles.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1741,8 +1694,6 @@
     public void setFRevMarking(boolean value)
     {
         field_5_docinfo = (byte)fRevMarking.setBoolean(field_5_docinfo, value);
-
-
     }
 
     /**
@@ -1752,7 +1703,6 @@
     public boolean isFRevMarking()
     {
         return fRevMarking.isSet(field_5_docinfo);
-
     }
 
     /**
@@ -1762,8 +1712,6 @@
     public void setFBackup(boolean value)
     {
         field_6_docinfo1 = (byte)fBackup.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1773,7 +1721,6 @@
     public boolean isFBackup()
     {
         return fBackup.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1783,8 +1730,6 @@
     public void setFExactCWords(boolean value)
     {
         field_6_docinfo1 = (byte)fExactCWords.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1794,7 +1739,6 @@
     public boolean isFExactCWords()
     {
         return fExactCWords.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1804,8 +1748,6 @@
     public void setFPagHidden(boolean value)
     {
         field_6_docinfo1 = (byte)fPagHidden.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1815,7 +1757,6 @@
     public boolean isFPagHidden()
     {
         return fPagHidden.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1825,8 +1766,6 @@
     public void setFPagResults(boolean value)
     {
         field_6_docinfo1 = (byte)fPagResults.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1836,7 +1775,6 @@
     public boolean isFPagResults()
     {
         return fPagResults.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1846,8 +1784,6 @@
     public void setFLockAtn(boolean value)
     {
         field_6_docinfo1 = (byte)fLockAtn.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1857,7 +1793,6 @@
     public boolean isFLockAtn()
     {
         return fLockAtn.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1867,8 +1802,6 @@
     public void setFMirrorMargins(boolean value)
     {
         field_6_docinfo1 = (byte)fMirrorMargins.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1878,7 +1811,6 @@
     public boolean isFMirrorMargins()
     {
         return fMirrorMargins.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1888,8 +1820,6 @@
     public void setUnused3(boolean value)
     {
         field_6_docinfo1 = (byte)unused3.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1899,7 +1829,6 @@
     public boolean isUnused3()
     {
         return unused3.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1909,8 +1838,6 @@
     public void setFDfltTrueType(boolean value)
     {
         field_6_docinfo1 = (byte)fDfltTrueType.setBoolean(field_6_docinfo1, value);
-
-
     }
 
     /**
@@ -1920,7 +1847,6 @@
     public boolean isFDfltTrueType()
     {
         return fDfltTrueType.isSet(field_6_docinfo1);
-
     }
 
     /**
@@ -1930,8 +1856,6 @@
     public void setFPagSupressTopSpacing(boolean value)
     {
         field_7_docinfo2 = (byte)fPagSupressTopSpacing.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -1941,7 +1865,6 @@
     public boolean isFPagSupressTopSpacing()
     {
         return fPagSupressTopSpacing.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -1951,8 +1874,6 @@
     public void setFProtEnabled(boolean value)
     {
         field_7_docinfo2 = (byte)fProtEnabled.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -1962,7 +1883,6 @@
     public boolean isFProtEnabled()
     {
         return fProtEnabled.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -1972,8 +1892,6 @@
     public void setFDispFormFldSel(boolean value)
     {
         field_7_docinfo2 = (byte)fDispFormFldSel.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -1983,7 +1901,6 @@
     public boolean isFDispFormFldSel()
     {
         return fDispFormFldSel.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -1993,8 +1910,6 @@
     public void setFRMView(boolean value)
     {
         field_7_docinfo2 = (byte)fRMView.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -2004,7 +1919,6 @@
     public boolean isFRMView()
     {
         return fRMView.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -2014,8 +1928,6 @@
     public void setFRMPrint(boolean value)
     {
         field_7_docinfo2 = (byte)fRMPrint.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -2025,7 +1937,6 @@
     public boolean isFRMPrint()
     {
         return fRMPrint.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -2035,8 +1946,6 @@
     public void setUnused4(boolean value)
     {
         field_7_docinfo2 = (byte)unused4.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -2046,7 +1955,6 @@
     public boolean isUnused4()
     {
         return unused4.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -2056,8 +1964,6 @@
     public void setFLockRev(boolean value)
     {
         field_7_docinfo2 = (byte)fLockRev.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -2067,7 +1973,6 @@
     public boolean isFLockRev()
     {
         return fLockRev.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -2077,8 +1982,6 @@
     public void setFEmbedFonts(boolean value)
     {
         field_7_docinfo2 = (byte)fEmbedFonts.setBoolean(field_7_docinfo2, value);
-
-
     }
 
     /**
@@ -2088,7 +1991,6 @@
     public boolean isFEmbedFonts()
     {
         return fEmbedFonts.isSet(field_7_docinfo2);
-
     }
 
     /**
@@ -2098,8 +2000,6 @@
     public void setOldfNoTabForInd(boolean value)
     {
         field_8_docinfo3 = (short)oldfNoTabForInd.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2109,7 +2009,6 @@
     public boolean isOldfNoTabForInd()
     {
         return oldfNoTabForInd.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2119,8 +2018,6 @@
     public void setOldfNoSpaceRaiseLower(boolean value)
     {
         field_8_docinfo3 = (short)oldfNoSpaceRaiseLower.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2130,7 +2027,6 @@
     public boolean isOldfNoSpaceRaiseLower()
     {
         return oldfNoSpaceRaiseLower.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2140,8 +2036,6 @@
     public void setOldfSuppressSpbfAfterPageBreak(boolean value)
     {
         field_8_docinfo3 = (short)oldfSuppressSpbfAfterPageBreak.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2151,7 +2045,6 @@
     public boolean isOldfSuppressSpbfAfterPageBreak()
     {
         return oldfSuppressSpbfAfterPageBreak.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2161,8 +2054,6 @@
     public void setOldfWrapTrailSpaces(boolean value)
     {
         field_8_docinfo3 = (short)oldfWrapTrailSpaces.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2172,7 +2063,6 @@
     public boolean isOldfWrapTrailSpaces()
     {
         return oldfWrapTrailSpaces.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2182,8 +2072,6 @@
     public void setOldfMapPrintTextColor(boolean value)
     {
         field_8_docinfo3 = (short)oldfMapPrintTextColor.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2193,7 +2081,6 @@
     public boolean isOldfMapPrintTextColor()
     {
         return oldfMapPrintTextColor.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2203,8 +2090,6 @@
     public void setOldfNoColumnBalance(boolean value)
     {
         field_8_docinfo3 = (short)oldfNoColumnBalance.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2214,7 +2099,6 @@
     public boolean isOldfNoColumnBalance()
     {
         return oldfNoColumnBalance.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2224,8 +2108,6 @@
     public void setOldfConvMailMergeEsc(boolean value)
     {
         field_8_docinfo3 = (short)oldfConvMailMergeEsc.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2235,7 +2117,6 @@
     public boolean isOldfConvMailMergeEsc()
     {
         return oldfConvMailMergeEsc.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2245,8 +2126,6 @@
     public void setOldfSupressTopSpacing(boolean value)
     {
         field_8_docinfo3 = (short)oldfSupressTopSpacing.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2256,7 +2135,6 @@
     public boolean isOldfSupressTopSpacing()
     {
         return oldfSupressTopSpacing.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2266,8 +2144,6 @@
     public void setOldfOrigWordTableRules(boolean value)
     {
         field_8_docinfo3 = (short)oldfOrigWordTableRules.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2277,7 +2153,6 @@
     public boolean isOldfOrigWordTableRules()
     {
         return oldfOrigWordTableRules.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2287,8 +2162,6 @@
     public void setOldfTransparentMetafiles(boolean value)
     {
         field_8_docinfo3 = (short)oldfTransparentMetafiles.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2298,7 +2171,6 @@
     public boolean isOldfTransparentMetafiles()
     {
         return oldfTransparentMetafiles.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2308,8 +2180,6 @@
     public void setOldfShowBreaksInFrames(boolean value)
     {
         field_8_docinfo3 = (short)oldfShowBreaksInFrames.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2319,7 +2189,6 @@
     public boolean isOldfShowBreaksInFrames()
     {
         return oldfShowBreaksInFrames.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2329,8 +2198,6 @@
     public void setOldfSwapBordersFacingPgs(boolean value)
     {
         field_8_docinfo3 = (short)oldfSwapBordersFacingPgs.setBoolean(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2340,7 +2207,6 @@
     public boolean isOldfSwapBordersFacingPgs()
     {
         return oldfSwapBordersFacingPgs.isSet(field_8_docinfo3);
-
     }
 
     /**
@@ -2350,8 +2216,6 @@
     public void setUnused5(byte value)
     {
         field_8_docinfo3 = (short)unused5.setValue(field_8_docinfo3, value);
-
-
     }
 
     /**
@@ -2361,7 +2225,6 @@
     public byte getUnused5()
     {
         return ( byte )unused5.getValue(field_8_docinfo3);
-
     }
 
     /**
@@ -2371,8 +2234,6 @@
     public void setRncEdn(byte value)
     {
         field_23_Edn = (short)rncEdn.setValue(field_23_Edn, value);
-
-
     }
 
     /**
@@ -2382,7 +2243,6 @@
     public byte getRncEdn()
     {
         return ( byte )rncEdn.getValue(field_23_Edn);
-
     }
 
     /**
@@ -2392,8 +2252,6 @@
     public void setNEdn(short value)
     {
         field_23_Edn = (short)nEdn.setValue(field_23_Edn, value);
-
-
     }
 
     /**
@@ -2403,7 +2261,6 @@
     public short getNEdn()
     {
         return ( short )nEdn.getValue(field_23_Edn);
-
     }
 
     /**
@@ -2413,8 +2270,6 @@
     public void setEpc(byte value)
     {
         field_24_Edn1 = (short)epc.setValue(field_24_Edn1, value);
-
-
     }
 
     /**
@@ -2424,7 +2279,6 @@
     public byte getEpc()
     {
         return ( byte )epc.getValue(field_24_Edn1);
-
     }
 
     /**
@@ -2434,8 +2288,6 @@
     public void setNfcFtnRef1(byte value)
     {
         field_24_Edn1 = (short)nfcFtnRef1.setValue(field_24_Edn1, value);
-
-
     }
 
     /**
@@ -2445,7 +2297,6 @@
     public byte getNfcFtnRef1()
     {
         return ( byte )nfcFtnRef1.getValue(field_24_Edn1);
-
     }
 
     /**
@@ -2455,8 +2306,6 @@
     public void setNfcEdnRef1(byte value)
     {
         field_24_Edn1 = (short)nfcEdnRef1.setValue(field_24_Edn1, value);
-
-
     }
 
     /**
@@ -2466,7 +2315,6 @@
     public byte getNfcEdnRef1()
     {
         return ( byte )nfcEdnRef1.getValue(field_24_Edn1);
-
     }
 
     /**
@@ -2476,8 +2324,6 @@
     public void setFPrintFormData(boolean value)
     {
         field_24_Edn1 = (short)fPrintFormData.setBoolean(field_24_Edn1, value);
-
-
     }
 
     /**
@@ -2487,7 +2333,6 @@
     public boolean isFPrintFormData()
     {
         return fPrintFormData.isSet(field_24_Edn1);
-
     }
 
     /**
@@ -2497,8 +2342,6 @@
     public void setFSaveFormData(boolean value)
     {
         field_24_Edn1 = (short)fSaveFormData.setBoolean(field_24_Edn1, value);
-
-
     }
 
     /**
@@ -2508,7 +2351,6 @@
     public boolean isFSaveFormData()
     {
         return fSaveFormData.isSet(field_24_Edn1);
-
     }
 
     /**
@@ -2518,8 +2360,6 @@
     public void setFShadeFormData(boolean value)
     {
         field_24_Edn1 = (short)fShadeFormData.setBoolean(field_24_Edn1, value);
-
-
     }
 
     /**
@@ -2529,7 +2369,6 @@
     public boolean isFShadeFormData()
     {
         return fShadeFormData.isSet(field_24_Edn1);
-
     }
 
     /**
@@ -2539,8 +2378,6 @@
     public void setFWCFtnEdn(boolean value)
     {
         field_24_Edn1 = (short)fWCFtnEdn.setBoolean(field_24_Edn1, value);
-
-
     }
 
     /**
@@ -2550,7 +2387,6 @@
     public boolean isFWCFtnEdn()
     {
         return fWCFtnEdn.isSet(field_24_Edn1);
-
     }
 
     /**
@@ -2560,8 +2396,6 @@
     public void setWvkSaved(byte value)
     {
         field_32_view = (short)wvkSaved.setValue(field_32_view, value);
-
-
     }
 
     /**
@@ -2571,7 +2405,6 @@
     public byte getWvkSaved()
     {
         return ( byte )wvkSaved.getValue(field_32_view);
-
     }
 
     /**
@@ -2581,8 +2414,6 @@
     public void setWScaleSaved(short value)
     {
         field_32_view = (short)wScaleSaved.setValue(field_32_view, value);
-
-
     }
 
     /**
@@ -2592,7 +2423,6 @@
     public short getWScaleSaved()
     {
         return ( short )wScaleSaved.getValue(field_32_view);
-
     }
 
     /**
@@ -2602,8 +2432,6 @@
     public void setZkSaved(byte value)
     {
         field_32_view = (short)zkSaved.setValue(field_32_view, value);
-
-
     }
 
     /**
@@ -2613,7 +2441,6 @@
     public byte getZkSaved()
     {
         return ( byte )zkSaved.getValue(field_32_view);
-
     }
 
     /**
@@ -2623,8 +2450,6 @@
     public void setFRotateFontW6(boolean value)
     {
         field_32_view = (short)fRotateFontW6.setBoolean(field_32_view, value);
-
-
     }
 
     /**
@@ -2634,7 +2459,6 @@
     public boolean isFRotateFontW6()
     {
         return fRotateFontW6.isSet(field_32_view);
-
     }
 
     /**
@@ -2644,8 +2468,6 @@
     public void setIGutterPos(boolean value)
     {
         field_32_view = (short)iGutterPos.setBoolean(field_32_view, value);
-
-
     }
 
     /**
@@ -2655,7 +2477,6 @@
     public boolean isIGutterPos()
     {
         return iGutterPos.isSet(field_32_view);
-
     }
 
     /**
@@ -2664,9 +2485,7 @@
      */
     public void setFNoTabForInd(boolean value)
     {
-        field_33_docinfo4 = (int)fNoTabForInd.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fNoTabForInd.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2676,7 +2495,6 @@
     public boolean isFNoTabForInd()
     {
         return fNoTabForInd.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2685,9 +2503,7 @@
      */
     public void setFNoSpaceRaiseLower(boolean value)
     {
-        field_33_docinfo4 = (int)fNoSpaceRaiseLower.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fNoSpaceRaiseLower.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2697,7 +2513,6 @@
     public boolean isFNoSpaceRaiseLower()
     {
         return fNoSpaceRaiseLower.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2706,9 +2521,7 @@
      */
     public void setFSupressSpdfAfterPageBreak(boolean value)
     {
-        field_33_docinfo4 = (int)fSupressSpdfAfterPageBreak.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fSupressSpdfAfterPageBreak.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2718,7 +2531,6 @@
     public boolean isFSupressSpdfAfterPageBreak()
     {
         return fSupressSpdfAfterPageBreak.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2727,9 +2539,7 @@
      */
     public void setFWrapTrailSpaces(boolean value)
     {
-        field_33_docinfo4 = (int)fWrapTrailSpaces.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fWrapTrailSpaces.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2739,7 +2549,6 @@
     public boolean isFWrapTrailSpaces()
     {
         return fWrapTrailSpaces.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2748,9 +2557,7 @@
      */
     public void setFMapPrintTextColor(boolean value)
     {
-        field_33_docinfo4 = (int)fMapPrintTextColor.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fMapPrintTextColor.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2760,7 +2567,6 @@
     public boolean isFMapPrintTextColor()
     {
         return fMapPrintTextColor.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2769,9 +2575,7 @@
      */
     public void setFNoColumnBalance(boolean value)
     {
-        field_33_docinfo4 = (int)fNoColumnBalance.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fNoColumnBalance.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2781,7 +2585,6 @@
     public boolean isFNoColumnBalance()
     {
         return fNoColumnBalance.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2790,9 +2593,7 @@
      */
     public void setFConvMailMergeEsc(boolean value)
     {
-        field_33_docinfo4 = (int)fConvMailMergeEsc.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fConvMailMergeEsc.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2802,7 +2603,6 @@
     public boolean isFConvMailMergeEsc()
     {
         return fConvMailMergeEsc.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2811,9 +2611,7 @@
      */
     public void setFSupressTopSpacing(boolean value)
     {
-        field_33_docinfo4 = (int)fSupressTopSpacing.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fSupressTopSpacing.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2823,7 +2621,6 @@
     public boolean isFSupressTopSpacing()
     {
         return fSupressTopSpacing.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2832,9 +2629,7 @@
      */
     public void setFOrigWordTableRules(boolean value)
     {
-        field_33_docinfo4 = (int)fOrigWordTableRules.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fOrigWordTableRules.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2844,7 +2639,6 @@
     public boolean isFOrigWordTableRules()
     {
         return fOrigWordTableRules.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2853,9 +2647,7 @@
      */
     public void setFTransparentMetafiles(boolean value)
     {
-        field_33_docinfo4 = (int)fTransparentMetafiles.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fTransparentMetafiles.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2865,7 +2657,6 @@
     public boolean isFTransparentMetafiles()
     {
         return fTransparentMetafiles.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2874,9 +2665,7 @@
      */
     public void setFShowBreaksInFrames(boolean value)
     {
-        field_33_docinfo4 = (int)fShowBreaksInFrames.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fShowBreaksInFrames.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2886,7 +2675,6 @@
     public boolean isFShowBreaksInFrames()
     {
         return fShowBreaksInFrames.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2895,9 +2683,7 @@
      */
     public void setFSwapBordersFacingPgs(boolean value)
     {
-        field_33_docinfo4 = (int)fSwapBordersFacingPgs.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fSwapBordersFacingPgs.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2907,7 +2693,6 @@
     public boolean isFSwapBordersFacingPgs()
     {
         return fSwapBordersFacingPgs.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2916,9 +2701,7 @@
      */
     public void setFSuppressTopSPacingMac5(boolean value)
     {
-        field_33_docinfo4 = (int)fSuppressTopSPacingMac5.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fSuppressTopSPacingMac5.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2928,7 +2711,6 @@
     public boolean isFSuppressTopSPacingMac5()
     {
         return fSuppressTopSPacingMac5.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2937,9 +2719,7 @@
      */
     public void setFTruncDxaExpand(boolean value)
     {
-        field_33_docinfo4 = (int)fTruncDxaExpand.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fTruncDxaExpand.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2949,7 +2729,6 @@
     public boolean isFTruncDxaExpand()
     {
         return fTruncDxaExpand.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2958,9 +2737,7 @@
      */
     public void setFPrintBodyBeforeHdr(boolean value)
     {
-        field_33_docinfo4 = (int)fPrintBodyBeforeHdr.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fPrintBodyBeforeHdr.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2970,7 +2747,6 @@
     public boolean isFPrintBodyBeforeHdr()
     {
         return fPrintBodyBeforeHdr.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -2979,9 +2755,7 @@
      */
     public void setFNoLeading(boolean value)
     {
-        field_33_docinfo4 = (int)fNoLeading.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fNoLeading.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -2991,7 +2765,6 @@
     public boolean isFNoLeading()
     {
         return fNoLeading.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -3000,9 +2773,7 @@
      */
     public void setFMWSmallCaps(boolean value)
     {
-        field_33_docinfo4 = (int)fMWSmallCaps.setBoolean(field_33_docinfo4, value);
-
-
+        field_33_docinfo4 = fMWSmallCaps.setBoolean(field_33_docinfo4, value);
     }
 
     /**
@@ -3012,7 +2783,6 @@
     public boolean isFMWSmallCaps()
     {
         return fMWSmallCaps.isSet(field_33_docinfo4);
-
     }
 
     /**
@@ -3022,8 +2792,6 @@
     public void setLvl(byte value)
     {
         field_37_docinfo5 = (short)lvl.setValue(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3033,7 +2801,6 @@
     public byte getLvl()
     {
         return ( byte )lvl.getValue(field_37_docinfo5);
-
     }
 
     /**
@@ -3043,8 +2810,6 @@
     public void setFGramAllDone(boolean value)
     {
         field_37_docinfo5 = (short)fGramAllDone.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3054,7 +2819,6 @@
     public boolean isFGramAllDone()
     {
         return fGramAllDone.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3064,8 +2828,6 @@
     public void setFGramAllClean(boolean value)
     {
         field_37_docinfo5 = (short)fGramAllClean.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3075,7 +2837,6 @@
     public boolean isFGramAllClean()
     {
         return fGramAllClean.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3085,8 +2846,6 @@
     public void setFSubsetFonts(boolean value)
     {
         field_37_docinfo5 = (short)fSubsetFonts.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3096,7 +2855,6 @@
     public boolean isFSubsetFonts()
     {
         return fSubsetFonts.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3106,8 +2864,6 @@
     public void setFHideLastVersion(boolean value)
     {
         field_37_docinfo5 = (short)fHideLastVersion.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3117,7 +2873,6 @@
     public boolean isFHideLastVersion()
     {
         return fHideLastVersion.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3127,8 +2882,6 @@
     public void setFHtmlDoc(boolean value)
     {
         field_37_docinfo5 = (short)fHtmlDoc.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3138,7 +2891,6 @@
     public boolean isFHtmlDoc()
     {
         return fHtmlDoc.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3148,8 +2900,6 @@
     public void setFSnapBorder(boolean value)
     {
         field_37_docinfo5 = (short)fSnapBorder.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3159,7 +2909,6 @@
     public boolean isFSnapBorder()
     {
         return fSnapBorder.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3169,8 +2918,6 @@
     public void setFIncludeHeader(boolean value)
     {
         field_37_docinfo5 = (short)fIncludeHeader.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3180,7 +2927,6 @@
     public boolean isFIncludeHeader()
     {
         return fIncludeHeader.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3190,8 +2936,6 @@
     public void setFIncludeFooter(boolean value)
     {
         field_37_docinfo5 = (short)fIncludeFooter.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3201,7 +2945,6 @@
     public boolean isFIncludeFooter()
     {
         return fIncludeFooter.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3211,8 +2954,6 @@
     public void setFForcePageSizePag(boolean value)
     {
         field_37_docinfo5 = (short)fForcePageSizePag.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3222,7 +2963,6 @@
     public boolean isFForcePageSizePag()
     {
         return fForcePageSizePag.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3232,8 +2972,6 @@
     public void setFMinFontSizePag(boolean value)
     {
         field_37_docinfo5 = (short)fMinFontSizePag.setBoolean(field_37_docinfo5, value);
-
-
     }
 
     /**
@@ -3243,7 +2981,6 @@
     public boolean isFMinFontSizePag()
     {
         return fMinFontSizePag.isSet(field_37_docinfo5);
-
     }
 
     /**
@@ -3253,8 +2990,6 @@
     public void setFHaveVersions(boolean value)
     {
         field_38_docinfo6 = (short)fHaveVersions.setBoolean(field_38_docinfo6, value);
-
-
     }
 
     /**
@@ -3264,7 +2999,6 @@
     public boolean isFHaveVersions()
     {
         return fHaveVersions.isSet(field_38_docinfo6);
-
     }
 
     /**
@@ -3274,8 +3008,6 @@
     public void setFAutoVersions(boolean value)
     {
         field_38_docinfo6 = (short)fAutoVersions.setBoolean(field_38_docinfo6, value);
-
-
     }
 
     /**
@@ -3285,7 +3017,6 @@
     public boolean isFAutoVersions()
     {
         return fAutoVersions.isSet(field_38_docinfo6);
-
     }
 
     /**
@@ -3294,9 +3025,7 @@
      */
     public void setFVirusPrompted(boolean value)
     {
-        field_43_virusinfo = (int)fVirusPrompted.setBoolean(field_43_virusinfo, value);
-
-
+        field_43_virusinfo = fVirusPrompted.setBoolean(field_43_virusinfo, value);
     }
 
     /**
@@ -3306,7 +3035,6 @@
     public boolean isFVirusPrompted()
     {
         return fVirusPrompted.isSet(field_43_virusinfo);
-
     }
 
     /**
@@ -3315,9 +3043,7 @@
      */
     public void setFVirusLoadSafe(boolean value)
     {
-        field_43_virusinfo = (int)fVirusLoadSafe.setBoolean(field_43_virusinfo, value);
-
-
+        field_43_virusinfo = fVirusLoadSafe.setBoolean(field_43_virusinfo, value);
     }
 
     /**
@@ -3327,7 +3053,6 @@
     public boolean isFVirusLoadSafe()
     {
         return fVirusLoadSafe.isSet(field_43_virusinfo);
-
     }
 
     /**
@@ -3336,9 +3061,7 @@
      */
     public void setKeyVirusSession30(int value)
     {
-        field_43_virusinfo = (int)KeyVirusSession30.setValue(field_43_virusinfo, value);
-
-
+        field_43_virusinfo = KeyVirusSession30.setValue(field_43_virusinfo, value);
     }
 
     /**
@@ -3347,13 +3070,6 @@
      */
     public int getKeyVirusSession30()
     {
-        return ( int )KeyVirusSession30.getValue(field_43_virusinfo);
-
+        return KeyVirusSession30.getValue(field_43_virusinfo);
     }
-
-
-}  // END OF CLASS
-
-
-
-
+}

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java Tue Aug 18 05:29:53 2009
@@ -88,26 +88,24 @@
         field_12_chsTables              = LittleEndian.getShort(data, 0x16 + offset);
         field_13_fcMin                  = LittleEndian.getInt(data, 0x18 + offset);
         field_14_fcMac                  = LittleEndian.getInt(data, 0x1c + offset);
-
     }
 
     public void serialize(byte[] data, int offset)
     {
-        LittleEndian.putShort(data, 0x0 + offset, (short)field_1_wIdent);;
-        LittleEndian.putShort(data, 0x2 + offset, (short)field_2_nFib);;
-        LittleEndian.putShort(data, 0x4 + offset, (short)field_3_nProduct);;
-        LittleEndian.putShort(data, 0x6 + offset, (short)field_4_lid);;
-        LittleEndian.putShort(data, 0x8 + offset, (short)field_5_pnNext);;
-        LittleEndian.putShort(data, 0xa + offset, (short)field_6_options);;
-        LittleEndian.putShort(data, 0xc + offset, (short)field_7_nFibBack);;
-        LittleEndian.putShort(data, 0xe + offset, (short)field_8_lKey);;
-        LittleEndian.putShort(data, 0x10 + offset, (short)field_9_envr);;
-        LittleEndian.putShort(data, 0x12 + offset, (short)field_10_history);;
-        LittleEndian.putShort(data, 0x14 + offset, (short)field_11_chs);;
-        LittleEndian.putShort(data, 0x16 + offset, (short)field_12_chsTables);;
-        LittleEndian.putInt(data, 0x18 + offset, field_13_fcMin);;
-        LittleEndian.putInt(data, 0x1c + offset, field_14_fcMac);;
-
+        LittleEndian.putShort(data, 0x0 + offset, (short)field_1_wIdent);
+        LittleEndian.putShort(data, 0x2 + offset, (short)field_2_nFib);
+        LittleEndian.putShort(data, 0x4 + offset, (short)field_3_nProduct);
+        LittleEndian.putShort(data, 0x6 + offset, (short)field_4_lid);
+        LittleEndian.putShort(data, 0x8 + offset, (short)field_5_pnNext);
+        LittleEndian.putShort(data, 0xa + offset, field_6_options);
+        LittleEndian.putShort(data, 0xc + offset, (short)field_7_nFibBack);
+        LittleEndian.putShort(data, 0xe + offset, (short)field_8_lKey);
+        LittleEndian.putShort(data, 0x10 + offset, (short)field_9_envr);
+        LittleEndian.putShort(data, 0x12 + offset, field_10_history);
+        LittleEndian.putShort(data, 0x14 + offset, (short)field_11_chs);
+        LittleEndian.putShort(data, 0x16 + offset, (short)field_12_chsTables);
+        LittleEndian.putInt(data, 0x18 + offset, field_13_fcMin);
+        LittleEndian.putInt(data, 0x1c + offset, field_14_fcMac);
     }
 
     public String toString()
@@ -422,8 +420,6 @@
     public void setFDot(boolean value)
     {
         field_6_options = (short)fDot.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -433,7 +429,6 @@
     public boolean isFDot()
     {
         return fDot.isSet(field_6_options);
-
     }
 
     /**
@@ -443,8 +438,6 @@
     public void setFGlsy(boolean value)
     {
         field_6_options = (short)fGlsy.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -454,7 +447,6 @@
     public boolean isFGlsy()
     {
         return fGlsy.isSet(field_6_options);
-
     }
 
     /**
@@ -464,8 +456,6 @@
     public void setFComplex(boolean value)
     {
         field_6_options = (short)fComplex.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -475,7 +465,6 @@
     public boolean isFComplex()
     {
         return fComplex.isSet(field_6_options);
-
     }
 
     /**
@@ -485,8 +474,6 @@
     public void setFHasPic(boolean value)
     {
         field_6_options = (short)fHasPic.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -496,7 +483,6 @@
     public boolean isFHasPic()
     {
         return fHasPic.isSet(field_6_options);
-
     }
 
     /**
@@ -506,8 +492,6 @@
     public void setCQuickSaves(byte value)
     {
         field_6_options = (short)cQuickSaves.setValue(field_6_options, value);
-
-
     }
 
     /**
@@ -517,7 +501,6 @@
     public byte getCQuickSaves()
     {
         return ( byte )cQuickSaves.getValue(field_6_options);
-
     }
 
     /**
@@ -527,8 +510,6 @@
     public void setFEncrypted(boolean value)
     {
         field_6_options = (short)fEncrypted.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -538,7 +519,6 @@
     public boolean isFEncrypted()
     {
         return fEncrypted.isSet(field_6_options);
-
     }
 
     /**
@@ -548,8 +528,6 @@
     public void setFWhichTblStm(boolean value)
     {
         field_6_options = (short)fWhichTblStm.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -559,7 +537,6 @@
     public boolean isFWhichTblStm()
     {
         return fWhichTblStm.isSet(field_6_options);
-
     }
 
     /**
@@ -569,8 +546,6 @@
     public void setFReadOnlyRecommended(boolean value)
     {
         field_6_options = (short)fReadOnlyRecommended.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -580,7 +555,6 @@
     public boolean isFReadOnlyRecommended()
     {
         return fReadOnlyRecommended.isSet(field_6_options);
-
     }
 
     /**
@@ -590,8 +564,6 @@
     public void setFWriteReservation(boolean value)
     {
         field_6_options = (short)fWriteReservation.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -601,7 +573,6 @@
     public boolean isFWriteReservation()
     {
         return fWriteReservation.isSet(field_6_options);
-
     }
 
     /**
@@ -611,8 +582,6 @@
     public void setFExtChar(boolean value)
     {
         field_6_options = (short)fExtChar.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -622,7 +591,6 @@
     public boolean isFExtChar()
     {
         return fExtChar.isSet(field_6_options);
-
     }
 
     /**
@@ -632,8 +600,6 @@
     public void setFLoadOverride(boolean value)
     {
         field_6_options = (short)fLoadOverride.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -643,7 +609,6 @@
     public boolean isFLoadOverride()
     {
         return fLoadOverride.isSet(field_6_options);
-
     }
 
     /**
@@ -653,8 +618,6 @@
     public void setFFarEast(boolean value)
     {
         field_6_options = (short)fFarEast.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -664,7 +627,6 @@
     public boolean isFFarEast()
     {
         return fFarEast.isSet(field_6_options);
-
     }
 
     /**
@@ -674,8 +636,6 @@
     public void setFCrypto(boolean value)
     {
         field_6_options = (short)fCrypto.setBoolean(field_6_options, value);
-
-
     }
 
     /**
@@ -685,7 +645,6 @@
     public boolean isFCrypto()
     {
         return fCrypto.isSet(field_6_options);
-
     }
 
     /**
@@ -695,8 +654,6 @@
     public void setFMac(boolean value)
     {
         field_10_history = (short)fMac.setBoolean(field_10_history, value);
-
-
     }
 
     /**
@@ -706,7 +663,6 @@
     public boolean isFMac()
     {
         return fMac.isSet(field_10_history);
-
     }
 
     /**
@@ -716,8 +672,6 @@
     public void setFEmptySpecial(boolean value)
     {
         field_10_history = (short)fEmptySpecial.setBoolean(field_10_history, value);
-
-
     }
 
     /**
@@ -727,7 +681,6 @@
     public boolean isFEmptySpecial()
     {
         return fEmptySpecial.isSet(field_10_history);
-
     }
 
     /**
@@ -737,8 +690,6 @@
     public void setFLoadOverridePage(boolean value)
     {
         field_10_history = (short)fLoadOverridePage.setBoolean(field_10_history, value);
-
-
     }
 
     /**
@@ -748,7 +699,6 @@
     public boolean isFLoadOverridePage()
     {
         return fLoadOverridePage.isSet(field_10_history);
-
     }
 
     /**
@@ -758,8 +708,6 @@
     public void setFFutureSavedUndo(boolean value)
     {
         field_10_history = (short)fFutureSavedUndo.setBoolean(field_10_history, value);
-
-
     }
 
     /**
@@ -769,7 +717,6 @@
     public boolean isFFutureSavedUndo()
     {
         return fFutureSavedUndo.isSet(field_10_history);
-
     }
 
     /**
@@ -779,8 +726,6 @@
     public void setFWord97Saved(boolean value)
     {
         field_10_history = (short)fWord97Saved.setBoolean(field_10_history, value);
-
-
     }
 
     /**
@@ -790,7 +735,6 @@
     public boolean isFWord97Saved()
     {
         return fWord97Saved.isSet(field_10_history);
-
     }
 
     /**
@@ -800,8 +744,6 @@
     public void setFSpare0(byte value)
     {
         field_10_history = (short)fSpare0.setValue(field_10_history, value);
-
-
     }
 
     /**
@@ -811,12 +753,5 @@
     public byte getFSpare0()
     {
         return ( byte )fSpare0.getValue(field_10_history);
-
     }
-
-
-}  // END OF CLASS
-
-
-
-
+}

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java Tue Aug 18 05:29:53 2009
@@ -67,13 +67,12 @@
 
     public void serialize(byte[] data, int offset)
     {
-        LittleEndian.putShort(data, 0x0 + offset, (short)field_1_rgf);;
-        LittleEndian.putShort(data, 0x2 + offset, (short)field_2_unused);;
-        field_3_brcTop.serialize(data, 0x4 + offset);;
-        field_4_brcLeft.serialize(data, 0x8 + offset);;
-        field_5_brcBottom.serialize(data, 0xc + offset);;
-        field_6_brcRight.serialize(data, 0x10 + offset);;
-
+        LittleEndian.putShort(data, 0x0 + offset, field_1_rgf);
+        LittleEndian.putShort(data, 0x2 + offset, field_2_unused);
+        field_3_brcTop.serialize(data, 0x4 + offset);
+        field_4_brcLeft.serialize(data, 0x8 + offset);
+        field_5_brcBottom.serialize(data, 0xc + offset);
+        field_6_brcRight.serialize(data, 0x10 + offset);
     }
 
     public String toString()
@@ -225,8 +224,6 @@
     public void setFFirstMerged(boolean value)
     {
         field_1_rgf = (short)fFirstMerged.setBoolean(field_1_rgf, value);
-
-
     }
 
     /**
@@ -236,7 +233,6 @@
     public boolean isFFirstMerged()
     {
         return fFirstMerged.isSet(field_1_rgf);
-
     }
 
     /**
@@ -246,8 +242,6 @@
     public void setFMerged(boolean value)
     {
         field_1_rgf = (short)fMerged.setBoolean(field_1_rgf, value);
-
-
     }
 
     /**
@@ -257,7 +251,6 @@
     public boolean isFMerged()
     {
         return fMerged.isSet(field_1_rgf);
-
     }
 
     /**
@@ -267,8 +260,6 @@
     public void setFVertical(boolean value)
     {
         field_1_rgf = (short)fVertical.setBoolean(field_1_rgf, value);
-
-
     }
 
     /**
@@ -278,7 +269,6 @@
     public boolean isFVertical()
     {
         return fVertical.isSet(field_1_rgf);
-
     }
 
     /**
@@ -288,8 +278,6 @@
     public void setFBackward(boolean value)
     {
         field_1_rgf = (short)fBackward.setBoolean(field_1_rgf, value);
-
-
     }
 
     /**
@@ -299,7 +287,6 @@
     public boolean isFBackward()
     {
         return fBackward.isSet(field_1_rgf);
-
     }
 
     /**
@@ -309,8 +296,6 @@
     public void setFRotateFont(boolean value)
     {
         field_1_rgf = (short)fRotateFont.setBoolean(field_1_rgf, value);
-
-
     }
 
     /**
@@ -320,7 +305,6 @@
     public boolean isFRotateFont()
     {
         return fRotateFont.isSet(field_1_rgf);
-
     }
 
     /**
@@ -330,8 +314,6 @@
     public void setFVertMerge(boolean value)
     {
         field_1_rgf = (short)fVertMerge.setBoolean(field_1_rgf, value);
-
-
     }
 
     /**
@@ -341,7 +323,6 @@
     public boolean isFVertMerge()
     {
         return fVertMerge.isSet(field_1_rgf);
-
     }
 
     /**
@@ -351,8 +332,6 @@
     public void setFVertRestart(boolean value)
     {
         field_1_rgf = (short)fVertRestart.setBoolean(field_1_rgf, value);
-
-
     }
 
     /**
@@ -362,7 +341,6 @@
     public boolean isFVertRestart()
     {
         return fVertRestart.isSet(field_1_rgf);
-
     }
 
     /**
@@ -372,8 +350,6 @@
     public void setVertAlign(byte value)
     {
         field_1_rgf = (short)vertAlign.setValue(field_1_rgf, value);
-
-
     }
 
     /**
@@ -383,12 +359,5 @@
     public byte getVertAlign()
     {
         return ( byte )vertAlign.getValue(field_1_rgf);
-
     }
-
-
-}  // END OF CLASS
-
-
-
-
+}

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java Tue Aug 18 05:29:53 2009
@@ -46,7 +46,7 @@
 
     while (sprmIt.hasNext())
     {
-      SprmOperation sprm = (SprmOperation)sprmIt.next();
+      SprmOperation sprm = sprmIt.next();
       unCompressCHPOperation(parent, newProperties, sprm);
     }
 
@@ -108,8 +108,8 @@
         break;
       case 0x9:
         newCHP.setFSpec (true);
-        newCHP.setFtcSym ((short) LittleEndian.getShort (sprm.getGrpprl(), sprm.getGrpprlOffset()));
-        newCHP.setXchSym ((short) LittleEndian.getShort (sprm.getGrpprl(), sprm.getGrpprlOffset() + 2));
+        newCHP.setFtcSym (LittleEndian.getShort (sprm.getGrpprl(), sprm.getGrpprlOffset()));
+        newCHP.setXchSym (LittleEndian.getShort (sprm.getGrpprl(), sprm.getGrpprlOffset() + 2));
         break;
       case 0xa:
         newCHP.setFOle2 (getFlag (sprm.getOperand()));
@@ -426,8 +426,8 @@
 //                                styleSheet, opSize);
         break;
       case 0x4d:
-        float percentage = (float) sprm.getOperand() / 100.0f;
-        int add = (int) ((float) percentage * (float) newCHP.getHps ());
+        float percentage = sprm.getOperand() / 100.0f;
+        int add = (int) (percentage * newCHP.getHps ());
         newCHP.setHps (newCHP.getHps () + add);
         break;
       case 0x4e:
@@ -462,7 +462,7 @@
         byte[] buf = sprm.getGrpprl();
         int offset = sprm.getGrpprlOffset();
         newCHP.setFPropMark (buf[offset]);
-        newCHP.setIbstPropRMark ((short) LittleEndian.getShort (buf, offset + 1));
+        newCHP.setIbstPropRMark (LittleEndian.getShort (buf, offset + 1));
         newCHP.setDttmPropRMark (new DateAndTime(buf, offset +3));
         break;
       case 0x58:
@@ -494,7 +494,7 @@
         buf = sprm.getGrpprl();
         offset = sprm.getGrpprlOffset();
         newCHP.setFDispFldRMark (buf[offset]);
-        newCHP.setIbstDispFldRMark ((short) LittleEndian.getShort (buf, offset + 1));
+        newCHP.setIbstDispFldRMark (LittleEndian.getShort (buf, offset + 1));
         newCHP.setDttmDispFldRMark (new DateAndTime(buf, offset + 3));
         System.arraycopy (buf, offset + 7, xstDispFldRMark, 0, 32);
         newCHP.setXstDispFldRMark (xstDispFldRMark);
@@ -553,14 +553,7 @@
    */
   public static boolean getFlag (int x)
   {
-    if (x != 0)
-    {
-      return true;
-    }
-    else
-    {
-      return false;
-    }
+    return x != 0;
   }
 
   private static boolean getCHPFlag (byte x, boolean oldVal)

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java Tue Aug 18 05:29:53 2009
@@ -54,7 +54,7 @@
 
     while (sprmIt.hasNext())
     {
-      SprmOperation sprm = (SprmOperation)sprmIt.next();
+      SprmOperation sprm = sprmIt.next();
 
       // PAPXs can contain table sprms if the paragraph marks the end of a
       // table row
@@ -326,8 +326,8 @@
         {
           byte[] varParam = sprm.getGrpprl();
           int offset = sprm.getGrpprlOffset();
-          newPAP.setFPropRMark ((int) varParam[offset]);
-          newPAP.setIbstPropRMark ((int) LittleEndian.getShort (varParam, offset + 1));
+          newPAP.setFPropRMark (varParam[offset]);
+          newPAP.setIbstPropRMark (LittleEndian.getShort (varParam, offset + 1));
           newPAP.setDttmPropRMark (new DateAndTime(varParam, offset + 3));
         }
         catch (Exception e)

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java Tue Aug 18 05:29:53 2009
@@ -33,7 +33,7 @@
 
     while (sprmIt.hasNext())
     {
-      SprmOperation sprm = (SprmOperation)sprmIt.next();
+      SprmOperation sprm = sprmIt.next();
       unCompressSEPOperation(newProperties, sprm);
     }
 

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java Tue Aug 18 05:29:53 2009
@@ -39,7 +39,7 @@
 
     while (sprmIt.hasNext())
     {
-      SprmOperation sprm = (SprmOperation)sprmIt.next();
+      SprmOperation sprm = sprmIt.next();
 
       //TAPXs are actually PAPXs so we have to make sure we are only trying to
       //uncompress the right type of sprm.

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterProperties.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterProperties.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterProperties.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterProperties.java Tue Aug 18 05:29:53 2009
@@ -380,13 +380,11 @@
     cp.field_23_dttmRMarkDel = (DateAndTime)field_23_dttmRMarkDel.clone();
     cp.field_36_dttmPropRMark = (DateAndTime)field_36_dttmPropRMark.clone();
     cp.field_40_dttmDispFldRMark = (DateAndTime)field_40_dttmDispFldRMark.clone();
-    cp.field_41_xstDispFldRMark = (byte[])field_41_xstDispFldRMark.clone();
+    cp.field_41_xstDispFldRMark = field_41_xstDispFldRMark.clone();
     cp.field_42_shd = (ShadingDescriptor)field_42_shd.clone();
 
     cp._ico24 = _ico24;
 
     return cp;
   }
-
-
 }

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterRun.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterRun.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterRun.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/CharacterRun.java Tue Aug 18 05:29:53 2009
@@ -546,7 +546,7 @@
     cp._props.setDttmPropRMark((DateAndTime)_props.getDttmPropRMark().clone());
     cp._props.setDttmDispFldRMark((DateAndTime)_props.getDttmDispFldRMark().
                                   clone());
-    cp._props.setXstDispFldRMark((byte[])_props.getXstDispFldRMark().clone());
+    cp._props.setXstDispFldRMark(_props.getXstDispFldRMark().clone());
     cp._props.setShd((ShadingDescriptor)_props.getShd().clone());
 
     return cp;

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/HWPFList.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/HWPFList.java?rev=805284&r1=805283&r2=805284&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/HWPFList.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/HWPFList.java Tue Aug 18 05:29:53 2009
@@ -55,7 +55,7 @@
    */
   public HWPFList(boolean numbered, StyleSheet styleSheet)
   {
-    _listData = new ListData((int)(Math.random() * (double)System.currentTimeMillis()), numbered);
+    _listData = new ListData((int)(Math.random() * System.currentTimeMillis()), numbered);
     _override = new ListFormatOverride(_listData.getLsid());
     _styleSheet = styleSheet;
   }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message