
內容簡介
Word to HTML 外掛可輕鬆自新的 Word 文件(.docx) 抓取內容以及轉換成單一簡碼的網頁 HTML。
從網頁伺服器或外部伺服器上顯示一或多個 Word 文件的 HTML,並在本地網頁伺服器上支援多個 Word 文件。將 Word 文件放置於網頁伺服器上的資料夾中,就能輕鬆地閱讀 Word 文件中的內容,但它並不是一個用來作為完整格式轉換工具的外掛,因為它提供的並非許多內嵌樣式,而是建立簡潔的 HTML 檔案。
此外掛支援下列功能:
標題 (只支援英文和瑞典文)
包含粗體、底線和斜體的段落。當將段落定義為列時,會創建一個新段落。
超鏈接
表格
圖像 (JPG、PNG、JPEG)
未排序清單(符號)或排序清單(編號)。也可以結合這些類型的清單。
此外掛僅創建 HTML,不包含任何特定的內嵌樣式。這是因為 Word 文件和 HTML 文件具有完全不同的結構,而且當樣式化HTML時,應該使用CSS。內嵌樣式也會將樣式套用到 WordPress 主題中,而不適合您目前的設計。
如果從本地網頁伺服器中取得多元文檔,則從所有檔案中混合文本到 HTML不同部分(每個節的一個檔案),這對於基於幾個 Word 文件的信息創建選項卡非常有用。
如果您喜歡此外掛,請考慮捐款或撰寫評論。
用法範例
文章/頁面中的簡碼
[wordtohtml_create path=”lan” source_files=”skane.docx;smaland.docx;”]
[wordtohtml_create path=”wordfiles” source_files=”*.docx”]
[wordtohtml_create path=”wordfiles” source_files=”word1;word2″ debug_mode=”yes”]
[wordtohtml_create path=”wordfiles” source_files=”word1;word2″ debug_mode=”yes”]
[wordtohtml_create debug_mode=”no” convert_encoding_from=”Windows-1252″ convert_encoding_to=”UTF-8″]
[wordtohtml_create debug_mode=”no” convert_encoding_to=”UTF-8″]
[wordtohtml_create source_files=”http://wibergsweb.se/konstak.docx” path=”wordfiles” debug_mode=”yes” html_id=”turnover” html_class=”wow” add_ext_auto=”yes” skip_articletag=”no”]
外掛標籤
開發者團隊
原文外掛簡介
Word to html makes it easy to fetch content from newer word-file(s) (.docx) and convert the document to html on a page with a single shortcode.
Display some html from one or more word files from your local webserver or an external webserver. Multiple word files support on your local webserver. It’s not intented to be used as full format converting tool as it does create clean html (not a loads of inline styles), but could be convient to read content from word-files just by putting them in a folder on your webserver.
The plugin does fetch this kind of information from your .docx – document:
Headings (support for english and swedish)
Paragraphs including bold, underline and italic. When having paragraph defined as a column then a new paragraph is created.
Hyperlinks
Tables
Images (jpg, png, jpeg)
Unordered lists (bulleted) or ordered lists (numbered). It’s also possible to combine these type of lists.
The plugin does only create the html without any specific inline styling. The reason for this is that word-documents and html-documents have a totally different structure and you should be using css when styling html – documents. Inline styles would also apply styling to your wordpress-theme that wouldn’t fit your current design.
If fetching information from more then one docx – document on your local webserver, content from all files are mixed into different sections of html (one file per section). This could be useful if you want to create tabs of some sort based on information from several word-documents.
If you like the plugin, please consider donating or write a review.
Example of usage
shortcodes in post(s)/page(s)
[wordtohtml_create path=”lan” source_files=”skane.docx;smaland.docx;”]
[wordtohtml_create path=”wordfiles” source_files=”*.docx”]
[wordtohtml_create path=”wordfiles” source_files=”word1;word2″ debug_mode=”yes”]
[wordtohtml_create path=”wordfiles” source_files=”word1;word2″ debug_mode=”yes”]
[wordtohtml_create debug_mode=”no” convert_encoding_from=”Windows-1252″ convert_encoding_to=”UTF-8″]
[wordtohtml_create debug_mode=”no” convert_encoding_to=”UTF-8″]
[wordtohtml_create source_files=”http://wibergsweb.se/konstak.docx” path=”wordfiles” debug_mode=”yes” html_id=”turnover” html_class=”wow” add_ext_auto=”yes” skip_articletag=”no”]
