public final class ExternalNameRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ExternalNameRecord() |
ExternalNameRecord(ExternalNameRecord other) |
ExternalNameRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
ExternalNameRecord |
copy() |
protected int |
getDataSize() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
short |
getIx()
If this is a local name, then this is the (1 based)
index of the name of the Sheet this refers to, as
defined in the preceding
SupBookRecord . |
Ptg[] |
getParsedExpression() |
short |
getSid()
return the non static version of the id for this record.
|
java.lang.String |
getText() |
boolean |
isAutomaticLink()
For OLE and DDE, links can be either 'automatic' or 'manual'
|
boolean |
isBuiltInName() |
boolean |
isIconifiedPictureLink() |
boolean |
isOLELink() |
boolean |
isPicureLink()
only for OLE and DDE
|
boolean |
isStdDocumentNameIdentifier()
DDE links only.
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setIx(short ix) |
void |
setParsedExpression(Ptg[] ptgs) |
void |
setText(java.lang.String str) |
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public ExternalNameRecord()
public ExternalNameRecord(ExternalNameRecord other)
public ExternalNameRecord(RecordInputStream in)
public boolean isBuiltInName()
true
if the name is a built-in namepublic boolean isAutomaticLink()
true
if this is a automatic linkpublic boolean isPicureLink()
true
if this is a picture linkpublic boolean isStdDocumentNameIdentifier()
true
, this denotes the 'StdDocumentName'true
if this denotes the 'StdDocumentName'public boolean isOLELink()
public boolean isIconifiedPictureLink()
public java.lang.String getText()
public void setText(java.lang.String str)
public short getIx()
SupBookRecord
.
If it isn't a local name, then it must be zero.public void setIx(short ix)
public Ptg[] getParsedExpression()
public void setParsedExpression(Ptg[] ptgs)
protected int getDataSize()
getDataSize
in class StandardRecord
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
out
- the output objectpublic short getSid()
Record
public ExternalNameRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.