Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-22 Thread Thodoris
Thodoris wrote: I've used it for some time but never needed to lock a cell. Here is a piece of code that shows how to apply a format to a cell: Hope it helps. I think that by doing something like this: $format_bold-setLocked(); while creating the format could do the trick but it is not

Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-19 Thread Thodoris
Hey all, Any one use the PEAR Spreadsheet_Excel_Writer package? I need to know how to implement the setLocked method to lock out a cell, but can't figure out how this would be done. Do you add it as a format? But then how is it applied to a cell. It's not documented on the PEAR pages.

Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-19 Thread Skip Evans
Thodoris wrote: I've used it for some time but never needed to lock a cell. Here is a piece of code that shows how to apply a format to a cell: Hope it helps. I think that by doing something like this: $format_bold-setLocked(); while creating the format could do the trick but it is not

[PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-18 Thread Skip Evans
Hey all, Any one use the PEAR Spreadsheet_Excel_Writer package? I need to know how to implement the setLocked method to lock out a cell, but can't figure out how this would be done. Do you add it as a format? But then how is it applied to a cell. It's not documented on the PEAR pages. Any