Class HSLFTabStopPropCollection
- java.lang.Object
-
- org.apache.poi.hslf.model.textproperties.TextProp
-
- org.apache.poi.hslf.model.textproperties.HSLFTabStopPropCollection
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME
-
Constructor Summary
Constructors Constructor Description HSLFTabStopPropCollection()HSLFTabStopPropCollection(HSLFTabStopPropCollection copy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTabStop(HSLFTabStop ts)voidclearTabs()HSLFTabStopPropCollectionclone()Clone, eg when you want to actually make use of one of these.booleanequals(java.lang.Object obj)intgetSize()Size of the data section of the text property (2 or 4 bytes)java.util.List<HSLFTabStop>getTabStops()intgetValue()Fetch the value of the text property (meaning is specific to each different kind of text property)inthashCode()voidparseProperty(byte[] data, int offset)Parses the tabstops from TxMasterStyle recordstatic java.util.List<HSLFTabStop>readTabStops(LittleEndianInput lei)java.lang.StringtoString()voidwriteProperty(java.io.OutputStream out)static voidwriteTabStops(LittleEndianOutput leo, java.util.List<HSLFTabStop> tabStops)-
Methods inherited from class org.apache.poi.hslf.model.textproperties.TextProp
getMask, getName, getWriteMask, setValue
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HSLFTabStopPropCollection
public HSLFTabStopPropCollection()
-
HSLFTabStopPropCollection
public HSLFTabStopPropCollection(HSLFTabStopPropCollection copy)
-
-
Method Detail
-
parseProperty
public void parseProperty(byte[] data, int offset)Parses the tabstops from TxMasterStyle record- Parameters:
data- the data streamoffset- the offset within the data
-
readTabStops
public static java.util.List<HSLFTabStop> readTabStops(LittleEndianInput lei)
-
writeProperty
public void writeProperty(java.io.OutputStream out)
-
writeTabStops
public static void writeTabStops(LittleEndianOutput leo, java.util.List<HSLFTabStop> tabStops)
-
getValue
public int getValue()
Description copied from class:TextPropFetch the value of the text property (meaning is specific to each different kind of text property)
-
getSize
public int getSize()
Description copied from class:TextPropSize of the data section of the text property (2 or 4 bytes)
-
getTabStops
public java.util.List<HSLFTabStop> getTabStops()
-
clearTabs
public void clearTabs()
-
addTabStop
public void addTabStop(HSLFTabStop ts)
-
clone
public HSLFTabStopPropCollection clone()
Description copied from class:TextPropClone, eg when you want to actually make use of one of these.
-
-