摘要 |
A method for viewing an attachment of an email message on a portable electronic device in which the attachment has a renderable format is provided. The method includes: requesting to view the attachment in an attachment viewer of the portable electronic device, building a graph structure within an attachment server representing a map of the attachment, the graph structure including at least one renderable identifier corresponding to a page of the attachment, requesting rendering of the attachment, the rendering request being send fro m the attachment viewer to the attachment server and including the at least one renderable identifier, initializing a rendering library and storing rendering commands corresponding to command types of the graph structure in the rendering library, drawing the rendering commands in an off-screen bitmap, saving the off-screen bitmap as a JPEG file, sending the JPEG file t o the portable electronic device and displaying the JPEG file in the attachment viewer.</SD OAB>
|