Class UserEditAtom

  • All Implemented Interfaces:
    GenericRecord, PositionDependentRecord

    public final class UserEditAtom
    extends PositionDependentRecordAtom
    A UserEdit Atom (type 4085). Holds information which bits of the file were last used by powerpoint, the version of powerpoint last used etc. ** WARNING ** stores byte offsets from the start of the PPT stream to other records! If you change the size of any elements before one of these, you'll need to update the offsets!
    • Method Detail

      • getLastViewedSlideID

        public int getLastViewedSlideID()
      • getLastViewType

        public short getLastViewType()
      • getLastUserEditAtomOffset

        public int getLastUserEditAtomOffset()
      • getPersistPointersOffset

        public int getPersistPointersOffset()
      • getDocPersistRef

        public int getDocPersistRef()
      • getMaxPersistWritten

        public int getMaxPersistWritten()
      • getEncryptSessionPersistIdRef

        public int getEncryptSessionPersistIdRef()
      • setLastUserEditAtomOffset

        public void setLastUserEditAtomOffset​(int offset)
      • setPersistPointersOffset

        public void setPersistPointersOffset​(int offset)
      • setLastViewType

        public void setLastViewType​(short type)
      • setMaxPersistWritten

        public void setMaxPersistWritten​(int max)
      • setEncryptSessionPersistIdRef

        public void setEncryptSessionPersistIdRef​(int id)
      • getRecordType

        public long getRecordType()
        We are of type 4085
        Specified by:
        getRecordType in class Record
      • writeOut

        public void writeOut​(java.io.OutputStream out)
                      throws java.io.IOException
        Write the contents of the record back, so it can be written to disk
        Specified by:
        writeOut in class Record
        Throws:
        java.io.IOException
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()