Editing a document using a transitory editing surface
First Claim
Patent Images
1. A method for editing a text portion of a contents of a Hypertext Markup Language (“
- HTML”
) document in a window of a web browser, the method comprising;
presenting the HTML document in the window of the web browser;
receiving a request to edit the text portion of the contents of the HTML document;
in response to the request, determining a position and a size of the text portion of the contents of the HTML document as displayed in the window;
creating an editing surface overlaying the text portion of the contents of the HTML document as displayed in the window, the editing surface created by adding an HTML element to the HTML document having size and position attributes that cause the editing surface, when rendered by the web browser, to be displayed in the window at the position and of the size of the text portion of the contents of the HTML document;
copying the text portion of the contents of the HTML document to the editing surface;
receiving input within the window;
upon receiving the input, determining whether the editing surface will process the input;
upon determining that the editing surface will process the input, passing the input to the editing surface for processing and performing a reflow operation on the editing surface;
upon determining that editing surface will not process the input, applying any changes to the contents of the HTML document, removing the editing surface from the HTML document, and making the text portion of the contents of the HTML document as displayed in the window visible;
receiving a request to stop editing the text portion of the contents of the HTML document; and
in response to receiving the request, applying the one or more changes to the contents of the HTML document and destroying the editing surface.
2 Assignments
0 Petitions
Accused Products
Abstract
Technologies are described herein for editing a document using a transitory editing surface. A word processing program displays a document in a window. Upon detection of the placement of an insertion pointer within a paragraph of text in the document, an editing surface is created overlaying the paragraph in the window and containing the contents of the underlying paragraph. User input is monitored by the word processing program while the editing of the contents is processed by the editing surface. When editing is complete, the modified contents of the editing surface are copied into the document and the editing surface is destroyed.
-
Citations
17 Claims
-
1. A method for editing a text portion of a contents of a Hypertext Markup Language (“
- HTML”
) document in a window of a web browser, the method comprising;presenting the HTML document in the window of the web browser; receiving a request to edit the text portion of the contents of the HTML document; in response to the request, determining a position and a size of the text portion of the contents of the HTML document as displayed in the window; creating an editing surface overlaying the text portion of the contents of the HTML document as displayed in the window, the editing surface created by adding an HTML element to the HTML document having size and position attributes that cause the editing surface, when rendered by the web browser, to be displayed in the window at the position and of the size of the text portion of the contents of the HTML document; copying the text portion of the contents of the HTML document to the editing surface; receiving input within the window; upon receiving the input, determining whether the editing surface will process the input; upon determining that the editing surface will process the input, passing the input to the editing surface for processing and performing a reflow operation on the editing surface; upon determining that editing surface will not process the input, applying any changes to the contents of the HTML document, removing the editing surface from the HTML document, and making the text portion of the contents of the HTML document as displayed in the window visible; receiving a request to stop editing the text portion of the contents of the HTML document; and in response to receiving the request, applying the one or more changes to the contents of the HTML document and destroying the editing surface. - View Dependent Claims (2, 3, 4, 5, 6, 7)
- HTML”
-
8. A computer storage medium having computer executable instructions stored thereon which, when executed by a computer, cause the computer to:
-
display a markup language document in a window generated by a web browser; detect a placement of an insertion pointer at a position in the window; upon detecting the placement of an insertion pointer, determine a text portion of the document displayed in the window at the position of the insertion pointer; create an editing surface overlaying the text portion of the document in the window and copy the text portion of the document to the editing surface, the editing surface created by adding a markup language element to the document having size and position attributes that cause the editing surface, when rendered by the web browser, to be displayed in the window at the position and of the size of the text portion of the document; detect input in the window; upon detecting input in the window, determine whether the editing surface will process the input; upon determining that the editing surface will process the input, pass the input to the editing surface to allow the editing surface to accept changes to the text portion of the document and perform a reflow operation of the editing surface; and upon determining that the editing surface will not process the input, update the text portion of the document with the changes from the editing surface and destroy the editing surface. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method for providing a transitory editing surface in a word processing program executing within a web browser, the method comprising:
-
detecting a placement of an insertion pointer by a user within a paragraph of text of a document being edited in the word processing program; upon detecting the placement of the insertion pointer, determining a character position of the placement of the insertion pointer within the text; determining a current position and size of the paragraph as displayed within a page in a window generated by the web browser; creating an editing surface on the page at the position and of the size of the paragraph as displayed within the page, the editing surface created by adding a Hypertext Markup Language (HTML) element to the page to be rendered by the web browser; copying the text to the editing surface; making the paragraph as displayed within the page invisible; positioning a cursor in the editing surface at the character position of the insertion pointer; detecting user input within the window; upon detecting the user input, determining whether the editing surface will process the user input; upon determining that the editing surface will process the user input, passing the user input to the editing surface for processing, determining whether it is necessary to reflow the editing surface, and upon determining that it is necessary to reflow the editing surface, performing a reflow operation of the editing surface; and upon determining that the editing surface will not process the user input, updating the paragraph in the page with the text from the editing surface, making the paragraph as displayed within the page visible, destroying the editing surface, and passing the user input to the word processing program for processing. - View Dependent Claims (14, 15, 16, 17)
-
Specification