| java.lang.Object org.apache.poi.hslf.model.textproperties.TextPropCollection
TextPropCollection | public class TextPropCollection (Code) | | 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 | |
public | TextPropCollection(int charactersCovered, short reservedField) Create a new collection of text properties (be they paragraph
or character) which will be groked via a subsequent call to
buildTextPropList(). | public | TextPropCollection(int textSize) |
TextPropCollection | public TextPropCollection(int charactersCovered, short reservedField)(Code) | | Create a new collection of text properties (be they paragraph
or character) which will be groked via a subsequent call to
buildTextPropList().
|
TextPropCollection | public TextPropCollection(int textSize)(Code) | | Create a new collection of text properties (be they paragraph
or character) for a run of text without any
|
addWithName | public TextProp addWithName(String name)(Code) | | Add the TextProp with this name to the list
|
buildTextPropList | public int buildTextPropList(int containsField, TextProp[] potentialProperties, byte[] data, int dataOffset)(Code) | | For an existing set of text properties, build the list of
properties coded for in a given run of properties.
the number of bytes that were used encoding the properties list |
findByName | public TextProp findByName(String textPropName)(Code) | | Fetch the TextProp with this name, or null if it isn't present
|
getCharactersCovered | public int getCharactersCovered()(Code) | | Fetch the number of characters this styling applies to
|
getReservedField | public short getReservedField()(Code) | | |
getTextPropList | public LinkedList getTextPropList()(Code) | | Fetch the TextProps that define this styling
|
setReservedField | public void setReservedField(short val)(Code) | | |
updateTextSize | public void updateTextSize(int textSize)(Code) | | Update the size of the text that this set of properties
applies to
|
|
|