Search found 9 matches

by aristeo
Thu Sep 26, 2019 10:18 am
Forum: AXWWriter and DOCXReadWrite
Topic: Trying delete first page from a DOCX
Replies: 1
Views: 5362

Trying delete first page from a DOCX

I'm trying delete first page of a document with this code: var i:Integer; Temp:String; begin F:TForm; with TDOCXReadWrite.Create(nil) do try LoadFromFile(Path); F:=TForm.Create(nil); try with TAXWPreviewVcl.Create(nil) do try Parent:=F; Document:=Editor; Paint; Editor.Pages.Delete(0); ShowMessage(In...
by aristeo
Mon Sep 23, 2019 8:58 pm
Forum: AXWWriter and DOCXReadWrite
Topic: How could I get the page count of a document?
Replies: 4
Views: 6361

How could I get the page count of a document?

I'm trying get the page count with this code, but the message returns 0

with TDOCXReadWrite.Create(nil) do
try
LoadFromFile(Path);
ShowMessage(IntToStr(Editor.Pages.Count));
finally
Free;
end;

How could I get the page count of a document? Thanks.
by aristeo
Wed Jul 24, 2019 6:26 am
Forum: XLSSpreadSheet
Topic: Fit page when printing (exporting to PDF) XLS
Replies: 0
Views: 7859

Fit page when printing (exporting to PDF) XLS

I have a XLS with 5 columns, and i want fit to page width. Is it possible? Thanks
by aristeo
Wed Feb 07, 2018 12:15 pm
Forum: XLSReadWritwII 6
Topic: Problem executing calculate method two times.
Replies: 4
Views: 3056

Re: Problem executing calculate method two times.

The issue occurs with XLS files. And the formula stored in C2 is "=B2"
by aristeo
Tue Feb 06, 2018 8:54 pm
Forum: XLSReadWritwII 6
Topic: Problem executing calculate method two times.
Replies: 4
Views: 3056

Re: Problem executing calculate method two times.

Could be a solution reset all formulas before executing Calculate the second time?
If yes, is thete any way to reset all formulas?
by aristeo
Tue Feb 06, 2018 8:24 pm
Forum: XLSReadWritwII 6
Topic: Problem executing calculate method two times.
Replies: 4
Views: 3056

Problem executing calculate method two times.

If I execute a code like this: with TXLSReadWriteII5.Create(nil) do try LoadFromFile('c:\tmp.xls'); Sheet[0].AsFloat[1,1]:=12; Calculate; //Shows the C2 formula content, and is a correct value ShowMessage(FloatToStr(Sheet[0].AsFloatRef['C2'])); Calculate; //Shows the C2 formula content, and is not c...
by aristeo
Mon Sep 18, 2017 7:59 am
Forum: XLSReadWritwII 6
Topic: Is XLSReadWriteII thread safe?
Replies: 1
Views: 2037

Is XLSReadWriteII thread safe?

We need use the component in threads, so is the component thread safe? Thank you
by aristeo
Mon Sep 18, 2017 7:54 am
Forum: XLSReadWritwII 6
Topic: Problem in a Delphi compiled DLL
Replies: 2
Views: 2449

Re: Problem in a Delphi compiled DLL

Ok, the problem is the message of demo version
by aristeo
Sun Sep 17, 2017 8:53 pm
Forum: XLSReadWritwII 6
Topic: Problem in a Delphi compiled DLL
Replies: 2
Views: 2449

Problem in a Delphi compiled DLL

With this instruction:

XLS:=TXLSReadWriteII5.Create(nil);

the dll Hangs. What's the problem?

In a compiled .EXE, this works ok. but not in DLL