Class SprmOperation

java.lang.Object
org.apache.poi.hwpf.sprm.SprmOperation

@Internal(since="3.8 beta 4") public final class SprmOperation extends Object
This class is used to represent a sprm operation from a Word 97/2000/XP document.
  • Field Details

  • Constructor Details

    • SprmOperation

      public SprmOperation(byte[] grpprl, int offset)
  • Method Details

    • getOperationFromOpcode

      public static int getOperationFromOpcode(short opcode)
    • getTypeFromOpcode

      public static int getTypeFromOpcode(short opcode)
    • toByteArray

      public byte[] toByteArray()
    • getGrpprl

      public byte[] getGrpprl()
    • getGrpprlOffset

      public int getGrpprlOffset()
    • getOperand

      public int getOperand()
    • getOperandShortSigned

      public short getOperandShortSigned()
    • getOperation

      public int getOperation()
    • getSizeCode

      public int getSizeCode()
    • getType

      public int getType()
    • size

      public int size()
    • toString

      public String toString()
      Overrides:
      toString in class Object