<HEADER TEXT="TealDoc User's Manual" FONT=1 STYLE=UNDERLINE>

Program Version 4.12
Last Updated: March 28, 2001

<HRULE>
�Description

Thank you for trying TealDoc. A powerful but intuitive reader for standard PalmPilot document files. TealDoc offers advanced functionality such as bookmarks, automatic scrolling, imbedded images, rotate-able display, smooth scrolling, full view mode, tiny font, external application calling, and document linking.

<HRULE>
�Contents
This archive contains the following files:

Program files:

TEALDOC.PRC The TealDoc program file
MKTLDOC.EXE TealDoc creation/encoding/password utility
DEMODOC.PDB Sample PalmPilot document demonstrating features
DEMOIM.PDB Image data for sample document

Document files:

DOCDOC.PDF This document in Adobe Acrobat (PDF) format
DOCDOC.HTM This document in HTML format (sans images)
DOCDOC.PRC This document in TealDoc format
DOCDOC.SRC Sample source to the manual doc
REGISTER.HTM TealPoint Registration form in HTML format
REGISTER.TXT TealPoint Registration form in text format

<HRULE>
�Installing

Use the Palm Install Tool that comes with your organizer to install the program file TEALDOC.PRC. The Palm Install Tool can be found as an icon along the left hand side inside the Palm Desktop program on your desktop computer. For it to be useful, you'll also need to install some document files, available on our web site or most software archive sites like MemoWare.com or PalmGear HQ (http://www.palmgear.com/). This manual is provided in this archive as the PalmPilot document DOCDOC.PRC. A sample document DemoDoc is also provided. It demonstrates the image, link, and advanced capabilities in TealDoc. To view it, install both the files DEMODOC.PDB and DEMOIM.PDB.

Instructions on how to use the Palm installer are in the Palm Handbook that came with your Pilot, PalmPilot, or WorkPad.

On a Windows PC you can also use quick setup installer by double clicking on the SETUP.EXE installer program, and following the on screen prompts.

<HRULE>
�Terms used in this document

Hardware Buttons:

The four physical buttons (date, address, todo, and memo) on the bottom of the Palm.
Scroll Up/Down Buttons:
The physical rocker switch at the bottom center of the palm
Graffiti:

The special letter-like symbols you write on a Palm to enter text with your stylus.
Graffiti Entry Area:

The rectangular area at the bottom of the display screen where you can write letters in graffiti.
Silkscreen Buttons:

The four printed circular tap areas (Home, Menu, Calculator, and Find) to the left and right of the graffiti drawing area.
Menus:

The drop-down menus you get when tapping on the silkscreen menu button.

<HRULE>
�Using the Program

TealDoc is easy to use, and consists of two basic interface screens.
<HRULE>
�Document Selection Screen

The first screen, the Document selection screen, appears when you first run TealDoc. On it, is a list of all document files installed in the PalmPilot under the current category. To change or edit categories, tap on the category selection button in the upper right hand corner of the screen. To open a document for reading, simply tap on its name. You can also beam the document to another Palm, change its category, delete it, or rename it by changing the value of the highlighted action buttons at the bottom of the screen before tapping on a name.

By default, the document list is sorted alphabetically. You can also choose to sort the list by increasing or decreasing size or leave it unsorted for fast display if you have very many documents. To change the sort order, select the preferences menu. If you choose to sort the documents alphabetically, you can quickly scroll to documents starting with any letter by writing the graffiti stroke for that letter.

When you beam a document to another Palm, that Palm will also need a document reader to read the file. You can beam an evaluation copy of TealDoc to another Palm by using the Beam menu item in the standard PalmOS launcher screen. See your organizer's documentation for more information on beaming applications.

TealDoc documents can optionally show images from TealPaint-format image databases. While the document list normally shows the documents present on your Palm, you can also use it to display and manage the list of TealPaint-format databases that are installed. To see the list of image databases, change the popup list in the lower right from Docs to Pics.

Warning: Do not use the Palm Application launcher to delete documents, as the Palm OS groups files together under a single heading, and you can end up deleting all of your documents at once instead of the single one you wanted. Use the provided interface in TealDoc instead.

<HRULE>
�Document Browsing Screen

When you open a document file for reading, you are brought to the file-browsing screen, which is divided into two regions: a large display area at the top of the screen, and a control panel at the bottom.

<HRULE>
�Display Area

The display area shows a scrolling view of the current document. You can tap in the display area to either scroll the current window or to select text for copying into another program. There is a setting in TealDoc's preference screen (described later in this document) to change exactly which is done.

When in scrolling mode, tap in the top half of the screen to scroll up, the bottom half to scroll down. You can scroll either one line at a time, a quarter-page, half-page, three-fourths of a page, a full page, or a full page with a one-line overlap. This setting too can be found in the Preferences menu screen. If you hold down the pen when scrolling, the screen will continue to scroll. The closer to the top or bottom of the screen you go, the faster scrolling will occur in that direction.

