Automated document formatting tool
First Claim
1. A method for pasting spreadsheet elements, the method comprising:
- determining a selection of a spreadsheet element having a first set of formatting properties in a source document;
determining a paste point in a target document;
comparing the first set of formatting properties associated with the spreadsheet element to a second set of formatting properties associated with the target document in order to determine an intended set of formatting properties for the spreadsheet element when included in the target document, wherein comparing the first set of formatting properties associated with the spreadsheet element to the second set of formatting properties associated with the target document comprises;
determining whether source style properties of the source document have been at least one of;
used and modified in the target document,in response to a determination that the source style properties have been at least one of;
used and modified in the target document, setting target style properties as intended style properties associated with the intended formatting properties, andin response to a determination that the source style properties have not been at least one of;
used and modified in the target document, setting the source style properties as the intended style properties associated with the intended formatting properties;
determining if the selected spreadsheet element is a single cell; and
if the selected spreadsheet element is not a single cell, pasting the spreadsheet element as a table at the paste point in the target document with the intended set of formatting properties applied thereto.
1 Assignment
0 Petitions
Accused Products
Abstract
A formatting tool enables “smart” copy and paste functions. The “smart” copy and paste functions can be invoked in a context-sensitive manner, depending on the conditions under which the copy and paste functions are implemented. The present invention will automatically include in a selection a paragraph marker at the end of a selected paragraph, if every other textual character in the paragraph has been selected. The present invention will discard a paragraph mark that is included in pasted text if the pasted text is pasted into the middle of another paragraph, indicating that the user prefers the formatting of the pasted-into paragraph. The present invention also reduces inconsistencies in formatting styles that may exist between source and target documents automatically redefining a style in the target document to conform to a corresponding style in the source document. The present invention also automatically adjusts paragraph spacing, in response to text being pasted into a target document. In response to various scenarios, the present invention will determine the most likely paragraph spacing intended by the user and will apply the most probable paragraph spacing to the pasted paragraph. The present invention also automatically adjusts list, table, and spreadsheet formatting, in response to such document elements being pasted into a differently-formatted target document. Finally, the present invention provides a convenient recovery dialog that may be invoked to alter any automatically-implemented formatting decisions.
59 Citations
20 Claims
-
1. A method for pasting spreadsheet elements, the method comprising:
-
determining a selection of a spreadsheet element having a first set of formatting properties in a source document; determining a paste point in a target document; comparing the first set of formatting properties associated with the spreadsheet element to a second set of formatting properties associated with the target document in order to determine an intended set of formatting properties for the spreadsheet element when included in the target document, wherein comparing the first set of formatting properties associated with the spreadsheet element to the second set of formatting properties associated with the target document comprises; determining whether source style properties of the source document have been at least one of;
used and modified in the target document,in response to a determination that the source style properties have been at least one of;
used and modified in the target document, setting target style properties as intended style properties associated with the intended formatting properties, andin response to a determination that the source style properties have not been at least one of;
used and modified in the target document, setting the source style properties as the intended style properties associated with the intended formatting properties;determining if the selected spreadsheet element is a single cell; and if the selected spreadsheet element is not a single cell, pasting the spreadsheet element as a table at the paste point in the target document with the intended set of formatting properties applied thereto. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable storage medium that stores a set of instructions which when executed perform a method for pasting spreadsheet elements, the method executed by the set of instructions comprising:
-
determining a selection of a spreadsheet element having a first set of formatting properties in a source document; determining a paste point in a target document; comparing the first set of formatting properties associated with the spreadsheet element to a second set of formatting properties associated with the target document in order to determine an intended set of formatting properties for the spreadsheet element when included in the target document, wherein comparing the first set of formatting properties associated with the spreadsheet element to the second set of formatting properties associated with the target document comprises; determining whether source style properties of the source document have been at least one of;
used and modified in the target document,in response to a determination that the source style properties have been at least one of;
used and modified in the target document, setting target style properties as intended style properties associated with the intended formatting properties, andin response to a determination that the source style properties have not been at least one of;
used and modified in the target document, setting the source style properties as the intended style properties associated with the intended formatting properties;determining if the selected spreadsheet element is a single cell; and if the selected spreadsheet element is not a single cell, pasting the spreadsheet element as a table at the paste point in the target document with the intended set of formatting properties applied thereto. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for pasting spreadsheet elements, the system comprising:
-
a memory storage; and a processing unit coupled to the memory storage, wherein the processing unit is operative to; determine a selection of a spreadsheet element having a first set of formatting properties in a source document; determine a paste point in a target document; compare the first set of formatting properties associated with the spreadsheet element to a second set of formatting properties associated with the target document in order to determine an intended set of formatting properties for the spreadsheet element when included in the target document, wherein the processing unit being operative to compare the first set of formatting properties associated with the spreadsheet element to the second set of formatting properties associated with the target document comprises the processing unit being operative to; determine whether source style properties of the source document have been at least one of;
used and modified in the target document,in response to a determination that the source style properties have been at least one of;
used and modified in the target document, set target style properties as intended style properties associated with the intended formatting properties, andin response to a determination that the source style properties have not been at least one of;
used and modified in the target document, set the source style properties as the intended style properties associated with the intended formatting properties;determine if the selected spreadsheet element is a single cell; and if the selected spreadsheet element is not a single cell, paste the spreadsheet element as a table at the paste point in the target document with the intended set of formatting properties applied thereto. - View Dependent Claims (18, 19, 20)
-
Specification