1. A method of automatically locating a table in a document, the method comprising the steps of: defining a plurality of crops of the document; for each crop of the document, determining the location of lines whose length is greater than or equal to a predetermined threshold value; evaluating at least one parameter indicative of the density of said lines; and deciding, based on said at least one evaluated parameter, which one of said plurality of crops includes the location of said table.