Package org.apache.poi.hwpf.model.types
Class SHD80AbstractType
java.lang.Object
org.apache.poi.hwpf.model.types.SHD80AbstractType
- Direct Known Subclasses:
ShadingDescriptor80
The Shd80 structure specifies the colors and pattern that are used for background
shading. As an exception to the constraints that are specified by Ico and Ipat, a Shd80 can
be set to Shd80Nil and specifies that no shading is applied.
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) byte
Background colorbyte
Foreground colorbyte
getIpat()
Shading patternstatic int
getSize()
Size of recordshort
getValue()
Get the value field for the SHD80 record.int
hashCode()
byte[]
void
serialize
(byte[] data, int offset) void
setIcoBack
(byte value) Sets the icoBack field value.void
setIcoFore
(byte value) Sets the icoFore field value.void
setIpat
(byte value) Sets the ipat field value.void
setValue
(short field_1_value) Set the value field for the SHD80 record.toString()
-
Field Details
-
field_1_value
protected short field_1_value
-
-
Constructor Details
-
SHD80AbstractType
protected SHD80AbstractType()
-
-
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
-
getValue
Get the value field for the SHD80 record. -
setValue
Set the value field for the SHD80 record. -
setIcoFore
Sets the icoFore field value. Foreground color -
getIcoFore
Foreground color- Returns:
- the icoFore field value.
-
setIcoBack
Sets the icoBack field value. Background color -
getIcoBack
Background color- Returns:
- the icoBack field value.
-
setIpat
Sets the ipat field value. Shading pattern -
getIpat
Shading pattern- Returns:
- the ipat field value.
-