Michael Jeier schrieb:
Hi there!
I want to know something specific about the dispatcher command
"InsertSheetFromFile". It should work like this:

dispatcher.executeDispatch(document, ".uno:InsertSheetFromFile", "", 0,
Array())

Now, that's fine, but there's absolutely no documentation whatsover of how
to fill that fourth array parameter. The array should be filled with
PropertyValue-
Objects which take Name and Value variables. But absolutely nowhere is
described
what should actually be in there.

Can anybody help me on this??
Hi Michael,

The command ".uno:InsertSheetFromFile" (FID_INS_TABLE_EXT) supports two arguments.

Name  Type   Internal define
----------------------------
Name  String FID_INS_TABLE
Index long   FN_PARAM_1

I think, although I am not sure, the parameter "Name" specifies a file URL referencing the spreadsheet document. I hope that someone from the Calc team can give you more information.

Regards,
Carsten

--
Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to