═══ 1. Introduction ═══ Clearlook is a word processor designed exclusively for OS/2 Presentation Manager making wide use of OS/2's 32-bit architecture and multithreading capabilities. Clearlook's unique concept for structuring text documents allows the user to interact intuitively with powerful text objects. The history of Clearlook: Clearlook's leading designers have created custom made word processors for DOS since the early eighties. Years of careful observation of users' needs and intuitive responses were carefully coded to produce a series of evolving word processors that fulfilled the various specifications of Administrations and international organizations. When 32-bit OS/2 became available in 1992 the existing word processor was transferred to OS/2, but the designers were not content with the result. They decided to rewrite the word processor from scratch, blending a decade of experience creating word processors with the extraordinary capabilities of the new OS/2. Related information: o Status Window o Word Processor o Containers o Objects ═══ 2. Status Window ═══ The status window is primarily a container for text documents and one or multiple thesaurus objects. It also contains an object representing Clearlook's internal window list and setup window. Every opened document appears as an icon in the status window. Using the container's pop-up menus you can create additional objects and set them for a variety of functions: o Create Document (from templates) o Open Document o Status Window Menu Functions ═══ 2.1. Window List ═══ Clearlook's internal window list shows all open documents and service windows in decreasing order of their last access. The active window is listed on top, the previously active window below, and so on. Pressing Enter or double-clicking activates any window displayed in the list. Related information: o Switching Between Windows ═══ 2.1.1. Switching Between Windows ═══ o In document windows: Press F10 to switch to the status window at any time. By activating an object, the corresponding window receives the focus and is moved to the top. o In all windows: Clearlook maintains an internal window list, showing all open windows in decreasing sequence of their last access. Activate any Clearlook window through this window list. You can also use the following key combinations to switch between windows: o Keys Alt+2: Previously active window o Keys Alt+3: Third last active window o ......... o Keys Alt+9: Ninth last active window o Keys Alt+0: Origin window ═══ 2.2. Create Document ═══ Create a new, unnamed document with a default format and font using the status window's Text | New menu function. Set up document templates to customize format and predefined text. To use templates, create an object in the status window. In the setup dialog of this object, set the object's function to new (create object) and enter the path where the templates reside. Title this object Create Text. To create a new document, go to the status window and activate the object named Create Text. A list of all the document templates is presented. After choosing one, a new text document is created from the template. Related information: o Objects o Word Processor o Status Window Object Setup ═══ 2.3. Open Document ═══ Open text documents by using the status window's menu function Text | Open. To frequently access documents in a particular directory, you can create an object in the status window. In the setup dialog of this object, set the object's function to open (open object) and enter a directory path you want to access. Title the object Open Text. To access a document in that directory, go to the status window and activate the object named Open Text. A list of all the documents in the directory is presented. Related information: o Objects o Word Processor o Status Window Object Setup ═══ 2.4. Document Templates ═══ To create a document in a specific format, containing your logo or other preset features, use the document template function. A template is a document automatically copied into a new document. To use this feature, create a new document and pattern it as you want your template to look. Save this document, preferably in a specific directory for all templates, as for example, in a directory \TEMPLATE. To access the template, place a text object in the status window and configure it to create new documents. Whenever this text object is activated, the system displays a list of templates or a specified template to create your document. ═══ 2.5. Window of Origin ═══ A window is called window of origin, if it is the origin of another window. Whenever a text document is opened in the status window, the status window becomes the origin of this text window. All text documents have their origin in the status window. ═══ 2.6. Status Window Dialogs ═══ The pop-up menu of the status window accesses the following dialogs: o Status Window Object Setup o Thesaurus Object Setup ═══ 2.6.1. Status Window Object Setup ═══ The title you give an object serves your use only. The function defines the behavior of the object. Activating the object either opens or creates a file, depending on the function you specify: o If the function is set to create a file, the path specifies the working directory where the new file is placed. The field templates can be set to a path for document templates. o If the function is set to open a file, the path specifies the working directory where the files are found, or a complete path and file name of the file to be loaded. If multiple activate is checked, the object's functionality can be used repeatedly, as each activation creates a new object. ═══ 2.6.2. Thesaurus Object Setup ═══ The title you give the object serves your use only. With Language you define the desired language for the thesaurus. Note that your installation may not contain all the language data files for all possible choices. If you check Multiple open you can repeatedly click on the icon to open several copies of the thesaurus. ═══ 2.6.3. Dialog Fields ═══ o Title o Path o Document Template o Function o Multiple Activate ═══ 2.6.3.1. Title Field ═══ Choose any title you like for your objects. ═══ 2.6.3.2. Path Field ═══ If the object creates files (function set to new): When creating a new file, a dialog prompts you for a file name. At the same time the working directory is set to the path indicated in this field. If the object opens files (function set to open): o If no path is entered, the active directory is used to display a list of available files. o If a path with wild cards is entered, the selection defined by the wild cards is displayed. o If a complete path and file name are entered, the file is loaded immediately (if existing) without displaying of a choice of files. For documents frequently used, set up an object in the status window that contains the complete path and file name. ═══ 2.6.3.3. Document Template Field ═══ If a text object's function is to create documents, a template field appears. This field can contain a path (with or without wild cards), or the complete path and file name of a document used as template. (Paths without wild cards must be terminated by a backslash '\'): o Directory as path: Upon activation of the object, the content of the indicated directory is displayed, offering a choice of document templates. If a template is chosen, a new, unnamed document is created. The new document is a copy of the template. If you cancel the choice of templates, an empty, unnamed document with a default setup is created. o File name as path: Upon activation of the object, a new, unnamed document is created. The new document is a copy of the template specified in the path. ═══ 2.6.3.4. Function New/Open Field ═══ This field defines the basic behavior of an object: o If function is set to new, the object always creates a file when activated. The field document templates appears. Enter an optional path for templates. o If function is set to open, the object always opens an existing file. If the field path contains an existing path information with or without wild cards, a list of files is displayed. If the field path contains the complete path and file name of an existing file, this file is immediately loaded upon activation of the object. ═══ 2.6.3.5. Multiple Activate Field ═══ o If this field is not checked, activating the object executes its function and marks it as active. o If multiple activate is checked, a copy of the object is created. The copy then executes the object's function. The original object remains inactive and can be activated again. In an object that creates documents, selecting this option allows you to create any number of new documents by repeatedly activating the object. ═══ 2.7. Status Window Menu Functions ═══ The menu bar of the status window contains the functions Text and Help. Two further functions are sub-items of the system menu (the small icon in the upper left corner of the window). By clicking on this icon, the Setup and Cascade functions become available, in addition to the usual system menu functions. ═══ 2.7.1. Function Text ═══ Use this function to create text documents and open existing text documents. ═══ 2.7.1.1. Function New ═══ Creates a new, unnamed text document with a default format and font. Related information: o Create Document ═══ 2.7.1.2. Function Open ═══ Shows the contents of the active directory and lets you open a text document. Related information: o Open Document ═══ 2.7.2. Function Setup (system menu) ═══ Access this function by activating the status window's system menu (the small icon in the upper left corner of the status window). Set the font and view of the status window's container to your preference. ═══ 2.7.3. Function Cascade (system menu) ═══ The windows of all open documents are reset to the default size and displayed in a cascade. ═══ 3. Setup Window ═══ The objects in the setup window allow users to customize Clearlook: o Settings o Text Colors o Markings o Screen Colors o Hot Keys o Document Defaults ═══ 3.1. Settings Notebook ═══ o License o Preferences o Tabstops o Backup o Date and Time Format ═══ 3.1.1. License Dialog ═══ If you use Clearlook without a valid license code, all functions are available, but when printing documents purchase information is inserted in the middle of the page. If you downloaded Clearlook from a bulletin board service, obtain a valid license code from Clearlook Corporation. License information is also attached to your registration card. Enter your name, license and code information. If license and code match, a message indicates the modules available for unrestricted use. ═══ 3.1.2. Preference Dialog ═══ Show speedbar: If checked, the speedbar is shown in all document windows. Speedbar functions remain available through hot keys when the speedbar is off. Show infobar: Uncheck this box to remove the infobar display at the bottom of document windows. Infobar help information: When moving the pointer over your document window, help information is displayed depending upon the position of the pointer. Each speedbar button causes a short help line to be displayed, as well as each menu item. If the help information in the infobar is not desired, uncheck this button. Single click pop-up menus: Clearlook has two types of pop-up menus. Most container objects as well as text document objects display a pop-up menu when the right button, or the F12 key is pressed. Some speedbar buttons also cause a pop-up menu to appear. Checking this box causes the pop-up menus to appear when pressing the pointing device and to disappear when releasing the button. This way pop-up menu operations are executed with just one click of a button. Solid cursor: Check this box if you want to turn off the flashing cursor in document windows. Escape closes edit window: If checked, the escape key causes a document window to close, otherwise the Alt+F4 keys or the close menu function must be used. Simple file dialog: If checked, OS/2's default file dialog is used. No window list entry: If checked, only the status window will create an entry in the task list. Invisible status window: If checked, the status window will be hidden. It remains accessible through function key F10. ═══ 3.1.3. Tabstops Default Dialog ═══ When creating a new document default tabstops are created. The distance between these tabstops is set here. Enter zero to disable their automatic creation. ═══ 3.1.4. Backup Time-out Dialog ═══ When editing documents an automatic backup is created in the intervals indicated. An individual backup time-out may be set for each document in the layout dialog. Backup can be triggered manually with the Ctrl+F2 hotkeys. A document that is modified but not backed up, displays an asterisk in the information bar. While editing documents Clearlook's backup system creates temporary files named CLBACKUP.xxx. The temporary files are stored in the directory of CL.EXE (ususally \CL\BIN). They are automatically deleted when exiting a document. Clearlook searches for lost temporary files on start-up and opens them for editing. ═══ 3.1.5. Date + Time Default Dialog ═══ Specify the desired default format for date and time. This is used for input and as a default format for output. Extensive output formatting is available in text documents when creating fill-ins. ═══ 3.2. Text Colors Window ═══ When composing documents, you can choose to have text appear in colors. If you have a color printer, these colors print. Otherwise, the colors set in the document may be emulated by the printer with gray shades. Define any number of colors in the color window. Sixteen standard colors are predefined. The actual color value is saved with the document. If transferring a document to another installation with different color definitions, the document appears with the original colors. The first entry in this table must be defined as the color black. All other definitions can be changed to suit your needs. To edit a color, press Enter or call the Edit function. To insert a new color call the New function. To delete an entry, call the Delete function. ═══ 3.2.1. Text Color Dialog ═══ Define any color by specifying values for red, green and blue. Enter the desired values, or change values using the slide bars. The name given to the color is for your reference only. ═══ 3.3. Markings Window ═══ Use markings in your text document for tables of content, indices, mail-merge and the like. A marking associates the marked characters with a specific value. If this value corresponds to the identification number of a data field defined in a transform document, the data field is substituted by the marked characters when running a transform process. The first entry must have a value of zero and an end of record marking a value of one. All other values are available to the user. Use the predefined markings, define new, or delete existing markings. The colors associated with a marking are entirely for the user's reference. When applying markings to a document, the marking values defined are stored in the document. Subsequent changes to marking values in the setup do not affect existing documents. Transferring source and transform documents to another system with other marking definitions, does not impair the functioning of the source and transform pairs. To edit a marking, press Enter or call the Edit function. To insert a new marking, call the New function. To delete an entry, call the Delete function. ═══ 3.3.1. Marking Dialog ═══ The Marking ID is the value associated with the marking. The value entered must correspond to the data-field identification number of the transform document. The Name entered appears in the pop-up menu when marking a text document. The color associated with the marking causes marked text to appear in that color when show control points is activated. Changes to the color of a marking take effect immediately upon closing the markings window. Existing documents reflect a change in the color of a marking, but not a change in its value. If a text document contains markings not defined in the system, they appear in light red. ═══ 3.4. Screen Colors Window ═══ The elements composing the appearance of the document can be defined in any pure color that displays on the monitor of the system. The colors of the ruler and the infobar are limited to sixteen standard colors. ═══ 3.4.1. Screen Color Dialog ═══ If this dialog is invoked for an element composing the appearance of the document, color can be defined by entering values for red, green and blue. Values are entered directly or changed using the slide bars. If the dialog is invoked for a speedbar or infobar color, the sixteen standard colors are offered. The new coloring takes effect as soon as you leave the screen color window. ═══ 3.5. Keyboard Hotkeys Window ═══ Most hotkeys used in Clearlook can be reassigned. To change a hotkey function, press Enter. Then press the keys you want for the indicated function. ═══ 3.5.1. Hotkey Dialog ═══ Press the key combination for the indicated function. If it is possible to use the desired key, its name appears. To disable a function, press Delete. Hotkey assignments are displayed correctly in the short help line on the infobar of document windows. Avoid multiple assignments to one key combination. If the same key combination is specified for several functions, one of them will work, the others will not. The new assignments take effect as soon as you leave the keyboard hotkeys window. ═══ 3.6. Document Defaults Window ═══ Clearlook views and edits text documents in a variety of formats. Files saved in Clearlook's own format (.ctx) contain all formatting information, while plain text files do not. When editing a file of a certain type, you may want the file to appear in a certain font. In this window, define the default formats for documents with various file-name extensions. The entry for the .ctx extension is used when creating a new, empty document with the New Text function. The entry marked with a dot and no further extension defines the 'final default'. This format is used for documents with extensions not defined in this window. To edit a definition, press Enter or call the Edit function. To insert a new definition call the New function. To delete an entry, call the Delete function. ═══ 3.6.1. Document Default Dialog ═══ The extension indicates the type of document created with the specified format values. Language specifies the default spell checking language for the document. Font Name, Size: Enter the complete name of the font and the point size. When editing plain text files, consider bitmap fonts. They have a clearer appearance on the screen but cannot be scaled. For printing documents, consider vector fonts. ═══ 4. Word Processor ═══ o Using Help in the Word Processor o Document Structure o Document Objects o Operations on Selected Text o Tabstops and Indentation o Footnotes and Endnotes o Transforms and Markings o Spell Checking and Thesaurus o Word Processor Window Elements o Manipulation Pointers ═══ 4.1. Using Help in the Word Processor ═══ To access help, move the pointer on any word processor element and press F1. Window elements like speedbar, speedbar buttons, ruler, information bar, and all objects composing a document will display the appropriate help page. Position the pointer on them and press F1 concurrently. Moving the pointer over a text document causes the pointer shape to vary. These variations indicate possible manipulations. Again, press F1 when the pointer takes a particular shape to obtain help on possible actions. ═══ 4.2. Using Keys, Word Processor ═══ o Speedbar Equivalents o Font Command Hotkeys o Window Access Hotkeys ═══ 4.2.1. Speedbar Equivalents ═══ o   F2 Save Document o   Shift+F2 Print Document o   Alt+Backspace Undo o   F4 Check Typing o   Shift+Del Clipboard Cut o   Shift+Ins Clipboard Paste o   Ctrl+Ins Clipboard Copy o   F5 Show Margins o   F6 Show Cells o   F7 Show Control Points o   F8 Show Horizontal Ruler o   Shift+F5 Open Cell, Create Table o   Shift+F6 Text Alignment o   Shift+F7 Leading o   Shift+F8 Line Distance ═══ 4.2.2. Font Command Hotkeys ═══ o   Ctrl+S: Styles o   Ctrl+T: Typeface o   Ctrl+Z: Font Size o   Ctrl+Y: Font Style o   Ctrl+L: Lining o   Ctrl+P: Position o   Ctrl+C: Font Color o   Ctrl+M: Marking o Ctrl+W: Wrap-lock o Ctrl+H: Preset Hyphen o Ctrl+'.': Character table o Ctrl+R: Regular o Ctrl+B: Bold o Ctrl+I: Italic o Ctrl+U: Underline o Ctrl+S: Strike out o Ctrl+O: Outline o Ctrl+E: End font change ═══ 4.2.3. Window Access Hotkeys ═══ o F10: Status window o Alt+2: Previously active window o Alt+3: Third last active window o Alt+4: Fourth last active window o ........... o Alt+0: Window of origin (Status window) ═══ 4.3. Document Structure and Manipulation ═══ o Document Structure o Document Objects o Operations on Selected Text ═══ 4.3.1. Document Structure ═══ The following example explains the structure of Clearlook documents: Imagine your task is to design a page in a magazine. Several articles must be placed in separate columns with accompanying pictures and captions. One way to perform this task and to understand how these objects relate to objects in a Clearlook document, is explained as follows: To start, get a sheet of (white) paper and trim it to the size of the magazine's page format. You know the maximum width and height of the area, but you don't know yet exactly how the usable area will be positioned on the magazine's page. Another piece of (dark cyan) paper is cut to the size of the actual usable area. This sheet is the bases for articles and pictures. In Clearlook this is the base text area, because it is the basic area available for text and graphics. Dark cyan paper is used to contrast with the white of the magazine's page. Articles are typed in columns on white slips of paper cut to the actual extent of the text. These slips of paper are text cells. Prepare the graphic and captions and mount it on a sheet of (light cyan) paper. This is also considered a text area, because it is an independent area where text and graphics are placed. Trim the sheet to make graphic and caption fit. The caption is written on a slip of (white) paper. Now recall the objects prepared: The white sheet of paper, the dark cyan base text area, the light cyan text area for the graphic and caption and the text cells, the white slips of paper containing the actual text. To design the page, the graphic and the caption must be placed on the light cyan text area. Then place the remaining slips of paper and the light cyan text area on the dark cyan text area. Move these objects around until the desired layout is achieved. The final action is to position the dark cyan text area on the white sheet that corresponds to the page of the magazine. By keeping this example in mind, you will easily understand the structure of Clearlook documents. Clearlook is an electronic implementation of this approach to designing documents. The electronic implementation has much more flexibility and a few rules for handling these document objects. ═══ 4.3.2. Document Objects ═══ Just as you manipulate objects in the workplace shell, you can manipulate the parts of a Clearlook document. These parts are called document objects. Most document objects have an object menu that is activated by pressing the right button or the key F12. Object menus appear as a pop-up menu. Every object menu has a Setup function. Activating this function provides access to the settings of the object under the pointer or the cursor. Check the infobar when calling object menus with the pointer. The infobar indicates which object of your text document is selected. Objects a document is composed of include: o Base Text Area o Layered Text Area o Text Cell o Bitmap o Fill-in o Data Field o Margin o Border o Tabmark o Selected text ═══ 4.3.2.1. Text Area ═══ A text area is a container for text cells. A text area can contain further layers of text areas. The lowest-level text area is called base text area. Text areas contained in the base text area are layered text areas. ═══ 4.3.2.2. Base Text Area ═══ The base text area is the text area on the paper to place text and graphics. The area outside the base text area up to the rim of the paper is called margin. Creation: Every document always has one base text area. The base text area cannot be deleted. When creating a new text document, the document's base text area is automatically created as well as its first text cell. By moving and sizing the base text area you position text on the sheet of paper. When the view of the document is set to show the cell structure, the base text area appears in dark cyan. The text cells it contains are objects on top of the base text area and thus may cover it. The dark cyan border of these cells remains as an indicator of the base text area beneath. Like layered text areas, the base text area can also be moved and sized within its containing frame, the paper. The size and format of the paper is set with the layout dialog. Moving the text area causes all of its cells and contained text areas to move with it. Sizing the text area also causes a corresponding change in the size of its cells and contained text areas. Changing the format of the document from portrait to landscape for example, is a resizing action. This enlarges all cells and contained text areas proportionally to the change of width from portrait to landscape. If a cell grows beyond the height of the base text area, a new page is automatically created and the flow of text and cells continues on to the next page. Changing the position and size of the base text area on one page creates identical changes on all the other pages. ═══ 4.3.2.3. Layered Text Area ═══ A text area can contain another text area. Contained text areas are called layered text areas. The base text area is considered layer one, the next contained text area is layer two, and so forth. Creation: When creating a new text document, the document has a base text area and one text cell. Layered text areas are created by invoking the pop-up menu's new text area function. With the pop-up menu's delete function you can remove a layered text area from the document. Removing a text area also removes all its cells and contents. When the view of the document is set to show the cell structure, a text area can be moved and sized within the limits of its containing text area. Second-level text areas appear in light cyan. A text area contained within a second-level text area is called a third-level text area, and appears in dark cyan to contrast with its container, the second-level text area. Clearlook's logic does not impose any limit to the number of text areas layered within each other. All text areas share the same functionality. They are containers for text cells and can be moved and sized within the limits of their parent object. The differences between the base text area and layered text areas are as follows: o The base text area automatically repeats itself from one page to another, allowing cells to continue to flow through it. o Layered text areas can be configured to repeat themselves on subsequent pages, always displaying the same content. Layered text areas will not flow text to the next page, text extending below the bottom of a layered text area is therefore not visible. By enlarging the text area, text that 'fell' beyond the bottom becomes visible. In the setup dialog of a layered text area you can set the text area to be repeatedly displayed on subsequent pages. For example, you can specify a layered text area to display from page 1 to 10. The text area is defined on page one. Pages two through ten display copies of this text area. Used in this way, layered text areas become a very powerful feature to create headers and footers. The Header and Footer menu functions automatically create layered text areas positioned as headers and footers. To display a layered text area on every second page, set a value of 2 in the Step Field of the layered text area's setup dialog. By defining two footers, each configured to display on alternating pages only, you can create alternating footers for odd and even pages. ═══ 4.3.2.4. Text Cell ═══ A text cell is the actual container for the text of your document. A text cell can contain characters and bitmaps. The height of a cell grows as more text is inserted into it. (So it is a very convenient container that always grows to the size of its contents.) The cell itself is always contained in a text area. Any number of cells can be placed within one text area. Cells can be placed in rows side by side. Any number of rows of cells can be placed in a text area. Creation: When creating a new text document, the document has a base text area and one text cell. Create additional text cells with the pop-up menu's new cell function or with the speedbar's create table button. With the pop-up menu's delete function you can remove a text cell from the document. Removing a text cell removes all of its characters and bitmaps with it. If the view of the document is set to show the cell structure, cells can be moved and sized horizontally within the limits of the text area. Cells can never overlap. To move or enlarge a cell, sufficient empty space must exist on the side of that cell. Reduce the width of cells to create empty space. The cell width defines the linebreak of the text flowing into the cell. The user defines the width of a cell, and the height automatically adjusts. As you add text to a cell, its height grows, pushing subsequent cells (if existing) further down. A cell without text has the height of one line. You cannot move a cell vertically within its text area. To place a cell on a particular position on a page, create a layered text area and position it anywhere. Text cells move with the text area they belong to. ═══ 4.3.2.5. Bitmap ═══ In Clearlook, a bitmap is a special character imported from disk or screen and placed in the stream characters. This 'special character' bitmap has one additional quality: It is scalable to any size that fits in the text cell. Creation: To insert a bitmap into your text, use the import bitmap function. You can also create a bitmap by clipping an area of the screen with the screen clip function. To delete a bitmap, place the cursor on the bitmap and press the Del key, as when deleting a character. You may also use the pop-up menu's delete function to remove a bitmap. A bitmap is just one character in the flow of characters of the text cell. Adjust its position horizontally by adding space (or characters) to the left of the bitmap. To position it vertically, add carriage returns above the bitmap. This is useful to position small bitmaps that are part of the flow of text. Bitmaps that are not part of the flowing text, and have a fixed position on the page, create a layered text area and insert the bitmap into the first cell, as the only character of this cell. Move and position the text area to place the bitmap. After inserting a bitmap with the import bitmap function, it is shown in a default size. Move the pointer to the right or bottom edge of the bitmap until a sizing pointer appears. Press the left button of the pointing device and size the bitmap. You can also double-click on the bitmap and activate the bitmap dialog to display useful information. In the dialog the display size of the bitmap can be entered directly. Clearlook always maintains the original imported bitmap and scales it as needed to the desired display size. The size of the original bitmap determines the amount of memory occupied, not the display size. When a large bitmap with a high color resolution is imported, a considerable amount of memory is occupied during document manipulation. This may slow down the execution speed on systems with very tight memory. In general, even large bitmaps will only affect Clearlook's display speed when visible on the screen. When printing documents with bitmaps, the bitmap's original resolution determines its clarity on the print-out. ═══ 4.3.2.6. Fill-In ═══ A fill-in is a special character that automatically contains a value that the system 'fills in' for you. The system can fill in the page number, system date, system time or the file name and path. A fill-in is created with the menu's fill-in function or with the Ctrl+F hotkey. It behaves like one single character to the delete and select functions, even though it may display several characters. For time, date and page number fill-ins, the format dialog enables several display formats to be defined. If show cells is on, the fill-in appears outlined in dark blue. ═══ 4.3.2.7. Data Field ═══ Data fields are used when creating transforms. A data field is a text variable that specifies where the text marked in the source document will be placed in the destination document. Create a data field with the data field function or with the hotkey Ctrl+D. Press Ctrl+D again on an existing data field to easily access its setup dialog and define its behavior. ═══ 4.3.2.8. Margin ═══ The area outside the base text area to the edge of the paper is called the margin. There are several ways to manipulate margins: o Enter margin values in the layout dialog. o Display the cell structure by using the show cells speed button or the same option in the view dialog. Then size and move the base text area. ═══ 4.3.2.9. Border ═══ Every text area can have a border. To create a border, use the border function and enter the appropriate values in the border dialog. Or invoke the pop-up menu and use the new border function. ═══ 4.3.2.10. Tabmark ═══ Tabmarks are used to force specified positions within the flow of characters: o Left-aligned columns o Right-aligned columns o Indentations Tabmarks are created by setting a tabstop and jumping to that tabstop by pressing the Tab key. Or space the cursor to a desired position in the document and then press Ctrl+Tab. Tabmarks are characters with a fixed horizontal position. As long as the text to the left of a tabmark does not extend to the tabmark's horizontal position, the tabmark forces its position on the next character. If the tabmark is pushed beyond its horizontal position by text inserted to its left, it has the effect of a space character of zero width (no visual effect). Tabmarks are independent of tabstops. Tabstops with a horizontal setting equal to a tabmark can modify a tabmark's horizontal position, fill-character and type. Tabmarks are control points and are visible if show control points is on. Tabmarks are also used to indent paragraphs. To indent a paragraph, a tabmark is given the additional function of an indent point. To make a tabmark an indent point, press Ctrl+Tab on an existing tabmark and check any of the indent options. When defining tabstops in the horizontal ruler, the tabstop can be defined to create tabmarks with the quality of indent points. If you press Tab to jump to such a tabstop, an indent point is created. Text written beyond the end of the line wraps around and indents at the position of the indent point (tabmark with the function of indent point). All subsequent lines are indented until a line is terminated with a carriage return. ═══ 4.3.2.11. Selected Text ═══ Clearlook has two select modes: o In flow select mode, you select one or more characters (or bitmaps). The selection is called flow text. o In area select mode, you select one or more text cells. The selection is called area text. Selected text is an individual document object. When invoking a pop-up menu with the cursor or pointer positioned on selected text, a menu to manipulate selected text appears. Similar to the other document objects, you can move, size, delete and manipulate selected text. See also: o Operations on Selected Text ═══ 4.3.2.11.1. Flow Select ═══ Flow select mode lets you select text on a character by character basis. In this mode you select the actual text, the contents of a text cell. (In area select mode on the contrary, you select the text cells as a whole entity.) Text is selected in flow mode in any of these ways: o Press and hold down the left button of the pointing device and move the pointer over the text. o Press and hold down the key Shift and move the cursor over the text. o Call the flow select menu function or press the Shift+F3 keys and move the cursor over the text. All characters (and bitmaps) between the starting and endpoint of the cursor or pointer movement are selected. Selected text appears inverted on a black background. This selection can extend beyond a single cell and comprise several cells. Once text is selected, these operations can be performed: o Move Flow Text o Cut/Paste Flow Text o Modify Selected Text ═══ 4.3.2.11.2. Area Select ═══ Area select mode lets you select text on a cell-by-cell basis. This mode selects the containers of the text, the text cells. (In Flow select mode, on the contrary, selects the contents of these containers, the characters in the text cells.) Text is selected in area mode in any of these ways: o Double-click and hold the left button of the pointing device and move the pointer over the text cells. o Call the area select menu function or press the F3 key and move the cursor over the text. When area select mode is invoked, a rectangle is displayed between the initial position and the actual position of the pointer (or cursor). All text cells that are touched by this rectangle are selected and appear inverted on a dark gray background. One cell is the smallest item that can be selected. Area select mode allows you to operate on the container, the text cell, as well as its contents, the text. (By selecting the container, you also select its contents.) Once text is selected, these operations can be performed: o Move Area Text o Cut/Paste Area Text o Modify Selected Text o Manipulating Text Cells ═══ 4.3.3. Operations on Selected Text ═══ o Placing Text Cells o Manipulating Text Cells o Modify Selected Text In the following operations, the select mode is of significant importance on the way the selected text is treated: o Flow Text: Move Selection o Flow Text: Cut/Paste Selection o Area Text: Move Selection o Area Text: Cut/Paste Selection ═══ 4.3.3.1. Move Flow Text ═══ After selecting text in flow mode, the selected text appears inverted on a black background. If you move the pointer on the selected text, the move selection pointer   appears. By pressing the left button of the pointing device, a place selection pointer   appears. Keep the left button pressed, and move the pointer to any position in the document. When releasing the left button, the selected text is moved from its original position to the cursor position. To abort the move, press the Esc key before releasing the left button, or place the pointer on the selected text and release the button. Use this function to move the contents of several cells of a table at the same time. ═══ 4.3.3.2. Move Table Contents ═══ To move the contents of several cells at the same time, use the move flow text function. When moving the contents of several cells, the cell structure at the source and destination must correspond. ═══ 4.3.3.3. Move Area Text ═══ After selecting text cells in area mode, the text cells appear inverted on a dark gray background. If you move the pointer on the selected text, the move selection pointer   appears. By pressing the left button of the pointing device, an area placement pointer   appears. Keep the left button pressed, and move the pointer over the document. The shape of the pointer indicates where the selected text can be placed. When the left button is released, the selected cells move to the indicated position. To abort the move, press the Esc key before releasing the left button, or place the pointer on the selected text and release the button. Moving cells selected in area mode is used to change the position of cells with regard to each other. For example, to place a row of cells a few rows down, or to move a column of cells one or more columns to the right or left. Move a single cell with this feature or complete tables. To move one or more cells horizontally without changing their position to other cells, use the functions to modify cells' position and size. ═══ 4.3.3.4. Placing Text Cells ═══ When moving or pasting an area selection, or inserting new text cells, indicate the new cell position. Area placement pointers appear when the pointer is moved over the document. The shape of the pointer indicates where it is possible to drop cells. Text cells are always placed in relation to an existing cell. Whenever dropping cells on the document, it must be on the right, left, top or bottom of an existing cell. Top and bottom: Cells can always be placed on top or bottom of an existing cell or row of cells. Left and right: Cells can be dropped on the left and right of an existing cell, if empty space is available on the respective side. Here 'empty space' refers to the absence of cells to the right or left of an existing cell. Changes when dropped: If the width of cells dropped fits in the space, they are inserted without modification. If not, they are scaled proportionally to fit. If the width must be reduced beyond a cell's minimum width, the operation is aborted. ═══ 4.3.3.5. Manipulating Text Cells ═══ To manipulate the position and size of text cells, the cell structure must be displayed by using the show cells speed button or the equivalent option in the view dialog. Using the pointer, cells can be moved and sized horizontally. The vertical size of a cell automatically expands to the amount of text in the cell. If a group of cells is selected in area mode, they can be sized and moved just like a single cell: o Manipulating a Single Text Cell o Manipulating a Group of Text Cells ═══ 4.3.3.5.1. Manipulating a Single Text Cell ═══ Width: To change the width of a text cell, move the pointer to the right or left edge of the cell. When the sizing pointer appears, press the left button of the pointing device and set the width. Position: To move a text cell horizontally, place the pointer on the top edge of the cell. When the moving pointer appears, press the left button of the pointing device and move the cell. A cell can be moved within the limits of its text area, and within the limits adjacent cells may impose. In other words, if you can see the cyan color of the text area on the left or right side of the cell, you can move the cell over that area. To create space, reduce the width of the cell, or adjacent cells. ═══ 4.3.3.5.2. Manipulating a Group of Text Cells ═══ Just as you change width and position of a single text cell, you can modify a group of cells. To modify a group of cells, select the group in area mode. Width manipulations: o To change the width of the group, move the pointer to the right or left edge of the outermost cell. When the sizing pointer appears, press the left button of the pointing device and set the width for the whole group. All cells in the group are resized proportionally. o Invoke the pop-up menu over the selected area, and set all the cells in the group to the same size with the shrink to smallest and grow to largest functions. Position manipulations: o To move the group horizontally, place the pointer on the top edge of any of its cells. When the moving pointer appears, press the left button of the pointing device and move the group. Like a single cell, a group of cells is moved within the limits of their text area and within the limits adjacent cells may impose. In other words, if you see the cyan color of the text area on the left or right side of the group, you can move the cells over that area. To create space, reduce the width of the group or the width of adjacent cells. o To reduce the width of one column and at the same time increase the width of an adjacent column, position the pointer on the meeting edge of the two columns. Then press the left button to change the size of the outlined cell. All cells in both columns are set to reflect the change indicated on the one cell. o Invoke the pop-up menu over the selected area and use the align left and align right functions to align the group of cells (set up as a column) with the outermost left or right edge of the selected cells. ═══ 4.3.3.6. Clipboard Operations ═══ When text is selected in flow or area mode, the following clipboard operations are available: o Press the Cut speedbar button or the Shift+Delete keys to remove selected text from your document and copy it to the clipboard. o Use the Ctrl+Delete keys to remove selected text from your document, without altering the contents of the clipboard. o Use the Copy speedbar button or the Ctrl+Insert keys to copy selected text to the clipboard. o Use the Paste speedbar button or the Shift+Insert keys to paste text from the clipboard to your document. Text copied to the clipboard in flow mode pastes back in flow mode. Text copied to the clipboard in area mode pastes back in area mode. Further information: o Cut/Paste Flow Text o Cut/Paste Area Text ═══ 4.3.3.6.1. Cut/Paste Flow Text ═══ Cut: When text is selected in flow mode, a clipboard cut operation removes the selected text from the cell. The structure of cells is not changed, but their height may decrease, because there is less text in them. Paste: If you use the Paste speedbar button, a flow selection pointer appears. Move the pointer to the position and press the left button of the pointing device. This inserts the clipboard contents at the cursor position. If you use the Shift+Insert keys to paste, the clipboard text is immediately inserted at the cursor position. If the clipboard contains the flow text of several text cells, the special considerations for moving table contents apply. ═══ 4.3.3.6.2. Cut/Paste Area Text ═══ Cut: When text is selected in area mode, a clipboard cut operation removes selected text cells and its text from the document. Paste: When pasting area text from the clipboard, you are prompted to specify where the cells are placed. ═══ 4.3.3.7. Modifying Selected Text ═══ You can change the alignment of text as well as the font attributes on text selected in flow and area mode. Clearlook uses these modes to distinguish between operations on the content of cells (flow mode) and operations on the container of text, the cells (area mode). Since these two modes are available, they perform powerful functions when modifying text: o Modifying text in flow mode forces all selected text to the new setting, clearing out old setting. o Modifying text in area mode changes all settings that correspond to the values at the cursor position, other settings remain unaltered. Here an example line: 'Bold and italic, to clearly show how Clearlook works!' o Flow mode: If this entire line is selected in flow mode and the font style is changed from bold to italic, the line will look like this: 'Bold and italic, to clearly show how Clearlook works!' o Area mode: If the text cell containing this line is selected in area mode, the cursor placed on the word 'Bold' and the font style changed from bold to italic, then the line will look like this: 'Bold and italic, to clearly show how Clearlook works!' Notice that only the two bold words ('Bold' and 'clearly') were changed to italic, the rest of the line unaltered. ═══ 4.4. Tabstops ═══ o Tabstop Functionality o Setting Tabstops o Types of Tabstops o Tabstop Dialog o Tabmarker Dialog ═══ 4.4.1. Tabstop Functionality ═══ Two things make Tabs work: Tabstops and Tabmarks. Tabstops are set in the horizontal ruler. Each text cell has its own set of tabstops that appear in the ruler when the cursor is moved into the cell. Press the Tab key to move the cursor to the right. A tabstop encountered stops the cursor at that position and inserts a tabmark in the text. The tabmark positions the text. The tabstop is a creator of tabmarks. When moving tabmarks, the tabstop is a handle on tabmarks that have the same horizontal position as it. By moving tabstops, all corresponding tabmarks are moved. By changing the settings of a tabstop, all corresponding tabmarks are changed. By removing a tabstop, no change occurs to the tabmarks. When moving text between cells or documents using cut and paste, the tabmarks remain in the text and maintain their position without corresponding tabstops in the destination cell. To move tabmarks that have no corresponding tabstops, place the cursor on a tabmark and invoke the tabmarker dialog by pressing the Ctrl+Tab keys. Or position the pointer on the tabmark and move it when the tabmark moving pointer appears. ═══ 4.4.2. Setting Tabstops ═══ Click on the left button of the pointing device on the horizontal ruler or access the tabstop menu function to create a tabstop. Tabstops are displayed as red diamonds in the ruler and belong to the text cell in which they were created. Each cell of a document can have its own tabstop setting. Click on an existing tabstop with the left button, and keep the button pressed while moving it to displace the tabstop. Press the right button to invoke the tabstop dialog, to set type, position, behavior and fill-character. Accessing the tabstop menu function on an existing tabstop also activates the tabstop dialog. ═══ 4.4.3. Types of Tabstops ═══ Left-aligned tabstops appear as solid diamonds in the horizontal ruler and create left-aligned tabmarks in the document. Left-aligned tabmarks appear as solid, downward pointing red triangles in the document, when show control points is turned on. A left-aligned tabmark behaves like a single space character with varying width in the flow of characters. If overwrite is turned on, and the cursor is moved over the tabmark, the 'extra wide space character' is visible. Right-aligned tabstops appear as outlined diamonds in the horizontal ruler and create right-aligned tabmarks in the document. The beginning of a right-aligned region appears as a red vertical line similar to an apostrophe. The tabmark at the end of the right-aligned region appears as a solid, red triangle, when show control points is turned on. All text typed on a right aligned-tabmark moves left, until a space character is entered. Tabmarks can also indent paragraphs. Press the Ctrl+Tab keys on an existing tabmark to activate the tabmark dialog. Or check Indent Point in the tabstop dialog to automatically create tabmarks that indent. ═══ 4.5. Footnotes and Endnotes ═══ Footnotes and endnotes are text parts that refer to specific points in a document. Clearlook offers fully-automated footnotes and endnotes, referred to as notes. Functional elements used to manage notes: o Notes Sub-Document o Note Creation o Note Number o Importing Notes ═══ 4.5.1. Notes Sub-Document ═══ Notes are edited and stored in a sub-document. Every Clearlook document has as sub-document. It is tightly linked to the main document and stored on disk in the same file. Access the sub-document any time with the edit notes function. To switch between the main document and the sub-document use the Alt+2 hotkeys. ═══ 4.5.2. Note Creation ═══ You can create notes while composing your document by calling the create notes function or pressing the Ctrl+N hotkeys. A note number is inserted at the cursor position. A new text cell is created in the sub-document with the same note number. Editing is switched to the sub-document to conveniently enter the note's text. To switch back to the main document press Alt+2. To set a particular font for all notes while creating them, set the font in the first cell of the sub-document. Whenever a new note is created, its font settings are copied from the first cell of the notes. Each note in the sub-document must have its own text cell. If several notes are copied into one text cell, it is considered the text for one single note, regardless of the multiple reference numbers contained in the cell. You can create text cells without note numbers in the sub-document. These cells are ignored by the make footnotes or make endnotes functions. Use this to store any information about the document in the sub-document. ═══ 4.5.3. Note Number ═══ A note number consists of two parts: o Temporary Number o Reference Number ═══ 4.5.3.1. Temporary Number ═══ The temporary number is created by the system when using the make footnotes and make endnotes functions. The temporary number is displayed when show cells is off. It is always used when printing. ═══ 4.5.3.2. Reference Number ═══ The reference number creates the link between the main body of the text and the note, and is created with the note. The system issues incremental values for reference numbers. To automatically position all notes, a document must not contain duplicate reference numbers. The reference number is displayed when show cells is on and is marked with a leading slash (/). Though note numbers are created automatically, you can access them directly to manipulate the link between a note in the sub-document and the note number in the main body of text. Press Ctrl+N with the cursor positioned on an existing number, and the note number dialog appears. Manually set the reference number and temporary number. By manually setting the reference number in the main body of the text as well as in the note contained in the sub-document, you link any note to any desired position in the text. When manually editing note numbers, it is the users responsibility not to create duplicate reference numbers. ═══ 4.5.4. Importing Notes ═══ Once a document is composed, notes appear in the main body of the document by using the make footnotes and make endnotes functions. Make footnotes creates a layered text area at the bottom of each page with reference numbers, imports the notes belonging to the page from the sub-document and assigns temporary numbers in ascending order for each page. Make endnotes imports the notes, places them at the end of the document, and sets the temporary numbers in ascending order. Use these two functions to recreate the appropriate appearance of the notes. Make any note changes in the sub-document, since the imported notes are discarded whenever the make functions are used. Remove the imported notes from the main document by using the remove notes function. ═══ 4.6. Transforms and Markings ═══ The creation of tables-of-content, indices, mail merge, and many other uses of word processing have one similar characteristic: They function by transforming selected parts of a document into another arrangement. Clearlook offers transforms and markings to achieve this, and uses these functional elements: o Source Document o Markings o Transform Document o Data Fields o Destination Document ═══ 4.6.1. Source Document ═══ The source document is the starting point of a transform. It contains the text to be transformed. For of a table of content it is the document containing the actual chapters and text, for mail merge it is the document containing the addresses. Always access the transform function from the source document. ═══ 4.6.2. Markings ═══ Markings are text attributes similar to underscore. Just as you underscore important portions of text, place markings on specific portions of text. Selected text is marked via the marking function, the equivalent speedbar button, or the Ctrl+M hotkeys. A marking sets marked text to a specific value, the marking value. By setting a portion of text to a specific value, it can be referenced by the system, copied out of the source document and used in further operations. Markings' values and names are defined by the user in the setup window. For a table-of-contents, the chapters' heading might be set to the (predefined) marking Content. To create an index of a book, the keywords to appear in the index could be set to the marking Index. In a document that is used as database of addresses, each address could be marked as follows: o Miller set to marking Name, value 400 o John set to marking First Name, value 410 o 781 Park Avenue set to marking Street, value 430 o Springfield set to marking City, value 440 o VA set to marking State, value 450 ═══ 4.6.3. Transform Document ═══ The transform document defines how the marked portions of text in the source document are used and combined. Consider the transform document as a sample of the output you wish to create. Insert data fields in the transform document in the locations for the marked portions of text from the source document. During a transform, the system runs through the following cycle: o Read markings in the source document o Fill markings into the data fields of the transform o Copy the transform to the destination document o Loop through the cycle if any markings are left in the source The transform is copied to its destination when all data fields are filled, or when a marking with a value previously used in the cycle is encountered. In a source document (for example with addresses) that does not have markings for every cycle for all data fields in the transform, the system may be unable to determine the end of one address and the beginning of the next address. In such situations, add the end of record marking at the end of such addresses. ═══ 4.6.4. Data Fields ═══ A data field is a text variable. During the transform, the data field is replaced with the source document's marking with a value identical to the data field number. When preparing a letter for mail merge, you might start out like this: Dear  , For every letter created, this line contains the first name of the person: Dear John, The process of transform takes the marking with value 100 and fills the data field with number 100. In the data field dialog, a variety of options can be set for a data field. Create data fields with fixed or variable length, as well as data fields that disappear if empty. When the system removes a variable length data field, it can automatically remove a specified number of characters to the right or left of the data field. ═══ 4.6.5. Destination Document ═══ The destination document is a new, unnamed document created by the transform function and contains one or more copies of the transform document. The data fields of these documents are replaced with the markings of the source document. ═══ 4.7. Spell Checking and Thesaurus ═══ Spell checking is a process of verifying the words of your document. Since each language uses different words, there is a separate set of word lists for every language. You tell the system which language files to use in the language setting in the layout dialog. If a document contains several languages, or consists of parts that will not be checked, set a different language for these cells. To spell check user-specific words, Clearlook offers a user lexicon. o Spell Checking o User Lexicon o Temporary Word List o Thesaurus ═══ 4.7.1. Spell Checking ═══ Spell check your documents while typing or after they are composed. To check while typing, select the check typing function or press the spell checker icon in the speedbar, or use the F4 hotkey. If Check Typing is turned on, Clearlook verifies spelling as soon as the word is typed. To check the entire document, call the check document or check from cursor function. All words are checked against the word lists. Unknown words and possible correct spellings are listed. While choosing the correct spelling for a word, Clearlook keeps checking the rest of the document, keeping count of all unknown words and their position. ═══ 4.7.2. User Lexicon ═══ Not all words specific to various professions or different groups of people are contained in the general word lists. Therefore, Clearlook offers a user lexicon for special words. o User Lexicon Path o Shorthand Word Pairs o Merging User Lexica ═══ 4.7.2.1. User Lexicon Path ═══ The user lexicon is viewed and edited like a text document. The user lexicon for US English has the file name ENG.USR. User lexica are stored in the path \CL\BIN\LNG. The status window contains an icon to directly access the user lexicon. ═══ 4.7.2.2. Shorthand Word Pairs ═══ The user lexicon is also used to create word pairs for automatic insertion. If check typing is on, Clearlook searches the user lexicon for pairs of words for every word you type. The pair 'cl;Clearlook' is in the default user lexicon. If check typing is on, typing 'cl' inserts the word 'Clearlook'. You can define any number of shorthand pairs. ═══ 4.7.2.3. Merging User Lexica ═══ To combine several existing lexica into one, copy all words they contain into one document and save it. When saving a user lexicon, the system automatically removes duplicates. The user lexicon is always sorted in phonetic alphabetical order. Regardless of which order words are entered, the new sort order is displayed when reactivating the user lexicon. ═══ 4.7.3. Temporary Word List ═══ A temporary word list is maintained, for unrecognized words you do not want to add to the userlist. You can add words to the temporary word list while checking. These words are recognized to the end of the document. When spell checking is turned off or the application exited, the temporary word list is cleared. ═══ 4.7.4. Thesaurus ═══ Activate the thesaurus by pressing the Ctrl+F4 hotkeys anywhere in your document. If the cursor is positioned on a word, the word is selected by the thesaurus. You may also call the thesaurus from the status window. The setup of the thesaurus object allows for language specification. Create multiple objects for thesauri with different language settings. When a word is found in the thesaurus, it provides a list of meanings. For each meaning a list of synonyms, compared words, related words, contrasted words and antonyms may be available. ═══ 4.8. Word Processor Window Elements ═══ o Speedbar o Horizontal Ruler o Information Bar ═══ 4.8.1. Speedbar ═══ The speedbar contains five groups of buttons to quickly access the most frequently used functions: o Document Commands o Clipboard Commands o View Commands o Cell Creation and Formatting Commands o Font Commands ═══ 4.8.1.1. Document Commands ═══ o Save Document o Print Document o Undo o Check Spelling ═══ 4.8.1.1.1. Save Document ═══   If the document was modified, activating this button saves the document to disk. If the document is unnamed, a dialog queries for a document name. This button has the same function as the save menu function. ═══ 4.8.1.1.2. Print Document ═══   Activating this button displays the print dialog and enables printing. This button has the same effect as the print menu function. ═══ 4.8.1.1.3. Undo ═══   Activating this button will undo the last changes to the document. Continuing to activate this button will undo all changes since last saving the document. Activating this button has the same effect as the undo menu function or pressing the Alt+Backspace keys. ═══ 4.8.1.1.4. Check Spelling ═══   This button turns on the automatic spell checking feature. While typing, all words are checked for spelling according to the language set for the document or the text cell. ═══ 4.8.1.2. Clipboard Commands ═══ o Clipboard Cut o Clipboard Paste o Clipboard Copy ═══ 4.8.1.2.1. Clipboard Cut ═══   Activating this button copies selected text to the clipboard and removes it from the document. Related information: o Flow Text: Cut/Paste Selection o Area Text: Cut/Paste Selection ═══ 4.8.1.2.2. Clipboard Paste ═══   Activating this button places the clipboard contents into the document. If the clipboard contained flow text (text selected in flow mode), you are queried to indicate the insert position. If the clipboard contained area text (text selected in area mode), you are queried to position the text cells either to the right, left, top or bottom of an existing cell. Activating this button is similar to pressing the Shift+Insert keys. Related information: o Flow Text: Cut/Paste Selection o Area Text: Cut/Paste Selection ═══ 4.8.1.2.3. Clipboard Copy ═══   Activating this button copies selected text to the clipboard and is similar to pressing the Control+Insert keys. Related information: o Flow Text: Cut/Paste Selection o Area Text: Cut/Paste Selection ═══ 4.8.1.3. Display Commands ═══ o Show Margins o Show Cells o Show Control Points o Show Ruler o View Scale ═══ 4.8.1.3.1. Show Margins ═══   Activating this button toggles the display of the margin. When editing a document you may want to use the full extent of your screen. At other times, you may want to see how the text is placed on the page. If show margins and show cells are both on, you can adjust the margins by moving and sizing the base text area. Toggling the show margins option in the view dialog, accessible through the View menu function, is similar to this button. ═══ 4.8.1.3.2. Show Cells ═══   This button toggles the display of the document cell structure. Turn this option on and the document objects are visible and accessible to pointer manipulation. The base text area is displayed in dark cyan. Text cells are displayed in white, outlined by a thin border in dark cyan. A second-level text area (if existing) appears in light cyan, its cells outlined by a thin border in light cyan. Activating the display of the cell structure allows you to manipulate the position and size of the text areas and their cells. If you move the pointer to the corner of a text area, an area sizing pointer appears, enabling horizontal and vertical sizing. If you move the pointer to the top or bottom rim of a text area slightly off the corner, an area moving pointer appears to move the text area. If you move the pointer on the left or right rim of a text cell, a cell sizing pointer appears to adjust the width of a cell. If you move the pointer on the top rim of a cell, a cell moving pointer appears to move the cell horizontally, if there is empty space to the right or left of the cell. Cells cannot be moved vertically within their text area. The vertical position of a cell is determined by the vertical position of the parent text area, and the height of any cells within the same area above it. The height of a cell is determined by the amount of text it contains. When the content of text increases in the cell, it expands downward and pushes the cells below it further down. ═══ 4.8.1.3.3. Show Control Points ═══   This button toggles the display of text document control points. Tabmarkers, carriage returns, markings and no-print text are control points. ═══ 4.8.1.3.4. Show ruler ═══   This button toggles the display of the horizontal ruler. When the ruler is displayed, you have access to the tabstops' settings. ═══ 4.8.1.3.5. View Scale ═══   You can scale the view of your document from 20% to 1200%. When reducing the viewing scale, pages are displayed horizontally, as they fit in the window. In any viewing size, all the word processor functions are accessible as long as the resolution of your screen allows you to sufficiently identify the document objects. Write, edit, delete, move and size text areas and text cells in any view. The scale that appears after pressing this button adjusts view enlargements and reductions between 20% and 300%. To enlarge further, reduce the width of the window, then enlarge the width again. Keep the Ctrl key pressed while releasing the pointing device button. This causes the document enlarge in the same ratio as the size of the window. If you are using bitmap fonts in your document, you cannot change the view size. Bitmap fonts have a fixed size and cannot be scaled. ═══ 4.8.1.4. Cell Creation and Formatting Commands ═══ o Open Cell, Create Table o Text Alignment o Leading o Line Distance o Number Columns ═══ 4.8.1.4.1. Open Cell, Create Table ═══ Use this function to open one new text cell in the document or to create a table consisting of several text cells of identical size.   After activating the button, an outline of a table appears. Move the pointer to mark a single cell, a row of cells or an array (rows and columns) of cells. Define how many new cells will be created and their organization in rows and columns. Once you release the button, you are prompted to place the single cell or the array of cells. Different pointer shapes appear as you move the pointer over the document, indicating possible positions to 'drop' the new cells. Click on the first button of the pointing device to place the cells, press Esc to abort the operation. To insert the table into a body of text consisting of just one text cell, split the text cell before creating the table. When placed above or below an existing cell, an array of cells of identical size is inserted. If the left or right sides are chosen, empty space must be available on the side. All empty space is used to open the cells as defined in the definition table. The cursor position at the beginning of this operation sets the font type and size in new cells. This button is similar to using the new cell function in the pop-up menu activated with the second button of the pointing device. ═══ 4.8.1.4.2. Text Alignment ═══   This button is used to align text to the left, right, the center, or to fully justify text in a cell. To set the text to full justification, either additional space between words, or additional space between every character of a line is inserted by the system. After activating the button, the cursor position indicates the present setting. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.4.3. Leading ═══   Use this button to change the font leading. Leading refers to additional white space between two lines. A leading value of zero means that the bottom of the previous line and the top of the subsequent line have no white space between. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. All fonts contain default leading values. The automatic setting causes Clearlook to use the default leading of the font when spacing lines. If you manually set a value for leading, lines are either closer together or further apart. Clearlook calculates the line height by using the height of the largest font in a line and adding the default leading defined in that font. By manually specifying values for leading, the lines are spaced with this additional value. Changing the size of the fonts leaves the leading intact. To change the spacing of lines, leading is the preferred way. Manually defining a line distance to influence line spacing turns Clearlook's automatic line spacing off and may cause lines to overlap. ═══ 4.8.1.4.4. Line Distance ═══   Line distance is automatically calculated by Clearlook. The font and size you select is taken into account along with the font's automatic leading. (Change the leading by using the leading button.) When specifying a line distance, Clearlook adjusts it regardless if the font size fits into a line or does not. You can create fixed line-distances, but may cause the text of subsequent lines to overlap, and bitmap displays may be truncated. When choosing a line distance that is smaller than the height of the font, Clearlook first reduces the height of the descender, then the height of the ascender until the specified height is reached. This feature can be used in typesetting, to cut off the space occupied by the descender in a line without any characters descending below the baseline. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.4.5. Number Columns ═══   Use this button to set the number of columns in a cell. The list displayed offers a choice from one to eight columns. Set any number of columns up to 255 to be created by Clearlook for one cell. To enter higher values, invoke the pop-up menu for the cell and select the setup function. Specifying multiple columns for one cell causes the contents of the cell (the text) to flow through the specified number of adjacent columns before breaking to the next page. Independent columns (that do not flow their content horizontally) are created by defining multiple, horizontally-adjacent text cells with the Open cell, Create table function. ═══ 4.8.1.5. Font Commands ═══ o Styles o Typeface o Font Size o Font Style o Underline, Strike Out o Subscript, Superscript ═══ 4.8.1.5.1. Styles ═══   Activate this button to list all defined styles. The style at the cursor position is highlighted. If you change the setting, the new style is used according to the scope rules. Select CREATE NEW, to access the styles dialog and define a new style. To edit an existing style, press the Ctrl key on the selected entry. The styles of all open documents are listed. Styles not belonging to the active document are shown with a leading asterisk (*). You can select and use the styles of other documents. When saving the document, all styles it uses are automatically saved with it and appear as 'owned' styles the next time the document is opened. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.5.2. Typeface ═══   Activate this button to list all installed fonts. The current font at the cursor position is highlighted. If you change the setting, the new font is used according to the scope rules. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. OS/2 allows for two different font types. A font is a vector font (also called scalable font) or a bitmap font. When creating printable documents it is preferable to use scalable fonts. They can be scaled to any size and allow you to view the document in any scale factor. You may choose bitmap fonts to edit plain text or source code programs. Bitmap fonts cannot be scaled, but they are slightly faster in display and easier to read. To use a bitmap font, call the font menu function and specify the font type. Once a cell or a document is set to bitmap fonts, activating this button displays a list of bitmap fonts. Otherwise, scalable fonts are offered. ═══ 4.8.1.5.3. Font Size ═══   Set the font size to anything that fits on the page. The scale offers a choice of 0 to 80 pt. (Using the font menu function, you can specify larger sizes.) If the selected font is a bitmap font, a list of all available sizes for this bitmap font is displayed. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.5.4. Font Style ═══   The usual font style choices are regular, bold, italic and bold italic. Depending on the font, other choices may appear. If an installed font has additional choices, they also appear. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.5.5. Underline, Strike-Out, No Print ═══   Use this button to set text to underline or strike-out. Several types of single and double underlining are available. The NO PRINT setting causes the marked text to be displayed only when show control points is on. Text set to no-print is not printed. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.5.6. Subscript, Superscript ═══   This button sets text to subscript or superscript. Several styles are available: Capitals: Creates text with 80% height of present size, but does not force characters to capitals. Subscript small: A small subscript that does not extend below the bottom of the space reserved for regular characters. Subscript chemical: A slightly larger subscript, generally used in chemical expressions. It may extend below the bottom of the space reserved for regular characters. Superior small: A tiny superscript, suitable for trademark notices. Superior digit: A slightly larger superscript, as generally used in numeric expressions. Superior alpha: A large superscript with x-height aligned to the height of capital letters. Used in Spanish and French for expressions such as Sra, Mlle, etc. Superior footnote: A large superscript as preferred for footnote indicators. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.5.7. Font Color ═══   All colors defined in the setup window are displayed. On a color printer, colored text is printed as defined, on other printers colors may be emulated with gray shades. If text is set to a color other than black, the color value is saved in the document. Subsequent changes to color definitions have no effect on existing documents. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. ═══ 4.8.1.5.8. Markings ═══   All markings defined in the setup window are displayed. Text used as data for transform operations can be marked with the defined values. The markings appear on colored background when show control points is on. The marking values are stored in the document, but not the color shading. Subsequent changes to marking definitions change the coloring of markings in existing documents, but not the values of existing markings. Scope: If no text is selected when using this function, the active cell is set to the new value, otherwise the selected text is set to the new value according to the mode of selection. Related information: o Transforms and Markings ═══ 4.8.2. Horizontal Ruler ═══ The horizontal ruler displays a scale in the units set in the layout dialog. It contains the tabstop settings and indicates the horizontal cursor position. The horizontal ruler display is toggled in the view dialog activated with the view menu function, or with the show ruler speedbar button. ═══ 4.8.3. Information Bar ═══ The information bar displays the page number, the present cursor position and a line count of the active text cell. The units displayed correspond to the units selected in the layout dialog. At the right corner, the font and size at the cursor position are displayed. A document that is modified but not backed up, displays an asterisk next to the line count. The display of the information bar is toggled in the view dialog. ═══ 4.8.4. Manipulation Pointers ═══ Moving the pointer over a document causes the pointer to change when it encounters the edge of a text area, text cell or bitmap. When inserting, pasting or moving text cells, various pointer shapes appear. These different pointer shapes indicate particular actions that may be invoked, if the first button of the pointing device is pressed at that moment: o Placement of Text Cells o Insert New Cells o Paste Area Selection o Place Area Selection when Moving o Paste Flow Selection o Place Flow Selection when Moving o Placing not Possible o Split Text Cell o Text Area Move Pointer o Text Area Sizing Pointer o Text Cell Move Pointer o Text Cell Sizing Pointer o Enclosure Sizing Pointer ═══ 4.8.4.1. Placement Pointers, Text Cells ═══ When inserting new text cells into a document, pasting area text from the clipboard, or moving an area selection, you need to indicate the position for the cells. After initiating these actions, the pointer shape varies when moved, indicating possible placements to drop the cells. New cells must be placed in relation to an existing cell. By moving the pointer towards any of the four sides of an existing cell, these shapes appear:     The new cells are placed above or below the present cell.     The new cells are placed to the left or right of the present cell.   The pointer is not placed on a valid reference point for dropping new cells. ═══ 4.8.4.2. Insert New Cells ═══   This pointer shape appears after invoking the creation of new text cells. Indicate the cells' placement. ═══ 4.8.4.3. Paste Area Selection ═══   This pointer shape appears after invoking Paste area text from the clipboard. Indicate the cells' placement. ═══ 4.8.4.4. Place Area Selection (moving) ═══   This pointer shape appears after invoking Move area text. Indicate the cells' placement. ═══ 4.8.4.5. Paste Flow Selection ═══   This pointer shape appears after invoking Paste flow text. Indicate the text insert position. Particular considerations apply when inserting the contents of several cells of a table. ═══ 4.8.4.6. Place Flow Selection (moving) ═══   This pointer shape appears after invoking Move flow text. Indicate the text insert position. Particular considerations apply when moving the contents of several cells of a table. ═══ 4.8.4.7. Placing not Possible ═══   This pointer shape indicates text cells cannot be dropped at this position. Cells must be positioned relative to an existing cell. Move the pointer to the top, bottom, right or left edge of an existing cell until the pointer shape indicates placing is possible. Cells can always be dropped above or below an existing cell, but they can only be dropped to the right or left when empty space is available. See also: o Placement of Text Cells ═══ 4.8.4.8. Split Text Cell ═══ After calling the split function from a pop-up menu activated by the pointing device, a dashed line appears at the pointer. Move the line to the cut position and press the left button. All text cells on the split line and belonging to the same text area, are split in two. Use this function to create an empty duplicate of a row of cells by splitting an empty line off the top or bottom. ═══ 4.8.4.9. Text Area Move Pointer ═══   This pointer shape appears when the pointer is moved to the upper edge of a text area, slightly off the corners. Press the left button of the pointing device to display a tracking rectangle the size of the text area. Keep the left button pressed and move the pointer to displace the tracking rectangle. Release the button, and the text area is moved to the new position. If you move the base text area in this way, text is repositioned on the page. If a layered text area is moved this way, its contents are repositioned within the page. ═══ 4.8.4.10. Text Area Sizing Pointer ═══   This pointer shape appears when the pointer is moved to any corner of a text area, or to the edge of a text area not covered by a text cell. Press the left button of the pointing device, and a tracking rectangle of the size of the text area appears. Move the pointer while keeping the button pressed to change the tracking rectangle's size. Release the button, and the text area is set to the new dimensions. All its text cells and layered text areas are reformatted in proportion to the changes. To abort the operation, press Esc before releasing the left button. ═══ 4.8.4.11. Text Cell Move Pointer ═══   This pointer shape appears when the pointer is moved to the upper edge of a text cell. Press the left button of the pointing device, and a tracking rectangle of the size of the text cell appears. If there is empty space on the right or left of the cell, you may displace the cell horizontally. When the button is released, the cell is positioned as indicated by the tracking rectangle. See also: o Manipulating a Single Text Cell o Manipulating a Group of Text Cells ═══ 4.8.4.12. Text Cell Sizing Pointer ═══   This pointer shape appears when the pointer is moved to the right or left edge of a text cell. Press the left button of the pointing device, and a tracking rectangle appears outlining the dimensions of the text cell. Keep the button pressed and move the pointer to adjust cell width. When the button is released, the indicated size is set and its contained text is reformatted to the new width. See also: o Manipulating a Single Text Cell o Manipulating a Group of Text Cells ═══ 4.8.4.13. Tabmarker Moving Pointer ═══   This pointer shape appears when the pointer is placed on a tabmarker. Press the left button of the pointing device, and a vertical dashed line appears. Keep the button pressed and move the pointer to adjust the tabmarker's position. All tabmarkers of the active cell with the same horizontal position will be moved. If the dashed line is moved close to a tabstop in the horizontal ruler, the line snaps into the position of the tabstop. ═══ 4.8.4.14. Enclosure Sizing Pointer ═══   This pointer shape appears by moving the pointer to the right or lower edge of a text enclosure (bitmap, data field). When pressing the left button of the pointing device, the outline of the enclosed element appears allowing you to size it. For a bitmap, the aspect ratio is always maintained. To override this, keep the Ctrl key pressed while releasing the button of the pointing device. ═══ 4.9. Menu functions ═══ o Main Menu Functions o Pop-Up Menu Functions ═══ 4.9.1. Main Menu Functions ═══ o File o Edit o Design o Query o Tools o Language ═══ 4.9.1.1. Function File ═══ o New o Open o Clone o Save o Save as o Print o Import o Export ═══ 4.9.1.1.1. Function New ═══ Creates a new, unnamed text document with a default format and font. This function is identical to status window's text, new function. ═══ 4.9.1.1.2. Function Open ═══ Shows the contents of the active directory and opens text documents. This function is identical to the status window's text, open function. ═══ 4.9.1.1.3. Function Clone ═══ Creates a new, unnamed text document which contains the complete structure of the active document without text. All text areas, text cells, and fonts and sizes are recreated. No text is transferred to the new document. ═══ 4.9.1.1.4. Function Save ═══ This function saves the document to disk. If the document is unnamed, the user is prompted to enter a name. ═══ 4.9.1.1.5. Function Save As ═══ This function saves the document to disk with a new name. When the document is renamed, the title bar reflects this change. ═══ 4.9.1.1.6. Function Print ═══ This function invokes the print dialog and prints the document. ═══ 4.9.1.1.7. Function Import ═══ o Import Text o Import Bitmap o Screen Clip ═══ 4.9.1.1.7.1. Function Import Text ═══ This function is used to insert text from disk into the active document. It is not necessary to use this function to read various document formats. Any document invoked through Clearlook's file dialog will be checked for its format. If the format is recognised, the document will be loaded and converted. If the format is not recognised, it will be loaded as a plain ASCII file. Clearlook recognises WP 5.1, 5.2, 6.0, 6.1 and ASCII documents. When importing text from disk into a document, the following considerations apply. o Importing single-cell text: When importing text that consists of a single cell (which is always the case when importing ASCII text files), the imported text is inserted at the cursor position. o Importing multiple-cell text: When importing text that consists of multiple cells, the imported cells and their contents are inserted after the row of cells at the current cursor position. ═══ 4.9.1.1.7.2. Function Import Bitmap ═══ This function loads a bitmap using the .BMP format from disk and inserts it into the text at the cursor position. After inserting a bitmap, it is always displayed in a default size which has no relationship to its actual size. By moving the pointer to the right or lower edge of the bitmap, a sizing pointer appears. Press the left button of the pointing device to size the bitmap. Double-click on the bitmap to activate the bitmap dialog, where you can enter the bitmap display size in units of TWIPS (1440/inch). ═══ 4.9.1.1.7.3. Function Screen Clip ═══ Mark any area on the screen and import it into your document at the cursor position. The print quality of this bitmap depends on the resolution of your screen. Clearlook reads the screen when importing a screen clip. On a VGA screen, the pixel information that the VGA resolution offers is stored in memory. Screens with higher resolutions bring more information into the bitmap and produce a clearer, sharper output when printing. When activating this function, a crosshair pointer appears. Move this pointer anywhere on the screen, press the left button of the pointing device, define the area you want to clip. When releasing the button, the area is imported as a bitmap into your document. Move the pointer to the right and lower edge of this new bitmap to size the image in your document. Double-click on the bitmap to activate the bitmap dialog, where you can use the Save function to store the bitmap to disk in .BMP format. ═══ 4.9.1.1.8. Function Export ═══ This function saves the document to disk with a file name of your choice. If an extension other than .CTX is specified for the file name, the document is saved in the corresponding format if Clearlook supports that format for writing. Otherwise, the document is saved as a plain text file. Saving a document in plain text format saves only the first text cell and all formatting information is lost! ═══ 4.9.1.2. Function Edit ═══ o Undo o Redo o Cut o Copy o Paste o Flow select o Area select o Styles o Colors o Markings o Wrap-lock o Preset hyphen o Datafield o Break o Fill-in o Character table ═══ 4.9.1.2.1. Function Undo ═══ This function will undo all changes in your document after the last save, or up to the point it was loaded. ═══ 4.9.1.2.2. Function Redo ═══ Redo will undo the undo. (It recreates the changes by reversing the undo function.) ═══ 4.9.1.2.3. Function Cut ═══ This function is equivalent to the cut speedbar button and is activated with the Shift+Delete hotkeys. It removes selected text from the document and copies it to the clipboard. ═══ 4.9.1.2.4. Function Copy ═══ This function is equivalent to the copy speedbar button and is activated with the Shift+Insert hotkeys. It copies selected text from the document to the clipboard. ═══ 4.9.1.2.5. Function Paste ═══ This function is equivalent to the paste speedbar button and is activated with the Ctrl+Insert hotkeys. It copies the contents from the clipboard to the document. ═══ 4.9.1.2.6. Function Flow Select ═══ This function activates flow select. Moving the cursor selects text in flow mode. There are several ways to activate flow select: o Press the Shift+F3 keys. o Hold the Shift key and move the cursor with the cursor arrows. o Move the pointer and keep the left button of the pointing device pressed. ═══ 4.9.1.2.7. Function Area Select ═══ This function activates area select. Moving the cursor selects text in area mode. There are several ways to activate area select: o Press the F3 key. o Double-click the left button of the pointing device, move the pointer, and hold the button. ═══ 4.9.1.2.8. Function Styles ═══ This function is equivalent to the styles speedbar button and is activated with the Ctrl+S hotkeys. It displays a pop-up menu with all styles defined in the open documents. It offers an entry to create new styles. ═══ 4.9.1.2.9. Function Colors ═══ This function is equivalent to the colors speedbar button and is activated with the Ctrl+C hotkey. It displays a pop-up menu with all text colors defined in the setup window. ═══ 4.9.1.2.10. Function Markings ═══ This function is equivalent to the markings speedbar button and is activated with the Ctrl+M hotkey. It displays a pop-up menu with all markings defined in the setup window. ═══ 4.9.1.2.11. Function Wrap-Lock ═══ In expressions like George IV you would not want the automatic word wrap to place George at the end of a line and IV at the beginning of the next line. To prevent wrap-around on spaces or hyphens, mark such characters with wrap-lock. Move the cursor on the space or hyphen to be locked and select this function. If show control points is on, the wrap lock appears as a red line below the character. To clear the wrap-lock, select the function again on the same cursor position. If an undesired wrap-around occurs, the wrap-lock feature can be used on characters other than spaces or hyphens. ═══ 4.9.1.2.12. Function Preset Hyphen ═══ You can preset hyphens on any word and position in the text. The word is automatically hyphenated if it best fills the line. The word appears without a hyphen, if it is not located at the end of a line. If show control points is on, the preset hyphen appears as a red vertical line between the characters at the hyphenation point. To clear the preset hyphen, call the function again on the same cursor position. ═══ 4.9.1.2.13. Function Datafield ═══ A new data field is inserted at the cursor position. Data fields are used in transform documents as text variables. ═══ 4.9.1.2.14. Function Break ═══ o Break Column o Break Page o Clear Break ═══ 4.9.1.2.14.1. Function Break Column ═══ When a cell is set to display more than one column, use this function to break the current column and start at the top of the next column. Use the clear break function to remove the column break. The Control+Enter keys also causes a column break. Use Control+Enter again at the same position to clear the column break. ═══ 4.9.1.2.14.2. Function Break Page ═══ This function breaks the current page. Text in the next line is moved to the top of the next page. If several cells are placed horizontally, inserting a page break will break that particular cell. Other cells containing text that flows beyond that point will not break. To cause a definite page break, you may have to enter a page break in each cell. The Control+Enter keys also insert a page break. Use Control+Enter again to toggle and clear the page break. ═══ 4.9.1.2.14.3. Function Clear Break ═══ Use this function to clear previously set column breaks or page breaks. ═══ 4.9.1.2.15. Function Fill-In ═══ This function creates a fill-in to display the page number at the cursor position. To automatically number pages in a document, a layered text area is created at the position where the page number is desired. The text area is set to display on all pages of the document. A page fill-in is created in the text area by selecting this function. The fill-in automatically displays the page number on each page. To alternately display page numbers in different positions on the page (recto/verso setup), create two layered text areas and set them to display alternately on even and odd pages. In each text area, a page fill-in is placed as needed. ═══ 4.9.1.2.16. Function Character Table ═══ This function activates a character table displaying all the glyphs of the font at the cursor position. A character can be selected and inserted in the document. ═══ 4.9.1.2.17. Character Table ═══ All the glyphs of the active font are displayed. The table can be sized horizontally and vertically. To insert a character of the table in the document, double click on the desired character or press the Enter key. ═══ 4.9.1.3. Function Design ═══ o Layout o Cell o Font o Alignment o Border o Tabstop o View o Object menu ═══ 4.9.1.3.1. Function Layout ═══ This function displays the layout dialog where you set the printer, paper size, orientation and margins. This function also sets the units to measure your document. When using this function, place the cursor on a layered text area to access the setup dialog for layered text areas. ═══ 4.9.1.3.2. Function Cell ═══ Use this function to access the text cell dialog to specify width, number of columns, and also the distance between the columns for each text cell. This is also achieved by moving and sizing the text cells with the pointer. ═══ 4.9.1.3.3. Function Alignment ═══ Use this function to set text alignment, via the alignment dialog. You may also use the text alignment speedbar button to set the alignment. ═══ 4.9.1.3.4. Function Font ═══ This function accesses the font dialog to change the font type, typeface, style, size and other attributes. This function is equivalent to the speedbar buttons for font commands. ═══ 4.9.1.3.5. Function Border ═══ This function accesses the border dialog, where you define the appearance and width of the active text area's border. ═══ 4.9.1.3.6. Function Tabstop ═══ This function creates a tabstop in the horizontal ruler and accesses the tabstop dialog, where you define a tabstop's type, position and fill-character. ═══ 4.9.1.4. Function View ═══ This function accesses the view dialog, where you change the viewing scale and display options. ═══ 4.9.1.4.1. Function Object Menu ═══ Object menus are also activated with the F12 key or with the right button of your pointing device. A Clearlook document is composed of several document objects. Each object has its own object menu to manipulate settings and access functions to create new document objects. Just as you may manipulate objects in the workplace shell, you may manipulate the document objects. Every pop-up menu contains a setup function. This function accesses the settings of the top-most object. When activating an object menu, the infobar indicates which object is selected. It is a base text area, a layered text area, a text cell, a bitmap, a fill-in, a data field, a border or a selection. The delete function removes the object from the document. Further functions such as new cell, new text area, new border and new bitmap let you create new document objects. ═══ 4.9.1.5. Function Query ═══ o Search text o Replace text ═══ 4.9.1.5.1. Function Search ═══ This function invokes the search dialog to search for words and character strings. The search looks for the first occurrence of the token and displays its position. All further occurrences of the token are collected and stored. The Next and Previous functions allow movement back and forth from one occurrence to the other. ═══ 4.9.1.5.2. Function Replace ═══ This function invokes the replace dialog to search and replace words and character strings. The search looks for the first occurrence of the token and displays its position. All further occurrences of the token are collected and stored. You may replace all occurrences or move from one occurrence to next (and back) to replace individual occurrences of the token. ═══ 4.9.1.6. Function Tools ═══ o Make Header o Make Footer o Create Note o Edit Notes o Make Footnotes o Make Endnotes o Remove Notes o Transform o Defines ═══ 4.9.1.6.1. Function Header ═══ A layered text area is created and sized to appear as header. The font at the cursor position is used as the header's font. The header is two lines high and contains a fill-in for page numbers. Alignment is set to centered. If the upper margin is large enough, the margin is decreased by the height of one line. This is a helper function to easily create a default header. When the header is created, change the settings to suit your needs. ═══ 4.9.1.6.2. Function Footer ═══ A layered text area is created and sized to appear as footer. The font at the cursor position is used as the footer's font. The footer is two lines high and contains a fill-in for page numbers. Alignment is set to centered. If the lower margin is large enough, the margin is decreased by the height of one line. This is a helper function to easily create a default footer. When the footer is created, change the settings to suit your needs. ═══ 4.9.1.6.3. Function Create Note ═══ When activating this function a new note is created at the cursor position. Use the note as a footnote or endnote. An entry is created in the sub-document, where the corresponding text is entered. Related information: o Transforms and Markings ═══ 4.9.1.6.4. Function Edit Notes ═══ This function activates the sub-document, which contains the notes for footnotes and endnotes. The sub-document is always saved with the main document. When activating, it appears as a full-featured text document which can be edited and printed. The contents of the sub-document are copied to the main document with the make footnotes or make endnotes functions. Related information: o Transforms and Markings ═══ 4.9.1.6.5. Function Make Footnotes ═══ This function imports the notes from the sub-document and creates footers containing all footnotes for a specific page. The temporary note numbers are assigned, starting with one at the beginning of each page. Attention: When show cells is on, the reference numbers are displayed. Since reference number and temporary number may be different, their unequal lengths may cause diverse page wrap positions. This may cause a note to appear on different pages depending on the setting of show cells. When placing footnotes, the actual formatting for printing is taken in consideration, which corresponds to show cells turned off. ═══ 4.9.1.6.6. Function Make Endnotes ═══ This function copies the contents of the sub-document to the end of the main document. Incremental temporary numbers are assigned. ═══ 4.9.1.6.7. Function Remove Notes ═══ This function removes endnotes and footnotes imported from the sub-document. This function does not change the sub-document content. Footnotes and endnotes can therefore be recreated any time by calling the make footnotes or make endnotes functions. ═══ 4.9.1.6.8. Function Transform ═══ This function prompts you for a transform document. Once the transform document is selected, all text markings in the active document are transformed as defined in the transform document. A new, unnamed document containing the transform result is created. The transform function is called from the source document which contains the markings for the new destination document. ═══ 4.9.1.6.9. Function Defines ═══ This function is used when defining a transform document. The transform process takes the markings of the source document, and creates a new destination document according to the transform definition. It is possible to create new sort orders during this process and to merge identical text strings. This is defined in the transform document, using the defines dialog activated by this function. ═══ 4.9.1.7. Function Language ═══ o Check Document o Check from Cursor o Check Typing o Hyphenate Document o Hyphenate from Cursor o Clear Hyphenation o Thesaurus o Set Language ═══ 4.9.1.7.1. Function Check Document ═══ This function invokes the spelling dialog. All words are verified for correct spelling. ═══ 4.9.1.7.2. Function Check from Cursor ═══ The spelling dialog is invoked. Words starting at the cursor position are verified for correct spelling. ═══ 4.9.1.7.3. Function Check Typing ═══ Spelling is verified as words are typed. A word is considered complete when a space or similar separation character is typed. If an incorrect spelling is detected, the typing dialog is invoked and a list of possible correct spellings displayed. If the user lexicon contains word pairs, recognized tokens are automatically replaced while typing continues. ═══ 4.9.1.7.4. Function Hyphenate Document ═══ This function invokes the hyphenation dialog. All words are checked for possible hyphenation. ═══ 4.9.1.7.5. Function Hyphenate from Cursor ═══ The hyphenation dialog is invoked. Words starting at the cursor position are checked for possible hyphenation. ═══ 4.9.1.7.6. Function Clear Hyphenation ═══ All conditional hyphenation points in the document are removed. ═══ 4.9.1.7.7. Function Thesaurus ═══ The thesaurus dialog is invoked for the word at the cursor position. If available, meanings, synonyms, antonyms and compared word lists are presented. If the word is not in the thesaurus, its spelling is verified and a list of sound-alike words presented. ═══ 4.9.1.7.8. Function Set Language ═══ This function sets the documents language. The language setting loads the corresponding language files for spell checking and thesaurus requests. The document's language may also be set in the layout dialog. Individual cells may be set to a different language in the text cell dialog. Setting cells to no language, turns spell checking off for that cell. ═══ 4.9.2. Pop-up menu functions ═══ o Setup (cursor object) o Setup (pointer object) o Delete o Clone o Split o New Cell o New Text Area o New Border o New Bitmap ═══ 4.9.2.1. Function Setup (cursor object) ═══ This function gives you access to the setup of the active document object. The top object under the cursor defines the active object. The cursor never indicates a text area or border, since the cursor cannot be moved outside a text cell, and a text area is always below a text cell at the cursor position. Therefore the setup function offers the choices of top object, text area and border. Each function activates the setup dialog for the specified document object. ═══ 4.9.2.2. Function Setup (pointer object) ═══ This function accesses the setup dialog of the top object as indicated in the information bar. This is the same as calling the layout, cell, border or text area menu functions. ═══ 4.9.2.3. Function Text Area ═══ This function accesses the settings of the active text area. When the cursor is positioned on a higher-level text area, it invokes the setup dialog for layered text areas. If the active cell is contained in the base text area, the layout dialog of the document is invoked. ═══ 4.9.2.4. Function Delete (document object) ═══ This function deletes the active document object. The cursor position defines the active object. Since the cursor cannot be placed on a text area (without a text cell on top of it) or a border, choose the top object as indicated in the infobar, or specify the text area or border to be deleted. ═══ 4.9.2.5. Function Delete (indicated object) ═══ When invoking a pop-menu in a text document by pressing the right button of the pointing device, the active object is defined by the position of the pointer. The information bar indicates which object is selected. This function removes the indicated object. If a text area has only one text cell, the text cell cannot be removed. ═══ 4.9.2.6. Function Delete Text Area ═══ This removes the active text area. You cannot remove the base text area, but you can remove a layered text area. Removing a text area also removes all its cells with content. ═══ 4.9.2.7. Function Delete Border ═══ This function removes the border of the active text area. ═══ 4.9.2.8. Function Clone (cursor object) ═══ You may clone the text cell or the text area. Cloning means to create a new identical object without text. When cloning a layered text area, the border of the text area is recreated. When cloning a text cell, the font settings are recreated. ═══ 4.9.2.9. Function Clone (pointer object) ═══ The object indicated on the infobar may be cloned. Clone a layered text area or a text cell. ═══ 4.9.2.10. Function Clone Text Area ═══ Cloning means to create a new identical object without text. When cloning a layered text area, the border of the text area is recreated. ═══ 4.9.2.11. Function Clone Cell ═══ Cloning means to create a new identical object without text. When cloning a text cell, the settings for the font are recreated. ═══ 4.9.2.12. Function Split (cursor object) ═══ This function splits all text cells in one row (horizontally adjacent text cells). The line containing the cursor becomes the first line of the lower row of text cells. ═══ 4.9.2.13. Function Split (pointer object) ═══ A dashed line is displayed. Move this line to indicate the horizontal cutting line where a cell or a row of cells will be split. To split cells, press the left button, to abort, press the Esc key. To easily create new rows of cells in tables, split the top or the bottom of a row of existing cells. ═══ 4.9.2.14. Function New Cell ═══ This function creates new, empty text cells. Create a single cell or an array of cells to form a table. You are prompted to position the new cells to the left, right, top or bottom of an existing cell. This function opens one new text cell in the document, or creates a table consisting of several text cells of identical size. When selecting the function, a sample of a table appears. Move the pointer to mark a single cell, a row of cells or an array (rows and columns) of cells. You can define how many new cells are created and their organization in rows and columns. To execute this action, press the first button of the pointing device and keep it pressed. You are prompted to place the single cell or array of cells defined. Different pointer shapes appear as you move the pointer over the document, indicating positions to 'drop' the new cells. Release the first button to place the cells, press Esc to abort the operation. If placed above or below an existing cell, an array of identically-sized cells is inserted on the top or the bottom. If the left or right sides are chosen, empty space must be available on the side of the existing cell. All of the empty space is used to open the cells defined. The new cells inherit the font settings on the cursor position at the beginning of the operation. This function is equivalent to the open cell, create table speedbar button. ═══ 4.9.2.15. Function New Text Area ═══ When activating this function, a new layered text area is inserted into the document at the cursor or pointer position. The new text area is contained in the active text area. If this function is invoked while the cursor or pointer is on the base text area, a second-level text area is created. If the function is called with the cursor or pointer in the second-level text area, a third-level text area is created (and so on). Size and move the new text area according to your needs. The new text area has one cell. This cell inherits the font settings on the cursor position at the beginning of the operation. ═══ 4.9.2.16. Function New Border ═══ This function creates a new border with default size for the active text area. Double-click the new border or use the border menu function to change border settings and appearance. ═══ 4.9.2.17. Function New Bitmap ═══ Use this function to import a new bitmap from disk or screen. These functions are identical to the import bitmap and screen clip functions in the main menu. ═══ 4.9.3. Area Selection Functions ═══ o Text Cell Settings o Delete Selection o Grow o Shrink o Align Left o Align Right o Align as Table ═══ 4.9.3.1. Function Text Cell Settings ═══ This function changes the settings of a group of cells. To define a group of cells, select cells in area mode. Place the cursor or pointer on the selection and activate the object menu to access this function. The text offset, language, shading and border settings may be changed. When setting the border for a group of cells, the group is framed in the border defined, while the individual cells are outlined by thin lines. In other words, this way you create the appearance of an outlined table. This function displays the selected text cells dialog. ═══ 4.9.3.2. Function Delete Selection ═══ Selected objects are removed from the document. ═══ 4.9.3.3. Function Grow ═══ If several cells are selected in area mode, this function enlarges their size to the size of the largest cell. Sufficient space is required on the right of the cells for the enlargement to succeed. Otherwise, the cells are enlarged only as far as available space allows (until an adjacent cell is reached). ═══ 4.9.3.4. Function Shrink ═══ If several cells are selected in area mode, this function reduces their size to the size of the smallest cell. ═══ 4.9.3.5. Function Align Left ═══ If several cells are selected in area mode, this function aligns all selected cells to the left edge of the cell furthest to the left. ═══ 4.9.3.6. Function Align Right ═══ If several cells are selected in area mode, this function aligns all selected cells to the right edge of the cell furthest to the right. ═══ 4.9.3.7. Function Align as Table ═══ If several cells are selected in area mode, this function aligns the selected cells as a table with border and seperation lines. When invoking the function, the cells can be dispersed. The top left cell defines the left edge of the table. The widths of the cells in the first row define the widths of the columns. If the top left cell has a border definition, then it will be used as border for the whole table. ═══ 4.9.4. Area Insert Functions ═══ o Insert Above o Insert Below o Insert Left o Insert Right ═══ 4.9.4.1. Function Insert Above ═══ The cells are inserted above the active text cell. ═══ 4.9.4.2. Function Insert Below ═══ The cells are inserted below the active text cell. ═══ 4.9.4.3. Function Insert Left ═══ The cells are inserted on the left side of the active text cell. ═══ 4.9.4.4. Function Insert Right ═══ The cells are inserted on the right side of the active text cell. ═══ 4.10. Word Processor Dialogs ═══ o Speedbar Dialogs o Print + View Dialogs o Area + Cell Format Dialogs o Alignment + Font Dialogs o Enclosure Dialogs o Search + Replace Dialogs o Spell Checking Dialogs ═══ 4.10.1. Speedbar dialogs ═══ Speedbar dialogs contain pop-up menus, lists, or scales to set a value. Use the preference settings to customize the behavior of these pop-ups. If single-click pop-up menus is checked, the pop-ups appear by pressing the speedbar button. They disappear when the button is released. If single-click pop-up menus is not checked, the pop-ups appear by clicking the speedbar button and disappear when a choice is made by clicking on an item. To abort an operation press Esc or click (or release) the button outside the pop-up. o View Scale o Table Size o Alignment o Leading o Line Distance o Number Columns o Styles o Font Typeface o Font Size Scale o Font Size List o Font Style o Lining o Positioning o Font Color o Markings ═══ 4.10.1.1. View Scale ═══ Scale the view of your document from 20% to 300%. For greater enlargements and automatic sizing to fit the window, call the view dialog. ═══ 4.10.1.2. Table Size ═══ Move the pointer over the outline of the displayed table. All cells between the left upper corner and the position of the pointer appear inverted and define an array of cells. If you confirm this choice, a table with the indicated dimensions is created. You are prompted to place the table. If only the first dot is marked, one text cell is created. If a row of dots is marked, a row of text cells is created. If a column of dots is marked, a column of text cells is created. The new text cells have the same width, and fill the available horizontal space completely. The text cells are created with a height of one line. After invoking, the dialog allows to define a table of 10 x 10 cells. If you move the pointer beyond the limit, it automatically expands. ═══ 4.10.1.3. Alignment ═══ The alignment at the cursor position is highlighted selected. Text is set to the new value according to the scope rules. ═══ 4.10.1.4. Leading ═══ As a default, leading is set to automatic, which means that the font's default leading value is used to calculate the distance between lines. Move the cursor to another setting to override the default leading. Text is set to the new value according to the scope rules. ═══ 4.10.1.5. Line Distance ═══ As a default, line distance is set to automatic, which means that Clearlook calculates the line distance via the size of the fonts in a line and the leading information contained in the fonts. Set a fixed line distance to override the automatic line spacing feature. The units of measurement correspond to the traditional units used on typewriters. The value of 1 corresponds to a line distance of 1/6". Text is set to the new value according to the scope rules. ═══ 4.10.1.6. Number Columns ═══ Each cell can be individually set to display its contents in any number of adjacent columns. Move the pointer to set the number of columns. When you leave the dialog, the new setting is active. ═══ 4.10.1.7. Styles ═══ All styles defined in the active document and all open documents are displayed. Styles belonging to other documents are shown with an asterisk (*). Select any of the styles or create a new style by selecting CREATE NEW. To edit a style, press the Ctrl-key. Text is set to the new style according to the scope rules. ═══ 4.10.1.8. Font Typeface ═══ All fonts installed in Presentation Manager are listed. Choose the new setting and exit the dialog. Text is set to the new value according to the scope rules. ═══ 4.10.1.9. Font Size Scale ═══ Vector fonts can be scaled to any size. Choose the new setting and exit the dialog. Text is set to the new value according to the scope rules. ═══ 4.10.1.10. Font Size List ═══ A list of available sizes is displayed for the bitmap font in use. Choose the new setting and exit the dialog. Text is set to the new value according to the scope rules. ═══ 4.10.1.11. Font Style ═══ All styles for the font at the cursor position are displayed. Choose the new setting and exit the dialog. Text is set to the new value according to the scope rules. ═══ 4.10.1.12. Lining ═══ Select the type of underscore or strike-out. If NO PRINT is selected, the affected text is visible only when show control points is on. Text set to no-print does not print. Text is set to the new value according to the scope rules. ═══ 4.10.1.13. Positioning ═══ For a description of the different types of positioning see superscript, subscript. Text is set to the new value according to the 33330.scope rules. ═══ 4.10.1.14. Font Color ═══ Set text to any color value defined in the setup window. The color value is stored in the document, thus subsequent changes to the color definitions do not affect the color setting. Text is set to the new value according to the scope rules. ═══ 4.10.1.15. Marking ═══ Set text to any marking defined in the setup window. The marking value is stored in the document, thus subsequent changes to the marking values do not affect the document. Text is set to the new value according to the scope rules. ═══ 4.10.2. Print + View Dialogs ═══ o Print o View ═══ 4.10.2.1. Print Dialog ═══ Printer dropdown list: All printers installed in the workplace shell are listed. Select the printer you want for output. The setup button accesses printer-specific settings. Choice of paper size and orientation are accessible through this function. Paper size: The selected paper size is indicated here. Make changes with the setup button. Formatted to: If the document is formatted with printer information unavailable in the present environment of the operating system, the original format is indicated. If moving documents from one system to another with different printers, this field may appear to let you know the original orientation and paper size. Unit dropdown list: Select the unit of measurement. All size indications are specified in the unit you select. Copies: Specify the number of copies to print. Step: A value of 1 causes each page to print, a value of 2 prints each second page, and so on. ═══ 4.10.2.2. View Dialog ═══ Zoom: Set the viewing scale for your document. If your document uses vector fonts only, you can view it in any size from 20% to 1200%. If your document uses bitmap fonts, this field is disabled. Show margins: Toggles the display of the margin. Margins are set in the layout dialog or by moving and sizing the base text area. Show cells: Toggles the display of the document's cell structure. Show control points: Toggles the display of control points. Show ruler: Toggles the display of the horizontal ruler. Show speedbar: Toggles the display of the speedbar. Show infobar: Toggles the display of the information bar. The speedbar and infobar settings affect all documents at the moment of loading. The other dialog settings affect the active document. ═══ 4.10.3. Area + Cell Formatting Dialogs ═══ o Layout o Layered Text Area o Border o Text Cell o Selected Text Cells o Tabstops o Tabmarkers ═══ 4.10.3.1. Layout Dialog ═══ Use this dialog to adjust the text placement on the page, the orientation, and the printer. Printer dropdown list: Any printer installed in the workplace shell appears. The selected choice is recorded in the text document and presented as the first choice when printing. The setup button accesses printer-specific settings. The dialog that appears when pressing the setup button is dependent upon the selected printer. Choice of paper size and orientation are accessible through this function. The number of copies to print may be set here, but be careful, this is recorded in your text document. For subsequent printing, the number entered here overrides the setting in the print dialog. Paper size: The selected paper size is indicated here. Any changes are entered using the setup button. Language: Specifies the language used for spell checking. This setting may be overridden by the language setting of a text cell. Shading: Specifies shading for the document. The background of the base text area is shown in the specified shading. This setting may be overridden by the shading set for a text cell. Unit dropdown list: Select the unit of measurement. All size indications are specified in the unit you select. The only exception is font size, which is always measured in points. Backup dropdown list: Override the default time-out for automatic backup of the document. Margins: Enter the exact margins you want. You may also visually change the margins by moving and sizing the base text area. Settings given here usually correspond to the actual distances on the printout, but frequently printers have slight offsets. For example, if a 1 inch margin is specified, it may be slightly more or less, but the offset should always be the same for the same printer. Width and height: Specify the width or height. The margins are adjusted and automatically set to equal values of remaining free space on the page. Duplex margins: Enter additional margins to the margin settings on every second page. If using a duplex printer or combining front and back pages together, enter an additional offset. This corresponds to the offset difference on the left and top margins of the front and back pages. ═══ 4.10.3.2. Layered Text Area Dialog ═══ Specify the size and position of a layered text area. You may specify a page range to display this text area. Height, width, position: The distance from the upper and left edge of the parent text area, height, and width of the text area are displayed. The units correspond to the setting in the layout dialog. Shading: Specifies the background of the text area. This setting may be overridden by the shading set for a text cell. From page, To page: Enter the page number on which the text area will display. Enter a range of pages, for example, from page 1, to page 9999. This causes the text area to display on all those pages. The text area can be manipulated on the first page specified. The text area is displayed on subsequent pages, but cannot be manipulated. Step: For example, a step of 2 displays the text area on every second page, starting at the From page specification. ═══ 4.10.3.3. Border Dialog ═══ You can define a border for every text area. Line width: The width of the line that constitutes the border. Setting a value of zero removes the border. External margin: The distance from the outer edge of the text area to the first line of the border. Internal margin: The distance from the inner line of the border to the space available to text cells. Number of lines: The border can be composed of any number of lines. Line distance: If number of lines is set to a value larger than one, this field appears. Specify the distance between the lines. Line decrease: If number of lines is set to a value larger than one, this field appears. Specify a decrease in line width for each subsequent line. A line width of 0.6" and a decrease value of 30%, for example, creates an outermost-line width of 0.6", a second-line width of 0.4" and a third-line width of 0.2". If a negative value is entered, the line width increases from the outside to the interior of the frame design. Radius: If the line type is set to rounded, this field appears. Specify the corner radius. You may set a value larger than the width or height of the text area. This creates an elliptical border that fits exactly within the new text area. Meander: Creates borders that meander. The minimum number of lines for this design is 3. When more are specified, the design is placed within a rectangular border. Higher values selected for the number of lines, repeats the meander design. Shading: Set one of the shadings to lighten the appearance of the design. Border designs with wide lines gain an attractive look when combined with shading. ═══ 4.10.3.4. Text Cell Dialog ═══ Width: Specify the width of a text cell. Columns: Enter the number of columns this cell will use to display text. The number of columns set with the speedbar button corresponds to this entry. The speedbar button allows values from one to eight. In Columns you may enter values up to 255. Distance: Specifies the distance between columns, when the number of columns is greater than one. Text Offset: This is a 'margin' of white space between the edge of a cell and its text. When defining a cell border, use these settings to specify white space between the border and the text. Language: Specifies the language used for spell checking. If set to default, the document's settings are used. If set to none, spell checking is disabled. Set to any other value, it overrides the document's settings. Shading: Specify the background of the text cell. This setting overrides any setting for the text area. Border: You can define a border for every text cell. The value entered for line width defines the width of the border. A value of zero removes the border. A shading can be specified for the border lines. To create a border around a group of cells, select the group in area mode. Then invoke selected text cells dialog via the object menu of the selection. ═══ 4.10.3.5. Selected Text Cells Dialog ═══ To change settings for a group of text cells, select the cells in area mode. Activate the object menu on the selection, and invoke this dialog. In a single operation, set new values for text offset, language, shading, or border for the group of cells. Specify which qualities will change. For example, to change the language without setting all selected cells to the same shading, check only the language box. Changing selected text cells with this dialog is the same as entering the changes for each text cell, except when changing the border of a group of cells. Setting a border for a group of selected cells outlines the whole group in the border, and the group appears as an outlined table. The cells within the group are outlined with a thin line. Use this effect to outline a table within a table, or to create any kind of overlap. ═══ 4.10.3.6. Tabstop Dialog ═══ Changing values in this dialog affects all tabmarks located in the same horizontal position. Position: Enter the precise position of the tabstop. Changing the value moves all tabmarks located in the same horizontal position. Fill-character: Specify the character to fill the empty space created by the tabmark. The character is repeated with an alternating space until the width of the tabmark is filled. Alignment on: Specify the character to be used with right alignment. Any character with a code smaller than 65 ('A') can be entered. For decimal tabs you may want to enter a period or a comma. Right aligned: If checked, new tabmarks created by this tabstop are right-aligned. Flush right: If checked, new tabmarks created by this tabstop are flush right-aligned with the right margin. Indent point: If checked, new tabmarks created by this tabstop will indent paragraphs. Hanging indent: If checked, new tabmarks created by this tabstop will create paragraphs indented from the second line on. Double indent: If checked, new tabmarks created by this tabstop will indent paragraphs on the left and right equally. Delete: Removes the tabstop from the horizontal ruler. Tabmarks located in the same horizontal position are not affected. ═══ 4.10.3.7. Tabmarker Dialog ═══ Changing values in this dialog affects the active tabmark. If the dialog is closed with the All button, all tabmarks located in the same horizontal position are changed. Position: Enter the precise position of the tabmark. Fill-character: Specify the character to fill the empty space created by the tabmark. The character is repeated with an alternating space until the width of the tabmark is filled. Alignment on: Specify the character to be used with right alignment. Any character with a code smaller than 65 ('A') can be entered. For decimal tabs you may want to enter a period or a comma. Right aligned: Makes the tabmark right-aligned. Flush right: Makes the tabmark flush right-aligned with the right margin. Indent point: The tabmark will indent paragraphs. Hanging indent: The tabmark will create paragraphs indented from the second line on. Double indent: The tabmark will indent paragraphs on the left and right equally. Delete: Removes the tabmark from the document. ═══ 4.10.4. Alignment + Font Dialogs ═══ o Alignment o Font o Styles ═══ 4.10.4.1. Alignment Dialog ═══ Use this dialog to specify the text alignment within one cell or several cells, and to specify the amount of white space between lines by line distance or leading values. Alignment: Text within a cell can be aligned to the left or right edge of the cell or centered between the edges. It can display in full justification, completely filling the width of the cell. Full justification is achieved by adding extra space to every character in the line, or by adding extra space between words only. Scope: Changes to alignment or line distance affect the document according to this setting: o Active cell: Changes affect the cell where the cursor is positioned when activating the dialog. o Active text area: Changes affect all cells in the same text area where the cursor is positioned. o Entire document: Changes affect all cells of the document, regardless of the text area they are contained in. o Selected text: Changes affect selected text only. Note: Depending if text is selected in flow or area mode, the changes affect the document in different ways. Active cell, active text area, and entire document settings perform as if selected in area mode! Line distance: Clearlook calculates the height of a line via the fonts used in that line and the default leading value for each font. By checking this button, a field appears. Enter a value to override the automatic calculation. The units correspond to the units selected in the layout dialog. To specify a user line distance with typewriter units such as 1, 1.5, 2 etc., use the line-distance speedbar button. Setting this field overrides the automatic calculation of the line height, and may cause subsequent lines to overlap. User leading: Check this button to display an entry field to enter a value for leading in the units you choose. Leading is the preferred method to increase or decrease the distance between lines, since it does not override Clearlook's automatic line-height calculation. Leading refers to an amount of white space added between subsequent lines. Fonts usually contain a default leading value. If no user leading is specified, Clearlook uses this value to space lines. By manually entering a value for user leading, you may reduce the font's leading value (down to zero) and cause the lines to move closer together. If a value larger than the font's leading is specified, the lines move further apart. Lines do not overlap, because the value for the additional distance between lines is modified. ═══ 4.10.4.2. Font Dialog ═══ Name: Lists all fonts installed in Presentation Manager. The font at the cursor position is highlighted. The list displayed depends on the font type selected. If you toggle the setting for vector and bitmap fonts, the font list changes. Style: All styles available for the selected font are displayed. Most fonts offer styles of regular, bold, italic, bold-italic. Some fonts offer additional choices. The choices in this field depend on the selection in the name field. Size: A list of the most common choices is displayed. Enter any size in the entry field of the dropdown list, if font type is set to vector. If font type is set to bitmap, a list of available font sizes is displayed. The field for font size is then disabled. Attribute: Check any choice, and the system emulates the attribute. Font type: Presentation Manager allows two font types: Vector and bitmap fonts. In printable text documents you may prefer to use vector fonts, since they can be scaled to any size. With vector fonts, you can view your text document in any scale. For certain editing purposes, bitmap fonts are preferred. Bitmap fonts display slightly faster and clearer. A bitmap font is usually offered in several fixed sizes, and cannot be sized to any value like vector fonts. If you use a bitmap font anywhere in your text document, you are unable to scale the view of this document. Clearlook lets you mix vector and bitmap fonts for special purposes, though this is not recommended. Scope: Any changes set in the above fields affect your document according to the scope setting. ═══ 4.10.4.3. Styles Dialog ═══ A style is a collection of text attributes. Instead of applying several text attributes to the same portion of text, you may define a style and apply the style to those portions of text. If you use Helvetia, 16 pt, Underscore in several parts of a document for example, you may either apply these three attributes wherever needed, or define a style set to these three attributes and apply the style to your text. The latter is just one item to handle. An additional advantage of styles is their ease to change, add and remove additional attributes in the style definition, causing all portions of text with that style to appear in the new setting. (You can achieve the same by area selecting the document and changing individual text attributes.) You may combine conventional attribute settings and styles in any manner. Clearlook's styles have a look-through feature for every attribute. An attribute is set to look-through, when a dashed line appears as a setting (or a value of zero for size). To use a style for a variety of colors for example, set color to look-through. The conventional attribute settings for color will then also affect the 'styled' portions of text. If color is set to red in the style, all 'styled' text parts appear in red, independent of other color attributes set in the stream of characters. Styles can be conveniently used to collapse portions of text. Set the lining in the style definition no-print. This causes all of the portions of text set to that particular style to disappear. The collapsed text is visible if show cells is on. Name: The name you give the style serves your reference only. Style: This refers to the font style, usually regular, bold or italic. ═══ 4.10.5. Enclosure Dialogs ═══ o Bitmap o Data Field o Note Number o Fill-In o Date Format o Time Format o Page Number Format ═══ 4.10.5.1. Bitmap Dialog ═══ The bitmap dialog provides information on the setup of the bitmap. You may also enter the display width and height in units of TWIPS (1440/inch). The Save As button lets you save the bitmap in .BMP format. ═══ 4.10.5.2. Data Field Dialog ═══ You can conveniently activate this dialog by pressing Ctrl+D on an existing data field. Field Number: The number entered defines the content filled into the field during transforms. The field number and the marking ID must correspond. When transforms are executed, Clearlook fills all the markings of the source document into fields with numbers identical to the marking IDs. A marking with a value of 100 is filled into the transform document's field with field number 100. Uppercase Only: Sets text in the field to uppercase. Right Align: Aligns text to the right edge of the field. Page Count: Automatically displays the (active) page number of the source document. Transform documents for tables-of-content and indices use fields with this setting. Variable length: If variable length is not checked, the text filled into the data field is truncated to the length of the data field. If variable length is checked, the field expands or shrinks according to the amount of text filled into it. Suppression right, left: These entries appear when variable length is checked. The values in these entries control the action taken when the field remains empty. In a transform that creates labels for example, some address labels may use a P.O. Box entry, while others do not. What happens with the field for the P.O. Box in addresses where it is not used? This field remains empty. Setting variable length causes the field to shrink to zero. If you have reserved a separate line in the address for the P.O. Box, you may want this line to disappear if not used. This is controlled with suppression right and left. Suppression right is the quantity of characters suppressed in the transforming document, if the field is zero. If a suppression right value of 1 is set for the P.O. Box field, then when not used, the character to the right of the field is removed with the field. If the character to the right is a carriage return terminating the line, then the whole line is removed. Use suppression right and left in any combination and cause them to remove other data fields. Remember that a data field counts as one character! Variable length, lines constant is similar to variable length. If settings for suppression right or left remove carriage returns, the number removed is added at the end of the text cell containing the data field. ═══ 4.10.5.3. Note Number Dialog ═══ You can conveniently activate this dialog by pressing Ctrl+N on an existing note number. When creating notes, reference numbers and temporary numbers are automatically created. The reference number is created at the same time as the note. The temporary number is set every time the make footnotes or make endnotes functions are used. The reference number remains unchanged. To manually link a specific part of your your text document to a specific note, change the value of the reference number. That is the purpose of this dialog. Remember that the reference number in the main body of the document must correspond to the reference number of the note in the sub-document. ═══ 4.10.5.4. Fill-In Dialog ═══ You can conveniently activate this dialog by pressing Ctrl+F. Page number: Creates a fill-in that contains the page number. Date: Creates a fill-in that displays the document creation date, or the current date. Time: Creates a fill-in that displays the document creation time, or the current time. File name: Creates a fill-in that displays the file name. When the file name changes, contents of the fill-in are updated. Path name: Creates a fill-in that displays the path name of the document. For page, date and time a format dialog is available to set a variety of formats. ═══ 4.10.5.5. Date Format Dialog ═══ The date format dialog defines formats for date, by defining its composition. A date has one to four portions. For each portion, define if day, month or year should be displayed, as well as the numeric or verbose format. A verbose format is available for the year as well. It displays a year name as used in the calendars of some Asian countries. These calendars usually begin the new year in February or March. This offset is not taken into account when the verbose format of year names is used. Date portions may be separated by a variety of different characters, including a dot or coma with space. For some date formats, where additional text is included between the weekday and date for example, these formatting features may not be enough. In these cases, create the format by including two fill-ins for date. One formatted to show the day of the week followed by additional text, the other formatted to numerically display the date. Static date displays the document creation date or the fill-in creation date. If you define a fill-in for date in a document template, whenever you use the template to create a document from it, the creation date of the document is filled-in. Momentary date displays the display or print date. This is useful to automatically insert the print date in documents. ═══ 4.10.5.6. Time Format Dialog ═══ A time format is composed of three portions, each set to hour, minute, or second. Define time formats with one, two or three portions activated. Formats for 12 and 24-hours are available. If a 12-hour format is chosen, you may specify the display of AM-PM. Static time displays the document creation time or the fill-in creation time. If you define a fill-in time in a document template, whenever you use the template to create a document from it, the creation time of the document is filled in. Momentary time displays the display or print time. This is useful to automatically insert the print time in documents. ═══ 4.10.5.7. Page Number Format Dialog ═══ When creating a fill-in for page numbers, the actual page number of the document is displayed, taking into consideration the setting for first page in the layout dialog. Specify an additional offset for the fill-in to create page numbers for documents set up in subportions such as 2-20, 3-16. ═══ 4.10.6. Search + Replace Dialogs ═══ o Search o Replace ═══ 4.10.6.1. Search Dialog ═══ Use the search dialog to search for words and character strings throughout your document. Once searching is triggered, the document's position of the first occurrence of the token is displayed, while the rest of the document is searched in the background. All occurrences of the token are retained and may be viewed using the Next and Previous functions. Search for: Enter the token, the string of characters you want to search for in the document. Case sensitive: If checked, a search for 'THIS' will not find 'this'. Whole words: If checked, a search for 'search' will not find 'searching'. The token is considered a word and only identical character strings delimited by word separators, such as spaces, are returned. Start at top: If checked, searching starts at the beginning of the document, otherwise searching starts at the cursor position. Search: Triggers the search for the token. Next, Previous: Shows the next, or previous position of an occurrence of the token. ═══ 4.10.6.2. Replace Dialog ═══ Use the replace dialog to search for words and character strings throughout your document and replace them all or one-at-a-time. When searching is triggered, the document's position of the first occurrence of the token is displayed, while the rest of the document is searched in the background. All occurrences of the token are remembered and can be accessed using the Next and Previous functions to individually replace any tokens. Search for: Enter the token, the string of characters you want to search for in the document. Replace by: Enter the replacement, a string of characters to replace the token. Case sensitive: If checked, a search for 'THIS' will not find 'this'. Whole words: If checked, a search for 'search' will not find 'searching'. The token is considered a word and only identical character strings delimited by word separators, such as spaces are returned. Start at top: If checked, searching starts at the beginning of the document, otherwise searching starts at the cursor position. Direct: This setting is used to replace large amount of data in the fastest possible way. The functions Next, Previous and Undo are not available with this setting. Search: Triggers the search for the token. Next, Previous: Shows the next, or previous position of an occurrence of the token. Replace: Replaces the token in the document at the position shown. Replace All: Replaces all occurrences of the token in the document starting at the position shown. This command can be repeated any number of times with different character strings as replacement. Use the Next and Previous functions to move to a desired occurrence. ═══ 4.10.7. Spell Checking Dialogs ═══ o Spelling o Check Typing o Hyphenation o Thesaurus o Set Language ═══ 4.10.7.1. Spelling Dialog ═══ After invoking this dialog, the first unknown word is displayed, while simultaneously checking the remaining words in the document. A list of spellings and sound-alike words is presented. Select the correct word and use the correct function to replace the spelling. If no correct spelling is available, correct the Entry word and use the replace function to correct the document. To access the entry word, press Shift+Tab or access the manual function. Entry word: The unknown word as found in the document. Spellings: A list of possible spellings. The list considers a variety of common typing errors, frequent misspellings and sound-alike words. Add temporary: Adds the entry word to the temporary list. Subsequent occurrences of exactly the same sequence of characters are recognized. The temporary list is cleared when leaving Clearlook. Add userlist: Adds the entry word to the user lexicon. Next: Skips the unknown word and moves to the next occurrence of an unknown word. Previous: Moves to the previous occurrence of an unknown word. Correct: Replaces the unknown word with the selected word in the spellings list. Replace: Replaces the unknown word with the character string in entry word. Checked: Shows the number of words that were checked. Unknown: Shows the number of unknown words found and not corrected. When zero is reached, all words in the document are known or corrected. ═══ 4.10.7.2. Check Typing Dialog ═══ When check typing is on, this dialog appears when an unknown word is typed. A list of possible spellings and sound-alike words is presented. Select the word and use the correct function to replace the spelling. Add temporary: Adds the entry word to the temporary list. Subsequent occurrences of exactly the same sequence of characters are recognized. The temporary list is cleared when leaving Clearlook. Add userlist: Adds the entry word to the user lexicon. Correct: Replaces the unknown word in the document with the selected word from the spellings list. ═══ 4.10.7.3. Hyphenation Dialog ═══ After invoking this dialog, the document is checked for possible hyphenation points. If hyphenating a word cuases better filling of a line, the word is searched in the language files. If found, a conditional hyphenation point is inserted. If the word is not found in the language files, possible hyphenation points are calculated and presented for verification. Hyphenation points are shown as an exclamation mark (!). The word's hyphenation points can be edited. Confirming the entry causes the word in the document to be hyphenated. Optionally the word and its hyphenation information can be saved in the user lexicon. Entry word: The unknown word with calculated hyphenation points. Add userlist: Adds the entry word to the user lexicon. Next: Skips the unknown word and moves to the next occurrence of an unknown word. Previous: Moves to the previous occurrence of an unknown word. Hyphenate: Replaces the unknown word with the entry word. ═══ 4.10.7.4. Thesaurus Dialog ═══ When the thesaurus is invoked via its menu function, the word at the cursor position appears as an entry. A list of meanings is displayed if available. If not, the spelling is checked and sound-alike words are presented. For each meaning, a list of synonyms, antonyms, compared, related and contrasted words may be available. Entry: The word for which meanings are requested. Words: List of words according to the setting of synonyms, antonyms, compared, related and contrasted words. Meanings: Available meanings for the entry word. The US English language files provide meaning definitions. New: Makes the selected word in words list the new entry. Replace: Replaces the selected word in the text document with the selected word in words. ═══ 4.10.7.5. Set Language Dialog ═══ Set the language used to spell check the document. The setting is identical to the language setting in the layout dialog. ═══ 5. Appendix ═══ o Using Help o Containers o Objects o Pop-up Menus o File Dialog o Technical Information ═══ 5.1. Using Help ═══ Press the F1 key at any point in the program to access context-sensitive help. The help screens contain keywords marked in cyan. Double-click these keywords or press Enter to access further information. If you use the keyboard, jump from one keyword to the next by pressing the Tab key and jump back by using Shift+Tab. Related information: o Using Help in the Word Processor ═══ 5.2. Containers ═══ A container is a vessel for objects. Using the pop-up menus you may create and configure your own objects. When a document is opened or created, Clearlook may also create an object in the container to represent the document. Related information: o Status Window ═══ 5.3. Objects ═══ In general, an object is defined as that which has existence. In the context of Clearlook, a text document is an object, the structural elements of a document are objects, a window is an object. When a document is saved to disk it is an inactive object. When the document is loaded from disk to be displayed on the screen, we activate the object. Icons represent an object in a container. Frequently, the icon is referred to as the actual object. Double-clicking the icon (or pressing Enter on the icon) is called activating the object. The actions caused by activating an object are called the behavior of the object. An icon usually has a pop-up menu attached to it, which is activated by pressing the second pointing device button, the F12 key or the Shift+F10 keys. The pop-up menu contains a setup function. Use this function to configure the object. Related information: o User-Created Object o Configuring Objects o Activate an Object o Create an Object o List of Objects ═══ 5.3.1. User-Created Object ═══ Use the pop-up menus of a container to create new objects for that container. These objects remain in the container until deleted. Configure objects to serve your specific needs. ═══ 5.3.2. Configuring Objects ═══ Every user-created object has a pop-up menu containing the setup function. This function activates a dialog that lets you configure the behavior of the object. A status-window object (an object in the status window) can be configured to create new documents from a choice of templates or from one frequently used template, to display a list of documents in a predefined directory, or to open one specific document. Related information: o Status-Window Object Setup ═══ 5.3.3. Activate an Object ═══ To activate an object, double-click or press Enter on the object. Activating an object executes the function configured for that object. For example, a text object creates or opens a text document. Once an object is activated it is marked with diagonal lines. Double-clicking on an active object transfers the focus to the object's window and displays the window if it was minimized. ═══ 5.3.4. Create an Object ═══ Press the second pointing device button on an object (or the F12 key, or Shift+F10) to access a container's pop-up menu. This pop-up menu provides options to create new objects. Configure the new object to suit your needs. ═══ 5.3.5. List of Objects ═══ ═══ 5.3.5.1. Setup Object ═══ o Introduction o Status Window o Word Processor Activate the selected object to customize screen colors, hot key assignments, document colors, markings, user license and new document defaults. ═══ 5.3.5.2. Settings Object ═══ Activate this object to access the settings notebook. Related information: o Setup Window o License o Preferences o Tabstops o Date and Time Format ═══ 5.3.5.3. Text Colors Object ═══ Activate this object to change the colors used in text documents. Related information: o Setup Window o Text Colors ═══ 5.3.5.4. Markings Object ═══ Activate this object to access the markings definitions used in text documents. Related information: o Setup Window o Markings ═══ 5.3.5.5. Screen Colors Object ═══ Activate this object to customize the colors of document windows. Related information: o Setup Window o Screen Colors ═══ 5.3.5.6. Keyboard Object ═══ Activate this object to customize the hotkey assignments used in document editing. Related information: o Setup Window o Hot Keys ═══ 5.3.5.7. Document Defaults Object ═══ Activate this object to customize the default font and size definitions for various document types. Related information: o Setup Window o Documents Defaults ═══ 5.3.6. Window List Object ═══ o Introduction o Status Window o Word Processor o Window List o Switching between Windows Activate the selected object to display a list of all open Clearlook windows. You may display this list any time by pressing the Shift+Esc keys. ═══ 5.3.7. Thesaurus Object ═══ o Introduction o Status Window o Word Processor Activate the selected object to access the thesaurus for lists of meaning, synonyms, antonyms, compared and related words. ═══ 5.3.8. Text Object ═══ o Introduction o Word Processor o Status Window o Create Document o Open Document o Objects Activate the selected object to create or open a text document. (The action depends on the function configured for this object.) ═══ 5.4. Pop-Up Menus ═══ Every object has a pop-up menu. To change its setup, delete the object, and insert new objects into the container. To activate the pop-up menu of an object, press the F12 key (or Shift+F10) or click on the object with the second button of the pointing device. ═══ 5.4.1. Function Setup ═══ This function activates a dialog to change an object's configuration. Related information: o Status Window Object Setup ═══ 5.4.2. Delete Objects ═══ The selected object is removed from the container. If the object is active, it is closed. This function never removes data from the disk, it merely removes the icon from the container. ═══ 5.4.3. New Text Object ═══ A new object of type text is added to the container at the position after the selected object. Configure the new object to suit your needs. Related information: o Objects o Word Processor ═══ 5.5. File Dialog ═══ Clearlook offers a general purpose file dialog. Use the file dialog to open, copy, move, delete and rename files as well as directories. The cursor position defines whether the functions are meant for files or directories. Select multiple files by clicking on the file names, or move the cursor to the desired files and press the space bar. A range of files can be selected using the select function. ═══ 5.5.1. Copy Files Dialog ═══ Set the destination to copy or move by clicking or pressing Enter on the displayed directory names. The destination is displayed at the bottom entry field. The destination may be entered directly by writing into this entry field. Press OK to activate copying. ═══ 5.5.2. Delete Files Dialog ═══ If one file is deleted, its path and name is displayed. If several files are deleted, their path is displayed. If a whole directory is deleted, the number of files and subdirectories are counted and displayed for verification. ═══ 5.6. File Types ═══ Clearlook uses the following file types: o CFG Status Window Setup o CTX Text Document ═══ 5.6.1. File Type .CFG ═══ The file CL.CFG contains the configuration of the status window and the contents of the setup window, with the exception of the settings notebook. The contents of the settings notebook are stored in the OS2.INI file. ═══ 5.6.2. File Type .CTX ═══ Clearlook text documents use the extension CTX. ═══ 5.6.3. Wild Cards ═══ Whenever you enter a Path, as in the setup of an object or choosing a directory, you may use wild cards in the path: o Entering *.CTX lists all text documents. Entering FAX*.CTX lists all documents with file names starting with FAX. o Entering ???.CTX lists all documents with a name of exactly three characters length. o Entering *.* lists all the files of the directory. o Entering % as part of a path name in the setup of an object replaces the character '%' with the path of the Clearlook executable file (CL.EXE) ═══ 5.7. Technical Information ═══ o Installation Setup o Keyboard Tables o Clearlook File Format ═══ 5.7.1. Installation Setup ═══ When installing Clearlook, the following directories are created: o \cl o \cl\bin o \cl\bin\lng o \cl\Look o \cl\Look\trnsfrms o \cl\Look\template A shadow object of the cl\Look directory is created in the workplace shell. ═══ 5.7.1.1. Activating Clearlook ═══ Files in \cl\bin: o CF.ICO Clearlook Folder Icon o CT.ICO Clearlook Text Document Icon o CL.CFG Status Window Configuration o CL.EXE Clearlook Word Processor o CLHLP.HLP Clearlook Online o CLRES.DLL Clearlook Resources o LOOK.EXE Word Processor Starter When activating a Clearlook document in the workplace shell, LOOK.EXE is executed. LOOK.EXE searches the system for an active instance of CL.EXE. If not found, it executes CL.EXE. Then it hands processing of the document over to CL.EXE. The word processor opens the document and enables it for editing. If a second document is activated while CL.EXE is loaded, LOOK.EXE does not start a second instance of the word processor. It hands processing of the document over to the active instance of the word processor. Once the word processor is loaded, activating documents is extremely fast. ═══ 5.7.1.2. Start-Up of CL.EXE ═══ When CL.EXE is executed, CLRES.DLL is expected in the directory of CL.EXE and loaded. Then CLHLP.HLP is loaded, then CL.CFG. If you start CL.EXE with a parameter specifying a different configuration file (for example starting with CL MY.CFG), then MY.CFG is used as configuration. CL.EXE searches for a file named CL.SYS. If found it is loaded and interpreted. You may start Clearlook by executing the CL.EXE file without using LOOK.EXE. Subsequent activation of documents will function as described above. ═══ 5.7.1.3. Spell Checker Files ═══ Language files for spell check must be placed in a directory \lng, a subdirectory of the directory where CL.EXE resides. If additional language files are purchased, they are copied into the directory \lng and spell check in these additional languages is readily available. o ENG.CLX Corelex o ENG.ENV Language environment o ENG.HYP Hyphenation o ENG.LEX Language lexicon o ENG.THS Thesaurus o ENG.USR User lexicon o ENGPHON.ENV Phonetic language environment ═══ 5.7.1.4. Data Directory ═══ The directory \Look is created for Clearlook documents. You can create any number of additional directories for Clearlook data files. After installation, this directory will contain a number of examples, as well as the subdirectories \template and \trnsfrms. These two subdirectories are created to separate user data, templates and transform documents. Certain default objects in the status window also expect these directories to be present ═══ 5.7.2. Keyboard Subdrivers ═══ Clearlook allows you do define font-specific keyboard subdrivers. With such a driver, you can activate your own key assignments in dependence upon a specific font. Subdrivers are defined in the CL.SYS file, which must reside in the directory of CL.EXE. The driver is read when Clearlook is started. Once a driver is loaded, it activates the keyboard mappings when editing text set to the font specified in the driver. A sample CL.SYS file is on the installation disk. By default, this file is not installed and merely intended as template to assist users interested in writing their own subdrivers. ═══ 5.7.3. Clearlook File Format ═══ The file format used for Clearlook documents is publicly available. Check the Clearlook BBS for a file CLREADER.EXE. It contains source code in C++ which reads Clearlook documents and creates verbose output of the characters and attributes.