1. A computer-implemented method, comprising: representing with a computing device an electronic document to a user, the electronic document having one or more graphical elements, each graphical element being either text, line art, or an image; receiving at the computing device user input specifying a single coordinate location in the electronic document; and in response to the received user input, and by the computing device without further user input beyond the specification of the single coordinate location: expanding each side of a rectangular perimeter defined at the coordinate location outward until a determination is made using computerized edge, text, or image detection techniques that one or more sides of the rectangular perimeter intersect with one of the graphical elements; locking the one or more intersecting sides so that the intersecting sides of the rectangular perimeter no longer expand outward; expanding the non-intersecting sides outward, the expansion of the non-intersecting sides ceasing when at least one of the non-intersecting sides has expanded to a predetermined threshold distance from the single coordinate location; and subsequent to the expansion of the non-intersecting sides, generating a new rectangular text input field in an area defined by an area of the perimeter, the rectangular text input field providing a location at which a user can type text into the electronic document.
1. A computer-implemented method, comprising: representing with a computing device an electronic document to a user, the electronic document having one or more graphical elements, each graphical element being either text, line art, or an image; receiving at the computing device user input specifying a single coordinate location in the electronic document; and in response to the received user input, and by the computing device without further user input beyond the specification of the single coordinate location: expanding each side of a rectangular perimeter defined at the coordinate location outward until a determination is made using computerized edge, text, or image detection techniques that one or more sides of the rectangular perimeter intersect with one of the graphical elements; locking the one or more intersecting sides so that the intersecting sides of the rectangular perimeter no longer expand outward; expanding the non-intersecting sides outward, the expansion of the non-intersecting sides ceasing when at least one of the non-intersecting sides has expanded to a predetermined threshold distance from the single coordinate location; and subsequent to the expansion of the non-intersecting sides, generating a new rectangular text input field in an area defined by an area of the perimeter, the rectangular text input field providing a location at which a user can type text into the electronic document. 2. The method of claim 1 , wherein the determination includes: creating a transient raster version of the electronic document; and using a raster-based edge detection technique on the transient raster version of the electronic document to determine whether one or more sides of the perimeter intersect one or more graphical elements in the electronic document.