Site Tools


New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)


Function to get a list of all topic files created for a linked Word document. This function only works for Word documents, not for FrameMaker documents.


To get the list of topics from a Word File:

var WordDocuments = RoboHelp.project.WordFileManager;
  for(var i=1;i<=WordDocuments.count;i++) {
    var topics = getLinkedFilesFromWordDocument(WordDocuments.item(i));


Parameter Data type Required Description
WordFile WordFile object True The linked Word File to get all topics for

Return Values

Value Meaning
null The specified resource is not a WordFile object
array List of paths to topics that are part of the WordFile (relative from project root)
linkedfiles/getlinkedfilesfromworddocument.txt · Last modified: 2020/02/26 17:10 (external edit)