Показать сообщение отдельно
Старый 17.07.2007, 12:15   #10  
PT is offline
PT
Участник
Аватар для PT
 
22 / 10 (1) +
Регистрация: 11.08.2004
Адрес: Сибирь
если не передавать параметры, то файл просто откроется по умолчанию...
вот параметры:

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 trueloads a new, untitled document from the given URL. If is falsetemplate 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 openedjumps to the position defined in JumpMark.
    *      
Password (String) – transfers a password for protected file.
    *      
ReadOnly (Boolean) – loads a read-only document
http://docs.sun.com/app/docs/doc/819...02?l=ru&a=view

и мне их надо передать через Массив последним параметром, вот только как???

Последний раз редактировалось PT; 17.07.2007 в 12:17.