Please enable JavaScript to view this site.

A-Shell Development History

1112.2.1

GDI printing fix: Faxing was, in some cases, crashing A-Shell.

1112.2.2

GDI printing fix: in passthrough mode, the last character of the file or of a very large page was being dropped from the output.

1112.2.3

XTEXT enhancement: Simple support for HTML forms implemented. As with other HTML browse modes, you must set the TXF_READONLY flag. Also, you must use buffer mode (rather than file mode) for the dst parameter. If the user clicks the SUBMIT button on a form, XTEXT returns with exitcode=30 and the action, method, and data fields are output to the dst parameter in the following format:

&action=actionstr&method=methstr&name1=value1&...&nameN=valueN

The fields actionstr, methstr and nameN are as defined in the form itself. (methstr will be GET or POST.) The valueN fields return the data entered by the user in the form. (Checkbox and radio button fields return 0 or 1 to indicate empty or checked.) If a value contains the character "&", the entire value string will be quoted. (So you may want to use STRTOK.SBR to simplify parsing the returned string.)

1112.0.1

XTEXT enhancement: Underlying code module updated from TER14.DLL to TER15.DLL. Old version will continue to work if new version is not present, but you only need the latest version. No specific new features are dependent on this yet, but probably will over time.

1112.0.2

XTEXT enhancement: New symbol definition file ASHINC:XTEXT.DEF created (to house several new symbols). Existing XTEXT-related symbols moved from ASHELL.DEF to XTEXT.DEF. (Sorry, this will cause compile errors in existing programs using XTEXT symbols, but it should be a simple matter to ++include ashinc:xtext.def to the affected programs, or, if you insist, you can add it to the ashell.def file itself. WARNING: ALWAYS COMPILE WITH /M to be sure you are using undefined symbols!!!)

1112.0.3

XTEXT enhancement: New fields added to the end of the TXTCTL structure (in XTEXT.MAP):

MAP2 TXC'MAXBYTES   ,B,2        ! 230 max bytes allowed (0=unlimited)

MAP2 TXC'MENUMASK1  ,B,4        ! 232 menu disabling flags (TXFM1_xxx)

MAP2 TXC'MENUMASK2  ,B,4        ! 236 more menu disabling flags (TXFM2_xxx

MAP2 TXC'HFLAGMASK  ,B,2        ! 240 HTML flag mask

MAP2 TXC'HFLAGS1    ,B,4        ! 242 HTML flags

MAP2 TXC'HFLAGS2    ,B,4        ! 246 HTML flags

MAP2 TXC'UNUSED     ,X,6        ! 250 (256 total)

 

TXC'MENUMASK1 and TXC'MENUMASK2 allow individual items and groups of menus to be removed when the TXF_MENU and TXF_POPUP flags are used. See XTEXT.DEF for the bit flag definitions.

TXC'HFLAGMASK is like TXC'FLAGMASK except applies to the TXC'HFLAGS1 and TXC'HFLAGS2 fields, which in turn are like TXC'FLAGS1 thru TXC'FLAGS8 but control HTML-related options. Documentation for the flag values will be forthcoming.

1112.0.4

XTEXT enhancement: Rudimentary HTML support added. Requires that the new module HTS10.DLL be present in the bin directory, and that you use the new TXFF_HTML with TXFF_FILE (&h104) in the TXC'DOCFMT'SRC or TXT'DOCFMT'DST fields. Currently only file mode is supported.

Notes:

For browser mode, you must set TXF_READONLY. Otherwise it will be in editing mode, similar to the existing RTF editing mode.
You must use TXF_FITVIEW for all but the simplest files.
You may specify a web URL in the TXC'DOCFMT'SRC field, such as "http://www.microsabio.com". However, you may not output to a web address. (We recommend using .HTM as the extension for local HTML files.)
You can use the HTML format as simpler version of RTF with the goal of supporting just a few text attributes. To minimize the size of the outputted HTML file, you may want to set the TXC'HFLAGMASK and TXC'HFLAGS1 as follows:

TXC'HFLAGMASK = &h0001   ! Set/clear all flags from HFLAGS1

TXC'HFLAGS1 = &78006     ! strip out head, body, font, style tags

1112.0.5

XTEXT Enhancement: new flag TXTB_SHOW_HIDE (&h80000000) in TXC'TOOLBARMASK may be used in conjunction with TXF_RULER, TXF_TOOLBAR and/or TXF_STATUS to automatically remove the ruler, toolbar and status ribbon when the control is in-active, and re-display them when the control is re-activated via TXOP_REEDIT.