@Internal public final class ListLevel extends java.lang.Object
Constructor and Description |
---|
ListLevel(byte[] buf, int startOffset)
Deprecated.
|
ListLevel(int level, boolean numbered) |
ListLevel(int startAt, int numberFormatCode, int alignment, byte[] numberProperties, byte[] entryProperties, java.lang.String numberText) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getAlignment()
"Alignment (left, right, or centered) of the paragraph number."
(“段落编号的对齐方式(左、右或居中)。”)
|
byte[] |
getGrpprlChpx() |
byte[] |
getGrpprlPapx() |
byte[] |
getLevelNumberingPlaceholderOffsets()
Array which specifies the character offsets of the level numbers in a level numbering string.
(指定级别编号字符串中级别编号的字符偏移量的数组。)
|
byte[] |
getLevelProperties() |
int |
getNumberFormat()
"Number format code (see anld.nfc for a list of options)"
(“数字格式代码(有关选项列表,请参阅 anld.nfc)”)
|
java.lang.String |
getNumberText() |
short |
getRestart()
An unsigned integer that specifies the first (most-significant) zero-based level after which the number sequence of this level does not restart.
(一个无符号整数,它指定第一个(最重要的)从零开始的级别,在该级别之后此级别的数字序列不会重新启动。)
|
int |
getSizeInBytes() |
int |
getStartAt() |
byte |
getTypeOfCharFollowingTheNumber()
"The type of character following the number text for the paragraph: 0 == tab, 1 == space, 2 == nothing."
(“段落数字文本后面的字符类型:0 == 制表符,1 == 空格,2 == 无。”)
|
int |
hashCode() |
boolean |
isLegalNumbering()
Determines if the number formatting shall be overridden by
msonfcArabic ; unless it originally was
msonfcArabicLZ in which case it is preserved.
(确定数字格式是否应被 msonfcArabic 覆盖;除非它最初是 msonfcArabicLZ,在这种情况下它会被保留。)
|
void |
setAlignment(int alignment) |
void |
setLevelProperties(byte[] grpprl) |
void |
setNumberFormat(int numberFormatCode) |
void |
setNumberProperties(byte[] grpprl) |
void |
setStartAt(int startAt) |
void |
setTypeOfCharFollowingTheNumber(byte value) |
byte[] |
toByteArray() |
java.lang.String |
toString() |
@Deprecated public ListLevel(byte[] buf, int startOffset)
public ListLevel(int level, boolean numbered)
public ListLevel(int startAt, int numberFormatCode, int alignment, byte[] numberProperties, byte[] entryProperties, java.lang.String numberText)
public boolean equals(java.lang.Object obj)
equals
in class
java.lang.Object
public int hashCode()
hashCode
in class
java.lang.Object
public int getAlignment()
public byte[] getGrpprlChpx()
public byte[] getGrpprlPapx()
public byte[] getLevelProperties()
public int getNumberFormat()
public java.lang.String getNumberText()
public int getSizeInBytes()
public int getStartAt()
public byte getTypeOfCharFollowingTheNumber()
public short getRestart()
see [MS-DOC], v20140721, 2.9.150
(一个无符号整数,它指定第一个(最重要的)从零开始的级别,在该级别之后此级别的数字序列不会重新启动。此级别的数字序列在任何比指定级别更重要的级别之后都会重新开始。这必须小于或等于此 LVLF 对应的列表的从零开始的级别。参见 [MS-DOC],v20140721,2.9.150)0
is the most significant) level after which the numbering does not restart or
-1
if no restart is applicable
(第一个(0 是最重要的)级别,之后编号不会重新启动,如果没有重新启动适用,则为 -1)
public boolean isLegalNumbering()
msonfcArabic
; unless it originally was
msonfcArabicLZ
in which case it is preserved.
see [MS-DOC], v20140721, 2.9.150 and [MS-OSHARED], v20140721, 2.2.1.3
(确定数字格式是否应被 msonfcArabic 覆盖;除非它最初是 msonfcArabicLZ,在这种情况下它会被保留。参见 [MS-DOC]、v20140721、2.9.150 和 [MS-OSHARED]、v20140721、2.2.1.3)true
if the level numbering of this and all more significant levels must be overridden;
false
otherwise
(如果必须覆盖此级别和所有更重要级别的级别编号,则为 true;否则为假)
public byte[] getLevelNumberingPlaceholderOffsets()
see [MS-DOC], v20140721, 2.9.150
(指定级别编号字符串中级别编号的字符偏移量的数组。参见 [MS-DOC],v20140721,2.9.150)0
-terminated array, unless it is full
(以 0 结尾的数组,除非它已满)
public void setAlignment(int alignment)
public void setLevelProperties(byte[] grpprl)
public void setNumberFormat(int numberFormatCode)
public void setNumberProperties(byte[] grpprl)
public void setStartAt(int startAt)
public void setTypeOfCharFollowingTheNumber(byte value)
public byte[] toByteArray()
public java.lang.String toString()
toString
in class
java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.