Patent ID: 7383501
Filing Date: 2008-06-03
Classification: G06F

Abstract:
1. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a computer, cause the computer to: determine the selection of a document element having an associated formatting style, wherein the selected document element traverses a plurality of paragraphs; determine a portion of a first paragraph corresponding to the selected document element, the first paragraph comprising a last paragraph in the plurality of traversed paragraphs; determine whether a paragraph mark is included in the first paragraph in the selected document element; add the paragraph mark to the selected document element in response to a determination that the entire first paragraph has been selected and that the paragraph mark has not been included in the first paragraph in the selected document element wherein determining that the entire first paragraph has been selected comprises determining that every visible character in the first paragraph has been selected for copying by a user wherein every visible character in the first paragraph being selected for copying by the user indicates that the user marks the first paragraph to be copied as a paragraph; determine a paste point in a target document having a corresponding formatting style, wherein having the corresponding formatting style comprises having a same style name; determine whether the corresponding formatting style belongs to a formatting style group; determine whether a member formatting style in the formatting style group has been redefined in the target document; paste the document element as an independent paragraph if the entire first paragraph has been selected and no selection action has been made that indicates a desire to de-select the paragraph mark; apply an associated style to the pasted document element, wherein applying the associated style to the pasted document element comprises resolving a style conflict between the document element and the target document; and redefine the associated style, in response to the determination that the member formatting style in the formatting style group has been redefined in the target document and that the corresponding formatting style and the associated formatting style are not identical.