Yes, it does, and that actually seems to work. It's in my code just above the line I posted. I've tried a few other functions, and all fail when they actually attempt to call workbook methods.
I also tried creating it as an object
---------------
<cfobject name="objExcel" component="cfc.cfHSSF">
<cfinvoke component="#objExcel#" method="init" returnvariable="XLDocs"></cf
<cfinvoke component="#objExcel#" method="createSheet" returnvariable="XLSheet" workbook="TestWB" sheetName="TestSheet"></cfin
--------------
but with the same results.
I got a response from the hosting company this morning, telling me they're running version poi-2.5.1-final-20040804.j
I am a newbie with HSSF, and also relatively new to cf components, so I could still certainly be doing something wrong.
Main Topics
Browse All Topics





by: duncancummingPosted on 2009-11-04 at 11:31:42ID: 25742959
can you call other functions in the cfHSSF component? I'm guessing it maybe has an init() method for example.