poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51391] Macros gets altered/deleted while writing.
Date Mon, 20 Jun 2011 16:47:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51391

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO

--- Comment #5 from Yegor Kozlov <yegor@dinom.ru> 2011-06-20 16:47:45 UTC ---
Please upload the input file with macros. Without the problematic file we can't
do much to help you.

Yegor

(In reply to comment #4)
> (In reply to comment #1)
> > You must set the "preserve nodes" flag to true when opening a macro containing
> > workbook that you wish to write out again later
> > See the java docs, eg
> > http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFWorkbook.html#HSSFWorkbook(org.apache.poi.poifs.filesystem.POIFSFileSystem,%20boolean)
> 
> Dear Nick,
> 
> The implementaion calls following constructor create workbook object.
> 
> //passed ByteArrayInputStream, preseve node true.
> new HSSFWorkbook(inp, true);
> 
> Any further inputs?
> 
> Thanks & Regards,
> Pradeep

-- 
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


Mime
View raw message