Search found 20 matches

by DrTob
Tue Dec 15, 2015 4:02 pm
Forum: XLSReadWritwII 6
Topic: Load/Save a XLSX with picture in header
Replies: 1
Views: 2360

Load/Save a XLSX with picture in header

Load and save of a XLSX which has picture inside the header the results in a broken file.
by DrTob
Wed Oct 07, 2015 11:33 am
Forum: XLSReadWritwII 6
Topic: Reading cells with CR/LF
Replies: 1
Views: 2528

Reading cells with CR/LF

since the last version CR/LF in Cells of XLS-Files are destroyed while reading.
A Cell with the content

Code: Select all

1
2
3
results in Sheet.AsString[x,y] = "123"
by DrTob
Wed Sep 23, 2015 9:42 am
Forum: XLSReadWritwII 6
Topic: Adding autofilter to sheets with names with spaces
Replies: 4
Views: 3556

Re: Adding autofilter to sheets with names with spaces

Same error with names containing a "-" (minus) and "(" / ")" (parentheses) and "!"
by DrTob
Wed Sep 23, 2015 8:53 am
Forum: XLSReadWritwII 6
Topic: Adding autofilter to sheets with names with spaces
Replies: 4
Views: 3556

Re: Adding autofilter to sheets with names with spaces

I know that the default name is "Sheet1", but I set the name of the first sheet to "Sheet Name". Then I try to add an autofilter.
by DrTob
Tue Sep 22, 2015 4:58 pm
Forum: XLSReadWritwII 6
Topic: Adding autofilter to sheets with names with spaces
Replies: 4
Views: 3556

Adding autofilter to sheets with names with spaces

The following Code crashes with Exception 'E4016: Uknown sheet name "Name"'.

Code: Select all

    with TXLSReadWriteII5.Create(self) do begin
        Sheets[0].Name := 'Sheet Name';
        Sheets[0].Autofilter.Add(0, 1, 1, 1);
    end;
by DrTob
Wed Apr 02, 2014 11:35 am
Forum: XLSReadWritwII 6
Topic: Drawing a chart
Replies: 6
Views: 4332

Re: Drawing a chart

Hello The next major version will be 6.00.00 in 2012 I ask how to create charts in XLSX (with XLSRWII4) Your answer was: "This will be fixed in Version 5"! You can however use charts if you have a template XLSX file with the charts. I've to create a variable number of charts with differen...
by DrTob
Wed Apr 02, 2014 8:32 am
Forum: XLSReadWritwII 6
Topic: Drawing a chart
Replies: 6
Views: 4332

Re: Drawing a chart

When can I expect it? What do you call "major Update"? Version 5.30?
by DrTob
Tue Apr 01, 2014 12:17 pm
Forum: XLSReadWritwII 6
Topic: Drawing a chart
Replies: 6
Views: 4332

Re: Drawing a chart

I have to create charts, too.

The sample sets XLS.Version to xvExcel97 and uses XLS.BIFF. I use XLSX-Format. The sample does not work, because XLS.BIFF is nil.

How do I create Charts with XLS.Version = xvExcel2007?
by DrTob
Tue Apr 01, 2014 9:14 am
Forum: XLSReadWritwII 6
Topic: CalcDimensionsEx does not work
Replies: 1
Views: 1888

CalcDimensionsEx does not work

The procedure TXLSWorksheet.CalcDimensionsEx does not work correct. first Xc12Sheet.Dimension is assigned to Area, then area is set to max-Values. After that the method iterates over the cells and adjusts the area, when the cell is not inside of FXc12Sheet.Dimension (Area should be the right variabl...
by DrTob
Mon Mar 31, 2014 1:31 pm
Forum: XLSReadWritwII 6
Topic: SST is NIL while trying to create borders
Replies: 1
Views: 2359

SST is NIL while trying to create borders

I try to create borders around some cells with the following code: 0: FSheet.AsString[x,y] := ''; //"Create" cell 1: MakeBorder(FSheet.Cell[x,y]); procedure TqsmComarisonViewXLSExport.MakeBorder(const ACell: TXLSCell); begin 2: ACell.BorderLeftStyle := cbsThin; 3: ACell.BorderLeftColor := ...
by DrTob
Fri Mar 28, 2014 11:39 am
Forum: XLSReadWritwII 6
Topic: IndexColorToXc12 uses DefaultIndexColorPalette
Replies: 1
Views: 1968

IndexColorToXc12 uses DefaultIndexColorPalette

I tryed to set the FillPatternForeColor with an user defined indexed color. But I always got the wrong colors. While debugging through the XLSRWII5-Code, I realized that IndexColorToXc12 uses the TXc12DefaultIndexColorPalette instead of the TXc12IndexColorPalette which contains my colors. I bypass t...
by DrTob
Mon Jan 06, 2014 2:11 pm
Forum: XLSReadWriteII 3/4/5
Topic: Setting LabelFrequency of a chart
Replies: 2
Views: 11065

Re: Setting LabelFrequency of a chart

Hello, i've figured out, that the right setting is Sheet.PlotArea.CategoryAxis.CatSerAxisScaling.LabelsFrequency however I'm not able to set this Value in a new created file. If I open a created file in EXCEL (2013), the "best fitting" value is selected. If I save the File (without any cha...
by DrTob
Mon Dec 16, 2013 4:24 pm
Forum: XLSReadWriteII 3/4/5
Topic: Setting LabelFrequency of a chart
Replies: 2
Views: 11065

Setting LabelFrequency of a chart

I create a new Chart on a sheet with sheet.Charts.Add(sheet.Index); everything works well. But if I have many values excel only prints every second (or less) label. If tried to set the label frequency with: chart.PlotArea.SerieAxis.CatSerAxisScaling.LabelsFrequency := 1; but this results in an Error...
by DrTob
Mon Oct 07, 2013 2:50 pm
Forum: XLSReadWritwII 6
Topic: Adding Autofilter & Frozen Panes
Replies: 2
Views: 2288

Re: Adding Autofilter & Frozen Panes

still not solved...
by DrTob
Thu Sep 05, 2013 9:03 am
Forum: XLSReadWritwII 6
Topic: Adding Autofilter & Frozen Panes
Replies: 2
Views: 2288

Adding Autofilter & Frozen Panes

in XLSReadWriteII4 I add an autofilter with XLS.Sheet[0].Autofilters.Add(0, 4, 3, 4); in Version 5 the method "ADD" does not exist. How can I create an autofilter in XLSReadWriteII5? In my existing Code, I can Create fixed header rows with to following code: sheet.Pane.SplitColX := 0; shee...