public final class PlexOfCps
extends java.lang.Object
common data structure in a Word file. Contains an array of 4 byte ints in the front that relate to an array of arbitrary data structures in the back.
See page 184 of official documentation for details
(Plex 的 CP 存储在 Word 文件中的文件 (PLCF) 通用数据结构中。前面包含一个 4 字节整数数组,与后面的任意数据结构数组相关。详见官方文档第184页)Constructor and Description |
---|
PlexOfCps(byte[] buf, int start, int cb, int cbStruct)
Constructor
|
PlexOfCps(int sizeOfStruct) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(GenericPropertyNode node) |
GenericPropertyNode |
getProperty(int index) |
int |
length()
returns the number of data structures in this PlexofCps.
(返回此 PlexofCps 中数据结构的数量。)
|
byte[] |
toByteArray() |
java.lang.String |
toString() |
public PlexOfCps(int sizeOfStruct)
public PlexOfCps(byte[] buf, int start, int cb, int cbStruct)
cb
- The size of PLCF in bytes
(cb - PLCF 的大小(以字节为单位))
cbStruct
- The size of the data structure type stored in this PlexOfCps.
(cbStruct - 存储在此 PlexOfCps 中的数据结构类型的大小。)
public GenericPropertyNode getProperty(int index)
public void addProperty(GenericPropertyNode node)
public byte[] toByteArray()
public int length()
public java.lang.String toString()
toString
in class
java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.