LibreOffice 3.4入门/开放源代码,开放标准和开放文档

简介 编辑

LibreOffice是一个生产力套件,它与其他主要办公套件兼容,可用于各种平台。它是开源软件,因此可以被免费的下载,使用和分发。如果您刚刚接触LibreOffice,此附录将提供关于它的历史,社群以及技术规范的信息。您会发现,所有这一切,皆因“开放”二字。

LibreOffice 简史 编辑

2000年10月13日,Sun Microsystems 释出它的 StarOffice® 软件的源代码,OpenOffice.org项目因此而开始。OpenOffice.org 1.0在2002年4月30日被释出。OpenOffice.org 的重大升级包括 2005年10月的2.0版本和2008年10月的3.0版本。2010年1月26日,Oracle公司收购了Sun Microsystems。

2010年9月28日,开发维护OpenOffice.org的志愿者社区发布了一个重大改进版本,项目架构发生了重大变更。在Sun Microsystems的支持和赞助下,经过10年成功发展,此项目发展成一个独立的基金会——文档基金会,以保证其独立性。文档基金会是一个新的生态系统的基石。在这个生态系统中,个人和组织都能够贡献力量并从项目中受益。因为这是一个可获取的,真正自由的办公套件。

由于无法从Oracle公司获得OpenOffice.org商标,文档基金会给他们的产品取了一个新的名字:LibreOffice。作为OpenOffice.org版本号的延续,LibreOffice直接跳跃到了 3.3。LibreOffice 3.3 在2011年一月发布。

2012年2月,文档基金会在柏林成立,成为一家德国的基金会。您可以在http://www.documentfoundation.org/了解到详情。

LibreOffice社区 编辑

文档基金会的使命是:

“推动OpenOffice.org社区在数月内向新的开放,独立,精英化的组织结构变革。独立的基金会更加切合贡献者,用户,支持者的价值观,同时使社区更加有力,高效,透明,开放。我们将会保护过去十年间的投入,鼓励所有人加入社区,通过社区组织活动。”

我们的一些企业、组织支持者包括Canonical,GNOME基金会,Google,Novell和Red Hat。另外,还有来自全球各地超过450,000人加入了这个计划,共同创建最棒的人人可用的办公套件。这正是开源社区的精髓!

因为采用了开源软件许可,LibreOffice对推动办公套件让每个人都能自由获取、自由使用至关重要。LibreOffice软件已经被翻译成了很多种语言,运行在所有主要操作系统上。应用程序扩展亦为它增添了新功能。

LibreOffice社区邀请各个领域的贡献者,包括翻译者,软件开发者,图形艺术家,专业作家,编辑,捐赠人和最终用户支持。不管您擅长什么,都能够有所作为。社区国际化地运转于所有时区和许多种语言,请访问www.libreoffice.orgwww.documentfoundation.org了解详情或参与其中。

LibreOffice采用何种许可? 编辑

LibreOffice在Open Source Initiative (OSI)许可下释出,与Lesser General Public License (LGPL)一致。

LGPL许可原文可以在LibreOffice网站上获取:http://www.libreoffice.org/download/license/

什么是“开源”? 编辑

自由软件/开源软件的四项基本权利可用自由软件基金会的GPL中的表述来阐释:

  • 不论目的为何,有使用该软件的自由(自由之零)。
  • 有研究该软件如何运作的自由,并且得以改写该软件来符合使用者自身的需求(自由之一)。取得该软件之源码为达成此目的之前提。
  • 有重新散布该软件的自由,所以每个人都可以藉由散布自由软件来敦亲睦邻(自由之二)。
  • 有改善再利用该软件的自由,并且可以发表改写版供公众使用,如此一来,整个社群都可以受惠。如前项,取得该软件之源码为达成此目的之前提(自由之三)。

开放源代码之下的基本观点非常简单:如果程序员可以读取,再分发,并修改源代码,软件就能不断发展。人们优化它,改造它,修复错误。

要深入了解FOSS(Free and Open Source Software),请访问以下站点:

开放源代码促进会(OSI): http://www.opensource.org

自由软件基金会 (FSF): http://www.fsf.org

GNU操作系统 (GNU): http://www.gnu.org

什么是“开放标准”? 编辑

开放标准提供了一种独立于制造商或经销商的运作模式,因此能够让互相竞争的软件自由使用相同的文件格式。HTML,XML和ODF都是开放文档标准的例子。

开放标准需要符合一下要求:

  • 提供良好的文档,包括公开的完整规范,既可以免费也可以收取象征性的费用。
  • 可以被自由复制,再分发和使用。标准的知识产权建立在免版税基础之上,不可逆转。
  • 由独立,开放的论坛(或者叫“标准化组织”)使用公开程序进行标准化和维护。

什么是“开放文档”? 编辑

开放文档格式(ODF)是一种基于XML的办公文档文件格式(文本文档,电子表格,绘图,演示等等),在OASIS(http://www.oasis-open.org/who/)上开发,是一个独立的,国际化的标准组织。

与其它文件格式不同,ODF是一个开放标准。它是公开的,免版税的,没有法律上的或其它限制。因此ODF文件并不会绑定于某一种特定的软件套件,任何人都可以建立理解这些文件的程序。因为这个原因,ODF迅速成为了政府机构,学校和一些公司的首选,他们不愿意过于依赖于任何一个软件供应商。

自2.0版本以来,OpenOffice.org支持ODF开放标准作为它的默认文件格式。LibreOffice默认以ODF格式保存文档。LibreOffice 3采用了ODF 1.2标准。LibreOffice也能够打开和保存很多其他文件格式,查看“文件格式”一节了解更多信息。

ODF文件扩展名 编辑

OpenDocument文档常用的文件扩展名:

*.odt 字处理程序

*.ods 电子表格程序

*.odp 演示程序

*.odb 数据库程序

*.odg 绘图程序

*.odf 公式程序

File formats LibreOffice can open 编辑

LibreOffice can open a wide variety of file formats in addition to the OpenDocument formats.

Opening text documents 编辑

In addition to OpenDocument formats (.odt, .ott, .oth, .odm, and .fodt), Writer 3 can open the formats used by OpenOffice.org 1.x (.sxw, .stw, and .sxg) and the following text document formats:

Microsoft Word 6.0/95/97/2000/XP) (.doc and .dot)Microsoft Word 2003 XML (.xml)Microsoft Word 2007/2010 XML (.docx, .docm, .dotx, .dotm)Microsoft WinWord 5 (.doc)WordPerfect Document (.wpd)Microsoft Works (.wps)Lotus WordPro (.lwp)Rich Text Format (.rtf)Text CSV (.csv and .txt)StarWriter formats (.sdw, .sgl, .vor)DocBook (.xml)Unified Office Format text (.uot, .uof)Ichitaro 8/9/10/11 (.jtd and .jtt)Hangul WP 97 (.hwp)T602 Document (.602, .txt)AportisDoc (Palm) (.pdb)Pocket Word (.psw)HTML Document (.htm, .html)

Most of these file types are automatically detected by LibreOffice, so they can be opened without explicitly selecting the document type in the file picker.

When opening .htm or .html files (used for web pages), LibreOffice customizes Writer for working with these files.

Opening spreadsheets 编辑

In addition to OpenDocument formats (.ods, .ots, and .fods), Calc 3 can open the formats used by OpenOffice.org 1.x (.sxc and .stc) and the following spreadsheet formats:

Microsoft Excel 97/2000/XP (.xls, .xlw, and .xlt)Microsoft Excel 4.x–5.0/95 (.xls, .xlw, and .xlt)Microsoft Excel 2003 XML (.xml)Microsoft Excel 2007/2010 XML (.xlsx, .xlsm, .xlts, .xltm)Microsoft Excel 2007/2010 binary (.xlsb)Lotus 1-2-3 (.wk1, .wks, and .123)Data Interchange Format (.dif)Rich Text Format (.rtf)Text CSV (.csv and .txt)StarCalc formats (.sdc and .vor)dBASE (.dbf)SYLK (.slk)Unified Office Format spreadsheet (.uos, .uof)HTML Document (.htm and .html files, including Web page queries)Pocket Excel (pxl)Quattro Pro 6.0 (.wb2)

Opening presentations 编辑

In addition to OpenDocument formats (.odp, .odg, .otp, and .fopd), Impress 3 can open the formats used by OpenOffice.org 1.x (.sxi and .sti) and the following presentation formats:

Microsoft PowerPoint 97/2000/XP (.ppt and .pot)Microsoft PowerPoint 2007/2010 (.pptx, .pptm, .potx, .potm)StarDraw and StarImpress (.sda, .sdd, .sdp, and .vor)Unified Office Format presentation (.uop, .uof)CGM – Computer Graphics Metafile (.cgm)Portable Document Format (.pdf)

Opening graphic files 编辑

In addition to OpenDocument formats (.odg and .otg), Draw 3 can open the formats used by OpenOffice.org 1.x (.sxd and .std) and the following graphic formats:

BMP JPEG, JPG PCX PSD SGV WMF
DXF MET PGM RAS SVM XBM
EMF PBM PLT SDA TGA XPM
EPS PCD PNG SDD TIF, TIFF
GIF PCT PPM SGF VOR

Opening formula files 编辑

In addition to OpenDocument Formula (.odf) files, Math 3 can open the format used by OpenOffice.org 1.x (.sxm), StarMath, (.smf), and MathML (.mml) files.

When opening a Word document that contains an embedded equation editor object, if the option for it (MathType to LibreOffice Math or reverse) is checked in Tools > Options > Load/Save > Microsoft Office, the object will be automatically converted to an LibreOffice Math object.

