10. The method of claim 1 , wherein the actions to be performed on the document file includes one or more of text selecting, text copying, text cutting, text pasting, text searching, text filling, and hyperlinking.
1. A method for rendering a document, the method comprising: converting a plurality of resources in a document file into a plurality of files that are native to a browser; creating a style sheet based on the document file, wherein an aggregate of the plurality of files together with the style sheet are configured to cause the browser to render an appearance of the document file; and generating, based on the document file, an invisible layer to be laid on the appearance, wherein the invisible layer enables actions to be performed on the document file.