com.extentech.ExtenXLS.web
Class MemeDoc

java.lang.Object
  extended by com.extentech.ExtenXLS.DocumentHandle
      extended by com.extentech.ExtenDOC.DocHandle
          extended by com.extentech.ExtenXLS.web.MemeDocument
              extended by com.extentech.ExtenXLS.web.MemeDoc
All Implemented Interfaces:
Document, Handle, com.extentech.toolkit.LogOutputter
Direct Known Subclasses:
WebDoc

public class MemeDoc
extends MemeDocument

this is a Word Doc specific MemeDocument

Author:
john :: May 16, 2010 :: Copyright ©2010 Extentech Inc.

Field Summary
 
Fields inherited from class com.extentech.ExtenXLS.web.MemeDocument
ACCESS_STATUS_PRIVATE, ACCESS_STATUS_PUBLIC, ACCESS_STATUS_SHARED
 
Fields inherited from interface com.extentech.ExtenXLS.Document
ALLOWDUPES, DEBUG_HIGH, DEBUG_LOW, DEBUG_MEDIUM, SHAREDUPES, STRING_ENCODING_AUTO, STRING_ENCODING_COMPRESSED, STRING_ENCODING_UNICODE
 
Constructor Summary
MemeDoc()
          May 19, 2010
MemeDoc(Connection conn, File tempfile)
          May 19, 2010
MemeDoc(Connection conn, int intValue, boolean storeBookAsFile, boolean storeAsXML)
          May 20, 2010
MemeDoc(String tmpFilePath)
          May 20, 2010
 
Method Summary
 String getAllText()
          a simple testing method which returns all of the Document text as a String
 com.extentech.ExtenDOC.TextRangeHandle[] getTextRangeHandle()
           
 void write(OutputStream out)
          Saves the WorkBookHandle to this opened OutputStream If original file is Excel2007 Format, the template will be written in Excel 2007 (XLSX) Format.
 void write(String fname)
          Saves this WorkBookHandle to filename and path fname if the filename ends with ".xlsx" or ".xlsm", the template will be written in Excel 2007 (XLSX) Format.
 void write(String fname, boolean Excel2007Format)
          saves this WorkBookHandle to filename and path fname if Excel2007 Format, the template will be written in Excel 2007 (XLSX) Format.
 StringBuffer writeBytes(OutputStream bbout)
           
 
Methods inherited from class com.extentech.ExtenXLS.web.MemeDocument
addUser, appendOutputDir, bindData, createPage, deleteBook, deleteDoc, getAllDiffs, getBook, getConcurrentUsers, getConnection, getCryptPass, getDataFactory, getDatamapping, getDefaultFileString, getDescription, getFileName, getLatestDiff, getMemeId, getMemeType, getMessageManager, getNumPages, getOutputDir, getOwnerId, getPages, getRESTEmit, getRESTlog, getServerURL, getSession, getSharingAccess, getTempfile, getXMLStream, isPublic, isSaved, loadDataDefinition, loadDataDefinition, log, log, log, main, revert, save, setConnection, setCryptPass, setDataFactory, setDatamapping, setDescription, setMemeId, setMemeType, setMessageManager, setOutputDir, setOwnerId, setRESTlog, setSaved, setServerURL, setSession, setSharingAccess, setStoreAsXML, setStoreBookAsFile, setTempfile, storeAsXML, storeBookAsFile, storeDiff, storeNewDocument
 
Methods inherited from class com.extentech.ExtenDOC.DocHandle
addProperty, close, finalize, getBytes, getChart, getCharts, getFactory, getFormatHandles, getFormats, getName, getPage, getParagraphs, getProperties, getProperty, getTextRangeHandles, getVersion, getWorkingDirectory, getXHTML, reset, searchAndReplace, setDebugLevel, setDupeStringMode, setFileName, setName, setProperties, setProtected, setStringEncodingMode, setXHTML, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemeDoc

public MemeDoc()
May 19, 2010

Parameters:
conn -
tempfile -

MemeDoc

public MemeDoc(Connection conn,
               File tempfile)
May 19, 2010

Parameters:
conn -
tempfile -

MemeDoc

public MemeDoc(Connection conn,
               int intValue,
               boolean storeBookAsFile,
               boolean storeAsXML)
May 20, 2010

Parameters:
conn -
intValue -
storeBookAsFile -
storeAsXML -

MemeDoc

public MemeDoc(String tmpFilePath)
May 20, 2010

Parameters:
tmpFilePath -
Method Detail

write

public void write(OutputStream out)
Description copied from class: com.extentech.ExtenDOC.DocHandle
Saves the WorkBookHandle to this opened OutputStream If original file is Excel2007 Format, the template will be written in Excel 2007 (XLSX) Format. Otherwise, it will be written in Excel 2003 Format.

Overrides:
write in class com.extentech.ExtenDOC.DocHandle
Parameters:
out -
See Also:
DocHandle.write(java.io.OutputStream)

write

public void write(String fname,
                  boolean Excel2007Format)
Description copied from class: com.extentech.ExtenDOC.DocHandle
saves this WorkBookHandle to filename and path fname if Excel2007 Format, the template will be written in Excel 2007 (XLSX) Format. Otherwise, it will be written in Excel 2003 Format. NOTE: for Excel2007Format, if the file has an OOXML vba project, the file extension must be ".xlsm". It will be changed from ".xlsx" if necessary.

Overrides:
write in class com.extentech.ExtenDOC.DocHandle
Parameters:
fname -
Excel2007Format -
See Also:
DocHandle.write(java.lang.String, boolean)

write

public void write(String fname)
Description copied from class: com.extentech.ExtenDOC.DocHandle
Saves this WorkBookHandle to filename and path fname if the filename ends with ".xlsx" or ".xlsm", the template will be written in Excel 2007 (XLSX) Format. Otherwise, it will be written in Excel 2003 Format. NOTE: for Excel2007 Format, if the file has an OOXML vba project, the file extension must be ".xlsm". It will be changed from ".xlsx" if necessary.

Overrides:
write in class com.extentech.ExtenDOC.DocHandle
Parameters:
fname -
See Also:
DocHandle.write(java.lang.String)

writeBytes

public StringBuffer writeBytes(OutputStream bbout)
Specified by:
writeBytes in interface Document
Overrides:
writeBytes in class MemeDocument
Parameters:
bbout -
Returns:
See Also:
DocHandle.writeBytes(java.io.OutputStream)

getAllText

public String getAllText()
Description copied from class: com.extentech.ExtenDOC.DocHandle
a simple testing method which returns all of the Document text as a String

Overrides:
getAllText in class com.extentech.ExtenDOC.DocHandle
Returns:
See Also:
DocHandle.getAllText()

getTextRangeHandle

public com.extentech.ExtenDOC.TextRangeHandle[] getTextRangeHandle()
Returns:
See Also:
com.extentech.ExtenDOC.DocHandle#getTextRangeHandle()


Copyright © 2010 Extentech Inc. All Rights Reserved.