Package org.apache.poi.hwpf.model.types
Class SHDAbstractType
- java.lang.Object
-
- org.apache.poi.hwpf.model.types.SHDAbstractType
-
- Direct Known Subclasses:
ShadingDescriptor
@Internal public abstract class SHDAbstractType extends Object
The Shd structure specifies the colors and pattern that are used for background shading.
-
-
Field Summary
Fields Modifier and Type Field Description protected Colorreffield_1_cvForeprotected Colorreffield_2_cvBackprotected intfield_3_ipat
-
Constructor Summary
Constructors Modifier Constructor Description protectedSHDAbstractType()protectedSHDAbstractType(SHDAbstractType other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)protected voidfillFields(byte[] data, int offset)ColorrefgetCvBack()A COLORREF that specifies the background color of ipat.ColorrefgetCvFore()A COLORREF that specifies the foreground color of ipat.intgetIpat()An Ipat that specifies the pattern used for shading.static intgetSize()Size of recordinthashCode()byte[]serialize()voidserialize(byte[] data, int offset)voidsetCvBack(Colorref field_2_cvBack)A COLORREF that specifies the background color of ipat.voidsetCvFore(Colorref field_1_cvFore)A COLORREF that specifies the foreground color of ipat.voidsetIpat(int field_3_ipat)An Ipat that specifies the pattern used for shading.StringtoString()
-
-
-
Constructor Detail
-
SHDAbstractType
protected SHDAbstractType()
-
SHDAbstractType
protected SHDAbstractType(SHDAbstractType other)
-
-
Method Detail
-
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
-
getCvFore
@Internal public Colorref getCvFore()
A COLORREF that specifies the foreground color of ipat.
-
setCvFore
@Internal public void setCvFore(Colorref field_1_cvFore)
A COLORREF that specifies the foreground color of ipat.
-
getCvBack
@Internal public Colorref getCvBack()
A COLORREF that specifies the background color of ipat.
-
setCvBack
@Internal public void setCvBack(Colorref field_2_cvBack)
A COLORREF that specifies the background color of ipat.
-
getIpat
@Internal public int getIpat()
An Ipat that specifies the pattern used for shading.
-
setIpat
@Internal public void setIpat(int field_3_ipat)
An Ipat that specifies the pattern used for shading.
-
-