если не передавать параметры, то файл просто откроется по умолчанию...
вот параметры:
loadComponentFromURL Method Options
The fourth parameter of the loadComponentFromURL function is a PropertyValue data field. which provides StarOffice with various options for opening and creating documents. The data field must provide a PropertyValue structure for each option in which the name of the option is saved as a string as well as the associated value.
PHP код:
loadComponentFromURL supports the following options:
* AsTemplate (Boolean) – if true, loads a new, untitled document from the given URL. If is false, template files are loaded for editing.
* CharacterSet (String) – defines which set of characters a document is based on.
* FilterName (String) – specifies a special filter for the loadComponentFromURL function. The filter names available are defined in the \share\config\registry\instance\org\openoffice\office\TypeDetection.xml file.
* FilterOptions (String) – defines additional options for filters.
* JumpMark (String) – once a document has been opened, jumps to the position defined in JumpMark.
* Password (String) – transfers a password for a protected file.
* ReadOnly (Boolean) – loads a read-only document.
http://docs.sun.com/app/docs/doc/819...02?l=ru&a=view
и мне их надо передать через Массив последним параметром, вот только как???