[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-user
Subject:    Re: Excel File With Macros - schedule
From:       "Andrew C. Oliver" <acoliver () apache ! org>
Date:       2002-05-21 17:03:55
[Download RAW message or body]

Alexandre Luti Telles wrote:

> On Tue, 21 May 2002 08:47:34 -0400
> "Andrew C. Oliver" <acoliver@apache.org> 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:poi-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:poi-user-help@jakarta.apache.org>
> 
> 
> 
> 




--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@jakarta.apache.org>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic