sackley     2004/03/01 22:19:24

  Modified:    src/scratchpad/src/org/apache/poi/hwpf/sprm
                        TableSprmCompressor.java
  Log:
  latest changes
  
  Revision  Changes    Path
  1.2       +9 -9      
jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmCompressor.java
  
  Index: TableSprmCompressor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmCompressor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TableSprmCompressor.java  10 Nov 2003 11:53:34 -0000      1.1
  +++ TableSprmCompressor.java  2 Mar 2004 06:19:24 -0000       1.2
  @@ -126,16 +126,16 @@
           cellDescriptors[x].serialize(buf,
             1+((itcMac+1)*LittleEndian.SHORT_SIZE)+(x*TableCellDescriptor.SIZE));
         }
  -      size += SprmUtils.addSprm((short)0xD608, 0, buf, sprmList);
  +      size += SprmUtils.addSpecialSprm((short)0xD608, buf, sprmList);
   
  -      buf = new byte[(itcMac * ShadingDescriptor.SIZE) + 1];
  -      buf[0] = (byte)itcMac;
  -      ShadingDescriptor[] shds = newTAP.getRgshd();
  -      for (int x = 0; x < itcMac; x++)
  -      {
  -        shds[x].serialize(buf, 1 + (x * ShadingDescriptor.SIZE));
  -      }
  -      size += SprmUtils.addSprm((short)0xD608, 0, buf, sprmList);
  +//      buf = new byte[(itcMac * ShadingDescriptor.SIZE) + 1];
  +//      buf[0] = (byte)itcMac;
  +//      ShadingDescriptor[] shds = newTAP.getRgshd();
  +//      for (int x = 0; x < itcMac; x++)
  +//      {
  +//        shds[x].serialize(buf, 1 + (x * ShadingDescriptor.SIZE));
  +//      }
  +//      size += SprmUtils.addSpecialSprm((short)0xD609, buf, sprmList);
       }
       if (newTAP.getTlp() != 0)
       {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to