Package org.apache.poi.hslf.record
Class CurrentUserAtom
java.lang.Object
org.apache.poi.hslf.record.CurrentUserAtom
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 Summary
ConstructorsConstructorDescriptionCreate a new Current User AtomFind the Current User in the filesystem, and create from that -
Method Summary
Modifier and TypeMethodDescriptionlongPoints to the UserEditAtomintbytebytelongbooleanvoidsetCurrentEditOffset(long id) voidsetEncrypted(boolean isEncrypted) voidvoidsetReleaseVersion(long rv) voidwriteOut(OutputStream out) Writes ourselves back outvoidWrites ourselves back out to a filesystem
-
Constructor Details
-
CurrentUserAtom
public CurrentUserAtom()Create a new Current User Atom -
CurrentUserAtom
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
-
setLastEditUsername
-
isEncrypted
public boolean isEncrypted() -
setEncrypted
public void setEncrypted(boolean isEncrypted) -
writeOut
Writes ourselves back out- Throws:
IOException
-
writeToFS
Writes ourselves back out to a filesystem- Throws:
IOException
-