In select mode, you can tap on text in a document and "drag-highlight" a selection to copy to the system text clipboard using the Copy menu.

<HRULE>
�Control Panels

The bottom of the browsing screen contains buttons and controls useful when reading a document. The control panel can be switched back and forth between two modes by tapping the % button or selecting the appropriate menu item:

<HRULE>
�Font/Find Panel

The font/find panel has buttons used to find text in the document or to change the current display font.

<HRULE>
�Scroll Panel

The scroll panel allows you to quickly move to a section of the document. It also contains controls for adjusting TealDoc's auto scroll feature, which lets automatically advances the display down a document like a television auto prompter.

Some controls appear on both panels, while others on only one panel.

<HRULE>
�Controls
<HRULE>
�Percentage Button

The third button from the left on both panels is the percentage button. This button serves two purposes. An addition to switching the control panel between its two states: the font/find panel, and the auto scroll panel, it displays the current screen location in the full document.
<HRULE>
�Close and Back Buttons

In the lower left corner of the document-browsing screen are two buttons. On the left, the close button, with an 'x', returns you to the document selection screen.

On the right is the return arrow. Tap on it to return to your last saved position after moving somewhere as the result of a find, clicking on a link, or seeking in the document using the drag bar on the scroll panel.

<HRULE>
�Finding Text

The set of three buttons to the right of the percentage button on the font/find panel are shaped like a magnifying glass and two arrows, and are for finding text in a document. Unlike the standard PalmOS find function accessible from the silk-screened "find" button, a find operation done using these buttons only searches the current document. From left to right, they are find-previous, find-new, and find-next. Tap on the find-new button the first time you do a search. Tap on one of the others to find the next occurrence of a previous search either above or below the current location in the document.

Find options include:

* Case Sensitive - Text capitalization must match
* Anchor Left - Text must be the start of a word
* Anchor Right - Text must be the end of a word
* Reverse Search - Search going backwards from the current position

If you select both anchor left and anchor right, then the entered text must be an isolated word, not a part of some other word. For instance, if you search for the text "and" normally, you might come up with "demand" or "handy" as possible matches. If you select the anchor left option, however, then "andy" or "Andrew" might match, but not "handy" or "Landrew". If you choose both anchor left and anchor right, then only the exact word "and" will match.

When performing a find operation, you can abort the find by pressing any hardware button, such as the page-up scroll button. Also, when entering text into the new-find dialog, the system cut, copy, and paste functions are accessible from a drop down menu.

<HRULE>
�Font Selection

Also on the font/find panel is the font selection button, which contains three 'AAA' letters. Tapping on it brings up a dialog allowing you to choose the current display font from the standard Palm display fonts, as well as a special monospaced tiny font. This is font serves two purposes. It is small, allowing for more text on screen than with the standard Palm fonts, and each character is of equal width, like on a typewriter, maintaining formatting of some documents which use spaces to align columns of text.

<HRULE>
�Screen Rotation

TealDoc supports a sideways-oriented display area. This allows easier access to the Palm's scroll buttons for one-handed operation. To rotate the display, tap on the screen rotation button, which is the circular arrow button on the right hand side of the font/find panel.

<HRULE>
�Full Screen Mode

Full Screen Mode allows you to minimize the control panel, freeing up the whole display for text. The full screen mode icon is shaped like a downward pointing arrow on the font/find panel. Tapping on the full screen mode icon will remove the panel, replacing it with a small square in the lower right hand corner of the display. Tapping on this square brings back the control panel to its former state.

<HRULE>
�Scroll Bar

The horizontal scroll bar on the scroll panel lets you quickly seek to another location in the document. Tap on the solid rectangle, or "knob" to drag the current position to another location, tap in the space to the right or left of the knob to scroll forwards or backwards one page.

<HRULE>
�AutoScroll

TealDoc provides an AutoScroll feature to allow you to conveniently step forward through a file in a hands-off operation. When autoscroll is on, the file automatically steps forward or backwards through the file line-by-line.

There are four buttons at the bottom of the scroll panel control auto-scroll operation. These are the auto-scroll control buttons. In the center between the four buttons is a speed bar that indicates the current forward or backwards speed. To the right of the control buttons is a small display bar showing the state and speed of the auto-scroll. When auto-scroll is active, the bar is solid. When inactive, the bar is hollow. The length of the bar indicates the scrolling speed and direction.

From left to right, the auto-scroll control buttons are STOP, GO, SLOWER (backward), and FASTER (forward). The four application buttons on the Pilot correspond to the autoscroll control buttons, and can be mapped to substitute for them in the Preferences Menu Screen. The application button can be made to control autoscroll when either the scroll panel is up, the font panel is up, all the time, or never.

<HRULE>
�Bookmarks

