Class SprmBuffer

java.lang.Object
org.apache.poi.hwpf.sprm.SprmBuffer
All Implemented Interfaces:
org.apache.poi.common.Duplicatable

@Internal public final class SprmBuffer extends Object implements org.apache.poi.common.Duplicatable
  • Constructor Details

    • SprmBuffer

      public SprmBuffer(SprmBuffer other)
    • SprmBuffer

      public SprmBuffer(byte[] buf, boolean istd, int sprmsStartOffset)
    • SprmBuffer

      public SprmBuffer(byte[] buf, int _sprmsStartOffset)
    • SprmBuffer

      public SprmBuffer(int sprmsStartOffset)
  • Method Details

    • addSprm

      public void addSprm(short opcode, byte operand)
    • addSprm

      public void addSprm(short opcode, byte[] operand)
    • addSprm

      public void addSprm(short opcode, int operand)
    • addSprm

      public void addSprm(short opcode, short operand)
    • append

      public void append(byte[] grpprl)
    • append

      public void append(byte[] grpprl, int offset)
    • copy

      public SprmBuffer copy()
      Specified by:
      copy in interface org.apache.poi.common.Duplicatable
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • findSprm

      public SprmOperation findSprm(short opcode)
    • toByteArray

      public byte[] toByteArray()
    • iterator

      public SprmIterator iterator()
    • updateSprm

      public void updateSprm(short opcode, byte operand)
    • updateSprm

      public void updateSprm(short opcode, boolean operand)
    • updateSprm

      public void updateSprm(short opcode, int operand)
    • updateSprm

      public void updateSprm(short opcode, short operand)
    • toString

      public String toString()
      Overrides:
      toString in class Object