@Internal public abstract class HRESIAbstractType extends java.lang.Object
Class and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format (.doc) Specification
Modifier and Type | Field and Description |
---|---|
protected byte |
field_1_hres |
protected byte |
field_2_chHres |
static byte |
HRES_ADD_LETTER_BEFORE |
static byte |
HRES_CHANGE_LETTER_AFTER |
static byte |
HRES_CHANGE_LETTER_BEFORE |
static byte |
HRES_DELETE_BEFORE_CHANGE_BEFORE |
static byte |
HRES_DELETE_LETTER_BEFORE |
static byte |
HRES_NO |
static byte |
HRES_NORMAL |
Modifier | Constructor and Description |
---|---|
protected |
HRESIAbstractType() |
protected |
HRESIAbstractType(HRESIAbstractType other) |
Modifier and Type | Method and Description |
---|---|
protected void |
fillFields(byte[] data,
int offset) |
byte |
getChHres()
The character that will be used to add or change a letter when hres is 2, 3, 5 or 6.
|
byte |
getHres()
Hyphenation rule.
|
static int |
getSize()
Size of record (exluding 4 byte header)
|
void |
serialize(byte[] data,
int offset) |
void |
setChHres(byte field_2_chHres)
The character that will be used to add or change a letter when hres is 2, 3, 5 or 6.
|
void |
setHres(byte field_1_hres)
Hyphenation rule.
|
java.lang.String |
toString() |
public static final byte HRES_NO
public static final byte HRES_NORMAL
public static final byte HRES_ADD_LETTER_BEFORE
public static final byte HRES_CHANGE_LETTER_BEFORE
public static final byte HRES_DELETE_LETTER_BEFORE
public static final byte HRES_CHANGE_LETTER_AFTER
public static final byte HRES_DELETE_BEFORE_CHANGE_BEFORE
protected byte field_1_hres
protected byte field_2_chHres
protected HRESIAbstractType()
protected HRESIAbstractType(HRESIAbstractType other)
protected void fillFields(byte[] data, int offset)
public void serialize(byte[] data, int offset)
public static int getSize()
public java.lang.String toString()
toString
in class java.lang.Object
public byte getHres()
public void setHres(byte field_1_hres)
field_1_hres
- One of
HRES_NO
HRES_NORMAL
HRES_ADD_LETTER_BEFORE
HRES_CHANGE_LETTER_BEFORE
HRES_DELETE_LETTER_BEFORE
HRES_CHANGE_LETTER_AFTER
HRES_DELETE_BEFORE_CHANGE_BEFORE
public byte getChHres()
public void setChHres(byte field_2_chHres)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.