Patent ID: 7991233

Claim:
A method of creating an editable document, said method comprising the steps of: analysing a bitmap image to detect at least one bitmap representation of a graphical object and a bitmap representation of a line object; determining a residual shape object by removing line components of the graphical object and the line object; selecting a line end style template shape from a plurality of predetermined line end style template shapes for the residual shape object if an end point of the line object is located within a first predetermined distance of the residual shape object; matching the graphical object with one of a plurality of predetermined graphical template shapes, the matched one of the plurality of graphical template shapes having one or more predetermined non-contiguous connection points; selecting one of the predetermined connection points for the line object if the end point of the line object is within a second predetermined distance of selected one of the predetermined connection points; associating the line object with the selected connection point; and creating an editable document comprising the matched graphical template shape with the line object connected thereto, wherein the line object remains associated with the selected connection point upon the matched graphical template shape being modified within the document such that the line object remains dynamically connected to the matched graphical template shape.