public final class ChartRecord extends StandardRecord
The chart record is used to define the location and size of a chart.
Chart related records don't seem to be covered in either the OOO or the MS documentation. The book "Microsoft Excel 97 Developer's Kit" ISBN: (1-57231-498-2) seems to have an entire chapter (10) devoted to Chart records. One blog suggests that some documentation for these records is available in "MSDN Library, Feb 1998", but no later.
(CHART (0x1002) 图表记录用于定义图表的位置和大小。 OOO 或 MS 文档中似乎都没有涵盖与图表相关的记录。 “Microsoft Excel 97 Developer's Kit”一书 ISBN: (1-57231-498-2) 似乎有一整章 (10) 专门用于图表记录。一篇博客建议这些记录的一些文档可在“MSDN Library, Feb 1998”中找到,但不能在以后找到。)Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ChartRecord() |
ChartRecord(ChartRecord other) |
ChartRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
ChartRecord |
copy() |
protected int |
getDataSize() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
int |
getHeight()
Get the height field for the Chart record.
(获取图表记录的高度字段。)
|
short |
getSid()
return the non static version of the id for this record.
(返回此记录的 id 的非静态版本。)
|
int |
getWidth()
Get the width field for the Chart record.
(获取图表记录的宽度字段。)
|
int |
getX()
Get the x field for the Chart record.
(获取图表记录的 x 字段。)
|
int |
getY()
Get the y field for the Chart record.
(获取图表记录的 y 字段。)
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
(写入此 BIFF 记录的数据内容。)
|
void |
setHeight(int height)
Set the height field for the Chart record.
(设置图表记录的高度字段。)
|
void |
setWidth(int width)
Set the width field for the Chart record.
(设置图表记录的宽度字段。)
|
void |
setX(int x)
Set the x field for the Chart record.
(设置图表记录的 x 字段。)
|
void |
setY(int y)
Set the y field for the Chart record.
(设置图表记录的 y 字段。)
|
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public ChartRecord()
public ChartRecord(ChartRecord other)
public ChartRecord(RecordInputStream in)
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by RecordBase.getRecordSize()
} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).
serialize
in class
StandardRecord
(在 StandardRecord 类中序列化)
out
- the output object
(out - 输出对象)
protected int getDataSize()
getDataSize
in class
StandardRecord
(类 StandardRecord 中的 getDataSize)
public short getSid()
Record
public ChartRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
StandardRecord
(在 StandardRecord 类中复制)
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.