public class CurrentUserAtom extends Object
Modifier and Type | Field and Description |
---|---|
static byte[] |
atomHeader
Standard Atom header
|
static byte[] |
encHeaderToken
The PowerPoint magic number for an encrytpted 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 and Description |
---|
CurrentUserAtom()
Create a new Current User Atom
|
CurrentUserAtom(byte[] b)
Create things from the bytes
|
CurrentUserAtom(DirectoryNode dir)
Find the Current User in the filesystem, and create from that
|
CurrentUserAtom(POIFSFileSystem fs)
Find the Current User in the filesystem, and create from that
|
Modifier and Type | Method and Description |
---|---|
long |
getCurrentEditOffset()
Points to the UserEditAtom
|
int |
getDocFinalVersion() |
byte |
getDocMajorNo() |
byte |
getDocMinorNo() |
String |
getLastEditUsername() |
long |
getReleaseVersion() |
void |
setCurrentEditOffset(long id) |
void |
setLastEditUsername(String u) |
void |
setReleaseVersion(long rv) |
void |
writeOut(OutputStream out)
Writes ourselves back out
|
void |
writeToFS(POIFSFileSystem fs)
Writes ourselves back out to a filesystem
|
public static final byte[] atomHeader
public static final byte[] headerToken
public static final byte[] encHeaderToken
public static final byte[] ppt97FileVer
public CurrentUserAtom()
public CurrentUserAtom(POIFSFileSystem fs) throws IOException
IOException
public CurrentUserAtom(DirectoryNode dir) throws IOException
IOException
public CurrentUserAtom(byte[] b)
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 String getLastEditUsername()
public void setLastEditUsername(String u)
public void writeOut(OutputStream out) throws IOException
IOException
public void writeToFS(POIFSFileSystem fs) throws IOException
IOException
Copyright © 2020. All rights reserved.