Class HSLFTabStopPropCollection
- java.lang.Object
-
- org.apache.poi.hslf.model.textproperties.TextProp
-
- org.apache.poi.hslf.model.textproperties.HSLFTabStopPropCollection
-
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable
,GenericRecord
@Internal public class HSLFTabStopPropCollection extends TextProp
Container for tabstop lists
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description HSLFTabStopPropCollection()
HSLFTabStopPropCollection(HSLFTabStopPropCollection other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTabStop(HSLFTabStop ts)
void
clearTabs()
HSLFTabStopPropCollection
copy()
Clone, eg when you want to actually make use of one of these.boolean
equals(java.lang.Object obj)
java.util.Map<java.lang.String,java.util.function.Supplier<?>>
getGenericProperties()
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
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HSLFTabStopPropCollection
public HSLFTabStopPropCollection()
-
HSLFTabStopPropCollection
public HSLFTabStopPropCollection(HSLFTabStopPropCollection other)
-
-
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)
-
copy
public HSLFTabStopPropCollection copy()
Description copied from class:TextProp
Clone, eg when you want to actually make use of one of these.
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
- Overrides:
getGenericProperties
in classTextProp
-
-