|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.record.StyleTextPropAtom.TextProp
public static class StyleTextPropAtom.TextProp
Definition of a property of some text, or its paragraph. Defines how to find out if it's present (via the mask on the paragraph or character "contains" header field), how long the value of it is, and how to get and set the value.
Field Summary | |
---|---|
protected int |
dataValue
|
protected int |
maskInHeader
|
protected java.lang.String |
propName
|
protected int |
sizeOfDataBlock
|
Constructor Summary | |
---|---|
StyleTextPropAtom.TextProp(int sizeOfDataBlock,
int maskInHeader,
java.lang.String propName)
Generate the definition of a given type of text property. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone, eg when you want to actually make use of one of these. |
int |
getMask()
Mask in the paragraph or character "contains" header field that indicates that this text property is present. |
java.lang.String |
getName()
Name of the text property |
int |
getSize()
Size of the data section of the text property (2 or 4 bytes) |
int |
getValue()
Fetch the value of the text property (meaning is specific to each different kind of text property) |
int |
getWriteMask()
Get the mask that's used at write time. |
void |
setValue(int val)
Set the value of the text property. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int sizeOfDataBlock
protected java.lang.String propName
protected int dataValue
protected int maskInHeader
Constructor Detail |
---|
public StyleTextPropAtom.TextProp(int sizeOfDataBlock, int maskInHeader, java.lang.String propName)
Method Detail |
---|
public java.lang.String getName()
public int getSize()
public int getMask()
public int getWriteMask()
public int getValue()
public void setValue(int val)
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |