User Tools

Site Tools


Sidebar

misc:loadlinkedfiles

loadLinkedFiles()

Function that loads all the project's linked files. Linked files are files created when linking a Word or FrameMaker document in RoboHelp. These files include topics, style sheets and images.

The linked files are loaded into the global variables LinkedFMDocs and LinkedWordDocs. Both variables hold single level array's with the relative path of the linked file. The path is relative to the project root.

The linked files are initialized when the method .isLinked() is first called.

To load the files, the script processes the project's RHLinkekDocs.apj file. Linked files are stored in memory to improve speed and to avoid having to parse the APJ files multiple times. Ff you use a script to update linked documents or link new documents, the linking information that is loaded becomes out of date. In that scenario, you can unload the linked files list (with the function unLoadLinkedFiles()).

Usage

if(currentProject != null)
  loadLinkedFiles();

Parameters

This function has no parameters.

Return Values

This function has no return values.

misc/loadlinkedfiles.txt · Last modified: 2017/05/25 13:24 (external edit)