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.String
NAME
-
Constructor Summary
Constructors Constructor Description HSLFTabStopPropCollection()
HSLFTabStopPropCollection(HSLFTabStopPropCollection copy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTabStop(HSLFTabStop ts)
void
clearTabs()
HSLFTabStopPropCollection
clone()
Clone, eg when you want to actually make use of one of these.boolean
equals(java.lang.Object obj)
int
getSize()
Size of the data section of the text property (2 or 4 bytes)java.util.List<HSLFTabStop>
getTabStops()
int
getValue()
Fetch the value of the text property (meaning is specific to each different kind of text property)int
hashCode()
void
parseProperty(byte[] data, int offset)
Parses the tabstops from TxMasterStyle recordstatic java.util.List<HSLFTabStop>
readTabStops(LittleEndianInput lei)
java.lang.String
toString()
void
writeProperty(java.io.OutputStream out)
static void
writeTabStops(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:TextProp
Fetch the value of the text property (meaning is specific to each different kind of text property)
-
getSize
public int getSize()
Description copied from class:TextProp
Size 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:TextProp
Clone, eg when you want to actually make use of one of these.
-
-