{"id":168,"date":"2006-10-13T22:30:00","date_gmt":"2006-10-13T22:30:00","guid":{"rendered":"http:\/\/marvelliu.wordpress.com\/2006\/10\/13\/odt"},"modified":"2006-10-13T22:30:00","modified_gmt":"2006-10-13T22:30:00","slug":"odt","status":"publish","type":"post","link":"https:\/\/marvelliu.space\/?p=168","title":{"rendered":"ODT"},"content":{"rendered":"<p>ODF\uff08OpenOffice.org Open Document\uff09\u662f\u4e00\u79cdoffice\u6587\u6863\u7684\u683c\u5f0f\uff0c\u73b0\u5728\u5df2\u7ecf\u88abOASIS\uff08The Organization for the Advancement of Structured Information Standards\uff0c\u5f88\u5de7\uff0c\u6211\u8001\u662f\u4e5f\u662f\u8fd9\u4e2a\u540d\u5b57\uff0c\u5475\u5475\uff09\u901a\u8fc7\u4e86\uff0c\u6210\u4e3a\u4e86Office\u6587\u6863\u7684\u6807\u51c6\uff0c\u8bf7\u6ce8\u610f\uff0c\u8fd9\u91cc\u7684office\u53ef\u4e0d\u662fms office\u3002<\/p>\n<p>\u4e8b\u5b9e\u4e0a\uff0cms office\u7684\u6807\u51c6\u662f\u4e0d\u516c\u5f00\u7684\uff0c\u800c ODF\u5374\u662f\u53ef\u4ee5\u88ab\u516c\u4f17\u6d4f\u89c8\u7684\uff0c\u6240\u4ee5\u5927\u5bb6\u53ef\u4ee5\u57fa\u4e8eODF\u7684\u6807\u51c6\uff0c\u8fdb\u884c\u5b9a\u5236\u5f00\u53d1\u3002ODF\u5df2\u7ecf\u88abOO2\u548cKOffice\u7684\u4e0b\u4e00\u4e2a\u7248\u672c\u91c7\u7528\u3002<\/p>\n<p>\u4eca\u5929\u7b80\u5355\u7684\u770b\u4e86\u770bODF\u7684\u6807\u51c6\uff0c\u89c9\u5f97\u633a\u50cfFF\u7684\u6269\u5c55\u7684\u3002ODF\u7684\u5b9a\u4e49\u662f\uff1aa royalty-free, XML-based file format that covers features required by text, spreadsheets, charts, and graphical documents\u3002\u53ef\u4ee5\u770b\u51fa\uff0c\u5b83\u662f\u57fa\u4e8exml\u683c\u5f0f\u7684\uff0c\u6362\u53e5\u8bdd\u8bf4\uff0c\u5b83\u7c7b\u4f3c\u4e8ehtml\u683c\u5f0f\u7684\u8d85\u6587\u672c\u9875\u9762\uff0c\u4f46\u5b83\u7684\u683c\u5f0f\u8981\u6c42\u66f4\u52a0\u4e25\u683c\uff0c\u4e00\u5b9a\u662f\u826f\u6784\u7684\uff0c\u6b64\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u6837\u5f0f\u7684xml\u6587\u4ef6\uff0c\u8fd9\u4e2a\u7c7b\u4f3c\u4e8exsl\u6587\u4ef6\uff0c\u5b9a\u4e49\u4e00\u4e9b\u4e3bxml\u6587\u4ef6\u7684\u6837\u5f0f\u4e4b\u7c7b\u7684\u3002<\/p>\n<p>\u4e3e\u4e00\u4e2a\u7b80\u5355\u7684helloworld\u4f8b\u5b50\u5427\u3002\u4f8b\u5982\u6709\u4e00\u4e2ahello.odt\u6587\u4ef6\uff0c\u5176\u5b9e\u5b83\u662f\u4e00\u4e2azip\u683c\u5f0f\u7684\u538b\u7f29\u6587\u4ef6\u3002\u89e3\u538b\u540e\uff0c\u53ef\u4ee5\u53d1\u73b0\u6709\u4e00\u7cfb\u5217\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u3002\u6311\u91cd\u8981\u7684\u8bf4\u7f62\u5427\u3002<\/p>\n<ul>\t<\/p>\n<li>mimetype<\/li>\n<p><\/ul>\n<p>\u8fd9\u4e2a\u662f\u552f\u4e00\u7684\u975exml\u6587\u4ef6\uff0c\u5b83\u53ea\u662f\u8bf4\u660e\u4e86\u8be5odf\u6587\u4ef6\u7684\u7c7b\u578b\u3002\u4f8b\u5982\uff0c\u6587\u672c\u5904\u7406\u6587\u4ef6\u7684\u5185\u5bb9\u4e3a application\/vnd.oasis.opendocument.text\u3002<\/p>\n<ul>\t<\/p>\n<li>META-INFmanifest.xml<\/li>\n<p><\/ul>\n<p>\u8fd9\u4e2a\u6587\u4ef6\u5728META-INF\u76ee\u5f55\u4e2d\uff0c\u5b83\u5217\u51fa\u4e86odf\u6587\u4ef6\u7684\u538b\u7f29\u5305\u4e2d\u6240\u6709\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u96c6\u5408\u3002<\/p>\n<ul>\t<\/p>\n<li>meta.xml<\/li>\n<p><\/ul>\n<p>\u8be5\u6587\u4ef6\u7c7b\u4f3c\u4e8eodf\u6587\u4ef6\u7684\u6458\u8981\uff0c\u5217\u51fa\u4e86\u6587\u4ef6\u4f5c\u8005\u3001\u65f6\u95f4\u7b49\u4fe1\u606f\u3002<\/p>\n<ul>\t<\/p>\n<li>settings.xml<\/li>\n<p><\/ul>\n<p>\u8be5\u6587\u4ef6\u5217\u51faodf\u6587\u4ef6\u7684\u6240\u6709\u8bbe\u7f6e\uff0c\u5c31\u50cf\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u5217\u51fa\u4e86\u6587\u6863\u9875\u9762\u7684\u957f\u5bbd\u7b49\u4fe1\u606f\u3002<\/p>\n<ul>\t<\/p>\n<li>styles.xml<\/li>\n<p><\/ul>\n<p>\u8fd9\u4e2a\u6587\u4ef6\u6709\u70b9\u7c7b\u4f3c\u4e8exsl\u6587\u4ef6\uff08\u4e4b\u6240\u4ee5\u4e0d\u8bf4\u7c7b\u4f3c\u4e8ecss\u6587\u4ef6\u662f\u56e0\u4e3a\u5b83\u662fxml\u683c\u5f0f\u7684@@\uff09\uff0c\u5b83\u7ed9\u51fa\u4e86\u6587\u6863\u6240\u9700\u7684\u6837\u5f0f\u3002<\/p>\n<ul>\t<\/p>\n<li>content.xml<\/li>\n<p><\/ul>\n<p>\u8fd9\u4e2a\u624d\u662fodt\u6587\u6863\u7684\u4e3b\u6587\u4ef6\uff0c\u7ed9\u51fa\u4e86\u6240\u6709\u5185\u5bb9\uff0c\u5f53\u7136\u662f\u4ee5xml\u683c\u5f0f\u7684\u3002<\/p>\n<p>[coolcode lang=&#8221;xml&#8221;]<\/p>\n<p>&lt;office:document-content<br \/>xmlns:office=&#8221;urn:oasis:names:tc:opendocument:xmlns:office:1.0&#8243;<br \/>xmlns:style=&#8221;urn:oasis:names:tc:opendocument:xmlns:style:1.0&#8243;<br \/>xmlns:text=&#8221;urn:oasis:names:tc:opendocument:xmlns:text:1.0&#8243;<br \/>xmlns:table=&#8221;urn:oasis:names:tc:opendocument:xmlns:table:1.0&#8243;<br \/>xmlns:draw=&#8221;urn:oasis:names:tc:opendocument:xmlns:drawing:1.0&#8243;<br \/>xmlns:fo=&#8221;urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0&#8243;<br \/>xmlns:xlink=&#8221;http:\/\/www.w3.org\/1999\/xlink&#8221;<br \/>xmlns:dc=&#8221;http:\/\/purl.org\/dc\/elements\/1.1\/&#8221;<br \/>xmlns:meta=&#8221;urn:oasis:names:tc:opendocument:xmlns:meta:1.0&#8243;<br \/>xmlns:number=&#8221;urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0&#8243;<br \/>xmlns:svg=&#8221;urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0&#8243;<br \/>xmlns:chart=&#8221;urn:oasis:names:tc:opendocument:xmlns:chart:1.0&#8243;<br \/>xmlns:dr3d=&#8221;urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0&#8243;<br \/>xmlns:math=&#8221;http:\/\/www.w3.org\/1998\/Math\/MathML&#8221;<br \/>xmlns:form=&#8221;urn:oasis:names:tc:opendocument:xmlns:form:1.0&#8243;<br \/>xmlns:script=&#8221;urn:oasis:names:tc:opendocument:xmlns:script:1.0&#8243;<br \/>xmlns:ooo=&#8221;http:\/\/openoffice.org\/2004\/office&#8221;<br \/>xmlns:ooow=&#8221;http:\/\/openoffice.org\/2004\/writer&#8221;<br \/>xmlns:oooc=&#8221;http:\/\/openoffice.org\/2004\/calc&#8221;<br \/>xmlns:dom=&#8221;http:\/\/www.w3.org\/2001\/xml-events&#8221;<br \/>xmlns:xforms=&#8221;http:\/\/www.w3.org\/2002\/xforms&#8221;<br \/>xmlns:xsd=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema&#8221;<br \/>xmlns:xsi=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema-instance&#8221;<br \/>office:version=&#8221;1.0&#8243;&gt;<\/p>\n<p>&lt;style:font-face style:name=&quot;Times New Roman&quot;<br \/>svg:font-family=&#8221;&#8216;Times New Roman'&#8221;<br \/>style:font-family-generic=&#8221;roman&#8221;<br \/>style:font-pitch=&#8221;variable&#8221;\/&gt;<br \/>&lt;style:font-face style:name=&quot;Arial&quot;<br \/>svg:font-family=&#8221;Arial&#8221; style:font-family-generic=&#8221;swiss&#8221;<br \/>style:font-pitch=&#8221;variable&#8221;\/&gt;<br \/>&lt;style:font-face style:name=&quot;SimSun&quot;<br \/>svg:font-family=&#8221;SimSun&#8221; style:font-family-generic=&#8221;system&#8221;<br \/>style:font-pitch=&#8221;variable&#8221;\/&gt;<br \/>&lt;style:font-face style:name=&quot;Tahoma&quot; svg:font-family=&quot;Tahoma&quot;<br \/>style:font-family-generic=&#8221;system&#8221; style:font-pitch=&#8221;variable&#8221;\/&gt;<\/p>\n<p>Hello world!<\/p>\n<p>ssssss<\/p>\n<p>[\/coolcode]<\/p>\n<p>\u57fa\u672c\u4e0a\u5c31\u662f\u8fd9\u6837\u4e86\uff0c\u8fd8\u662f\u5f88\u6e05\u6670\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ODF\uff08OpenOffice.org Open Document\uff09\u662f\u4e00\u79cdoffice\u6587\u6863\u7684\u683c\u5f0f\uff0c\u73b0\u5728\u5df2\u7ecf\u88abOASIS\uff08The Organization for the Advancement of Structured Information Standards\uff0c\u5f88\u5de7\uff0c\u6211\u8001\u662f\u4e5f\u662f\u8fd9\u4e2a\u540d\u5b57\uff0c\u5475\u5475\uff09\u901a\u8fc7\u4e86\uff0c\u6210\u4e3a\u4e86Office\u6587\u6863\u7684\u6807\u51c6\uff0c\u8bf7\u6ce8\u610f\uff0c\u8fd9\u91cc\u7684office\u53ef\u4e0d\u662fms office\u3002 \u4e8b\u5b9e\u4e0a\uff0cms office\u7684\u6807\u51c6\u662f\u4e0d\u516c\u5f00\u7684\uff0c\u800c ODF\u5374\u662f\u53ef\u4ee5\u88ab\u516c\u4f17\u6d4f\u89c8\u7684\uff0c\u6240\u4ee5\u5927\u5bb6\u53ef\u4ee5\u57fa\u4e8eODF\u7684\u6807\u51c6\uff0c\u8fdb\u884c\u5b9a\u5236\u5f00\u53d1\u3002ODF\u5df2\u7ecf\u88abOO2\u548cKOffice\u7684\u4e0b\u4e00\u4e2a\u7248\u672c\u91c7\u7528\u3002 \u4eca\u5929\u7b80\u5355\u7684\u770b\u4e86\u770bODF\u7684\u6807\u51c6\uff0c\u89c9\u5f97\u633a\u50cfFF\u7684\u6269\u5c55\u7684\u3002ODF\u7684\u5b9a\u4e49\u662f\uff1aa royalty-free, XML-based file format that covers features required by text, spreadsheets, charts, and graphical documents\u3002\u53ef\u4ee5\u770b\u51fa\uff0c\u5b83\u662f\u57fa\u4e8exml\u683c\u5f0f\u7684\uff0c\u6362\u53e5\u8bdd\u8bf4\uff0c\u5b83\u7c7b\u4f3c\u4e8ehtml\u683c\u5f0f\u7684\u8d85\u6587\u672c\u9875\u9762\uff0c\u4f46\u5b83\u7684\u683c\u5f0f\u8981\u6c42\u66f4\u52a0\u4e25\u683c\uff0c\u4e00\u5b9a\u662f\u826f\u6784\u7684\uff0c\u6b64\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u6837\u5f0f\u7684xml\u6587\u4ef6\uff0c\u8fd9\u4e2a\u7c7b\u4f3c\u4e8exsl\u6587\u4ef6\uff0c\u5b9a\u4e49\u4e00\u4e9b\u4e3bxml\u6587\u4ef6\u7684\u6837\u5f0f\u4e4b\u7c7b\u7684\u3002 \u4e3e\u4e00\u4e2a\u7b80\u5355\u7684helloworld\u4f8b\u5b50\u5427\u3002\u4f8b\u5982\u6709\u4e00\u4e2ahello.odt\u6587\u4ef6\uff0c\u5176\u5b9e\u5b83\u662f\u4e00\u4e2azip\u683c\u5f0f\u7684\u538b\u7f29\u6587\u4ef6\u3002\u89e3\u538b\u540e\uff0c\u53ef\u4ee5\u53d1\u73b0\u6709\u4e00\u7cfb\u5217\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u3002\u6311\u91cd\u8981\u7684\u8bf4\u7f62\u5427\u3002 mimetype \u8fd9\u4e2a\u662f\u552f\u4e00\u7684\u975exml\u6587\u4ef6\uff0c\u5b83\u53ea\u662f\u8bf4\u660e\u4e86\u8be5odf\u6587\u4ef6\u7684\u7c7b\u578b\u3002\u4f8b\u5982\uff0c\u6587\u672c\u5904\u7406\u6587\u4ef6\u7684\u5185\u5bb9\u4e3a application\/vnd.oasis.opendocument.text\u3002 META-INFmanifest.xml \u8fd9\u4e2a\u6587\u4ef6\u5728META-INF\u76ee\u5f55\u4e2d\uff0c\u5b83\u5217\u51fa\u4e86odf\u6587\u4ef6\u7684\u538b\u7f29\u5305\u4e2d\u6240\u6709\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u96c6\u5408\u3002 meta.xml \u8be5\u6587\u4ef6\u7c7b\u4f3c\u4e8eodf\u6587\u4ef6\u7684\u6458\u8981\uff0c\u5217\u51fa\u4e86\u6587\u4ef6\u4f5c\u8005\u3001\u65f6\u95f4\u7b49\u4fe1\u606f\u3002 settings.xml \u8be5\u6587\u4ef6\u5217\u51faodf\u6587\u4ef6\u7684\u6240\u6709\u8bbe\u7f6e\uff0c\u5c31\u50cf\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u5217\u51fa\u4e86\u6587\u6863\u9875\u9762\u7684\u957f\u5bbd\u7b49\u4fe1\u606f\u3002 styles.xml \u8fd9\u4e2a\u6587\u4ef6\u6709\u70b9\u7c7b\u4f3c\u4e8exsl\u6587\u4ef6\uff08\u4e4b\u6240\u4ee5\u4e0d\u8bf4\u7c7b\u4f3c\u4e8ecss\u6587\u4ef6\u662f\u56e0\u4e3a\u5b83\u662fxml\u683c\u5f0f\u7684@@\uff09\uff0c\u5b83\u7ed9\u51fa\u4e86\u6587\u6863\u6240\u9700\u7684\u6837\u5f0f\u3002 content.xml \u8fd9\u4e2a\u624d\u662fodt\u6587\u6863\u7684\u4e3b\u6587\u4ef6\uff0c\u7ed9\u51fa\u4e86\u6240\u6709\u5185\u5bb9\uff0c\u5f53\u7136\u662f\u4ee5xml\u683c\u5f0f\u7684\u3002 [coolcode lang=&#8221;xml&#8221;] &lt;office:document-contentxmlns:office=&#8221;urn:oasis:names:tc:opendocument:xmlns:office:1.0&#8243;xmlns:style=&#8221;urn:oasis:names:tc:opendocument:xmlns:style:1.0&#8243;xmlns:text=&#8221;urn:oasis:names:tc:opendocument:xmlns:text:1.0&#8243;xmlns:table=&#8221;urn:oasis:names:tc:opendocument:xmlns:table:1.0&#8243;xmlns:draw=&#8221;urn:oasis:names:tc:opendocument:xmlns:drawing:1.0&#8243;xmlns:fo=&#8221;urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0&#8243;xmlns:xlink=&#8221;http:\/\/www.w3.org\/1999\/xlink&#8221;xmlns:dc=&#8221;http:\/\/purl.org\/dc\/elements\/1.1\/&#8221;xmlns:meta=&#8221;urn:oasis:names:tc:opendocument:xmlns:meta:1.0&#8243;xmlns:number=&#8221;urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0&#8243;xmlns:svg=&#8221;urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0&#8243;xmlns:chart=&#8221;urn:oasis:names:tc:opendocument:xmlns:chart:1.0&#8243;xmlns:dr3d=&#8221;urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0&#8243;xmlns:math=&#8221;http:\/\/www.w3.org\/1998\/Math\/MathML&#8221;xmlns:form=&#8221;urn:oasis:names:tc:opendocument:xmlns:form:1.0&#8243;xmlns:script=&#8221;urn:oasis:names:tc:opendocument:xmlns:script:1.0&#8243;xmlns:ooo=&#8221;http:\/\/openoffice.org\/2004\/office&#8221;xmlns:ooow=&#8221;http:\/\/openoffice.org\/2004\/writer&#8221;xmlns:oooc=&#8221;http:\/\/openoffice.org\/2004\/calc&#8221;xmlns:dom=&#8221;http:\/\/www.w3.org\/2001\/xml-events&#8221;xmlns:xforms=&#8221;http:\/\/www.w3.org\/2002\/xforms&#8221;xmlns:xsd=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema&#8221;xmlns:xsi=&#8221;http:\/\/www.w3.org\/2001\/XMLSchema-instance&#8221;office:version=&#8221;1.0&#8243;&gt; &lt;style:font-face style:name=&quot;Times New Roman&quot;svg:font-family=&#8221;&#8216;Times New Roman&#8217;&#8221;style:font-family-generic=&#8221;roman&#8221;style:font-pitch=&#8221;variable&#8221;\/&gt;&lt;style:font-face style:name=&quot;Arial&quot;svg:font-family=&#8221;Arial&#8221; &hellip; <a href=\"https:\/\/marvelliu.space\/?p=168\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ODT&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=168"}],"version-history":[{"count":0,"href":"https:\/\/marvelliu.space\/index.php?rest_route=\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marvelliu.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}