# Sub Systems, Inc.

3017 Convington Place, Round Rock, TX 78681, Ph: 512-733-2525, Fax: 512-733-2204

## HTML Add-on Control

The HTML Add-on control offers a most cost effective method of incorporating an HTML viewer/editor into your application. This add-on product works with the TE Editor Control to display the HTML data.

#### HTML Markup Elements

The product supports the following categories of HTML markup elements:

- Header elements (H1 to H7).
- Character style modification elements.
- Lists: Ordered, unordered, menu and directory.
- Address, blockquote, citation, horizontal rule and preformatted text.
- Picture elements and image map.
- Hyperlink elements.
- Body, data header and title elements.
- Tables.
- HTML Forms
- HTML Frames

#### Data Source

The control accepts the HTML data in a disk file or a buffer.

#### Picture Formats

Currently the control supports the following picture formats:

BMP | MS Windows device independent bitmap format.
WMF | MS Windows placeable metafile format.
JPEG | JPEG Picture format
PNG | Portable Network Graphic Format

Picture Formats

The control also allows your application to use additional formats if they can be translated by your application into one of the supported formats. Sub Systems also offers additional free support for GIF, GIF animation and TIFF picture files when you have the Unisys license to use these formats.

#### Printing

The HTML text in the control can be printed to the current printer using the TER API function. The user can print the selected text or the entire file.

#### Rtf-to-HTML Translation

This product includes an API to convert the RTF text into HTML format. The HTML text can also be converted into the RTF format.

#### Interface with TE Developer's Kit

The HTML Add-on parses the HTML text and transmits it to the TE edit control. The TE edit control is responsible for text scrolling, printing, clipboard copying and handling the mouse clicks. When the user clicks on a hypertext region, the edit control sends the message to the HTML Add-on DLL to process the message. The HTML Add-on handles the local hyperlink jump internally without involving your application. The external hyperlink jump is conveyed to your application. Your application locates the new HTML file and uses the HTML Add-on API calls to load the new file into the viewer window.

As the HTML Add-on control needs TE Developer’s Kit to function, you also need to purchase a copy of TE Developer's Kit. Please refer to the TE Developer’s Kit brochure for the detailed information about TE edit control.

#### API Set

The following is an abbreviated list of API calls are available directly through the HTML Add-on DLL:

HtsClearWindow
  Clear the current viewer window.
HtsGetFont
  Retrieve the font information for an HTML style element.
HtsGetLinkInfo
  Retrieve the color and style information for the link text.
HtsLoadControl
  Load the HTML Add-on control.
HtsInitialize
  Initialize a TE editor window to work as an HTML viewer control.
HtsPositionName
  Position at a given tag name within the current document.
HtsRead
  Read an HTML document or a buffer containing HTML data into the specified TE window.
HtsSetFont
  Set new font attributes for an HTML style element.
HtsSetFontDlg
  Allow the user to edit the font attributes for a desired HTML style element.
HtsSetLinkInfo
  Set new text color and style for the link text.
HtsSetLinkInfoDlg
  Allow the user to edit the color and style for the link text.
HtsGetFormInfo
  Retrieve information about a form.
HtsGetFieldData
  Retrieve data for a field in a form.
  The product also includes a set of additional APIs to perform editing tasks.

#### Royalty Free

This product is royalty free for distribution provided that the target product is not a standalone HTML viewer or a standalone HTML writer.

#### Source Code

The package includes the complete source code compatible with the Microsoft and Borland C/C++ compilers.

## Price

$349.00

(Specify WIN32 or .NET)

### Call Now: 1-512-733-2525

### Sub Systems, Inc.

Limited 30 day money back guarantee. The source code diskette must remain sealed.