Method and apparatus for locating and transforming data
First Claim
1. A method for generating at least a first output file from at least one input file, comprising the steps of:
- defining at least one data unit of the at least one input file;
determining one or more locations within the at least one input file of the at least one data unit; and
transferring the at least one data unit from the one or more locations within the at least one input file to the one or more locations within the first output file specified by a mapping of the at least one data unit of the at least one input file to one or more locations within the first output file;
wherein each location comprises a horizontal position, the horizontal position comprising at least one of an uppermost position of the data unit or a lowermost position of the data unit, and a vertical position, the vertical position comprising at least one of the leftmost position of the data unit or the rightmost position of the data unit; and
wherein each data unit is defined based on at least one of;
at least one string, at least one absolute position of the data unit within the input file, at least one relative position of the data unit to a start or end of at least one of a row or column of the input file, and at least one relative position of the data unit to another data unit.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention provides method and apparatus for locating data in a data file and for transforming the data. The method comprises the steps: determining the data unit to be located in the data file; determining a type for the data unit, the type including “Text”, “SingleLine”, “MultiLine”, “Block” and “Iterator”; when the type of the data unit is not “Text”, selecting a different data unit as the location reference for the data unit; generating the location description for the data unit, based on the type of the data unit and the position relationship between the data unit and the different data unit, the description including the type of the data unit, one or more location elements for locating the data unit and including “Top”, “Bottom”, “Left” and “Right”, each of the location elements including a combination of attributes so as to determine the position of the location element. The invention may locate the data position by two dimensional area.
-
Citations
20 Claims
-
1. A method for generating at least a first output file from at least one input file, comprising the steps of:
-
defining at least one data unit of the at least one input file; determining one or more locations within the at least one input file of the at least one data unit; and transferring the at least one data unit from the one or more locations within the at least one input file to the one or more locations within the first output file specified by a mapping of the at least one data unit of the at least one input file to one or more locations within the first output file; wherein each location comprises a horizontal position, the horizontal position comprising at least one of an uppermost position of the data unit or a lowermost position of the data unit, and a vertical position, the vertical position comprising at least one of the leftmost position of the data unit or the rightmost position of the data unit; and wherein each data unit is defined based on at least one of;
at least one string, at least one absolute position of the data unit within the input file, at least one relative position of the data unit to a start or end of at least one of a row or column of the input file, and at least one relative position of the data unit to another data unit. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for generating at least a first output file from at least one input file, the apparatus comprising:
-
a memory, operative to store at least a portion of at least one of the at least first output file and the at least one input file; at least one processor, operative to perform the operations of; defining at least one data unit of the at least one input file; determining one or more locations within the at least one input file of the at least one data unit; and transferring the at least one data unit from the one or more locations within the at least one input file to the one or more locations within the first output file specified by a mapping of the at least one data unit of the at least one input file to one or more locations within the first output file; wherein each location comprises a horizontal position, the horizontal position comprising at least one of an uppermost position of the data unit or a lowermost position of the data unit, and a vertical position, the vertical position comprising at least one of the leftmost position of the data unit or the rightmost position of the data unit; and wherein each data unit is defined based on at least one of;
at least one string, at least one absolute position of the data unit within the input file, at least one relative position of the data unit to a start or end of at least one of a row or column of the input file, and at least one relative position of the data unit to another data unit. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for generating at least a first output file from at least one input file, the computer program product comprising a non-transitory computer usable medium having computer usable program code embodied therewith, the computer usable program code comprising computer usable program code configured to perform the operations of:
-
defining at least one data unit of the at least one input file; determining one or more locations within the at least one input file of the at least one data unit; and transferring the at least one data unit from the one or more locations within the at least one input file to the one or more locations within the first output file specified by a mapping of the at least one data unit of the at least one input file to one or more locations within the first output file; wherein each location comprises a horizontal position, the horizontal position comprising at least one of an uppermost position of the data unit or a lowermost position of the data unit, and a vertical position, the vertical position comprising at least one of the leftmost position of the data unit or the rightmost position of the data unit; and wherein each data unit is defined based on at least one of;
at least one string, at least one absolute position of the data unit within the input file, at least one relative position of the data unit to a start or end of at least one of a row or column of the input file, and at least one relative position of the data unit to another data unit. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification