installProfile parameter

Use the installProfile parameter to specify the name of a Java properties file used to specify installation settings for the editor.  This parameter is intended to be used by application writers who wish to alter the installation setting for one or more of the editor parameters.

 

Availability

query command
set command

 

Scope

Global.

 

Syntax

query installProfile
set installProfile [name] 

 

Parameters

name Use the name parameter to specify the name of the properties file that you wish to use to indicate the editor's installation settings.  name should include the package qualifier but not the .properties extension.

 

Description

If you do not specify a properties file, the editor will use com.ibm.lpex.core.Install.  This will locate the Install.properties file in the com.ibm.lpex.core package.

If you wish to provide your own properties file for editor installation settings you should set the installProfile parameter before creating any document views.

Any of the editor parameters that are available with the install parameter can have installation settings specified in the install profile.

Use the qualified install parameter as the key, and the desired setting as the corresponding value.  For example:

install.block.defaultType=stream
install.commandLine=on
install.expandHide=on
install.expandTabs=on
install.findText.asis=off
install.findText.block=off
install.findText.columns=off
install.findText.emphasis=on
install.findText.endColumn=100
install.findText.mark=off
install.findText.regularExpression=off
install.findText.startColumn=1
install.findText.wrap=on
install.messageLine=on
install.prefixArea=off
install.print.bottomMargin=25
install.print.font=screen
install.print.leftMargin=10
install.print.lineNumbers=off
install.print.rightMargin=10
install.print.tokenized=off
install.print.topMargin=25
install.save.trim=on
install.statusLine=on
install.tabs=1 every 8
install.updateProfile.baseProfile=lpex
install.updateProfile.parser=associated

 

Examples

query installProfile
set installProfile com.ibm.lpex.samples.Test
set installProfile 

Related reference
query command
set command
current parameter
default parameter
install parameter
block.defaultType parameter
defaultProfile parameter
Editor parameters