User Tools

Site Tools




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: 2018/04/02 12:06 by Willam van Weelden