Adobe 65030089 Scripting Guide - Page 18

importWordDoc, importFrameMakerDoc

Page 18 highlights

ROBOHELP 8 SCRIPTING GUIDE 14 Classes importWordDoc Description Imports a Word document into the current project. Returns Boolean Syntax importWordDoc (filePath, folderName, TOCName, addIndexToTopic, indexName, glossaryName) Parameters Parameter name filePath folderName TOCName addIndexToTopic indexName glossaryName Data type String String String Boolean String String Optional No No No No No No Description Absolute path of the Word document to import Relative path of the folder in the current project in which the Word document is to be imported Name of the existing or new TOC for the imported Word document Whether the index from the Word document is added to the imported topics or not If addIndexToTopic is false, this is the name of the existing or new index for the imported Word document. Name of the existing or new glossary for the imported Word document importFrameMakerDoc Description Imports a FrameMaker document into the current project. Returns Boolean Syntax importFrameMakerDoc (filePath, folderName, frameMakerTOCFilePath, TOCName, addIndexToTopic, indexName, glossaryName)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

14
ROBOHELP 8 SCRIPTING GUIDE
Classes
importWordDoc
Description
Imports a Word document into the current project.
Returns
Boolean
Syntax
importWordDoc (filePath, folderName, TOCName, addIndexToTopic, indexName, glossaryName)
Parameters
importFrameMakerDoc
Description
Imports a FrameMaker document into the current project.
Returns
Boolean
Syntax
importFrameMakerDoc (filePath, folderName, frameMakerTOCFilePath, TOCName, addIndexToTopic,
indexName, glossaryName)
Parameter name
Data type
Optional
Description
filePath
String
No
Absolute pat
h
of t
h
e Word document to
import
folderName
String
No
Relative pat
h
of t
h
e folder in t
h
e current
project in w
h
ic
h
t
h
e Word document is to be
imported
TOCName
String
No
Name of t
h
e existing or new TOC for t
h
e
imported Word document
addIndexToTopic
Boolean
No
W
h
et
h
er t
h
e index from t
h
e Word document
is added to t
h
e imported topics or not
indexName
String
No
If
addIndexToTopic
is false, t
h
is is t
h
e name
of t
h
e existing or new index for t
h
e imported
Word document.
glossaryName
String
No
Name of t
h
e existing or new glossary for t
h
e
imported Word document