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, serializecloneViaReserialise, serialize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildrenpublic 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 StandardRecordpublic 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 StandardRecordout - the output objectpublic short getSid()
Recordpublic ExternalNameRecord copy()
copy in interface Duplicatablecopy in class StandardRecordpublic HSSFRecordTypes getGenericRecordType()
getGenericRecordType in interface GenericRecordgetGenericRecordType in class Recordpublic java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.