Start OpenOffice.org using the command line

OpenOffice.org command line arguments

Besides directly typing in the path of the executable file for each OpenOffice.org application, you can also use a simple command to directly open each application. Take note that you may need to be within the OpenOffice programs folder to do this. (Default location: C:/Program Files/OpenOffice.org 2.x/program/) This method uses the "soffice" command along with arguments. They are as follows:

  • soffice -writer - Opens Writer
  • soffice -calc - Opens Calc
  • soffice -draw - Opens Draw
  • soffice -impress - Opens Impress
  • soffice -base - Opens Base
  • soffice -math - Opens Math

Alternatively, you can type in these commands directly:

  • swriter - Opens Writer
  • scalc - Opens Calc
  • sdraw - Opens Draw
  • simpress - Opens Impress
  • sbase - Opens Base
  • smath - Opens Math

Along with those commands, you can also use the "soffice" command along with some arguments to initiate various actions in Open Office. This method should follow the form: soffice [options] [documents...]

Argument
Action

-global
Creates a new global document

-web
Creates a new html document

-minimizes
Keep startup bitmap minimized

-invisible
No startup screen, no default document and no UI

-norestore
Suppress restart/restore after fatal errors

-quickstart
Starts the quickstart service (Only in Windows)

-nologo
Don't show the startup screen

-nolockcheck
Don't check for remote instances using the installation

-nodefault
Dont start with an empty document

-headless
Like the "invisible" argument, but with no user interaction at all

-help -h -?
Shows the help message for OpenOffice command line arguments

-o -n
Open documents regardless where they are templates or not

-display [display]
Specifies the X-display to use in Unix/X11 versions

-p [documents...]
Prints the specified documents using the default printer

-pt [printer][documents...]
Print the specidied documents in the specified printer

-view [documents...]
Open the specified documents in viewer or readonly mode

-show [presentation]
Open the specified presentation and start it immediately

-accept=[accept-string]
Specify na UNO connect strong to create an UNO acceptor through which other programs can connect to access the API

-unaccept=[accept-string]
Close and acceptor that was created using the "-accept=[accept-string]" command. Use "-unaccept=all" to lose all open acceptors.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值