Package org.apache.poi.hssf.record
Class ExternalNameRecord
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.ExternalNameRecord
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
EXTERNALNAME (0x0023)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncopy()shortgetIx()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 precedingSupBookRecord.Ptg[]shortgetSid()return the non static version of the id for this record.getText()booleanFor OLE and DDE, links can be either 'automatic' or 'manual'booleanbooleanbooleanbooleanonly for OLE and DDEbooleanDDE links only.voidvoidsetIx(short ix) voidsetParsedExpression(Ptg[] ptgs) voidMethods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
ExternalNameRecord
public ExternalNameRecord() -
ExternalNameRecord
-
ExternalNameRecord
-
-
Method Details
-
isBuiltInName
public boolean isBuiltInName()- Returns:
trueif the name is a built-in name
-
isAutomaticLink
public boolean isAutomaticLink()For OLE and DDE, links can be either 'automatic' or 'manual'- Returns:
trueif this is a automatic link
-
isPicureLink
public boolean isPicureLink()only for OLE and DDE- Returns:
trueif this is a picture link
-
isStdDocumentNameIdentifier
public boolean isStdDocumentNameIdentifier()DDE links only. Iftrue, this denotes the 'StdDocumentName'- Returns:
trueif this denotes the 'StdDocumentName'
-
isOLELink
public boolean isOLELink() -
isIconifiedPictureLink
public boolean isIconifiedPictureLink() -
getText
- Returns:
- the standard String representation of this name
-
setText
-
getIx
public 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 precedingSupBookRecord. If it isn't a local name, then it must be zero.- Returns:
- the index of the name of the Sheet this refers to
-
setIx
public void setIx(short ix) -
getParsedExpression
-
setParsedExpression
-
serialize
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classStandardRecord
-
getGenericRecordType
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
getGenericProperties
-