Permalink
Browse files

Closes #32 - XLSX files cannot be deleted after using cfspreadsheet a…

…ction="read"

Closes #33 - ENH: SpreadsheetInfo/SpreadsheetAddInfo do not support xlsx files
Closes #36 - ENH: Add basic data type detection for SpreadsheetAddRows
Closes #37 - ENH: Populate template with SpreadsheetAddRows without losing formatting
Closes #38 - ENH: Support custom formatting with cfspreadsheet action="write|update"
  • Loading branch information...
1 parent 79415a9 commit f5cee94f17676c9393c1c55b783fb630c300eec3 Leigh committed Nov 28, 2011
@@ -31,7 +31,7 @@ component displayname="extension provider" output="false" {
QuerySetCell(apps,'support','https://github.com/andyj/RailoExtensionProvider/issues');
QuerySetCell(apps,'documentation','http://code.google.com/p/cfpoi/w/list');
QuerySetCell(apps,'created',CreateDate(2009,2,24));
- QuerySetCell(apps,'version',"v31");
+ QuerySetCell(apps,'version',"v32");
QuerySetCell(apps,'category',"Application");
QuerySetCell(apps,'download','#instance.thisAddress#/cfpoi.zip');
//QuerySetCell(apps,'download','https://github.com/andyj/RailoExtensionProvider/blob/master/cfpoi.zip');
View
Binary file not shown.
@@ -0,0 +1,9 @@
+<cffunction name="SpreadsheetClearCellRange" returntype="void" output="false">
+ <cfargument name="spreadsheet" type="org.cfpoi.spreadsheet.Spreadsheet" required="true" />
+ <cfargument name="startRow" type="numeric" required="true" />
+ <cfargument name="startColumn" type="numeric" required="true" />
+ <cfargument name="endRow" type="numeric" required="true" />
+ <cfargument name="endColumn" type="numeric" required="true" />
+
+ <cfset arguments.spreadsheet.clearCellRange( arguments.startRow, arguments.startColumn, arguments.endRow, arguments.endColumn ) />
+</cffunction>
@@ -4,6 +4,7 @@
<cfargument name="row" type="numeric" required="false" />
<cfargument name="column" type="numeric" required="false" />
<cfargument name="insert" type="boolean" default="true" />
+ <cfargument name="formats" type="struct" required="false" />
<cfset var args = StructNew() />
@@ -16,6 +17,9 @@
<cfif StructKeyExists(arguments, "column")>
<cfset args.column = arguments.column />
</cfif>
+ <cfif StructKeyExists(arguments, "formats")>
+ <cfset args.formats = arguments.formats />
+ </cfif>
<cfset arguments.spreadsheet.addRows(argumentcollection = args) />
</cffunction>
@@ -1,5 +1,5 @@
<!--- TODO: Validate sheet names --->
-<cffunction name="SpreadsheetCreateSheet" returntype="void" output="true">
+<cffunction name="SpreadsheetCreateSheet" returntype="void" output="false">
<cfargument name="spreadsheet" type="org.cfpoi.spreadsheet.Spreadsheet" required="true" />
<cfargument name="sheetName" type="string" required="false" hint="Name of the new sheet" />
Oops, something went wrong.

0 comments on commit f5cee94

Please sign in to comment.