|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.record.StyleTextPropAtom.TextPropCollection
public static class StyleTextPropAtom.TextPropCollection
For a given run of characters, holds the properties (which could be paragraph properties or character properties). Used to hold the number of characters affected, the list of active properties, and the random reserved field if required.
Constructor Summary | |
---|---|
StyleTextPropAtom.TextPropCollection(int textSize)
Create a new collection of text properties (be they paragraph or character) for a run of text without any |
Method Summary | |
---|---|
StyleTextPropAtom.TextProp |
addWithName(java.lang.String name)
Add the TextProp with this name to the list |
int |
buildTextPropList(int containsField,
StyleTextPropAtom.TextProp[] potentialProperties,
byte[] data,
int dataOffset)
For an existing set of text properties, build the list of properties coded for in a given run of properties. |
StyleTextPropAtom.TextProp |
findByName(java.lang.String textPropName)
Fetch the TextProp with this name, or null if it isn't present |
int |
getCharactersCovered()
Fetch the number of characters this styling applies to |
short |
getReservedField()
|
java.util.LinkedList |
getTextPropList()
Fetch the TextProps that define this styling |
void |
setReservedField(short val)
|
void |
updateTextSize(int textSize)
Update the size of the text that this set of properties applies to |
protected void |
writeOut(java.io.OutputStream o)
Writes out to disk the header, and then all the properties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StyleTextPropAtom.TextPropCollection(int textSize)
Method Detail |
---|
public int getCharactersCovered()
public java.util.LinkedList getTextPropList()
public StyleTextPropAtom.TextProp findByName(java.lang.String textPropName)
public StyleTextPropAtom.TextProp addWithName(java.lang.String name)
public int buildTextPropList(int containsField, StyleTextPropAtom.TextProp[] potentialProperties, byte[] data, int dataOffset)
public void updateTextSize(int textSize)
protected void writeOut(java.io.OutputStream o) throws java.io.IOException
java.io.IOException
public short getReservedField()
public void setReservedField(short val)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |