bennadel / poiutility.cfc Goto Github PK
View Code? Open in Web Editor NEWA ColdFusion component (and set of custom tags) for reading and writing XLS (Excel) documents in ColdFusion.
License: Other
A ColdFusion component (and set of custom tags) for reading and writing XLS (Excel) documents in ColdFusion.
License: Other
I have tried to implement the getCellComment() method in the PIOutility.cfc but I get a "method not found" error.
From the API documentation:
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Cell.html#getCellComment%28%29
Can anyone help?
Thank you,
Hi Ben,
The row custom tag only creates rows, doesn't perform a get, so when you're using a template, the given row is completely overwritten. You can fix this by replacing the existing create (roughly line 56) with the following;
<!--- Try Getting the row. --->
<cfset VARIABLES.Row = VARIABLES.SheetTag.Sheet.getRow( JavaCast( "int", (VARIABLES.SheetTag.RowIndex - 1) ) )>
<cfif ! StructKeyExists(Variables, "Row")>
<cfset VARIABLES.Row = VARIABLES.SheetTag.Sheet.CreateRow(
JavaCast( "int", (VARIABLES.SheetTag.RowIndex - 1) )
) />
</cfif>
It changing int value in export. For example query return value "204678549" but in exported excel is " 204678544". I not sure why, but it looks like because of DataMapValue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.