Parameter syntax:
[ [ '['dialog_box_title']' ]? [ '[processCommand='process_command_name']' ]? 'openFile'|'saveFile'|'openDirectory'|'saveDirectory'| 'openFileURL'|'saveFileURL'|'openDirectoryURL'|'saveDirectoryURL'| saveFileWithExtension=extension|saveFileURLWithExtension=extension[URL_template]? ]?
Variant of command selectFile specially designed to be used in Convert macro-commands such as docb.convertToHTML1, xhtml.convertToPS, etc.
Unlike command selectFile, this command is aware of the document being converted, which allows it to suggest smarter save file names/file URLs.
This command supports two more “modes”:
file extension, saveFileURLWithExtension=file extensionIdentical to mode saveFile [saveFileURL], except that, when no URL_template has been specified,
saveFile suggests the same file name/file URL as the document being converted, but with an "out" extension.
saveFileWithExtension= suggests the same file name/file URL as the document being converted but with a "foofoo" extension.
File extension must not be empty, must not start with a '.' and must not contain spaces or '.'.
This command also has a option [processCommand=. This option adds a "Document conversion parameters" panel to the dialog box. This panel allows to specify parameters for the first XSLT stylesheet (configuration element process_command_name]transform) having a named parameter group (configuration element parameterGroup) found in process command (configuration element command/process) having specified name.
Examples:
selectConvertedFile selectConvertedFile saveFile selectConvertedFile [Convert to WordML]saveFileWithExtension=wml selectConvertedFile [Choose An Icon] openFileURL http://www.acme.com/doc/images/logo.gif selectConvertedFile saveFileURLWithExtension=ps file:///tmp/article.pdfselectConvertedFile []
[processCommand=dita.toPS]
saveFileURLWithExtension=pdf
Note that when an | |
An empty | |
Process command <command name="dita.toPS">
<process>
...
<transform stylesheet="xsl/fo/fo.xsl" ...>
...
<parameterGroup name="dita.toPS.transformParameters" />
</transform>
</process>
</command> |