Device, Method, and Graphical User Interface for Providing Handwriting Support in Document Editing
Abstract
A method performed by an electronic device having a display, a touch-sensitive surface, and one or more processors includes, while displaying text in a content presentation area, the displayed text including first handwritten text, receiving handwritten strokes at an insertion location positioned within a range of locations corresponding to the first handwritten text. In response to receiving the handwritten strokes, the device determines whether the handwritten strokes is textual input, and in accordance with a determination by the device that the plurality of handwritten strokes is textual input, comprising newly entered second handwritten text, the device inserts the second handwritten text at the insertion location and moves the first handwritten text to accommodate the second handwritten text. In some embodiments, after inserting the second handwritten text, the device removes one or more white spaces between the first handwritten text and the second handwritten text.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with a display, one or more processors, memory, and a touch-sensitive surface, cause the device to:
while displaying text in a content presentation area, the displayed text including first handwritten text, receive a plurality of handwritten strokes at an insertion location positioned within a range of locations corresponding to the first handwritten text; in response to receiving the plurality of handwritten strokes, determine whether the plurality of handwritten strokes is a textual input; and in accordance with a determination that the plurality of handwritten strokes is textual input, comprising newly entered second handwritten text, insert the second handwritten text at the insertion location and move the first handwritten text to accommodate the second handwritten text.
2 . The non-transitory computer readable storage medium of claim 1 , wherein the insertion location is a beginning, an end, or a mid-position of the first handwritten text.
3 . The non-transitory computer readable storage medium of claim 1 , wherein the insertion location is within a threshold distance of the first handwritten text.
4 . The non-transitory computer readable storage medium of claim 1 , wherein the one or more programs include instructions, which when executed by the electronic device, cause the electronic device to:
after inserting the second handwritten text at the insertion location, remove one or more white spaces between the first handwritten text and the second handwritten text.
5 . The non-transitory computer readable storage medium of claim 4 , wherein removing one or more white spaces includes adjusting at least one of line spacing, character spacing, text orientation, vertical alignment and horizontal alignment of the second handwritten text.
6 . The non-transitory computer readable storage medium of claim 1 , wherein:
the insertion location is a beginning of the first handwritten text; and moving the first handwritten text to accommodate the second handwritten text comprises shifting the first handwritten text in a writing direction associated with the content presentation area to create space to accommodate the second handwritten text.
7 . The non-transitory computer readable storage medium of claim 6 , wherein the one or more programs include instructions, which when executed by the electronic device, cause the electronic device to:
after shifting the first handwritten text in the writing direction associated with the content presentation area by a respective amount, shift at least part of the first handwritten text to a next line below a current line occupied by the first handwritten text in the content presentation area.
8 . The non-transitory computer readable storage medium of claim 1 , wherein
the insertion location is an end of the first handwritten text; and moving the first handwritten text to accommodate the second handwritten text comprises shifting the first handwritten text in a reverse writing direction, opposite of a writing direction associated with the content presentation area, along a current line occupied by the first handwritten text in the content presentation area.
9 . The non-transitory computer readable storage medium of claim 1 , wherein generating the second handwritten text based on the plurality of handwritten strokes includes combining at least a portion of the first handwritten text with the plurality of handwritten strokes based on spatial proximity of the plurality of handwritten strokes and the first handwritten text.
10 . The non-transitory computer readable storage medium of claim 1 , wherein the one or more programs include instructions, which when executed by the electronic device, cause the electronic device to:
detect selection of a portion of the first handwritten text; while the potion of the first handwritten text is selected, receive a drag input directed to the portion of the first handwritten text; and in accordance with a determination that the drag input meets content-reflow criteria, wherein the content-reflow criteria includes a criterion that is met when the drag input includes a movement of a focus selector along the respective line currently occupied by the first handwritten text in the content presentation area, shift the selected portion of the first handwritten text along the respective line in accordance with the drag input.
11 . The non-transitory computer readable storage medium of claim 10 , wherein the one or more programs include instructions, which when executed by the electronic device, cause the electronic device to:
in accordance with a determination that the drag input meets content-move criteria, wherein the content-move criteria includes a criterion that is met when the drag input includes a movement of a focus selector from the respective line currently occupied by the first handwritten text to a location outside of the respective line, move the selected portion of the first handwritten text from a first location to a second location in the content presentation area in accordance with the drag input.
12 . An electronic device, comprising:
a display; a touch-sensitive surface; one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
while displaying text in a content presentation area, the displayed text including first handwritten text, receiving a plurality of handwritten strokes at an insertion location positioned within a range of locations corresponding to the first handwritten text;
in response to receiving the plurality of handwritten strokes, determining whether the plurality of handwritten strokes is a textual input; and
in accordance with a determination that the plurality of handwritten strokes is textual input, comprising newly entered second handwritten text, inserting the second handwritten text at the insertion location and moving the first handwritten text to accommodate the second handwritten text.
13 . The electronic device of claim 12 , wherein the insertion location is a beginning, an end, or a mid-position of the first handwritten text.
14 . The electronic device of claim 12 , wherein the insertion location is within a threshold distance of the first handwritten text.
15 . The electronic device of claim 12 , wherein the one or more programs include instructions for:
after inserting the second handwritten text at the insertion location, removing one or more white spaces between the first handwritten text and the second handwritten text.
16 . The electronic device of claim 15 , wherein removing one or more white spaces includes adjusting at least one of line spacing, character spacing, text orientation, vertical alignment and horizontal alignment of the second handwritten text.
17 . The electronic device of claim 12 , wherein:
the insertion location is a beginning of the first handwritten text; and moving the first handwritten text to accommodate the second handwritten text comprises shifting the first handwritten text in a writing direction associated with the content presentation area to create space to accommodate the second handwritten text.
18 . The electronic device of claim 17 , wherein the one or more programs include instructions for:
after shifting the first handwritten text in the writing direction associated with the content presentation area by a respective amount, shifting at least part of the first handwritten text to a next line below a current line occupied by the first handwritten text in the content presentation area.
19 . The electronic device of claim 12 , wherein
the insertion location is an end of the first handwritten text; and moving the first handwritten text to accommodate the second handwritten text comprises shifting the first handwritten text in a reverse writing direction, opposite of a writing direction associated with the content presentation area, along a current line occupied by the first handwritten text in the content presentation area.
20 . A method of displaying handwritten content on a content page, the method comprising:
at a device having one or more processors, memory, and a display:
while displaying text in a content presentation area, the displayed text including first handwritten text, receiving a plurality of handwritten strokes at an insertion location positioned within a range of locations corresponding to the first handwritten text;
in response to receiving the plurality of handwritten strokes, determining whether the plurality of handwritten strokes is a textual input; and
in accordance with a determination that the plurality of handwritten strokes is textual input, comprising newly entered second handwritten text, inserting the second handwritten text at the insertion location and moving the first handwritten text to accommodate the second handwritten text.Join the waitlist — get patent alerts
Track US2019303423A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.