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 TypeMethodDescriptionlong
Points to the UserEditAtomint
byte
byte
long
boolean
void
setCurrentEditOffset
(long id) void
setEncrypted
(boolean isEncrypted) void
void
setReleaseVersion
(long rv) void
writeOut
(OutputStream out) Writes ourselves back outvoid
Writes 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
-