1. A method comprising: receiving a request from a client device for a preview of a native document, the preview representing the native document in a file format other than the file format of the native document; inserting, by a document mapping module in the native document prior to rendering a preview, a set of unique links comprising a uniform resource locator (URL) and each unique link associated with a different word in the native document; rendering, by a document rendering module, the native document into a preview of the native document and thereby generating a bounding area for each of the unique links in the set of unique links, the bounding area mapping a page and pixel location on the preview to the word in the native document associated with the unique link; and providing the preview to the client device for display.
1. A method comprising: receiving a request from a client device for a preview of a native document, the preview representing the native document in a file format other than the file format of the native document; inserting, by a document mapping module in the native document prior to rendering a preview, a set of unique links comprising a uniform resource locator (URL) and each unique link associated with a different word in the native document; rendering, by a document rendering module, the native document into a preview of the native document and thereby generating a bounding area for each of the unique links in the set of unique links, the bounding area mapping a page and pixel location on the preview to the word in the native document associated with the unique link; and providing the preview to the client device for display. 5. The method of claim 1 , wherein the links in the set of unique links are selected from a group consisting of a flag, header, or special instruction.