You can mark your current location in the file as a bookmark by creating a named bookmark using the button in the far lower right corner of the display. This button brings up a list of current bookmarks that work using the familiar category-selection interface. Select a bookmark to immediately move to that location.

Automatic bookmarks are imbedded into many document files using markers defined at the end of the file and enclosed in "<>" symbols. For instance, placing "<(BM)>" at the bottom of a document file will cause all other instances of "(BM)" in the document to be found when the document is scanned for bookmarks. The rest of the line of text following the mark is used as the bookmark's name.

TealDoc also supports more advanced automatic bookmarks, which can be defined with specific text that does not appear in the document itself.

Scanning for Bookmarks

By default, when a document file is first opened, it is automatically scanned for both such marks. A bookmark is automatically created for each instance found. As this will cause a slight delay when you open a new document for the first time, you may wish to turn this feature off. You can do so using the Preferences Menu, and perform the scan later using the Scan for Bookmarks menu item.

To manually scan for bookmarks, choose the Custom Scan option. Enter a search string and options, and when you click OK, TealDoc will automatically scan the file for the string entered and place a bookmark at each occurrence. The bookmark's name will be constructed from the following of optional elements:

* Some specified text
* The string being searched-for

* A specified count of characters found after the search string.
* An auto-incremented number starting at 1

A maximum of 50 bookmarks will be added in this manner each time.

When performing a scan operation, you can abort the scan by pressing any hardware button, such as the page-up button.

Editing Bookmarks

The Edit Bookmarks menu item brings up the Edit Bookmarks window, which allows you to rename and move individual bookmarks, as well as rename or delete them.

Sorting Bookmarks

The Sort Bookmarks menu item allows you to sort the current list of bookmarks either by alphabetical order, or by the order in which the appear in the document.

<HRULE>
�Preferences

TealDoc supports a number of options under the Preferences menu item, available on both the Document Selection and Browsing screens.

* Scroll Buttons

This setting changes how the up and down scroll buttons on the PalmPilot scroll a document being viewed by line, 1/4 Page, 1/2 Page, 3/4 Page, full page, or full page with a 1-line overlap.

* Screen Taps

This setting changes how tapping on the screen scrolls a document being viewed. It can scroll by line, 1/4 Page, 1/2 Page, 3/4 Page, full page, or full page with a 1-line overlap. You can also choose the Select option to allow you to drag-select (highlight) a region of text to subsequently copy to the system text clipboard using the drop down 'copy' menu.

* App buttons control autoscroll on

Normally, pressing any of the four PalmPilot Memo, To Do, Address, and Datebook buttons leaves TealDoc and starts a corresponding application. This option lets you override these buttons while within TealDoc, remapping their function to the Autoscroll Stop, Start, Slower, and Faster commands, making it easy to read documents in Pen-Free mode. Furthermore, you can choose to optionally have this functionality independently linked to which control panel is currently active, either the font/find control panel or scroll panel.

* Sort Document list

The document selection list can be sorted alphabetically or by file size. The 'unfiled' option simply lists the files in their order in memory, which is useful for faster text display when many documents are installed.

* Scan for bookmarks on open

When this option is checked, TealDoc scans a new document for bookmark tags and markers when it is first opened, adding any bookmarks it found to the document's bookmark list. If not checked, the document is just opened with no bookmarks, but these can be added manually later using the Scan for bookmarks menu.

* Force single space

When this option is checked, TealDoc ignores multiple line breaks in a document, treating them as one. Use this option to view a double-spaced document as single-spaced.

*
Decode Allow Graphics /Links/Tags

When this option is checked, TealDoc recognizes TealDoc's enhanced graphics, formatting, and link tags. When unchecked, TealDoc functions as a basic text-only browser, letting you see any embedded TealDoc-format tags and markers in the text.

* Support Global Find

When checked, the system global find command, accessible from the silkscreen find button, also searches TealDoc documents. Turning on this option can significantly slow down a Global Find if you have many or large documents, however, as every document installed gets scanned.

* Right Justify Text

Check this option to display text as right-justified. This option is useful for languages that read right-to-left such as Hebrew and is usually useful only when used in conjunction with a third-party language support program. TealDoc auto-detects when Hebrew Support, from Penticon Software, is active, and should automatically right justify any line beginning with a Hebrew character when this option is off. When set, this option instead automatically right-justifies all lines regardless of how they begin, but will not work with tap select mode active.

* Enable Grayscale

When checked, TealDoc opens up in grayscale mode on a PalmOS 3.0+ monochrome device, either with 4-shades or 16-shades depending on the PalmPilot model and Palm OS version. A PalmPilot with the DragonBall EZ processor (Palm IIIx, Palm V, Palm Vx, Visor) and OS 3.3 or higher is required for 16-shade mode. When in grayscale mode, color images in TealDoc documents are remapped to grayscale. This option has no effect on a color device.

