|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.record.CurrentUserAtom
public class 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
Field Summary | |
---|---|
static byte[] |
atomHeader
Standard Atom header |
static byte[] |
encHeaderToken
The PowerPoint magic number for an encrypted file |
static byte[] |
headerToken
The PowerPoint magic number for a non-encrypted file |
static byte[] |
ppt97FileVer
The Powerpoint 97 version, major and minor numbers |
Constructor Summary | |
---|---|
CurrentUserAtom()
Create a new Current User Atom |
|
CurrentUserAtom(DirectoryNode dir)
Find the Current User in the filesystem, and create from that |
Method Summary | |
---|---|
long |
getCurrentEditOffset()
Points to the UserEditAtom |
int |
getDocFinalVersion()
|
byte |
getDocMajorNo()
|
byte |
getDocMinorNo()
|
java.lang.String |
getLastEditUsername()
|
long |
getReleaseVersion()
|
boolean |
isEncrypted()
|
void |
setCurrentEditOffset(long id)
|
void |
setEncrypted(boolean isEncrypted)
|
void |
setLastEditUsername(java.lang.String u)
|
void |
setReleaseVersion(long rv)
|
void |
writeOut(java.io.OutputStream out)
Writes ourselves back out |
void |
writeToFS(NPOIFSFileSystem fs)
Writes ourselves back out to a filesystem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte[] atomHeader
public static final byte[] headerToken
public static final byte[] encHeaderToken
public static final byte[] ppt97FileVer
Constructor Detail |
---|
public CurrentUserAtom()
public CurrentUserAtom(DirectoryNode dir) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int getDocFinalVersion()
public byte getDocMajorNo()
public byte getDocMinorNo()
public long getReleaseVersion()
public void setReleaseVersion(long rv)
public long getCurrentEditOffset()
public void setCurrentEditOffset(long id)
public java.lang.String getLastEditUsername()
public void setLastEditUsername(java.lang.String u)
public boolean isEncrypted()
public void setEncrypted(boolean isEncrypted)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public void writeToFS(NPOIFSFileSystem fs) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |