38
OpenDocument ( ODF ) Makoto Takizawa [email protected]

OpenDocument interoperability test workshop

Embed Size (px)

DESCRIPTION

OpenDocument interoperability test workshop in Meisei University , Japan at 23/Feb/2013. I describe OpenDocument , ODF Plugfest and explain interoperability test. see detail: http://blog.fairytern.org/2013/02/opendocument-interoperability-test.html

Citation preview

Page 1: OpenDocument interoperability test workshop

OpenDocument ( ODF )

Makoto Takizawa

[email protected]

Page 2: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 2

アジェンダ

● OpenDocument Format(ODF)● 特徴● 構造● 歴史● 誰がどこで定義しているの?

● ODF Plugfest● WorkShop

Page 3: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 3

ODF の特徴

● オープンな標準● 利用、使用自由 / ロイヤリティフリー

● だれでも仕様書が入手可能● 多数の実装 / マルチプラットフォーム

● Windows, MacOS, Linux, ....● 商用ソフト / 非商用ソフト

Page 4: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 4

ODF の構造

● 拡張子● ワープロ .odt/ 表計算 .ods/ プレゼンテーション .odp

● 図形 .odg/ データーベース .odb

● Zip で圧縮されたファイル● content.xml :文書内容● meta.xml : メタ情報 (version や作成プログラムなど )● settings.xml : 設定情報● styles.xml : WEB でいう CSS 相当の見た目情報● meta-inf/manifest.xml :XML ファイルの構造

Page 5: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 5

ODF の歴史● ODF 1.0

● 2005: OASIS ODF 1.0● 2006: ISO/IEC 26300:2006● 2007: KS X ISO IEC 26300● 2008: ABNT NBR ISO/IEC 26300● 2009: SANS 26300● 2010: JIS X 4401:2010

● ODF 1.1● 2007 : OASIS ODF1.1● 2012 : ISO/IEC 26300:2006/Amd 1:2012

● ODF 1.2● 2011: OASIS ODF1.2

Page 6: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 6

ODF の歴史

● 1.2● 数式の規程

=SUM()

=DATEDIF()

=LENB()

● 電子署名の規程

..etc● 1.3( 現在策定中 )

● スプレッドシートにおけるセルの中央揃え

● シートタブの色付け● プレゼンにコメントを

..etc

Page 7: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 7

言葉の定義って重要ですよね?

Page 8: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 8

オープンな標準

Page 9: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 9

オープンな標準

2007 年 3 月に各府省情報化統括責任者 (CIO) 連絡会議が発行した「情報システムに係る政府調達の基本指針」

原則として、● (1) 開かれた参画プロセスの下で合意され、

具体的仕様が実装可能なレベルで公開されていること、● (2) 誰もが採用可能であること、● (3) 技術標準が実現された製品が市場に複数あること、

の全てを満たしている技術標準をいう。

Page 10: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 10

ODF って誰が、どこで策定しているの ?

Page 11: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 11

OASIS

OASISは、グローバルな情報社会のオープン標準を開発、統合および採用を推進する非営利国際コンソーシアムです。

● 開かれた参画プロセス ?● 誰でも参加できる (個人でも OK)

– 個人年会費は、 310USD

● プロセスは明確に規定されている● さらにパブリックレビュー (最低 30日 ) もある。

– テクニカルなコメントが有る人は以下のコメント MLへ– https://www.oasis-open.org/committees/comments/index.php?

wg_abbrev=office

Page 12: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 12

OASIS Open Document Format for Office Applications (OpenDocument) TC

● IPR member

1. Adobe2. Duke University3. Google4. IBM5. Intel6. ISO/IEC JTC1/SC347. Justsystems8. KDE e.V.9. Microsoft10.Nokia11.Novell12.Oracle13.Redhat14.The Document Foundation

...etc

● スポンサー● IBM● Microsoft● Nokia Corporation● Novell● Oracle● Red Hat● The Boeing Company

https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=officehttps://www.oasis-open.org/committees/office/obligation.php

Page 13: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 13

あなたの製品でサポートしませんか?

Page 14: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 14

ODF対応ライブラリ

● QT● lpOD● jOpenDocument

http://www.opendocsociety.org/tools/odf-toolshttp://opendocumentfellowship.com/applications

Page 15: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 15

ODF 対応製品

● IBM WebSphere Portal /IBM Lotus Domino

IBM Lotus Notes ● SAP ● Inkscape● eZ publish: CMS● phpMyAdmin: データベース管理● OmegaT : 翻訳支援ソフト● WebODF :ビューワー● Evince : 統合ビューワー● Windows ワードパッド

...etc

Page 16: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 16

ODF 対応製品

● Microsoft Office● Corel WordPerfect Office● JUST Suite● Google ドライブ (Google Docs)● Zoho● Calligra Suite(KOffice)● Gnome Office● LibreOffice● Apache OpenOffice

...etc

Page 17: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 17

Microsoft Office