* Smooth Scrolling

When checked, TealDoc implements smooth scrolling by smoothly moving the on-screen text up or down before filling in the newly-revealed text. This helps keep the reader from losing his or her place when scrolling from page to page, especially in autoscroll mode.

<HRULE>
�Special Features
<HRULE>
�Global Find

TealDoc supports the PalmPilot's Find button as an option. To activate it, check the appropriate checkmark in the Preferences screen. When you do so and do a search through the Find button, TealDoc will search all document files on your organizer whenever you do a global find. Note that this process can be quite slow, so you may not wish to have this option activated at all times.

<HRULE>
�Flash Rom Support

TealDoc supports read-only document files, such as those present in Flash Rom. Read-only files cannot have their bookmarks or details modified, and they may seek and scroll more slowly. For best results, open a document first in normal memory before moving it into flash. This allows TealDoc to scan the document for any embedded bookmarks, and generate an internal quick-index table for the document.

<HRULE>
�Sony Clie Support

On a Sony Clie, the jog wheel is mapped to the settings for the hardware scroll buttons, while page-scroll motion on the jog wheel always scrolls one full page.
<HRULE>
�Upgrading from other browsers

TealDoc uses the standard document file format on the PalmPilot. If you are using another document browser, TealDoc will use the same files, but categories will not be consistent between the two programs, as the document file format stores document names separate from the documents themselves.

SPECIAL NOTE

If you are using another document browser, it will likely have a Palm Creator ID that will cause it to be listed together with the document files in the Memory application. You will not be able to delete it separately from the document files without changing the ID using the instructions below.

To move files to be listed under TealDoc, chose All to TealDoc format to convert all document files currently loaded from the standard format to TealDoc's local format. When you do this, all the currently installed files will be marked as TealDoc files, and other browsers may not be able to read the files anymore. You can always convert them back using the All to public format menu choice.

You can also set the format of individual files on an individual basis using the Details dialog accessible from the menu in an open doc.

<HRULE>
�Security

On the document browsing screen, and Details menu allows you to set whether the current document should be considered "secret" and thus subject to the current palm secret record setting. Under PalmOS 3.5 or higher, TealDoc adds an extra Security menu for accessing the Palm's hidden and masked-record features. When hidden, private documents do not appear in the document list, while they are blanked out when private records are masked (OS3.5 only).
<HRULE>
�Oversized Images

Some TealDoc documents contain images that, when tapped, link to an oversized image larger than the display screen. These document open the oversized image window to display the image. On this screen, four screen buttons are present along the bottom of the document to scroll the display window around the larger image. You can also tap on the display area and drag it in a direction to pan around to another location as well.

<HRULE>
�Creating document Files
<HRULE>
�Normal Documents

TealDoc documents are made from plain ASCII text files, which are converted using a converter program. A number of excellent utilities by various authors exist for creating and transferring document files. MakeDoc was the original DOS program created for this purpose. MakeDocW is an excellent Windows program which does the same thing but using an intuitive graphical interface with many options. These programs are available at many software archives or from our web site. You can also use MKTLDOC (below) with no password options specified.

<HRULE>
�MKTLDOC - Protected Documents

Included in this archive is a simple program MKTLDOC, which can be used to make either protected or normal documents. Run this from a command line (DOS box) with the following syntax:

Usage:

MkTlDoc <input file name> <output file name> <Palm File Name> [options]

Where options are

/t = Use TealDoc Creator ID (Local format)
/p <password> = Password protect document
/P <password> = Password protect, password only needed once
/u <user id> = Link doc to HotSync User ID
/c = Encrypt document from export editing in a doc editor but don't require a password to read.

Example:

MkTlDoc MYTEXT.TXT MYTEXT.PDB "My Text" /P "Rosebud"

The /t TealDoc option causes the created file to be coded with TealDoc's Creator ID so that the file will be grouped by the Palm OS as a file meant specifically for TealDoc. Using the /t option makes the file unavailable to other doc readers as well.

The Password options allow you to specify that a password be entered before using the doc, either once or every time you open it.

The User ID options lets you create a document that will only open on a document with the specified user name or flash ID (for units with flash memory).

The encrypt option encodes the document so it can't be printed or read in a doc-editing program, but does not require a password to open in TealDoc. It also protects the document name, so that if it is renamed, it will not open.

<HRULE>
�Microsoft Word

To create TealDoc files from formatted documents like Microsoft Word files, export the files as plain text before attempting to convert them. For HTML files, MakeDocW also offers options to strip HTML tags from the document when converting them.

To add back some formatting and imagery to the documents special TealDoc tags can be inserted into the plain text file before converting them. Don't use MakeDocW's "Remove HTML Tags" option when inserting TealDoc tags. Further documentation on TealDoc's tags exists in an Appendix at the end of this document.

<HRULE>
�Imbedding Graphics/Links/Headers
<HRULE>
�Tag Overview

TealDoc supports imbedding of graphics into TealDoc documents, links to other places in the document, other documents, and even TealInfo folios. This is done by inserting special HTML-like tags into a text file before converting them into PalmPilot documents. When the Show Graphics/Links option is set in TealDoc preferences, these tags insert graphics and link buttons into a document. The graphics scroll up and down with the document, allowing the insertion of charts, illustrations, and figures into the text, perfect for creating catalogs, price guides, and technical documents.

TealDoc tags appear like HTML as text within less-than and greater-than symbols. The text begins with the name of the tag, followed by optional parameters. Text parameters should be enclosed in quotation marks. To include quotations marks within text parameters, use two adjacent quotation marks ("") for every desired quotation mark. Most of the time, tags should appear alone on a single line. This takes the format:

<TAGNAME PARAM1=VALUE PARAM2=VALUE>

Example:
<TEALPAINT SRC="Pictures" IMAGE=0>

<HRULE>
�Tag Placement

Normally, objects defined by tags are spaced out vertically on the screen. Occasionally, you may want to place tag objects side-by-side. To do this, place the tags next to each other with no spaces or between them.

By default, tag objects appear at the far left side of the screen with their top edge aligned with the line in which they are defined. Thus, in the above example, all your objects would appear on top of each other unless you explicitly move them. You can adjust the placement of graphic and link objects using the X and Y parameters to respectively move the tag from their default horizontal and vertical positions. X and Y must be positive values, moving the object to the right or down.

<LINK TEXT="Left" TAG="$A" X=20><LINK TEXT="Right" TAG="$B" X=40>

TRICK: you can fool the system into implementing a negative value for moving objects up or left by subtracting your offset from 65536. Thus, 65535 will shift the graphic by one pixel to the left. 65534 moves it two pixels.

A tag can follow text on line, but will always be placed at the far left edge unless it's manually shifted to another location. Any text following a tag, however, will always appear on a line below the tag object. Since the relative position of a tag definition in the line of text does not affect the tag object's placement, always place tags at the end of the line. To make text appear to the right of a tag object, insert the text before the tag definition, but leave space for where the tag object should go, and use the X parameter value to place the tag object in the correct location.

<HRULE>
�APPENDIX A - TealDoc Tag Reference

* TEALPAINT

Inserts a TealPaint picture, or even a subrectangle of pixels from a picture. Using subrectangles, you can use memory efficiently by packing multiple graphic elements into single TealPaint images and extract them individually to display in different parts of a document.

To create TealPaint pictures, use TealPaint or the Windows program TealPaint Image Manager that comes with TealPaint. For the images to appear properly both the document file and image database must be loaded properly.

The SRC parameter defines the name of the Image Database to use. This is the name of the file as it appears on the PalmPilot, (as in TealPaint) not necessarily the name of the file on the PC.

You define the subrectangle to grab using the parameters SX,SY,WIDTH,and HEIGHT. If you omit these, the whole source image will be grabbed. This will be placed into the document on the current line at the left edge, unless the X and Y parameters are used to offset the image to the right and downward.

TealPaint images can also be linked to another image larger than the screen in the same database by using the LINK tag. Typically, a small version of the full image is used as the main image. Tapping on the small image brings up the oversized image window so you can scroll around within the full sized picture. The larger image can be specified either as a FULLVIEW image, which is a moderately oversized single TealPaint image, or a SUPERMAP image, which is an image made up of individual 160x160 panels adding up to create a large image of practically unlimited size.

Required Parameters:

* SRC
Name of the source image database containing the picture.

Optional Parameters:

* IMAGE
Image number in the database of the image to use

* WIDTH
Width, in pixels, of the rectangle to grab (multiple of 8)

* HEIGHT
Height, in pixels, of the rectangle to grab

* SX
Horizontal offset of subrectangle to grab (multiple of 8)

* SY
Vertical offset of subrectangle to grab

* X

Horizontal screen offset from left edge to place image (multiple of 8)

* Y
Vertical screen offset from current line to place image

* LINK

Links the image to another oversized image which is opened in the oversize image window when tapped. Values can be LINK=SUPERMAP or LINK=FULLVIEW

* FULLIMAGE

Specifies the image number of the oversized image when linking to a Fullview image. Fullview images are limited to the Palm record maximum of 64k per image, which is about 240x240 pixels for a color image.

* SUPERIMAGE

Supermap images are made up of individual 160x160 images that are arranged in text reading order. For instance, for a 640x480 pixel image, 12 separate 160x160 pixel images need to be created and ordered from left to right and top to down. TealPaint Image Manager 3.80+ can cut up an image automatically for this purpose, as well as shrink it to screen size for the small "tappable" version. The SUPERIMAGE tag specifies the image number of the first of the 12 individual parts.

* SUPERX,SUPERY,FULLX,FULLY

Specifies the initial offset in pixels from the upper left hand corner in which to open the oversized image window. For instance, SUPERX=0 and SUPERY=0 will specify that the window always opens looking at the upper left hand corner of the oversized image. If neither value is specified, then the initial scroll position will depend on where the initial small picture was tapped, which makes sense if the small picture is a small representation of the oversized picture.

* SUPERWIDTH, FULLWIDTH

Specify the full width of the oversized Supermap or Fullview image.

* SUPERHEIGHT, FULLHEIGHT

Specify the full height of the oversized Supermap or Fullview image.

Example:

<TEALPAINT SRC="Pictures" IMAGE=0>

<TEALPAINT SRC="Pictures" IMAGE=0 LINK=FULLVIEW
FULLIMAGE=1 FULLWIDTH=200 FULLHEIGHT=200>

<TEALPAINT SRC="Pictures" IMAGE=0 LINK=SUPERMAP
SUPERIMAGE=1 SUPERWIDTH=640 SUPERHEIGHT=480>

* HRULE

Inserts a horizontal ruled line into the document. This is useful for dividing parts of a document in a way that works independent of the current font setting.

Optional Parameters:

* WIDTH
Width (length), in pixels, of the line (default 160)

* HEIGHT
Height (thickness), in pixels, of the line (default 2)

* X
Horizontal screen offset from left edge (default 0)

* Y
Vertical screen offset from top of current line (default 4)

* STYLE
"OUTLINE" or "SOLID" (default)

Example:

<HRULE STYLE=OUTLINE>

* LINK

Inserts a link button into the document that can be pressed to jump elsewhere into the document, into another document, or to launch another application.

You typically define a button by naming it using the TEXT parameter. Place a uniquely-named LABEL object (described below) elsewhere in the document where the LINK object will jump, and set the TAG parameter to the LABEL's name. If you wish to link to another document, the FILE parameter should also be defined to reference the name of the other document. You can also link to the name of a TealInfo folio, if TealInfo is installed. Note that the parameter is case-sensitive, and must exactly match the name of the FILE as it appears on the PalmPilot.

The TAG used to mark a document must be unique from any text within the document, as a standard 'find' command is used to locate the tag after a link is selected. By default, this search begins at the top of a file and proceeds downwards. You can optimize the search by using the START parameter to start the search elsewhere in the document, and the DIR parameter to search backwards, if appropriate.

LINK tags can also be used to launch other applications. Depending on what the called application supports, it can optionally be told to open up a specific document, image, or media file, and return back to TealDoc when closed. The application is specified by its 4-letter Creator-ID and the APP tag. It's calling mode is determined by the MODE tag and FILE tags.

Optional Parameters:

* TEXT
Text to draw within the button (default 'link')

* FONT
Font 0 (normal), 1 (bold), or 2 (large) to use for the text

* WIDTH
Width (length), in pixels, of the line (default 160)

* HEIGHT
Height (thickness), in pixels, of the line (default 2)

* X
Horizontal screen offset from left edge (default 0)

* Y
Vertical screen offset from top of current line (default 4)

* FILE

Name of document, folio, image, database to jump to (default = current doc)

* TAG
Name of label to find

* START

Position in document from START=0 to START=100 percent to initially seek or CURRENT. If TAG is not specified, tapping on this link will just go to the specified percentage.

* DIR
Find direction: DIR=FORWARD (default) or DIR=REVERSE

* STYLE

Drawing style for the button. Either STYLE=BOX (default), STYLE=UNDERLINE, or STYLE=BARE.

* APP

Specifies the Creator-ID of the application to launch, if not a TealDoc document. For instance, APP="TlPt" will open TealPaint. If missing, TealDoc will call the application who is the registered owner of the specified FILE.

* MODE

Specifies how the external app will be called. MODE=NORMAL will just launch the app normally, and will work with all applications. MODE=OPENDB will call the app with the SysCmdLaunchCmdOpenDB launch command, passing it the database specified by the FILE tag. Applications which support this launch command typically open the specified file for editing or playback. MODE=GOTO usually has a similar effect, but uses the SysCmdLaunchCmdGoTo launch command instead, which works on many programs which support global find. Lastly, the MODE=RETURN setting calls the app with the GOTO command as well, but places TealDoc's creator ID in the matchCustom field of the launch parameter block. TealPoint programs like TealPaint use this value to know to return to TealDoc when the passed image is closed.

Examples:

<LINK TEXT="Press Me" TAG="Contents" FILE="My Novels">

<LINK TEXT="AddressBook" APP="addr" MODE=NORMAL>

<LINK TEXT="Edit Picture" FILE="StatesIm" RECORD=0
APP="TlPt" MODE=RETURN>

<LINK TEXT="PostalCalc" APP="TlIf"
FILE="US Postal Calculator 2001" MODE=OPENDB>

* HEADER

Adds a text header in the specified text and options. (New for 2.5)

This option is designed to be used to create topic headers with specified justification much like the HTML <H1>...etc tags. Note that when justifying, alignment is relative to the X coordinate, if specified. For instance, if right justification is used, the text is rendered so the right edge of the text lines up onto the X coordinate.

Optional Parameters:

* TEXT
Text to draw for the header

* FONT
Font 0 (normal), 1 (bold), or 2 (large) to use for the text

* X
Horizontal screen position

* Y
Vertical screen offset from top of current line (default 0)

* STYLE
"NORMAL" (default), "UNDERLINE", or "INVERT"

* ALIGN
"LEFT" (default), "RIGHT", or "CENTER"

Example:

<HEADER TEXT="Contents" ALIGN=CENTER STYLE=UNDERLINE>

* BOOKMARK

Adds a bookmark at the current location when a bookmark autoscan is done

This option provides a way to insert invisible bookmarks in a file. It's similar to the standard method of inserting a marker at the end of the file, but both the marker and bookmark name are not normally visible in the file.

Optional Parameters:

* NAME
Name of the bookmark to add.

Example:

<BOOKMARK NAME="Contents" >

* LABEL

Inserts nonprinting text into a document to be used as a target for a link.

Required Parameters:

* NAME
Name of this label

Example:

<LABEL NAME="Contents">

<HRULE>
�APPENDIX B - Products

Visit us online at http://www.tealpoint.com for our complete product line, including:

TEALAGENT

A Palm data converter, installer, and web clipper, TealAgent intelligently formats local, network, and web-resident data for the Palm handhelds, converting them to standard TealDoc, TealMeal, and TealInfo files.

TEALDOC

A Doc format text reader that's nice... without the price! TealDoc reads thousands of free docs and ebooks on the web, and has exclusive support for images, link buttons, protected documents, and more.

TEALECHO

Palm text entry as it always should have been. Real-time preview in digital ink lets you see what you're writing, increasing speed and accuracy

TEALGLANCE

Keep the info you need the most at your fingertips. Shows date, time, upcoming appointments, and to-do items at power up.

TEALINFO

The reference library at your fingertips; TealInfo lets you make or browse from hundreds of free interactive TealInfo Folio files, which are mini information applets with lists, tables, popup windows, and more.

TEALLAUNCH

Lets you quickly launch your favorite apps and useful system and editing functions. Powerful button-programming features map functions and apps to hundreds of keypresses and keypress combos.

TEALLOCK

What the security app should have been: custom text and images, graffiti shortcuts for hide privates, show privates, and lock, and automatic locking when turned off or by time.

TEALMAGNIFY

Never squint at a phone number again. An ever-ready magnifying glass compatible with most any program.

TEALMASTER

A hackmaster-compatible system extensions manager with advanced features such as multiple profiles, hack priorities, delete-protection, and automatic timed reenable after system reset.

TEALMEAL

Answer the day's biggest question... where to go for lunch! A Restaurant chooser and editable database.

TEALMOVIE

Play movies and videos on your Palm with sound! Amazing system supports smooth video, sound playback, and full screen display. Includes windows encoder for making your own movies.

TEALNOTES

Sticky notes for your PalmPilot! Draw freehand notes, maps and doodles directly into your Memos, To-do entries, datebook entries--almost anywhere.

TEALPAINT

The most full-featured paint and sketch program on the Pilot. Includes 16 patterns, 12 brushes, paint bucket, magnified mode, text tool, lasso tool, screen-grabber, color and grayscale support and much more.

TEALPHONE

The better Address book app, with large, easy-to-see numbers, viewing by first, last, or company name, advanced searching, and more!

TEALPRINT

The all-in-one PalmPilot printing solution. Print both text and graphics to Infared, Serial, and Parallel Printers (with adapter), and even any Windows printer with exclusive 'HotSync' printing!

TEALSCRIPT

Graffiti reinvented; a replacement for the system text recognition system that allows you to tune, modify, and add your own strokes

TEALTOOLS

An invaluable collection of pop-up Palm Desk Accessories, including a pop- up calculator, lock/stopwatch, preferences panel, editing panel, memopad, and a file and backup manager.

<HRULE>
�APPENDIX C - Revision History
Release 4.12 March 28, 2001

* Added external program calling mechanism to open document, seeking to a tag.
* Added auto-detection of Hebrew text so right-justification automaticaly occurs with lines beginning with Hebrew characters if Penicon Hebrew Support is running
* Added workaround for bug in Penticon for display of parentheses in Hebrew documents
* Fixed clipping of text when running Penticon Hebrew font support
* Fixed restoring of document position after calling external program
* Fixed display scrambling from switching grayscale mode on/off
* Fixed selection of options on search screen
* Fixed crash selecting space below last item on document list

Release 4.00 March 10, 2001

* Added support for beaming documents
* Added full-screen view mode
* Added tiny monospaced custom font
* Added optional smooth scrolling support
* Added optional screen rotation
* Added support for Sony Clie jog dial

* Added support for cycling categories with app button if mapped to TealDoc
* Added option when adding bookmark to replace existing bookmark of same name
* Added support for "protected" encoded documents which don't require a passcode to view
* Added sort-by-size options for document list
* Added menu item to sort bookmarks by name or position
* Added bookmark edit dialog to move and modify bookmarks
* Added support for OS3.5 masked records feature
* Added security menu under OS3.5+
* Added cut/copy/paste menus to document search window
* Added on-screen indicator when "searching" or jumping to link
* Added 1/4 page, 1/2 page, and 3/4 page scrolling options
* Added preselect of bookmark name when renaming
* Added support for OS3.5 copy popup menu
* Added Double-buffered screen updates for snappy display.
* Added support for linked scrollable images with FULLVIEW and SUPERVIEW tabs
* Added support for LINK tags linking only to doc percentage
* Added support for locking docs to flash id instead of Hotsync Name
* Added error message if select mode chosen with right justification or screen rotation
* Added mechanism for adding document links to external programs
* Updated file size to round up to nearest kilobyte.
* Increased display update speed

* Fixed bug doing case-insensitive searches with upper case chars in string
* Fixed tap-and-hold proportional-speed scrolling
* Fixed START tag functionality for LINK tags
* Fixed extra OS record release call when opening image
* Fixed private record hiding when performing global search

Release 3.60 December 26, 2000
* Added screen indicator when scanning for bookmarks
* Added support for documents in Digital Owl Library format
* Added support for 2 and 4-bit images

* Added MKTLDOC document creation/protecting utility, replacing TLENCODE.EXE
* Added transparency to color icons for third party launchers with background color support

Release 3.47 May 29, 2000
* Added support for Palm OS 3.5
* Added support for basic text printing through TealPrint
* Added support for side-by-side link and graphic objects
* Added support for remapping color images when viewing on a monochrome device
* Added support for running in grayscale mode (for color TealPaint images)
* Added "Move list to category" menu item
* Added individual local/public format item in doc details dialog
* Added preselect of "find" text

* Added support for enhanced "find-hack" replacements using system find routines
* Added Backdrop EZ compatibility in drawing routines
* Added NT and long file name support to encoding utility
* Added support for protected documents keyed to a Hotsync User Name
* Added support for finding text in header tags
* Added color icon for Palm IIIc

* Removed reverse decoding feature in TlEncode; modified keys so new encoded docs are not reversible
* Rearranged menus for better consistency
* Fixed detecting documents in Visor flash
* Fixed crash changing categories in flash memory
* Fixed crash changing document type with Visor flash
* Fixed double-draw when changing categories
* Fixed overdraw of autoscroll controls after exiting when autoscroll is on
* Fixed crash reading documents with a trailing long HTML tag
* Fixed crash reading documents with bad seek tables created by Mobibook utilities
* Fixed global find bug looping when more than one page of hits

<HRULE>
�APPENDIX D - Credits
Manual by Vince Lee, Tex Tennison, and Diane Dybalski

<HRULE>
�APPENDIX E - Contact Info
TealDoc by TealPoint Software
(c)1998-2001 All Rights Reserved.

TealPoint Software
454 Las Gallinas Ave #318
San Rafael, CA 94903-3618
We look forward to hearing from you.

Please visit us at www.tealpoint.com, or email us at contact@tealpoint.com.
<HRULE>
�APPENDIX F - Registering

Currently, you may register by snail mail, electronically through our website with a credit card and a secured server, or through PalmGear HQ at 1-800-741-9070. For the first option, the enclosed registration form is provided for your convenience. You may use this form or simply send the following to the address above.

* Product Name
* E-Mail Address

* HotSync User ID (Pilot Name Required for Passkey generation. It can be found on the main screen of the HotSync application on the PalmPilot as "Welcome ________" or in the corner on a PalmIII or newer device)
* Check or Money Order for ($16.95 US) to TealPoint Software
<HRULE>
�Disclaimer

We at TealPoint Software are committed to providing quality, easy-to-use software. However, this product is provided without warranty and the user accepts full responsibility for any damages, consequential or otherwise, resulting from its use.

This archive is freely redistributable, provided it is made available only in its complete, unmodified form with no additional files and for noncommercial purposes only. Any other use must have prior written authorization from TealPoint Software.

Unauthorized commercial use includes, but is not limited to:
* A product for sale.
* Accompanying a product for sale.

* Accompanying a magazine, book or other publication for sale.
* Distribution with "Media", "Copying" or other incidental costs.
* Available for download with access or download fees.

This program may be used on a trial basis for 30 days. The program will continue to function afterwards. However, if after this time you wish to continue using it, please register with us for the nominal fee listed in the program.

<�>