Alexandre Luti Telles wrote: >On Tue, 21 May 2002 08:47:34 -0400 >"Andrew C. Oliver" <[EMAIL PROTECTED]> wrote: > > > >>Start with o.a.c.p.h.usermodel.HSSFWorkbook/o.a.c.p.h.model.Workbook. >> Anywhere there are calls to org.apache.poi.poifs.* make sure its >>getting ALL files (within the OLE 2 CDF) and not just "Workbook" -- >>According to my understanding the Macros are stored as seperate "files" >>in the XLS filesystem. Does that make sense? >> >> >Almost, the macros are in a separated folder, would not be too dificult to copy this >to the final file, but the buttons (normally who will call the macros) are inside the >"Workbook", and the POI aren't reading this yet. > >It's necessary to create new types of "records" (org.apache.poi.hssf.record) to store >the butons and combos. > >That's what I think, I didn't study this very deep. > HSSF should write those roughly where it found them so it shouldn't matter.
> > > > >>Romin Irani wrote: >> >> >> >>>Would someone point out to me what changes would i need to make in order to >>>preserve the macros that are present in the original EXCEL file. >>> >>>Thanks >>>Romin. >>> >>> >>> > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>