Browse Prior Art Database

Preprocess for Text Formatting

IP.com Disclosure Number: IPCOM000099244D
Original Publication Date: 1990-Jan-01
Included in the Prior Art Database: 2005-Mar-14
Document File: 3 page(s) / 113K

Publishing Venue

IBM

Related People

Kishi, N: AUTHOR [+3]

Abstract

A technique for reducing the response time of an text formatter is described. This is by extracting the information required for text at text entry or text editing time, so that the time of text formatting is minimized. The concept an improvement over the conventional formatting method in it reduces re-scanning of the text data.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

Preprocess for Text Formatting

       A technique for reducing the response time of an text
formatter is described. This is by extracting the information
required for text at text entry or text editing time, so that the
time of text formatting is minimized. The concept an improvement over
the conventional formatting method in it reduces re-scanning of the
text data.

      In the text formatting process, a string of text is into lines
by scanning the text and calculating the of characters which can be
placed on a line. In the characters in a Japanese font have the same
and are mono-spaced. However, each character must be because some
characters, such as parentheses and marks, do not necessarily have
the standard width. Text must also be scanned to check whether
line-break at the

                            (Image Omitted)

 calculated character
violates one of the text formatting rules.

      In interactive systems, text is reformatted every time is
edited. In most cases, however, only a few characters edited, but it
affects the format of a large area such an entire page or even the
whole document in some cases.

      This invention avoids costly repeated text scan during by
extracting and saving the required format beforehand.  It is
processed and updated when is edited.

      The text formatting process is broken down into the steps.  (a)
Scan the text and determine the of each character.  (b) Calculate
line-break and process character placement by the information
obtained in (a).

      When text is entered or edited, the text is scanned to
characters which require special processing, such as punctuation
marks, and a string of alphanumeric The positions of the characters
which require processing are saved in the Format Information data,
with its characteristic information (Figure 1).

      Inseparable characters:
    String of characters which cannot be broken between
    two lines,
    i.e., charact...