Results 1 to 2 of 2
- 03-03-2011, 07:13 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 2
- Rep Power
- 0
Jexcelapi (protecting with password and removing all grids)
Hi guys,
I was working on converting some PHP excel program into Java (j2se). I used jexcelapi, so far I have not encountered any issue until I was trying to:
1.) protect workbook with password.
- I was able to protect the workbook, unfortunately I did not find anything in DOCS on how to protect it with password.
2.) remove all grids.
- I wanted to remove all grids. I can only remove the grid if I write into a cell, I don't want to do that... Still wasn't able to find anything on the DOCS...
I hope anybody of you here had experienced with the Jexcelapi. Also below I attached the code.
WritableSheet worksheet = this.excel.createSheet("HEADCOUNT ANALYSIS", 0);
SheetSettings sheet_settings = new SheetSettings(worksheet);
sheet_settings.setPrintGridLines(false);
sheet_settings.setPassword("test");
sheet_settings.setProtected(true);
sheet_settings.setShowGridLines(false);
worksheet.setProtected(true);
- 03-03-2011, 07:17 AM #2
Member
- Join Date
- Mar 2011
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Protecting a file
By PrinceSendai in forum JDBCReplies: 1Last Post: 10-22-2010, 07:15 AM -
Help with Arrays and Jexcelapi
By Psyclone in forum New To JavaReplies: 2Last Post: 01-30-2010, 05:25 PM -
Jexcelapi
By Psyclone in forum New To JavaReplies: 2Last Post: 01-29-2010, 08:21 AM -
protecting and tracking
By paul21 in forum Advanced JavaReplies: 3Last Post: 12-18-2009, 11:36 AM -
java grids
By mayhewj7 in forum New To JavaReplies: 1Last Post: 01-26-2009, 03:33 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks