OpenOffice.org UNO Magic
Upcoming SlideShare
Loading in...5
×
 

OpenOffice.org UNO Magic

on

  • 1,706 views

OpenOffice.org 的 UNO 魔術—那些 MS Office做不到的事 簡報檔(二) ...

OpenOffice.org 的 UNO 魔術—那些 MS Office做不到的事 簡報檔(二)
發表於COSCUP 2010 2010/8/14 11:00第三會議室,及ICOS 2010 2010/9/17 16:30 ROOM 3
簡報錄影:http://www.youtube.com/playlist?p=PLCC0C4EC458F2220D

Statistics

Views

Total Views
1,706
Views on SlideShare
1,706
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as OpenOffice

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

OpenOffice.org UNO Magic OpenOffice.org UNO Magic Presentation Transcript

  • 真•OpenOffice.org的UNO魔術 那些 MS Office 做不到的事 依瑪貓╱楊士青 <imacat@mail.imacat.idv.tw> 2010-09-15
  • 「 OpenOffice.org 的 UNO 魔術」簡報由 依瑪貓╱楊士青 製作, 以 創用CC Attribution-ShareAlike 3.0 Unported 授權條款 釋出。
  • 自我介紹
    • 依瑪貓╱楊士青
    • 曾任OpenOffice.org應用開發工程師
    • 甲骨文(昇陽)教育中心專任講師、自由軟體鑄造場講師、資策會兼任講師
    • Debian OpenOffice.org套件團隊
  • OpenOffice.org應用開發
  • OpenOffice.org應用開發
    • OpenOffice.org Basic程式語言
    • OpenOffice.org物件系統
  • OpenOffice.org Basic 程式語言 模仿MS VBA的程式語言, 以方便MS Office工程師快速上手轉換。
  • OpenOffice.org Basic 程式語言
    • Dim I As Integer, Sum As Integer
    • Sum = 0
    • For I = 1 To 5
    • Sum = Sum + I
    • Next
    • MsgBox Sum
  • OpenOffice.org Basic 內建開發環境IDE
  • OpenOffice.org物件系統
  • Office Application 應用程式 PowerPoint 簡報 MS Office程式架構 Excel 試算表 Word 文件
  • Office Application 應用程式 MS Office物件架構 Excel 試算表 ActiveSheet ActiveWorkbook Sheets ActiveWindow Range Rows Columns Cells Workbooks Windows
  • OpenOffice.org程式架構 OpenOffice.org 主程式 Writer 文件 Calc 試算表 Impress 簡報
  • Application 應用程式 OpenOffice.org程式架構 OpenOffice.org 主程式 Writer 文件 Calc 試算表 Impress 簡報
  • Components OpenOffice.org物件架構 OpenOffice.org Desktop Text Document Spreadsheet Document Presentation Document
  • Components OpenOffice.org物件架構 OpenOffice.org Desktop Text Document Spreadsheet Document Presentation Document Paragraphs Text Ranges Tables Shapes … Text Cursors
  • Components OpenOffice.org物件架構 OpenOffice.org Desktop Text Document Spreadsheet Document Presentation Document Spreadsheets Sheet Cells … Data Pilots Database Ranges Charts
  • Components OpenOffice.org物件架構 OpenOffice.org Desktop Text Document Spreadsheet Document Presentation Document Draw Pages Shapes … Charts Presentation Slide Show Controller
  • OpenOffice.org物件架構 與MS Office物件架構比較 兩套物件系統完全不一樣!
  • OpenOffice.org是另一套獨立的辦公室應用軟體,不是MS Office的替代品! 結論
  • 說完了,謝謝大家! ^_^ 請記得您隨身攜帶的行李。
  • 唔…當然還有! ^^;
  • MS Office做不到的事
  • OpenOffice.org物件系統UNO Universal: 跨語言通用 Network: 網路 Object: 物件 OpenOffice.org UNO
  • OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API …
  • Language Binding OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API …
  • Language Binding OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API C++ Java …
  • Language Binding OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API C++ Java Perl Python …
  • Language Binding OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API C++ Java Perl Python OLE CLI COM …
  • Language Binding OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API C++ Java Perl Python … C# VB.NET OLE CLI COM …
  • Language Binding OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API C++ Java Perl Python Almost Anything! … C# VB.NET OLE CLI COM …
  • Language Binding OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API C++ Java Perl Python Almost Anything! … C# VB.NET OLE CLI COM … Network Socket
  • OpenOffice.org UNO 「Almost」, 只要: 1. 程式語言自己有Binding 或 2. 程式語言可以透過CLI/COM操作
  • Client Application A OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API … C++
  • Client Application A OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API … C++ Client Application B Java
  • Client Application A OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API … C++ Client Application B Java Client Application C VB.NET
  • Client A Server Client Application A OpenOffice.org UNO OpenOffice.org Writer Calc Impress UNO API … C++ Client B Client Application B Java Client C Client Application C VB.NET TCP/IP Network
  • OpenOffice.org UNO 雲端的OpenOffice.org服務 實做上可行!
  • OpenOffice.org UNO 結合雲端行動技術, 將OpenOffice.org的應用帶到手機上!
  • 所以……
  • 換簡報!
  • OpenOffice.org本身的雲端應用, 因為通訊不安全,所以目前還沒辦法做。 OpenOffice.org UNO
  • OpenOffice.org UNO 不過可以繞路。
  • Mobile Web Office Application 行動網路辦公室應用
  • Client A Server Client Application A Office Application OpenOffice.org Writer Calc Impress UNO API … C++ Client B Client Application B Java Client C Client Application C VB.NET TCP/IP Network
  • Mobile Device Server Browser Mobile Web Office Application OpenOffice.org Writer Calc Impress UNO API … Mobile Device Mobile Device Mobile Web Application Browser Browser TCP/IP Network
  • Mobile Device Server Browser Mobile Web Office Application OpenOffice.org Writer Calc Impress UNO API … Mobile Device Mobile Device Mobile Web Application Browser Browser JSP TCP/IP Network
  • Mobile Web Office Application 這次魔術用的程式引擎選用JSP。
  • 魔術一
  • 將你的手機變成簡報搖控器! 魔術一
  • 魔術一:簡報遙控器
  • 魔術一:簡報遙控器
  • 魔術一:簡報遙控器
  • Components 魔術一:簡報遙控器 OpenOffice.org Desktop Text Document Spreadsheet Document Presentation Document Draw Pages Shapes … Charts Presentation Slide Show Controller
  • 魔術一:簡報遙控器 Psuedo Code
    • oPresentation = oPresentationDocument.getPresentation();
    • oSlideShowController = oPresentation.getController();
    • oPresentation.start();
    • oPresentation.end();
    • oSlideShowController.gotoNextSlide();
    • oSlideShowController.gotoPreviousSlide();
    • oSlideShowController.gotoSlideIndex(n);
  • 魔術一:簡報遙控器 不只是上下頁切換的簡報鼠, 遙控Impress,使用所有簡報功能!
  • 魔術一:簡報遙控器 SourceForge下的mpresent專案: http://sf.net/projects/mpresent/
  • 魔術二
  • 從一個常常在外面跑的朋友說起…… 魔術二
  • … 魔術二
  • 魔術二
  • 把手機變成你的隨身文件助理, 隨時隨地製作發送文件! 魔術二
  • 魔術二:行動文件助理
  • 魔術二:行動文件助理
  • 魔術二:行動文件助理
  • Components 魔術二:行動文件助理 OpenOffice.org Desktop Text Document Spreadsheet Document Presentation Document Paragraphs Text Ranges Tables Shapes … Text Cursors
  • 魔術二:行動文件助理 Psuedo Code
    • oText = oTextDocument.getText();
    • oTextCursor = oText.createTextCursor();
    • oBitmapTable = oTextDocument.createInstance(&quot;com.sun.star.drawing.BitmapTable&quot;);
    • oBitmapTable.insertByName (&quot;logo&quot;,sLogo);
    • sInternalURL = oBitmapTable.getByname(&quot;logo&quot;);
    • oTextGraphicObject = oTextDocument.createInstance(&quot;com.sun.star.text.TextGraphicObject&quot;);
    • oTextGraphicObject.setPropertyValue(&quot;GraphicURL&quot;, sInternalURL)
    • oText.insertTextContent(oTextCursor, oTextGraphicObject, false);
    • oTextCursor.setString(&quot;Quotation&quot;);
    • oTextTable = oTextDocument.createInstance(&quot;com.sun.star.text.TextTable&quot;);
    • oTextTable.initialize(5, 4);
    • oText.insertTextContent(oTextCursor, oTextTable, false);
    • oCell = oTextTable.getCellByName(&quot;A5&quot;);
    • oCell.setString(&quot;Total&quot;);
  • 魔術二:行動文件助理 結合 JavaMail 。 OpenOffice.org 應用程式, 比 OpenOffice.org 巨集擴展性更強!
  • 魔術三
  • 今年夏天天氣好熱! 到底有多熱呢? 魔術三
  • … 魔術三
  • 魔術三 用手機處理資料,製作即時資料圖表!
  • 魔術三:行動圖表製作
  • 魔術三:行動圖表製作
  • 魔術三:行動圖表製作
  • Components 魔術三:行動圖表製作 OpenOffice.org Desktop Text Document Spreadsheet Document Presentation Document Spreadsheets Sheet Cells … Data Pilots Database Ranges Charts
  • 魔術三:行動圖表製作 Psuedo Code
    • oCharts = oSpreadsheet.getCharts();
    • aChartPos = new com.sun.star.awt.Rectangle();
    • aChartPos.X = 0; aChartPos.Y = 0;
    • aChartPos.Width = 12000; aChartPos.Height = 10000;
    • aDataAddress = new com.sun.star.table.CellRangeAddress();
    • aDataAddress.Sheet = 0;
    • aDataAddress.StartColumn = 0; aDataAddress.StartRow = 1;
    • aDataAddress.EndColumn = 7; aDataAddress.EndRow = 26;
    • oCharts.addNewByName(&quot;chart&quot;, aChartPos, aDataAddress, true, true);
  • 魔術三:行動圖表製作 還可以作分析、排序、篩選、小計…… 用手機遙控Calc幫你做任何事!
  • 謝謝。 歡迎提出問題。
  • 簡報遙控器在SourceForge的mpresent專案。 http://sf.net/projects/mpresent/
  • 其它在我自己的FTP下: ftp://ftp.imacat.idv.tw/pub/ooomagic/
  • 有任何問題,歡迎和我討論。 或向Oracle/Sun攤位洽詢。
  • 9月底自由軟體鑄造場有5小時的課程, OpenOffice.org Basic簡單入門, 歡迎報名參加。
  • 更完整進階的課程, 請洽Oracle/Sun攤位。