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.StringNAME
-
Constructor Summary
Constructors Constructor Description HSLFTabStopPropCollection()HSLFTabStopPropCollection(HSLFTabStopPropCollection other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTabStop(HSLFTabStop ts)voidclearTabs()HSLFTabStopPropCollectioncopy()Clone, eg when you want to actually make use of one of these.booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()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
-
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: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)
-
copy
public HSLFTabStopPropCollection copy()
Description copied from class:TextPropClone, 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:
getGenericPropertiesin interfaceGenericRecord- Overrides:
getGenericPropertiesin classTextProp
-
-