File formats LibreOffice can save to 编辑

Saving in an OpenDocument format guarantees the correct rendering of the file when it is transferred to another person or when the file is re-opened with a later version of LibreOffice or with another program. It is strongly recommended that you use OpenDocument as the default file formats. However, you can save files in other formats, if you wish.

提示 When sharing a document that you do not expect or want the recipient to modify, the safest option is to convert the document to PDF. LibreOffice provides a very straightforward way to convert documents to PDF. See Chapter 10, Printing, Exporting, and E-Mailing, in this book.

Saving text documents 编辑

In addition to OpenDocument formats (.odt, .ott, and .fodt), Writer 3 can save in these formats:

OpenOffice.org 1.x Text Document (.sxw)OpenOffice.org 1.x Text Document Template (.stw)Microsoft Word 6.0, 95, and 97/2000/XP (.doc)Microsoft Word 2003 XML (.xml)Microsoft Word 2007/2010 XML (.docx)Office Open XML Text (.docx)Rich Text Format (.rtf)StarWriter 3.0, 4.0, and 5.0 (.sdw)StarWriter 3.0, 4.0, and 5.0 Template (.vor)Text (.txt)Text Encoded (.txt)Unified Office Format text (.uot, .uof)HTML Document (OpenOffice.org Writer) (.html and .htm)DocBook (.xml)AportisDoc (Palm) (.pdb)Pocket Word (.psw)

Encryption support within the Microsoft Word 97/2000/XP filter allows password protected Microsoft Word documents to be saved.

说明 The .rtf format is a common format for transferring text files between applications, but you are likely to experience loss of formatting and images. For this reason, other formats should be used.

Saving spreadsheet files 编辑

In addition to OpenDocument formats (.ods and .ots), Calc 3 can save in these formats:

OpenOffice.org 1.x Spreadsheet (.sxc)OpenOffice.org 1.x Spreadsheet Template (.stc)Microsoft Excel 97/2000/XP (.xls and .xlw)Microsoft Excel 97/2000/XP Template (.xlt)Microsoft Excel 5.0 and 95 (.xls and .xlw)Microsoft Excel 2003 XML (.xml)Microsoft Excel 2007/2010 XML (.xlsx)Office Open XML Spreadsheet (.xlsx)Data Interchange Format (.dif)dBase (.dbf)SYLK (.slk)Text CSV (.csv and .txt)StarCalc 3.0, 4.0, and 5.0 formats (.sdc and .vor)Unified Office Format spreadsheet (.uos)HTML Document (OpenOffice.org Calc) (.html and .htm)Pocket Excel (.pxl)

说明 The Java Runtime Environment is required to use the mobile device filters for AportisDoc (Palm), Pocket Word, and Pocket Excel.

Saving presentations 编辑

In addition to OpenDocument formats (.odp, .otp, .fodp, and .odg), Impress 3 can save in these formats:

OpenOffice.org 1.x Presentation (.sxi)OpenOffice.org 1.x Presentation Template (.sti)Microsoft PowerPoint 97/2000/XP (.ppt)Microsoft PowerPoint 97/2000/XP Template (.pot)Microsoft PowerPoint 2007/2010 XML (.pptx, .potm)Office Open XML Presentation (.pptx, .potm, .ppsx)StarDraw, StarImpress (.sda, .sdd, and .vor)Unified Office Format presentation (.uop)

Impress can also export to MacroMedia Flash (.swf) and any of the graphics formats listed for Draw.

Saving drawings 编辑

Draw 3 can only save in the OpenDocument Drawing formats (.odg and .otg), the OpenOffice.org 1.x formats (.sxd and .std) and StarDraw format (.sda, .sdd, and .vor).

However, Draw can also export to BMP, EMF, EPS, GIF, JPEG, MET, PBM, PCT, PGM, PNG, PPM, RAS, SVG, SVM, TIFF, WMF, and XPM.

Writer/Web can save in these formats 编辑

HTML document (.html and .htm), as HTML 4.0 Transitional

OpenOffice.org 1.0 HTML Template (.stw)

OpenOffice.org 2.x HTML Template (.oth)

StarWriter/Web 4.0 and 5.0 (.vor)

Text (LibreOffice Writer/Web) (.txt)

Text Encoded (LibreOffice Writer/Web) (.txt)

導出至其他格式 编辑

LibreOffice有一個功能叫作導出(Export),這個功能可以使目前格式轉換為其他格式,如果您無法在「保存至」找到您想要的格式,可以使用導出功能來獲得您想要的格式。

LibreOffice可以將文件轉換至XHTML,Draw和Impress可以將文件轉換至Adobe Flash(.swf)格式和其他許多種格式。

若要轉換至其中一種格式,請選擇文件 > 導出。在導出對話中,為您想要的文件選擇一種格式,然後在文件格式列表中選擇那種格式,然後點擊導出按鈕。