Patent ID: 8054496

Claim:
A method comprising: providing access to a first document via a first application, wherein a second document includes the first document such that in the event the second document is displayed, content from the first document is also displayed; receiving an unsaved edit to the first document prior to generating a preview of the second document, wherein the preview includes the unsaved edit to the first document; generating the preview of the second document that includes (1) content from the first document and (2) graphical content included in the second document and not included in the first document, wherein the preview is in a format capable of being displayed by the first application and generating the preview of the second document includes: using a processor to access the second document from memory to obtain a data stream; using the processor to substitute a reference to the first document not having the unsaved edit with a reference to the first document having the unsaved edit by manipulating the data stream on-the-fly before the data stream is input by a rendering engine; and providing to the rendering engine the manipulated data stream with the reference to the first document not having the unsaved edit substituted out and the reference to the first document having the unsaved edit substituted in; and providing, via the first application, the preview of the second document that includes content from the first document and the graphical content included in the second document and not included in the first document.