Search found 8 matches

by timokhov
Tue Dec 21, 2021 8:58 pm
Forum: XLSReadWritwII 6
Topic: About TXLSReadWriteII5.LocalizedFormulas
Replies: 2
Views: 708

Re: About TXLSReadWriteII5.LocalizedFormulas

Hi, Larsa.

I'm user.
But there were no questions to ask.
Of couse I saw the code.
My question was - "Am I right saying that...".
Now I see that I'm right.

Thank you!
by timokhov
Mon Dec 20, 2021 1:49 pm
Forum: XLSReadWritwII 6
Topic: About TXLSReadWriteII5.LocalizedFormulas
Replies: 2
Views: 708

About TXLSReadWriteII5.LocalizedFormulas

Hi! I have a question about TXLSReadWriteII5.LocalizedFormulas property. I see that this property affects writing formulas: if LocalizedFormulas is FALSE, then I must use dot in numbers, and comma as list separator when I write formula using TXLSWorksheet.AsFormula. Owerwise I must use localized cha...
by timokhov
Fri Dec 14, 2018 7:51 pm
Forum: XLSReadWritwII 6
Topic: Wrap merged cells
Replies: 3
Views: 5774

Re: Wrap merged cells

As I know Excel itself cannot make row autoheight in case of merged cells with text wrap. The only way is to calculate and set row height directly. alexey.t, what was the solution of a problem? I'm simply interested, because I also sometimes have to solve problem with merged cells and text wrap. But...
by timokhov
Sun Nov 18, 2018 1:54 pm
Forum: XLSReadWritwII 6
Topic: Row Groups
Replies: 3
Views: 5750

Re: Row Groups

Hi Michael,

I do the same task like this:

Code: Select all

Xls[0].GroupRows(firstGroupRow, lastGroupRow, [b]False[/b]);
Xls[0].Rows.ToggleGrouped(lastGroupRow+1);
It works fine
by timokhov
Mon Nov 12, 2018 3:57 pm
Forum: XLSReadWritwII 6
Topic: Write XML buffer overflow exception
Replies: 4
Views: 5997

Re: Write XML buffer overflow exception

It looks like that maximum length of string is 32766, but not 32767. Simple example prooves it: const cMax = 32766; // no exception // cMax = 32767; // exception "Write XML buffer owerflow" occures. var xls: TXLSReadWriteII5; begin xls := TXLSReadWriteII5.Create(nil); xls[0].AsString[0,0] ...
by timokhov
Mon Nov 12, 2018 12:56 pm
Forum: XLSReadWritwII 6
Topic: Sujestion to developers about TXLSWorksheet.FreezePanes
Replies: 0
Views: 6006

Sujestion to developers about TXLSWorksheet.FreezePanes

If you call TXLSWorksheet.FreezePanes with two 0 arguments, then created XLSX cannot be read in Microsoft Office 2016 Professional Plus VL September 2018, v.16.0.4738.1000. I haven't investigated sources yet, but I think that TXLSWorksheet.FreezePanes should ignore two 0 arguments. Or description of...
by timokhov
Mon Nov 12, 2018 11:48 am
Forum: XLSReadWritwII 6
Topic: PageBreakPreview
Replies: 1
Views: 4339

Re: PageBreakPreview

Hello! Finally I get access to sources. And I know now how to do subj. May be it would be helpful for other developers. type TXLSWorksheetHack = class(TXLSWorksheet) end; var xls: TXLSReadWriteII5; i: integer; begin xls := TXLSReadWriteII5.Create(nil); ... fill xls for i := 0 to xls.Count-1 do TXLSW...
by timokhov
Thu Nov 01, 2018 3:26 pm
Forum: XLSReadWritwII 6
Topic: PageBreakPreview
Replies: 1
Views: 4339

PageBreakPreview

How can I set PageBreakPreview mode?

I only found this enumeration type in Package\D2007\Xc12DataWorksheet5.hpp:
"enum TXc12SheetViewType { x12svtNormal, x12svtPageBreakPreview, x12svtPageLayout };"

But I cannot understand - what property of Worksheet I must set.