Top Description Fields Constructors Methods
org.apache.poi.hssf.record.chart

public final Class LinkedDataRecord

extends StandardRecord
Class Inheritance
Static Imports
org.apache.poi.util.GenericRecordUtil.getEnumBitsAsString

Describes a linked data record. This record refers to the series data or text.

Field Summary

Modifier and TypeField and Description
private static final BitField
private byte
private byte
private short
private short
private Formula
public static final byte
public static final byte
public static final byte
public static final byte
public static final byte
public static final short

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public LinkedDataRecord
protected int
public Map<String, Supplier<?>>
public HSSFRecordTypes
public short
getIndexNumberFmtRecord()

Get the index number fmt record field for the LinkedData record.

public byte
getLinkType()

Get the link type field for the LinkedData record.

public short
getOptions()

Get the options field for the LinkedData record.

public byte
public short
getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

public boolean

Returns:

the custom number format field value.
isCustomNumberFormat
()

true if this object has a custom number format

public void
serialize(LittleEndianOutput
the output object
out
)

Implements abstract org.apache.poi.hssf.record.StandardRecord.serialize.

Write the data content of this BIFF record.

public void
setCustomNumberFormat(boolean value)

Sets the custom number format field value.

public void
setIndexNumberFmtRecord(short field_4_indexNumberFmtRecord)

Set the index number fmt record field for the LinkedData record.

public void
setLinkType(byte field_1_linkType)

Set the link type field for the LinkedData record.

public void
setOptions(short field_3_options)

Set the options field for the LinkedData record.

public void
Inherited from org.apache.poi.hssf.record.StandardRecord:
getRecordSizeserialize

Field Detail

customNumberFormatback to summary
private static final BitField customNumberFormat
field_1_linkTypeback to summary
private byte field_1_linkType
field_2_referenceTypeback to summary
private byte field_2_referenceType
field_3_optionsback to summary
private short field_3_options
field_4_indexNumberFmtRecordback to summary
private short field_4_indexNumberFmtRecord
REFERENCE_TYPE_DEFAULT_CATEGORIESback to summary
public static final byte REFERENCE_TYPE_DEFAULT_CATEGORIES
REFERENCE_TYPE_DIRECTback to summary
public static final byte REFERENCE_TYPE_DIRECT
REFERENCE_TYPE_ERROR_REPORTEDback to summary
public static final byte REFERENCE_TYPE_ERROR_REPORTED
REFERENCE_TYPE_NOT_USEDback to summary
public static final byte REFERENCE_TYPE_NOT_USED
REFERENCE_TYPE_WORKSHEETback to summary
public static final byte REFERENCE_TYPE_WORKSHEET
sidback to summary
public static final short sid

Constructor Detail

LinkedDataRecordback to summary
public LinkedDataRecord()
LinkedDataRecordback to summary
public LinkedDataRecord(LinkedDataRecord other)
LinkedDataRecordback to summary
public LinkedDataRecord(RecordInputStream in)

Method Detail

copyback to summary
public LinkedDataRecord copy()

Implements abstract org.apache.poi.hssf.record.StandardRecord.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:LinkedDataRecord

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getDataSizeback to summary
protected int getDataSize()

Implements abstract org.apache.poi.hssf.record.StandardRecord.getDataSize.

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Implements abstract org.apache.poi.hssf.record.Record.getGenericRecordType.

Annotations
@Override
getIndexNumberFmtRecordback to summary
public short getIndexNumberFmtRecord()

Get the index number fmt record field for the LinkedData record.

getLinkTypeback to summary
public byte getLinkType()

Get the link type field for the LinkedData record.

Returns:byte

One of LINK_TYPE_TITLE_OR_TEXT, LINK_TYPE_VALUES, LINK_TYPE_CATEGORIES, or LINK_TYPE_SECONDARY_CATEGORIES

getOptionsback to summary
public short getOptions()

Get the options field for the LinkedData record.

getReferenceTypeback to summary
public byte getReferenceType()

Get the reference type field for the LinkedData record.

Returns:byte

One of REFERENCE_TYPE_DEFAULT_CATEGORIES REFERENCE_TYPE_DIRECT REFERENCE_TYPE_WORKSHEET REFERENCE_TYPE_NOT_USED REFERENCE_TYPE_ERROR_REPORTED

getSidback to summary
public short getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

Doc from org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

Returns:short

he id for this record

isCustomNumberFormatback to summary
public boolean isCustomNumberFormat()

true if this object has a custom number format

Returns:boolean

the custom number format field value.

serializeback to summary
public void serialize(LittleEndianOutput out)

Implements abstract org.apache.poi.hssf.record.StandardRecord.serialize.

Doc from org.apache.poi.hssf.record.StandardRecord.serialize.

Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.

The number of bytes written must equal the record size reported by org.apache.poi.hssf.record.Record#getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

Parameters
out:LittleEndianOutput

the output object

setCustomNumberFormatback to summary
public void setCustomNumberFormat(boolean value)

Sets the custom number format field value. true if this object has a custom number format

setIndexNumberFmtRecordback to summary
public void setIndexNumberFmtRecord(short field_4_indexNumberFmtRecord)

Set the index number fmt record field for the LinkedData record.

setLinkTypeback to summary
public void setLinkType(byte field_1_linkType)

Set the link type field for the LinkedData record.

Parameters
field_1_linkType:byte

One of LINK_TYPE_TITLE_OR_TEXT, LINK_TYPE_VALUES, LINK_TYPE_CATEGORIES, or LINK_TYPE_SECONDARY_CATEGORIES

setOptionsback to summary
public void setOptions(short field_3_options)

Set the options field for the LinkedData record.

setReferenceTypeback to summary
public void setReferenceType(byte field_2_referenceType)

Set the reference type field for the LinkedData record.

Parameters
field_2_referenceType:byte

One of REFERENCE_TYPE_DEFAULT_CATEGORIES REFERENCE_TYPE_DIRECT REFERENCE_TYPE_WORKSHEET REFERENCE_TYPE_NOT_USED REFERENCE_TYPE_ERROR_REPORTED