The OBJECT Element
The OBJECT element has the following functions:
•It gives the Authentic Browser Plug-in a name (via the id attribute).
•It selects which version of the Authentic Browser Plug-in to use (with the value of the classid attribute).
•It specifies a .CAB file and version number (codebase attribute). The .CAB file contains a DLL, which registers a COM object (the Authentic Browser Plug-in) with an ID that is the value of the classid attribute. Typically, both the 32-bit and 64-bit versions of the Authentic Browser Plug-in will be stored on the server. Each version is identified by a different file name. The codebase attribute specifies the file name of the required .CAB file (see code listing below). The Class IDs for 32-bit and 64-bit .CAB files are identical to each other and are as given in the table for various EN/DE and Trusted/Untrusted versions.
Filename for 32-bit version: AuthenticBrowserEdition.CAB
Filename for 64-bit version: AuthenticBrowserEdition_x64.CAB
•It specifies the dimension of the Authentic View window in the client's browser (via the style attribute).
•It can specify any number of parameters.
Sample OBJECT element
Given below is a sample HTML OBJECT element. It selects the Trusted Unicode version (with the value given in the classid attribute) and sets the dimensions of the Authentic View window in the client's browser to 600 x 500 pixels. All the attributes and parameters available to the OBJECT element are explained below.
Note: | The version number given below may not be the current version number. See codebase below for details. |
For 32-bit Authentic Browser Plug-in:
<OBJECT id="objPlugIn" style="WIDTH:600px; HEIGHT:500px"
codeBase="http://yourserver/cabfiles/AuthenticBrowserEdition.CAB#Version=12,3,0,0"
classid="clsid:B4628728-E3F0-44a2-BEC8-F838555AE780">
<PARAM NAME="XMLDataURL" VALUE="http://yourserver/OrgChart.xml">
<PARAM NAME="SPSDataURL" VALUE="http://yourserver/OrgChart.sps">
<PARAM NAME="SchemaDataURL" VALUE="http://yourserver/OrgChart.xsd">
</OBJECT>
For 64-bit Authentic Browser Plug-in:
<OBJECT id="objPlugIn" style="WIDTH:600px; HEIGHT:500px"
codeBase="http://yourserver/cabfiles/AuthenticBrowserEdition_x64.CAB#Version=12,3,0,0"
classid="clsid:B4628728-E3F0-44a2-BEC8-F838555AE780">
<PARAM NAME="XMLDataURL" VALUE="http://yourserver/OrgChart.xml">
<PARAM NAME="SPSDataURL" VALUE="http://yourserver/OrgChart.sps">
<PARAM NAME="SchemaDataURL" VALUE="http://yourserver/OrgChart.xsd">
</OBJECT>
id
The value of the id attribute is used as the name of the Authentic Browser Plug-in objects when these are used in scripts. For example, objPlugIn.SchemaLoadObject.URL is a call to the object that loads the schema file. See The SCRIPT element for more details.
style
This is the usual HTML style attribute, and is used to specify the dimensions of the Authentic View window in the client's browser.
The codebase attribute gives the location of the .CAB file. Note that there is a different .CAB file for the 32-bit Authentic Browser plug-in and for the 64-bit Authentic Browser Plug-in, named, respectively: AuthenticBrowserEdition.CAB and AuthenticBrowserEdition_x64.CAB.
The value of the optional #Version extension gives the version number of the component that is currently available on the server. If the client has an earlier version and a newer version is specified in the codebase attribute, the newer version is installed from the server. If the #Version extension is not specified, no update will take place until the component has been removed manually from the client. The current version number of the component is listed with the properties of the .dll file of the component's .CAB file (right-click the file and select the Properties command).
classid
The Class IDs for 32-bit and 64-bit .CAB files are identical to each other and are listed in the topic Authentic Browser Versions.
From version 5.0 onwards of the Browser Plug-in, the classid value for Unicode versions from versions 5.0 onwards is different from that of previous Unicode versions. So, if you are updating the Unicode .CAB file on your server from a version prior to 5.0, make sure that you change the classid values in your HTML files. Note also that if a new .CAB file on the server has the same CLSID as that of a .CAB file which has been installed previously on the client, then the new .CAB file will not automatically replace the old one on the client. You must remove the previously installed .CAB file before downloading the new .CAB file. The CLSID values of different language versions are different.
Parameters
Any number of the following parameters may be used.
LicServer
The name of the server for which the Authentic Browser Enterprise Edition license key is valid.
LicKey
The license key for validating the use of Authentic Browser Enterprise Edition.
LicCompany
The company name for validating the use of Authentic Browser Enterprise Edition.
XMLDataURL
An absolute URL that gives the location of the XML file to be edited. For the Untrusted versions, you can also use a full local path.
XMLDataSaveURL
An absolute URL that gives the location where the XML file is to be saved. For the Untrusted versions, you can also use a full local path.
SPSDataURL
An absolute URL that gives the location of the StyleVision Power Stylesheet (.sps file). For the Untrusted versions, you can also use a full local path.
SchemaDataURL
An absolute URL that gives the location of the associated schema file. For the Untrusted versions, you can also use a full local path.
TextStateBmpURL
The folder where bitmap image for text-state icons are to be stored.
TextStateToolbarLine
The toolbar line in which text-state icons are to be placed. The default is 1.
AutoHideUnusedCommandGroups
Determines whether unused toolbar command groups should be hidden. The default is True.
ToolbarsEnabled
Specifies general support for toolbars. The default is True.
ToolbarTooltipsEnabled
Speficies whether Tooltips are enabled or not.
HideSaveButton
If set to True, removes the Save button from the Authentic toolbar, which is visible by default.
BaseURL
Gives the base URL for use with relative paths.
SaveButtonUsePOST
If set to True, the HTTP POST command is used instead of a PUT when saving the document.
EntryHelpersEnabled
If set to True the Authentic entry helpers are visible
EntryHelperSize
Width of the entry helper window in pixels.
EntryHelperAlignment
Specifies the location of the entry helpers relative to the document window.
0 = Align toolbar at top of document
1 = Align toolbar at left of document
2 = Align toolbar at bottom of document
3 = Align toolbar at right of document
EntryHelperWindows
Selects which of the entry helper sub-windows are visible.
1 = Elements
2 = Attributes
4 = Entities
Any combination is allowed (bit-check)
SaveButtonAutoEnable
See Authentic.SaveButtonAutoEnable
LoaderSettingsFileURL
Gives the URL of the LoaderSettingsFile for package management.