public final class VBAInfoAtom extends RecordAtom
Constructor and Description |
---|
VBAInfoAtom(byte[] source,
int start,
int len)
Constructs the vba atom record from its source data.
|
Modifier and Type | Method and Description |
---|---|
long |
getPersistIdRef() |
long |
getRecordType()
Gets the record type.
|
long |
getVersion() |
boolean |
isHasMacros() |
void |
setHasMacros(boolean hasMacros) |
void |
setPersistIdRef(long persistIdRef) |
void |
setVersion(long version) |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
public VBAInfoAtom(byte[] source, int start, int len)
source
- the source data as a byte array.start
- the start offset into the byte array.len
- the length of the slice in the byte array.public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
out
- the output stream to write to.IOException
- if an error occurs.public long getPersistIdRef()
public void setPersistIdRef(long persistIdRef)
public boolean isHasMacros()
public void setHasMacros(boolean hasMacros)
public long getVersion()
public void setVersion(long version)
Copyright © 2010 - 2020 Adobe. All Rights Reserved