@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)
(文本属性的数据部分的大小(2 或 4 个字节))
|
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
(从 TxMasterStyle 记录中解析制表位)
|
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 stream
(data - 数据流)
offset
- the offset within the data
(offset - 数据内的偏移量)
public 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
(复制到界面 Duplicatable)
copy
in class
TextProp
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
TextProp
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.