Solved

cf 9.01 spreadsheet -- inserting page break?

Posted on 2013-05-15
2
309 Views
Last Modified: 2013-05-30
Does anyone know how to insert a page break in a "spreadsheet" object created with cold fusion?
0
Comment
Question by:Javier_Arroyo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 39169121
That's not supported in CF. You'll have to use the POI stuff. Get a reference to the sheet object. Then insert a row or column break, wherever you want


<cfset yourObject = spreadSheetNew()>
....
<cfset theSheet = yourSpreadsheetObject.getWorkBook().getSheet("SomeSheetName")>
<cfset theSheet.setColumnBreak( columnNumber ) >
<cfset theSheet.setRowBreak( rowNumber ) >

Open in new window


You may need to disable the auto page breaks first:

<cfset theSheet.setAutobreaks( false ) >

Open in new window

0
 

Author Closing Comment

by:Javier_Arroyo
ID: 39208739
This worked perfectly!!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question