Package org.apache.poi.hwpf.model.types
Class SHDAbstractType
java.lang.Object
org.apache.poi.hwpf.model.types.SHDAbstractType
- Direct Known Subclasses:
ShadingDescriptor
The Shd structure specifies the colors and pattern that are used for background shading.
Class and fields descriptions are quoted from Word (.doc) Binary File Format by Microsoft Corporation
NOTE: This source is automatically generated please do not modify this file. Either subclass or remove the record in src/types/definitions.
This class is internal. It content or properties may change without notice due to changes in our knowledge of internal Microsoft Word binary structures.
- Author:
- Sergey Vladimirov; according to Word (.doc) Binary File Format by Microsoft Corporation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
fillFields
(byte[] data, int offset) A COLORREF that specifies the background color of ipat.A COLORREF that specifies the foreground color of ipat.int
getIpat()
An Ipat that specifies the pattern used for shading.static int
getSize()
Size of recordint
hashCode()
byte[]
void
serialize
(byte[] data, int offset) void
A COLORREF that specifies the background color of ipat.void
A COLORREF that specifies the foreground color of ipat.void
setIpat
(int field_3_ipat) An Ipat that specifies the pattern used for shading.toString()
-
Field Details
-
field_1_cvFore
-
field_2_cvBack
-
field_3_ipat
protected int field_3_ipat
-
-
Constructor Details
-
SHDAbstractType
protected SHDAbstractType()
-
-
Method Details
-
fillFields
protected void fillFields(byte[] data, int offset) -
serialize
public void serialize(byte[] data, int offset) -
serialize
public byte[] serialize() -
getSize
public static int getSize()Size of record -
equals
-
hashCode
public int hashCode() -
toString
-
getCvFore
A COLORREF that specifies the foreground color of ipat. -
setCvFore
A COLORREF that specifies the foreground color of ipat. -
getCvBack
A COLORREF that specifies the background color of ipat. -
setCvBack
A COLORREF that specifies the background color of ipat. -
getIpat
An Ipat that specifies the pattern used for shading. -
setIpat
An Ipat that specifies the pattern used for shading.
-