Method and system for deriving and matching local formatting in an electronic document
First Claim
1. A computer-implemented method for determining and applying one or more format attributes to content in an electronic document, the computer-implemented method comprising the steps of:
- determining, by one or more computing devices, a first set of format attributes, the first set of format attributes indicating local formatting of a first region of content in the electronic document, wherein selected content is a subset of the content in the first region, the content in the first region being a subset of the content in the electronic document, wherein local formatting of another region of the electronic document is different than the local formatting of the first region;
determining, by the one or more computing devices, a second set of local format attributes, the second set of format attributes indicating local formatting of a second region of content in the electronic document, wherein the second region comprises a destination location;
comparing, by the one or more computing devices, the first set of format attributes with the second set of format attributes; and
in response to placing the selected content at the destination location, applying, by the one or more computing devices, to text characters in the selected content, those format attributes of the second set of format attributes that differ from the first set of format attributes.
3 Assignments
0 Petitions
Accused Products
Abstract
Determining and applying format attributes associated with content in an electronic document that is cut or copied from an electronic document and pasted into the same or different electronic document. The determination may be based on the format attributes of the content within a region of an electronic document containing the cut or copied content and the format attributes of a region of content that includes the location where the cut or copied text may be pasted. Local formatting may be associated with the source region of content and the destination region of content. Direct, or emphasis formatting, may be associated with content that has been cut or copied.
35 Citations
31 Claims
-
1. A computer-implemented method for determining and applying one or more format attributes to content in an electronic document, the computer-implemented method comprising the steps of:
-
determining, by one or more computing devices, a first set of format attributes, the first set of format attributes indicating local formatting of a first region of content in the electronic document, wherein selected content is a subset of the content in the first region, the content in the first region being a subset of the content in the electronic document, wherein local formatting of another region of the electronic document is different than the local formatting of the first region; determining, by the one or more computing devices, a second set of local format attributes, the second set of format attributes indicating local formatting of a second region of content in the electronic document, wherein the second region comprises a destination location; comparing, by the one or more computing devices, the first set of format attributes with the second set of format attributes; and in response to placing the selected content at the destination location, applying, by the one or more computing devices, to text characters in the selected content, those format attributes of the second set of format attributes that differ from the first set of format attributes. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computing device for determining and applying one or more format attributes to content in an electronic document, the computing device comprising:
-
a processing unit; and a system memory storing; a copy module that, when executed by the processing unit, is operable to place selected content at a destination location in the electronic document; and a format module that, when executed by the processing unit, is operable to; determine a first set of format attributes, the first set of format attributes indicating local formatting of a first region of the electronic document, wherein the selected content is a subset of content in the first region, wherein the content in the first region is a subset of the content of the electronic document, determine a second set of format attributes, the second set of format attributes indicating local formatting of a second region of the electronic document, wherein local formatting of the second region is different than the local formatting of the first region, wherein the second region comprises the destination location, compare the first set of format attributes with the second set of format attributes, and apply to text characters in the selected content those format attributes of the second set of format attributes that differ from the first set of format attributes, in response to the copy module placing the selected content at the destination location. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-implemented method for applying direct format attributes to content of an electronic document, the computer-implemented method comprising the steps of:
-
determining, by one or more computing devices, a first set of format attributes, the first set of format attributes indicating local formatting of a first region of content of the electronic document, wherein the first region comprises selected content to be copied, the selected content being a subset of the content in the first region, the content of the first region being a subset of the content in the electronic document, local formatting of another region of content of the electronic document being different than the local formatting of the first region; determining, by the one or more computing devices, a second set of format attributes, the second set of format attributes indicating local formatting of a second region of content of the electronic document, wherein the second region comprises a destination location; determining, by the one or more computing devices, marked text characters in the selected content, the marked text characters having direct formatting attributes, wherein the text characters in the selected content having direct formatting attributes are emphasized; in response to pasting the selected content at the destination location, determining appropriate direct formatting attributes to make the marked text characters emphasized using the second set of format attributes;
applying, by the one or more computing devices, appropriate direct formatting attributes to the marked text characters such that the marked text characters are emphasized after the selected content is pasted at the destination location. - View Dependent Claims (18, 19, 20, 21)
-
-
22. A computer-implemented method for determining and applying one or more format attributes to content in a first electronic document, the computer-implemented method comprising the steps of:
-
determining, by one or more computing devices, a first set of format attributes, the first set of format attributes indicating local formatting of a first region of content in the first electronic document, wherein content in the first region is a subset of content in the first electronic document, wherein the first region comprises selected content, the selected content being a subset of the content of the first region; determining, by the one or more computing devices, a second set of format attributes, the second set of format attributes indicating local formatting of a second region of content for a second electronic document, wherein content in the second region is a subset of content of the second electronic document, wherein the second region of content comprises a destination location, wherein the local formatting of the second region is different than the local formatting of the first region; comparing, by the one or more computing devices, the first set of format attributes with the second set of format attributes; and applying, by the one or more computing devices, to text characters in the selected content those format attributes of the second set of format attributes that differ from the first set of format attributes in response to placing the selected content at the destination location. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29)
-
-
30. A computer-readable storage device storing a set of computer-executable instructions that, when executed by a processing unit of a computing device, cause the computing device to perform a method for applying one or more format attributes to content in an electronic document, the method comprising the steps of:
-
receiving, from a user, input indicating selected text in the electronic document; receiving, from the user, an indication to cut or copy the selected text; in response to receiving the indication to cut or copy the selected text, determining a source location region in the electronic document, the source location region comprising at least one paragraph, the source location region comprising the selected text; for each format type in the source location region; determining local formatting of the format type, the local formatting of the format type being a formatting attribute that characterizes more than fifty percent of text characters in the source location region; recording the local formatting for the format type in a first dynamic style sheet; determining emphasized text characters in the selected text, the emphasized text characters having format characteristics that differ from the local formatting of the format type; and marking, in the first dynamic style sheet, the emphasized text characters in the selected text as having a direct formatting attribute; receiving, from the user, an indication of an insertion point; receiving, from the user, an indication to initiate a paste command; in response receiving the indication to initiate a paste command; determining a destination location region in the electronic document or another electronic document, the destination location region comprising the insertion point, wherein the destination location region comprises at least one paragraph; for each format type in the destination location region; determining local formatting for the format type, the local formatting for the format type being a formatting attribute that characterizes more than fifty percent of text characters in the destination location region; and recording the local formatting for the format type in a second dynamic style sheet; comparing the formatting attributes in the first dynamic style sheet with the formatting attributes in the second dynamic style sheet; and for each text character in the selected text; determining whether the text character is marked as having one or more direct formatting attributes; if the text character is not marked as having one or more direct formatting attributes, applying to the text character those formatting attributes in the second dynamic style sheet that differ from the first dynamic style sheet; if the text character is marked as having one or more direct formatting attributes; determining a formatting attribute in the second dynamic style sheet to apply to the text character, wherein the determined formatting attribute provides emphasis for text characters in the destination location region; and applying the determined formatting attribute to the text character; and pasting the selected text into the destination location region. - View Dependent Claims (31)
-
Specification