● Office 2007 Service Pack 2● OASIS ODF 1.1

● Office 2010● OASIS ODF 1.1

● Office 2013● OASIS ODF 1.2

Page 18: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 18

とある相互運用性試験結果

※2008 年 ODF1.1(?)http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1201708

Page 19: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 19

相互運用性はバッチリ!自由の世界がやってきた!

Page 20: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 20

世の中 そんなに甘くない。

Page 21: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 21

どこまで実装しているの?そもそも、本当にちゃんと実装できてる?

Page 22: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 22

ぶっ挿してみましょう。試してみましょう。

Page 23: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 23

ODF Plugfest

● ベンダーニュートラルなイベント

● 過去 9回開催

● オランダ政府が始めた● NoiVプログラム Supported by Fedict, OFE, OpenDoc

Society● 技術パート

● ODF 相互運用● 一般情報

● 市場にどんなのがあるの?

Towards Real World Interoperabilit

Page 24: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 24

シナリオテスト1 :OASIS ODF 1.2規定された数式が正しく動作するか確認してみましょう。

Rob Weir@University of Granada (Spain) 2010-04-09http://plugtest.opendocsociety.org/doku.php?id=scenarios:20100415:yearfrac

● サイトにあるプレゼンテーションを読んでください。プレゼンにはYEARFRAC 数式のバックグラウドなどが書いてあります。(英語 )

● ODF 1.2 の読み込みをサポートしている場合は、添付の ODS ファイル形式を読み込んでください。 (xls も用意されています )

● セルの A と B にテストデータが表示されます。● セル C に YEARRAC 数式が埋め込まれています。● セル D が直接入力した期待される結果です。● セル E が C=D の比較結果です。 True もしくは 1 です。※表示は Boolean値をどのように表現するか、あなたの実装次第です。

● セル F に説明が書いてあります。

Page 25: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 25

Microsoft Office 2011 for Mac

Page 26: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 26

Gnumeric

Page 27: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 27

Kspread(Calligra Tables)

Page 28: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 28

SkyDrive(Excel Web App)

Page 29: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 29

Google Drive(Google スプレッドシート )

Page 30: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 30

Zoho

Page 31: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 31

Apache OpenOffice

Page 32: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 32

LibreOffice

Page 33: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 33

6.20.2 ASCSummary: Converts full-width to half-width ASCII and katakana characters.Syntax: ASC( Text T )Returns: TextConstraints: NoneSemantics: Conversion is done for full-width ASCII and [UNICODE] katakana characters, some characters are converted in a special way, see table below. Other characters are copied from T to the result. This is the complementary function to JIS.The percent sign % in the conversion table below denotes the modulo operation. A followed by means that a character is converted to two consecutive characters.

シナリオテスト1 :OASIS ODF 1.2規定された数式が正しく動作するか確認してみましょう。

Page 34: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 34

シナリオテスト1 :OASIS ODF 1.2規定された数式が正しく動作するか確認してみましょう。

6.20.11 JIS

Summary: Converts half-width to full-width ASCII and katakana characters. Syntax: JIS( Text T )

Returns: Text

Constraints: None

Semantics: Conversion is done for half-width ASCII and [UNICODE] katakana characters, some characters are converted in a special way, see table below. Other characters are copied from T to the result. This is the complementary function to ASC.

A followed by means that there are two consecutive characters to convert from.

Page 35: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 35

シナリオテスト1 :OASIS ODF 1.2規定された数式が正しく動作するか確認してみましょう。

6.7.4 LENB

Summary: Returns the length of given text in units compatible with byte positions Syntax: LENB( Text T )

Returns: ByteLength

Constraints: None.

Semantics: As LEN, but compatible with byte position values. See also LEN 6.20.13, LEFTB 6.7.3, RIGHTB 6.7.7

Page 36: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 36

シナリオテスト 2:OASIS ODF 1.2好きな製品で ODF1.2 のファイルを作成し他のオフィスソフトで開いてみましょう。

● テストデータを作りましょう● LibreOffice を開く● LibreOffice の設定

– オプション、全般→ODF 形式 1.2 に設定

● ファイルを作成● ODF と PDF で保存

● 対象オフィスソフトで開いてみましょう

Page 37: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 37

LibreOffice の対応状況

● 未実装数式 :● 6.7.3 LEFTB

● 6.7.4 LENB

● 6.7.5 MIDB

など

https://bugs.freedesktop.org/show_bug.cgi?id=50488

● ODF に関する情報は以下

https://wiki.documentfoundation.org/Development/ODF_Implementer_Notes

Page 38: OpenDocument interoperability test workshop

13� 2� 24� Fairytern.org 38

ODF Plugfest in Japan一緒にやりませんか?

● ファイルについて話しましょう。● ファイルに関係ない部分はほどほどに

● ODF対応製品を持っていれば、作っていれば

シェアしませんか?

● テストしましょう● 個人的には、特に言語特有な所

– 実装していなかったり、実装が変だったり ... よくあるので