|
Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate |
|
Toolbox for WordPerfect |
||
|
Macros, tips, and
templates for Corel® WordPerfect® for Windows® |
Page updated Feb 2, 2010 | |
| CODE2TXT - Change attribute codes to text markers (and vice versa) | ||||
|
[The download file CODE2TXT.ZIP contains two macros. See column at left.] This macro can -
The first function (change attribute codes to text markers) is useful when converting (saving) a document to ASCII or ANSI text but you want to identify the old attributes with unique text markers, such as HTML tags or to replace WordPerfect format codes with Folio, Ventura Publisher, InDesign, or QuarkXpress markup codes, etc. The second function (change text markers to attribute codes) can be useful to restore a document saved after converting from codes to text markers with the first function, or whenever you want to convert identical, marked strings of text to formatted text (e.g., bold, redline, etc.). Note that you can also use it to convert text marked with ordinary words (up to 20 characters) and/or symbols (inserted with <Ctrl+W>). The WordPerfect attribute codes that can be converted (in v2.13) are:
You can select any -- or all -- of these codes from a menu. You can also choose to retain the original attributes after converting the codes/markers, and/or delete all 'empty' code pairs (i.e., a pair of on/off codes without anything between them, such as [Bold][Bold]). Modifications
Known Limitations
|
|||
|
Disclaimer The materials and any software contained on this site are offered without warranty or guarantee of any kind, either express or implied, including but not limited to implied warranties of merchantability, satisfactory quality, fitness for a particular purpose, noninfringement, or those arising by law, statute, usage of trade, course of dealing or otherwise, and are provided on an "as is," and "with all faults" basis. The entire risk as to the results and performance of these materials is assumed by you. The author assumes no liability whatsoever to you or any other entity or third party for any special, incidental, direct, indirect, or consequential damages -- including without limitation any damages to equipment, or for loss of profits, for business interruption, for loss of data or other information, or for any other loss arising out of the use or inability to use these materials, techniques, suggestions, or software programs, even if the author has been notified of the possibility or actuality of such damages, or they are foreseeable. Materials on these pages have been prepared with reasonable care for educational and informative purposes. No representations are made regarding the use or the results of the use of any macro, suggestion, technique, or other material in terms of their correctness, accuracy, reliability, or otherwise, and you are again cautioned that you use them solely at your own risk. You are advised to make backups of any important files before implementing any macro, suggestion, or technique. Do not assume anything here is error free. The above Disclaimer also applies to any communication the author may have with you. The external links on this site, or in any related materials or communications, do not constitute an endorsement or guarantee of the linked sites, their visitors, or their associated owners, operators, or staff. |
||||