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
(对于 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
(我们是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
(在写出时,更新对 PersistPtrs 和其他 UserEditAtoms 的引用以指向它们的新位置)
|
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
(类 Record 中的 getRecordType)
public void updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
updateOtherRecordReferences
in interface
PositionDependentRecord
(接口 PositionDependentRecord 中的 updateOtherRecordReferences)
updateOtherRecordReferences
in class
PositionDependentRecordAtom
(类 PositionDependentRecordAtom 中的 updateOtherRecordReferences)
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.