1
我有一個網站使用可編輯的divs,以便用戶可以修改或對文本做筆記。有沒有一種方法,我可以在網站生成一個PDF或腳註一些可打印的文檔,例如,如果用戶有這樣的:網站:使用腳註打印版本?
<div class="text" id="text_1">
<div class="bodyTest">This is the body text</div>
<div class="notes">These are the notes</div>
</div>
<div class="text" id="text_2">
<div class="bodyTest">This is the body text</div>
<div class="notes">These are the notes</div>
</div>
的網站會產生這樣一個打印版本(或文件)是div.notes
將作爲腳註出現在div#text_1
出現的同一頁上? 我不需要一個完整的答案,只是在一般的方向推將是驚人的。謝謝。
@DavidR - 如果您正在考慮使用OpenOffice,我建議您使用像Docmosis或JODConverter這樣的工具,這比直接使用OpenOffice API更容易一些。 – 2010-06-02 06:54:16