Method for converting a word processing file containing markup language tags and conventional computer code
First Claim
1. A method for operating a computer to convert a word processing file, which comprises a linear sequence of characters, said linear sequence of characters comprising segments of said linear sequence marked by beginning and ending tags, into a source file comprising computer language statements, said source file defining a computer program that will generate an output stream in a format recognizable by a word processing program adapted to read said output stream, said method comprising the steps of:
- reading a linear sequence of characters from said word processing file;
translating a segment of said linear sequence of characters that is not surrounded by said beginning and ending tags to computer language output statements and outputting said computer language output statements to said source file,wherein said output statements cause a computer program generated from said source file, when said generated computer program is executed, to reproduce said linear sequence of characters in an output stream generated by said computer program; and
providing computer source language statements in said source file corresponding to a segment of said linear sequence of characters that is surrounded by said beginning and ending tags.
10 Assignments
0 Petitions
Accused Products
Abstract
A method for operating a computer converts a word processing file to a computer program source file, which generates an output stream when run. The word processing file includes a linear sequence of characters having segments marked by beginning and ending tags. The method of the present invention translates the linear sequences of characters in the word processor file that are not surrounded by the tags to output statements in the computer program source file. The output statements cause the computer program generated from the source file, when executed, to reproduce the linear sequences of characters from the word processor file not surrounded by the tags in an output stream generated by the computer program. The method translates the linear sequences of characters in the word processing file that are surrounded by predetermined tags into computer source code statements. In so doing, the translation takes the form of merely copying the linear sequences of characters of the word processing file to the computer program source file or of translating the linear sequences of characters of the word processing file into statements recognized in the computer language.
85 Citations
6 Claims
-
1. A method for operating a computer to convert a word processing file, which comprises a linear sequence of characters, said linear sequence of characters comprising segments of said linear sequence marked by beginning and ending tags, into a source file comprising computer language statements, said source file defining a computer program that will generate an output stream in a format recognizable by a word processing program adapted to read said output stream, said method comprising the steps of:
-
reading a linear sequence of characters from said word processing file; translating a segment of said linear sequence of characters that is not surrounded by said beginning and ending tags to computer language output statements and outputting said computer language output statements to said source file, wherein said output statements cause a computer program generated from said source file, when said generated computer program is executed, to reproduce said linear sequence of characters in an output stream generated by said computer program; and providing computer source language statements in said source file corresponding to a segment of said linear sequence of characters that is surrounded by said beginning and ending tags. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification