Imported Files Do Not Justify or Autowrap

Last reviewed: February 8, 1995
Article ID: Q25334
The information in this article applies to:
  • Microsoft Windows operating system versions 1.x, 2.x, 3.0, 3.0a, 3.1, 3.11
  • Microsoft Windows for Workgroups versions 3.1, 3.11

SYMPTOMS

When you import ASCII text files from other word-processing programs into Windows Write, the Write autowrap and text-justification features do not work properly.

CAUSE

This problem occurs because text files are stored in ASCII format. When creating a document, each word processor uses its own unique control codes to indicate a soft carriage return when autowrap is being used. When the document is converted to an ASCII file, these control codes are changed to hard carriage returns by convention. Therefore, these ASCII files do not autowrap or justify when initially brought into Windows Write.

WORKAROUND

For autowrap to work properly, you need to remove most of the hard carriage returns. To do this, use the Search Change command as follows:

  1. Enter ^p (^p is the Write program's control code for a hard carriage return) in the Find What box, and leave the Change To box empty.

  2. Use the Find Next and Change buttons together (or use the Change, then the Find button) to selectively delete only those hard carriage returns inserted during the ASCII conversion. (Do not use the Change All button unless you want to delete all hard carriage returns in the document, including those marking the end of the paragraphs.)


KBCategory: kbusage kbtool
KBSubcategory: win30 win31 wfwg
Additional reference words: 3.00 3.0 3.0a 3.1 3.00a 3.10 3.11 win30 win31
wfw wfwg


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 8, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.