Search found 5 matches
- Sat Mar 23, 2013 6:43 pm
- Forum: XLSReadWritwII 6
- Topic: Setting cell color without existing cell
- Replies: 1
- Views: 2199
Setting cell color without existing cell
This code generates an exception because there is no cell at A1: XLS := TXLSReadWriteII5.Create(nil); XLS.Sheets[0].Cell[0, 0].FillPatternForeColorRGB := 0; Earlier that was solved by setting LastCol and LastRow to a value. Now, these are not writeable any more. What is now the preferred method of c...
- Sun Jul 31, 2011 8:54 am
- Forum: XLSReadWriteII 3/4/5
- Topic: about SheetProtection
- Replies: 2
- Views: 3702
Re: about SheetProtection
[quote="vga"]I want to remove Protection of a xls file, [/quote] It seems that the current version erroneously inserts sheet protection into the xls file regardless of your code. I have already reported this as a bug. It has existed afaik at least since 4.00.49, but may be related to readi...
- Fri May 08, 2009 12:35 pm
- Forum: XLSSpreadSheet
- Topic: Painting a XLSSpreadSheet to a canvas?
- Replies: 0
- Views: 3500
Painting a XLSSpreadSheet to a canvas?
Hi! I have a PDF generator which allows me to paint to its TCanvas. Can XLSSpreadSheet be painted onto a TCanvas? Like XLSSpreadSheetInstance.PaintTo(PDFDocument.Canvas) ? I want to be able to generate PDF files from Excel sheets in the background, with no visible things for the user. For example: F...
- Fri Sep 05, 2008 10:56 am
- Forum: XLSReadWriteII 3/4/5
- Topic: TXLSColumn.GetPixelWidth Error using 3.01.05
- Replies: 1
- Views: 2003
Sheet.Columns
I think the error is in the reading of my XLS fil itself because the AV was caused by the Column being nil. Using MS Excel 2002, I create a new XLS file, just adding the text a, b and c to columns A, B and C respectively. When reading the file, the Sheet.Columns[] array are all nil although, the Las...
- Fri Sep 05, 2008 10:34 am
- Forum: XLSReadWriteII 3/4/5
- Topic: TXLSColumn.GetPixelWidth Error using 3.01.05
- Replies: 1
- Views: 2003
TXLSColumn.GetPixelWidth Error using 3.01.05
Please consider this test code with XLSReadWriteII2 version 3.01.05: FXLS := TXLSReadWriteII2.Create(Self); FXLS.FileName := 'test.xls'; FXLS.Read; Memo1.Lines.Add(IntToStr(FXLS.Sheets[0].Columns[0].PixelWidth)); I generates an AccessViolation on this line in Columns2.pas: Line 242: FFormats.Fonts[0...