public class SOfficeProcess extends Object
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
ENV_DIR
環境設定のパス
|
static String |
OFFICE_HOME
OOoのインストールディレクトリ
|
修飾子 | コンストラクタと説明 |
---|---|
protected |
SOfficeProcess(String id)
コンストラクタです。
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
bootstrap()
OOoへの接続を行います。
|
void |
close()
プロセスを終了します。
|
protected String |
getConnParam(String key)
Pipe名をキーにOpenOfficeのプロセスに接続するための文字列を生成します。
|
com.sun.star.frame.XDesktop |
getDesktop()
デスクトップインスタンスを返します
|
com.sun.star.frame.XDispatchHelper |
getDispatcher()
OpenOfficeのローカルコンポーネントコンテキストを返します。
|
protected String |
getProcParam(String key)
Pipe名をキーにOpenOfficeのプロセスを生成するためのパラメーター文字列を生成します。
|
String |
getTempPath()
このプロセスに対して固有に使用できる一時ファイルのパスを指定します。
|
public static final String OFFICE_HOME
protected SOfficeProcess(String id)
id
- プロセスID4.3.0.0 (2008/07/15) 設定ファイルを各コンテキストごとに置くように変更 |
protected void bootstrap()
5.0.0.0 (2009/08/03) Linux対応(パイプ名に":"が含まれていると接続できない) |
5.1.7.0 (2010/06/01) TCP接続対応 |
protected String getConnParam(String key)
key
- Pipe名public com.sun.star.frame.XDesktop getDesktop()
public void close()
protected String getProcParam(String key)
key
- Pipe名public com.sun.star.frame.XDispatchHelper getDispatcher()
5.1.7.0 (2010/06/01) 新規作成 |
public String getTempPath()
5.1.7.0 (2010/06/01) 新規作成 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.