LineSpacingDescriptorpublic class LineSpacingDescriptor extends Object implements CloneableThis class is used to determine line spacing for a paragraph. |
Fields Summary |
---|
short | _dyaLine | short | _fMultiLinespace |
Constructors Summary |
---|
public LineSpacingDescriptor()
| public LineSpacingDescriptor(byte[] buf, int offset)
_dyaLine = LittleEndian.getShort(buf, offset);
_fMultiLinespace = LittleEndian.getShort(buf, offset + LittleEndian.SHORT_SIZE);
|
Methods Summary |
---|
public java.lang.Object | clone()
return super.clone();
| public boolean | equals(java.lang.Object o)
LineSpacingDescriptor lspd = (LineSpacingDescriptor)o;
return _dyaLine == lspd._dyaLine && _fMultiLinespace == lspd._fMultiLinespace;
| public void | serialize(byte[] buf, int offset)
LittleEndian.putShort(buf, offset, _dyaLine);
LittleEndian.putShort(buf, offset + LittleEndian.SHORT_SIZE, _fMultiLinespace);
| public void | setDyaLine(short dyaLine)
_dyaLine = dyaLine;
| public void | setMultiLinespace(short fMultiLinespace)
_fMultiLinespace = fMultiLinespace;
| public int | toInt()
byte[] intHolder = new byte[4];
serialize(intHolder, 0);
return LittleEndian.getInt(intHolder);
|
|