|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.extentech.ExtenXLS.DocumentHandle
com.extentech.ExtenXLS.web.MemeDocument
com.extentech.ExtenXLS.web.MemeDoc
public class MemeDoc
this is a Word Doc specific MemeDocument
| Field Summary |
|---|
| Fields inherited from class com.extentech.ExtenXLS.web.MemeDocument |
|---|
ACCESS_STATUS_PRIVATE, ACCESS_STATUS_PUBLIC, ACCESS_STATUS_SHARED, FILE_TYPE_NATIVE, FILE_TYPE_XLS, FILE_TYPE_XLSX, FILE_TYPE_XMLSS, MEME_TYPE, STORAGE_LOCATION_DB, STORAGE_LOCATION_FILESYSTEM, STORAGE_LOCATION_S3 |
| Fields inherited from class com.extentech.ExtenXLS.DocumentHandle |
|---|
FORMAT_NATIVE |
| Fields inherited from interface com.extentech.ExtenXLS.Document |
|---|
DEBUG_HIGH, DEBUG_LOW, DEBUG_MEDIUM |
| Constructor Summary | |
|---|---|
MemeDoc()
May 19, 2010 |
|
MemeDoc(Connection conn,
File tempfile)
May 19, 2010 |
|
MemeDoc(Connection cx,
int memeid)
May 20, 2010 |
|
MemeDoc(com.extentech.ExtenDOC.DocHandle doc)
May 31, 2011 |
|
MemeDoc(InputStream input)
|
|
MemeDoc(String tmpFilePath)
May 20, 2010 |
|
MemeDoc(com.extentech.security.User user)
Jun 1, 2011 |
|
| Method Summary | |
|---|---|
void |
close()
|
String |
getAllStringsInDocument()
|
String |
getAllText()
|
String |
getFileExtension()
Gets the file name extension for this document's native format. |
int |
getFormat()
Gets the constant representing this document's native format. |
com.extentech.ExtenDOC.TextRangeHandle[] |
getTextRangeHandle()
|
String |
getXML()
get the xhtml for this document |
void |
load(int memeid)
initialize the WorkBook from underlying data |
void |
reset()
Resets the document state to what it was when it was loaded. |
DocumentHandle |
revert()
retrieve the latest from the db and replaces current workbook |
void |
write(OutputStream out)
Writes the document to the given stream in its native format. |
void |
write(OutputStream dest,
int format)
Writes the document to the given stream in the requested format. |
void |
write(String fname)
|
void |
write(String fname,
boolean Excel2007Format)
|
StringBuffer |
writeBytes(OutputStream bbout)
|
| Methods inherited from class com.extentech.ExtenXLS.DocumentHandle |
|---|
addProperty, getFileName, getInstance, getName, getProperties, getProperty, getVersion, setDebugLevel, setFileName, setName, setProperties, toString, write, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MemeDoc()
conn - tempfile -
public MemeDoc(Connection conn,
File tempfile)
throws IOException
conn - tempfile -
IOException
public MemeDoc(Connection cx,
int memeid)
conn - intValue - storeBookAsFile - storeAsXML - public MemeDoc(String tmpFilePath)
tmpFilePath - public MemeDoc(InputStream input)
public MemeDoc(com.extentech.ExtenDOC.DocHandle doc)
doc - public MemeDoc(com.extentech.security.User user)
user - | Method Detail |
|---|
public String getXML()
throws IOException
getXML in class MemeDocumentIOException
public void write(OutputStream out)
throws IOException
DocumentHandle
write in class DocumentHandleout -
IOExceptionDocumentHandle.write(java.io.OutputStream)
public void write(String fname,
boolean Excel2007Format)
fname - Excel2007Format - com.extentech.ExtenDOC.DocHandle#write(java.lang.String, boolean)
public void write(String fname)
throws IOException
fname -
IOExceptioncom.extentech.ExtenDOC.DocHandle#write(java.lang.String)
public StringBuffer writeBytes(OutputStream bbout)
throws IOException
bbout -
IOExceptioncom.extentech.ExtenDOC.DocHandle#writeBytes(java.io.OutputStream)public String getAllText()
DocHandle.getAllText()public com.extentech.ExtenDOC.TextRangeHandle[] getTextRangeHandle()
com.extentech.ExtenDOC.DocHandle#getTextRangeHandle()public String getAllStringsInDocument()
getAllStringsInDocument in class MemeDocumentMemeDocument.getAllStringsInDocument()public void load(int memeid)
MemeDocument
load in class MemeDocumentMemeDocument.load(int)public DocumentHandle revert()
MemeDocument
revert in class MemeDocumentMemeDocument.revert()public String getFileExtension()
DocumentHandle
getFileExtension in class DocumentHandleDocumentHandle.getFileExtension()public int getFormat()
DocumentHandle
getFormat in class DocumentHandleDocumentHandle.getFormat()public void reset()
DocumentHandle
reset in interface Documentreset in class DocumentHandleDocumentHandle.reset()
public void write(OutputStream dest,
int format)
throws IOException
DocumentHandle
write in class DocumentHandledest - the stream to which the document should be writtenformat - the constant representing the desired output format
IOException - if an error occurs while writing to the streamDocumentHandle.write(java.io.OutputStream, int)
public void close()
throws IOException
IOExceptionCloseable.close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||