台灣最大程式設計社群網站
線上人數
1150
 
會員總數:246315
討論主題:189843
歡迎您免費加入會員
討論區列表 >> Java >> 請問java用openoffice轉檔出現這些訊息停止
[]  
[我要回覆]
1
回應主題 加入我的關注話題 檢舉此篇討論 將提問者加入個人黑名單
請問java用openoffice轉檔出現這些訊息停止
價值 : 50 QP  點閱數:1213 回應數:2
樓主

Afu
門外漢
0 11
155 9
發送站內信

我是參考這篇做的
http://www.javaworld.com.tw/jute/post/view?bid=11&id=248862

我的8100有監聽
console訊息如下

<document-formats>
<document-format>
<name>Portable Document Format</name>
<mime-type>application/pdf</mime-type>
<file-extension>pdf</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>writer_pdf_Export</string>
</entry>
</map>
</entry>
<entry>
<family>Presentation</family>
<map>
<entry>
<string>FilterName</string>
<string>impress_pdf_Export</string>
</entry>
</map>
</entry>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterName</string>
<string>calc_pdf_Export</string>
</entry>
</map>
</entry>
<entry>
<family>Drawing</family>
<map>
<entry>
<string>FilterName</string>
<string>draw_pdf_Export</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>Macromedia Flash</name>
<mime-type>application/x-shockwave-flash</mime-type>
<file-extension>swf</file-extension>
<export-options>
<entry>
<family>Presentation</family>
<map>
<entry>
<string>FilterName</string>
<string>impress_flash_Export</string>
</entry>
</map>
</entry>
<entry>
<family>Drawing</family>
<map>
<entry>
<string>FilterName</string>
<string>draw_flash_Export</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>XHTML</name>
<mime-type>application/xhtml+xml</mime-type>
<file-extension>xhtml</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>XHTML Writer File</string>
</entry>
</map>
</entry>
<entry>
<family>Presentation</family>
<map>
<entry>
<string>FilterName</string>
<string>XHTML Impress File</string>
</entry>
</map>
</entry>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterName</string>
<string>XHTML Calc File</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>HTML</name>
<family>Text</family>
<mime-type>text/html</mime-type>
<file-extension>html</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>HTML (StarWriter)</string>
</entry>
</map>
</entry>
<entry>
<family>Presentation</family>
<map>
<entry>
<string>FilterName</string>
<string>impress_html_Export</string>
</entry>
</map>
</entry>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterName</string>
<string>HTML (StarCalc)</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>OpenDocument Text</name>
<family>Text</family>
<mime-type>application/vnd.oasis.opendocument.text</mime-type>
<file-extension>odt</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>writer8</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>OpenOffice.org 1.0 Text Document</name>
<family>Text</family>
<mime-type>application/vnd.sun.xml.writer</mime-type>
<file-extension>sxw</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>StarOffice XML (Writer)</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>Microsoft Word</name>
<family>Text</family>
<mime-type>application/msword</mime-type>
<file-extension>doc</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>MS Word 97</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>Rich Text Format</name>
<family>Text</family>
<mime-type>text/rtf</mime-type>
<file-extension>rtf</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>Rich Text Format</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>WordPerfect</name>
<family>Text</family>
<mime-type>application/wordperfect</mime-type>
<file-extension>wpd</file-extension>
<export-options/>
<import-options/>
</document-format>
<document-format>
<name>Plain Text</name>
<family>Text</family>
<mime-type>text/plain</mime-type>
<file-extension>txt</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>Text</string>
</entry>
</map>
</entry>
</export-options>
<import-options>
<entry>
<string>FilterName</string>
<string>Text</string>
</entry>
</import-options>
</document-format>
<document-format>
<name>MediaWiki wikitext</name>
<mime-type>text/x-wiki</mime-type>
<file-extension>wiki</file-extension>
<export-options>
<entry>
<family>Text</family>
<map>
<entry>
<string>FilterName</string>
<string>MediaWiki</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>OpenDocument Spreadsheet</name>
<family>Spreadsheet</family>
<mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
<file-extension>ods</file-extension>
<export-options>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterName</string>
<string>calc8</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>OpenOffice.org 1.0 Spreadsheet</name>
<family>Spreadsheet</family>
<mime-type>application/vnd.sun.xml.calc</mime-type>
<file-extension>sxc</file-extension>
<export-options>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterName</string>
<string>StarOffice XML (Calc)</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>Microsoft Excel</name>
<family>Spreadsheet</family>
<mime-type>application/vnd.ms-excel</mime-type>
<file-extension>xls</file-extension>
<export-options>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterName</string>
<string>MS Excel 97</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>CSV</name>
<family>Spreadsheet</family>
<mime-type>text/csv</mime-type>
<file-extension>csv</file-extension>
<export-options>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterOptions</string>
<string>44,34,0</string>
</entry>
<entry>
<string>FilterName</string>
<string>Text - txt - csv (StarCalc)</string>
</entry>
</map>
</entry>
</export-options>
<import-options>
<entry>
<string>FilterOptions</string>
<string>44,34,0</string>
</entry>
<entry>
<string>FilterName</string>
<string>Text - txt - csv (StarCalc)</string>
</entry>
</import-options>
</document-format>
<document-format>
<name>Tab-separated Values</name>
<family>Spreadsheet</family>
<mime-type>text/tab-separated-values</mime-type>
<file-extension>tsv</file-extension>
<export-options>
<entry>
<family>Spreadsheet</family>
<map>
<entry>
<string>FilterOptions</string>
<string>9,34,0</string>
</entry>
<entry>
<string>FilterName</string>
<string>Text - txt - csv (StarCalc)</string>
</entry>
</map>
</entry>
</export-options>
<import-options>
<entry>
<string>FilterOptions</string>
<string>9,34,0</string>
</entry>
<entry>
<string>FilterName</string>
<string>Text - txt - csv (StarCalc)</string>
</entry>
</import-options>
</document-format>
<document-format>
<name>OpenDocument Presentation</name>
<family>Presentation</family>
<mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
<file-extension>odp</file-extension>
<export-options>
<entry>
<family>Presentation</family>
<map>
<entry>
<string>FilterName</string>
<string>impress8</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>OpenOffice.org 1.0 Presentation</name>
<family>Presentation</family>
<mime-type>application/vnd.sun.xml.impress</mime-type>
<file-extension>sxi</file-extension>
<export-options>
<entry>
<family>Presentation</family>
<map>
<entry>
<string>FilterName</string>
<string>StarOffice XML (Impress)</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>Microsoft PowerPoint</name>
<family>Presentation</family>
<mime-type>application/vnd.ms-powerpoint</mime-type>
<file-extension>ppt</file-extension>
<export-options>
<entry>
<family>Presentation</family>
<map>
<entry>
<string>FilterName</string>
<string>MS PowerPoint 97</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>OpenDocument Drawing</name>
<family>Drawing</family>
<mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
<file-extension>odg</file-extension>
<export-options>
<entry>
<family>Drawing</family>
<map>
<entry>
<string>FilterName</string>
<string>draw8</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
<document-format>
<name>Scalable Vector Graphics</name>
<mime-type>image/svg+xml</mime-type>
<file-extension>svg</file-extension>
<export-options>
<entry>
<family>Drawing</family>
<map>
<entry>
<string>FilterName</string>
<string>draw_svg_Export</string>
</entry>
</map>
</entry>
</export-options>
<import-options/>
</document-format>
</document-formats>


求解阿

搜尋相關Tags的文章: [ 轉檔 ] ,
本篇文章發表於2013-10-29 21:31
1樓
作者回應

Afu
檢舉此回應
<terminated>XmlDocumentFormatRegistry然後出現以上訊息,我剛發現把所有程式碼註解 什麼都沒執行 還是會跑出那一些東西 ..求解
本篇文章回覆於2013-10-29 21:53
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔--
2樓
作者回應

Afu
檢舉此回應
我很愚蠢的執行錯的專案 .. 無臉了 ..最後有成功轉檔。
本篇文章回覆於2013-10-29 22:51
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔--
   
1

回覆
如要回應,請先登入.