@Internal public class HSLFTabStopPropCollection extends TextProp
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
HSLFTabStopPropCollection() |
HSLFTabStopPropCollection(HSLFTabStopPropCollection other) |
Modifier and Type | Method and 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 record
|
static 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) |
getMask, getName, getWriteMask, setValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final java.lang.String NAME
public HSLFTabStopPropCollection()
public HSLFTabStopPropCollection(HSLFTabStopPropCollection other)
public void parseProperty(byte[] data, int offset)
data
- the data streamoffset
- the offset within the datapublic static java.util.List<HSLFTabStop> readTabStops(LittleEndianInput lei)
public void writeProperty(java.io.OutputStream out)
public static void writeTabStops(LittleEndianOutput leo, java.util.List<HSLFTabStop> tabStops)
public int getValue()
TextProp
public int getSize()
TextProp
public java.util.List<HSLFTabStop> getTabStops()
public void clearTabs()
public void addTabStop(HSLFTabStop ts)
public HSLFTabStopPropCollection copy()
TextProp
copy
in interface Duplicatable
copy
in class TextProp
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
getGenericProperties
in class TextProp
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.