openoffice命令行

来源:互联网 发布:怎么用cmd运行java文件 编辑:程序博客网 时间:2024/06/05 15:15

(1)进入mac目录

cd /Applications/OpenOffice.app/Contents/MacOS

启动

(2)soffice -writer


Starting from the command line

< Documentation‎ | OOoAuthors User Manual‎ | Getting Started
Getting Started with OpenOffice.org 2.x
Chapter 2: Starting OpenOffice.org
< Previous SectionNext Section >
  • Starting from the system menu
  • Starting from an existing document
  • Using the Quickstarter under Windows
  • Using the Quickstarter under Linux
  • Starting from the command line
< Previous PageNext Page >


You may want to start OOo from the command line (using the keyboard instead of the mouse). Why? Well, by using the command line, you have more control over what happens when OOo is started. For example, using the command line, you can tell Writer to load a document and print it immediately, or to start without showing the splash screen.

Documentation note.pngMost users will never need to do this.

There is more than one way to start OOo from the command line, depending on whether a customized version or the standard download from the OpenOffice.org website has been installed.

If you installed using the download on the OpenOffice.org website, you can start Writer by typing at the command line:

soffice -writer

or

swriter

Writer will start and create a new document. Likewise, you can start other OOo components from the command line:

Type of documentComponentCommand-line optionTextWriter-writerSpreadsheetCalc-calcDrawingDraw-drawPresentationImpress-impressFormulaMath-mathWeb pageWriter-web

To see a list of options you can use when starting Writer at the command line, type:

soffice -?

Below is a list of some of the more popular options.

OptionDescription-helpGet a complete list of options.-nologoDo not show the startup screen.-show <odp-file>Start presentation immediately.-view <documents ...>   Open documents in viewer (read-only) mode.-minimizedStart OOo minimized.-norestoreSuppress restart/restore after fatal errors.-invisibleNo startup screen, no default document and no UI. This is useful for third-party applications that use functionality provided by OOo.

If you have a customized version of OOo (such as the one provided by Linux Mandrake or Gentoo), you can start Writer by typing at the command line:


0 0
原创粉丝点击