摘要 |
Embodiments of a method for providing documents, which may be performed by a system, are described. During operation, the system determines presentation information for content in a first document. Note that the content may include characters, and that the presentation information may specify relative positions of the characters in a framework of the first document. Then, the system generates a second document that includes the presentation information. Next, the system outputs a third document that includes the characters in the first document, where the characters can be presented in the framework based solely on the third document using an interpreter program. |
主权项 |
1. A method for providing documents, the method comprising:
receiving, with a user interface of a computing device, content and a layout of the content, the content including characters and one or more images; generating a word processing document including the content, wherein a word processing program executing on the computing device uses the layout to generate the word processing document; determining presentation information for the content, wherein the presentation information specifies positions of the characters relative to the one or more images in the layout of the word processing document; generating, with the word processing program, an intermediate file that includes the presentation information, wherein the intermediate file facilitates reconstructing the layout of content with a web browser; and generating, with the word processing program, an image file that includes portions of the content, wherein the image file and the intermediate file can be used by an interpreter program to generate a web page that reflects the content and the layout of the content. |