No. Using the delphi units coming with the OO SDK I was able to create
documents with OO.
I'm cannot.
The SampleCode.pas (from OO SDK 2.3 InsertTables example) compiling:
---
SampleCode.pas(145,18) Error: Illegal qualifier
SampleCode.pas(145,30) Error: Illegal expression
SampleCode.pas(145,30) Fatal: Syntax error, ";" expected but "(" found
---
The same just as when the Delphi-UNO compiling.
=========================================================
the second approach
When i have edit the sourcecode to (vvv - is Variant):
---
vvv :=
CoreReflection.forName('com.sun.star.beans.PropertyValue');
vvv.createObject(PrepertyValue);
---
then above errors have been vanished - also can't understand...
And the
---
PropertyValue.Name := 'ReadOnly';
PropertyValue.Value := true;
---
hav'nt compiled.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal