Class CurrentUserAtom

java.lang.Object
org.apache.poi.hslf.record.CurrentUserAtom

public class CurrentUserAtom extends Object
This is a special kind of Atom, because it doesn't live inside the PowerPoint document. Instead, it lives in a separate stream in the document. As such, it has to be treated specially
  • Constructor Details

    • CurrentUserAtom

      public CurrentUserAtom()
      Create a new Current User Atom
    • CurrentUserAtom

      public CurrentUserAtom(DirectoryNode dir) throws IOException
      Find the Current User in the filesystem, and create from that
      Throws:
      IOException
  • Method Details

    • getDocFinalVersion

      public int getDocFinalVersion()
    • getDocMajorNo

      public byte getDocMajorNo()
    • getDocMinorNo

      public byte getDocMinorNo()
    • getReleaseVersion

      public long getReleaseVersion()
    • setReleaseVersion

      public void setReleaseVersion(long rv)
    • getCurrentEditOffset

      public long getCurrentEditOffset()
      Points to the UserEditAtom
    • setCurrentEditOffset

      public void setCurrentEditOffset(long id)
    • getLastEditUsername

      public String getLastEditUsername()
    • setLastEditUsername

      public void setLastEditUsername(String u)
    • isEncrypted

      public boolean isEncrypted()
    • setEncrypted

      public void setEncrypted(boolean isEncrypted)
    • writeOut

      public void writeOut(OutputStream out) throws IOException
      Writes ourselves back out
      Throws:
      IOException
    • writeToFS

      public void writeToFS(POIFSFileSystem fs) throws IOException
      Writes ourselves back out to a filesystem
      Throws:
      IOException