Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hslf » record » [javadoc | source]
org.apache.poi.hslf.record
public class: CurrentUserAtom [javadoc | source]
java.lang.Object
   org.apache.poi.hslf.record.CurrentUserAtom
This is a special kind of Atom, becauase it doesn't live inside the PowerPoint document. Instead, it lives in a seperate stream in the document. As such, it has to be treaded specially
Field Summary
public static final  byte[] atomHeader    Standard Atom header 
public static final  byte[] magicNumber    The Powerpoint magic numer 
public static final  byte[] ppt97FileVer    The Powerpoint 97 version, major and minor numbers 
Constructor:
 public CurrentUserAtom() 
 public CurrentUserAtom(POIFSFileSystem fs) throws IOException 
    Find the Current User in the filesystem, and create from that
 public CurrentUserAtom(DirectoryNode dir) throws IOException 
    Find the Current User in the filesystem, and create from that
 public CurrentUserAtom(byte[] b) 
Method from org.apache.poi.hslf.record.CurrentUserAtom Summary:
getCurrentEditOffset,   getDocFinalVersionA,   getDocFinalVersionB,   getDocMajorNo,   getDocMinorNo,   getLastEditUsername,   getReleaseVersion,   setCurrentEditOffset,   setLastEditUsername,   setReleaseVersion,   writeOut,   writeToFS
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hslf.record.CurrentUserAtom Detail:
 public long getCurrentEditOffset() 
    Points to the UserEditAtom
 public int getDocFinalVersionA() 
 public int getDocFinalVersionB() 
 public byte getDocMajorNo() 
 public byte getDocMinorNo() 
 public String getLastEditUsername() 
 public long getReleaseVersion() 
 public  void setCurrentEditOffset(long id) 
 public  void setLastEditUsername(String u) 
 public  void setReleaseVersion(long rv) 
 public  void writeOut(OutputStream out) throws IOException 
    Writes ourselves back out
 public  void writeToFS(POIFSFileSystem fs) throws IOException 
    Writes ourselves back out to a filesystem