Adobe 65030089 Scripting Guide - Page 11

newProjectImport

Page 11 highlights

ROBOHELP 8 SCRIPTING GUIDE 7 Classes Parameters Parameter name template projectName projectPath title firstTopic language saveSettings Data type String Optional No String No String No String Yes String Yes Integer constant Yes Boolean Yes Description Name of the template or full path to the Template.hpr file. Specify an empty string to create a blank project. Name of the project Full path to the location where the project will be created Title of the project Title of the first topic Lanuage for the project Saves the specified language as the default language for new projects newProjectImport Description Creates a project from a DITA map. Returns Project Syntax newProjectImport (projectName, outputFolder, DITAOTHomeDirectory, ditavalFile, topHeader, bodyHeader, bodyFooter, xslFile, indexShow) Parameters Parameter name projectName outputFolder DITAOTHomeDirectory ditavalFile topHeader bodyHeader Data type String String String String String String Optional No No No Yes Yes Yes Description Full path to the DITA map file Full folder path where the project will be created Full path to the DITA Open Toolkit home directory Full path to the Ditaval file for filtered processing Full path to the file containing XHTML to place in the header area of the output file Full path to the file containing XHTML to place in the body running-header area of the output file

  • 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

7
ROBOHELP 8 SCRIPTING GUIDE
Classes
Parameters
newProjectImport
Description
Creates a project from a DITA map.
Returns
Project
Syntax
newProjectImport (projectName, outputFolder, DITAOTHomeDirectory, ditavalFile, topHeader,
bodyHeader, bodyFooter, xslFile, indexShow)
Parameters
Parameter name
Data type
Optional
Description
template
String
No
Name of t
h
e template or full pat
h
to t
h
e
Template.
h
pr file. Specify an empty string to
create a blank project.
projectName
String
No
Name of t
h
e project
projectPath
String
No
Full pat
h
to t
h
e location w
h
ere t
h
e project will
be created
title
String
Yes
Title of t
h
e project
firstTopic
String
Yes
Title of t
h
e first topic
language
Integer constant
Yes
Lanuage for t
h
e project
saveSettings
Boolean
Yes
Saves t
h
e specified language as t
h
e default
language for new projects
Parameter name
Data type
Optional
Description
projectName
String
No
Full pat
h
to t
h
e DITA map file
outputFolder
String
No
Full folder pat
h
w
h
ere t
h
e project will be
created
DITAOTHomeDirectory
String
No
Full pat
h
to t
h
e DITA Open Toolkit
h
ome
directory
ditavalFile
String
Yes
Full pat
h
to t
h
e Ditaval file for filtered
processing
topHeader
String
Yes
Full pat
h
to t
h
e file containing XHTML to place
in t
h
e
h
eader area of t
h
e output file
bodyHeader
String
Yes
Full pat
h
to t
h
e file containing XHTML to place
in t
h
e body running-
h
eader area of t
h
e output
file