Package org.apache.poi.hwpf.sprm
Class SprmOperation
java.lang.Object
org.apache.poi.hwpf.sprm.SprmOperation
This class is used to represent a sprm operation from a Word 97/2000/XP
document.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
int
short
int
static int
getOperationFromOpcode
(short opcode) int
int
getType()
static int
getTypeFromOpcode
(short opcode) int
size()
byte[]
toString()
-
Field Details
-
TYPE_PAP
public static final int TYPE_PAP- See Also:
-
TYPE_CHP
public static final int TYPE_CHP- See Also:
-
TYPE_PIC
public static final int TYPE_PIC- See Also:
-
TYPE_SEP
public static final int TYPE_SEP- See Also:
-
TYPE_TAP
public static final int TYPE_TAP- See Also:
-
-
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
-