You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/02/13 22:50:55 UTC

DO NOT REPLY [Bug 46660] How to unhide a hidden Workbook?

https://issues.apache.org/bugzilla/show_bug.cgi?id=46660


Josh Micich <jo...@gildedtree.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Josh Micich <jo...@gildedtree.com>  2009-02-13 13:50:54 PST ---
Added in svn r744253 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=744253 )
New methods were added to Workbook interface

Some sample code:

InputStream is = new FileInputStream("HiddenTest.xls");
HSSFWorkbook wb = new HSSFWorkbook(is);
System.out.println("original hidden flag: " + wb.isHidden());
wb.setHidden(false);
OutputStream os = new FileOutputStream("NotHiddenNow.xls");
wb.write(os);
os.close();


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org