|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.model.textproperties.TextProp org.apache.poi.hslf.model.textproperties.BitMaskTextProp
public class BitMaskTextProp
Definition of a special kind of property of some text, or its paragraph. For these properties, a flag in the "contains" header field tells you the data property family will exist. The value of the property is itself a mask, encoding several different (but related) properties
Field Summary |
---|
Fields inherited from class org.apache.poi.hslf.model.textproperties.TextProp |
---|
dataValue, maskInHeader, propName, sizeOfDataBlock |
Constructor Summary | |
---|---|
BitMaskTextProp(int sizeOfDataBlock,
int maskInHeader,
java.lang.String overallName,
java.lang.String[] subPropNames)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone, eg when you want to actually make use of one of these. |
boolean[] |
getSubPropMatches()
Fetch the list of if the sub properties match or not |
java.lang.String[] |
getSubPropNames()
Fetch the list of the names of the sub properties |
boolean |
getSubValue(int idx)
Fetch the true/false status of the subproperty with the given index |
int |
getWriteMask()
As we're purely mask based, just set flags for stuff that is set |
void |
setSubValue(boolean value,
int idx)
Set the true/false status of the subproperty with the given index |
void |
setValue(int val)
Set the value of the text property, and recompute the sub properties based on it |
Methods inherited from class org.apache.poi.hslf.model.textproperties.TextProp |
---|
getMask, getName, getSize, getValue |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BitMaskTextProp(int sizeOfDataBlock, int maskInHeader, java.lang.String overallName, java.lang.String[] subPropNames)
Method Detail |
---|
public java.lang.String[] getSubPropNames()
public boolean[] getSubPropMatches()
public int getWriteMask()
getWriteMask
in class TextProp
public void setValue(int val)
setValue
in class TextProp
public boolean getSubValue(int idx)
public void setSubValue(boolean value, int idx)
public java.lang.Object clone()
TextProp
clone
in class TextProp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |