public final class UserEditAtom extends PositionDependentRecordAtom
Modifier and Type | Field and Description |
---|---|
static int |
LAST_VIEW_NONE |
static int |
LAST_VIEW_NOTES |
static int |
LAST_VIEW_OUTLINE_VIEW |
static int |
LAST_VIEW_SLIDE_VIEW |
Modifier | Constructor and Description |
---|---|
protected |
UserEditAtom(byte[] source,
int start,
int len)
For the UserEdit Atom
|
Modifier and Type | Method and Description |
---|---|
int |
getDocPersistRef() |
int |
getEncryptSessionPersistIdRef() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getLastUserEditAtomOffset() |
int |
getLastViewedSlideID() |
short |
getLastViewType() |
int |
getMaxPersistWritten() |
int |
getPersistPointersOffset() |
long |
getRecordType()
We are of type 4085
|
void |
setEncryptSessionPersistIdRef(int id) |
void |
setLastUserEditAtomOffset(int offset) |
void |
setLastViewType(short type) |
void |
setMaxPersistWritten(int max) |
void |
setPersistPointersOffset(int offset) |
void |
updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
At write-out time, update the references to PersistPtrs and
other UserEditAtoms to point to their new positions
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getLastOnDiskOffset, setLastOnDiskOffset
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
public static final int LAST_VIEW_NONE
public static final int LAST_VIEW_SLIDE_VIEW
public static final int LAST_VIEW_OUTLINE_VIEW
public static final int LAST_VIEW_NOTES
protected UserEditAtom(byte[] source, int start, int len)
public int getLastViewedSlideID()
public short getLastViewType()
public int getLastUserEditAtomOffset()
public int getPersistPointersOffset()
public int getDocPersistRef()
public int getMaxPersistWritten()
public int getEncryptSessionPersistIdRef()
public void setLastUserEditAtomOffset(int offset)
public void setPersistPointersOffset(int offset)
public void setLastViewType(short type)
public void setMaxPersistWritten(int max)
public void setEncryptSessionPersistIdRef(int id)
public long getRecordType()
getRecordType
in class Record
public void updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
updateOtherRecordReferences
in interface PositionDependentRecord
updateOtherRecordReferences
in class PositionDependentRecordAtom
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.