OpenDITA

Opens a file as a DITA file, using the proper structure application.

Syntax

F_ApiCallClient("DITAFMX", "OpenDITA\tditaFileName");
ditaFileName
Path and file name of DITA file to open. Required.
Note: This DITA-FMx API function is available with all versions of DITA-FMx.

Return Value

0
Failure. Unable to open the specified file. It is also possible that DITA-FMx is not available for calls. Verify that DITA-FMx is registered in the maker.ini file using the client name of “ditafmx”.
<0
Failure.
>0
Success. Value returned represents the docId of the opened file.