このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Service 一括
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 一括s ::

service 一括
Description
The 一括 is a service that 供給するs 接近 to a 始める,決める of とじ込み/提出するs and folders 含む/封じ込めるd within a 一括. One instance of the 一括 service 存在するs for each 一括 とじ込み/提出する to be manipulated. Each instance is created with an argument which 明示するs the URL of the 一括 とじ込み/提出する to which the 使用者 要求するs 接近. If the instance is created without arguments, it must be initialised with the ::com::sun::星/主役にする::lang::XInitialization service methods before it is a valid instance of the service.

輸出(する)d Interfaces - 要約
::com::sun::星/主役にする::lang::XInitialization

A 一括 can be initialised with one of the に引き続いて: 1. A とじ込み/提出する URL referring to a 一括. 2. An XInputStream referring to a 一括 (it must also support an XSeekable interface). 3. An XStream referring to a 一括. The XInputStream must support an XSeekable interface, and the XOutputStream must support an XTruncate interface. It will throw a css::uno::Exception if initialised with bad data or if the 一括 has an 無効の 判型 (for example, a corrupt central d irectory 記録,記録的な/記録する if the とじ込み/提出する is a ZIP とじ込み/提出する).

::com::sun::星/主役にする::コンテナ::XHierarchicalNameAccess

This interface is used to get 接近 to any 入ること/参加(者) within the 一括 For example: getByHierarchicalName ("folder/subfolder/file1.txt"); This will return a PackageStream which 言及するs to the 明示するd stream. This is also used to get 接近 to a particular folder within the 一括. For example: getByHierarchicalName ("folder/subfolder/"); This will return a PackageFolder which 述べるs the contents of the 明示するd folder. Calls to methods of XHierarchicalNameAccess must NOT have a 主要な 削除する.

::com::sun::星/主役にする::lang::XSingleServiceFactory

This interface is used to create new PackageStream or PackageFolder 実施 反対するs for 新規加入 to the 一括. createInstance - creates a new stream 実施 反対する (when first created, the new 反対する is not part of the 一括). It must be 追加するd to the PackageFolder in which it will reside using the methods in the PackageFolder service. createInstanceWithArguments - This 受託するs one boolean value as an argument. If it 始める,決める to true, a PackageFolder 実施 is created, if it is 始める,決める to 誤った, a PackageStream 実施 is created. Creating and 挿入するing a new stream would be done as follows: 1. xNewStream = 一括->createInstanceWithArguments( 誤った ); 2. xDataStream = new MyStreamImpl(). (wherever the data comes from) 3. xNewStream->setInputStream( xDataStream ); 4. parentFolder->insertByName( "image.png", xNewStream ); 取って代わるing an 存在するing stream would be very 類似の, except that the call ->insertByName would be 取って代わるd by ->replaceByName.

::com::sun::星/主役にする::util::XChangesBatch

This interface is used to commit any changes to the 一括. A new 一括 とじ込み/提出する will be written with any new or changed streams/folders and omitting any PackageStream or PackageFolder that has been 除去するd.

輸出(する)d Interfaces - 詳細(に述べる)s
::com::sun::星/主役にする::lang::XInitialization
Description
A 一括 can be initialised with one of the に引き続いて: 1. A とじ込み/提出する URL referring to a 一括. 2. An XInputStream referring to a 一括 (it must also support an XSeekable interface). 3. An XStream referring to a 一括. The XInputStream must support an XSeekable interface, and the XOutputStream must support an XTruncate interface. It will throw a css::uno::Exception if initialised with bad data or if the 一括 has an 無効の 判型 (for example, a corrupt central d irectory 記録,記録的な/記録する if the とじ込み/提出する is a ZIP とじ込み/提出する).
::com::sun::星/主役にする::コンテナ::XHierarchicalNameAccess
Description
This interface is used to get 接近 to any 入ること/参加(者) within the 一括 For example: getByHierarchicalName ("folder/subfolder/file1.txt"); This will return a PackageStream which 言及するs to the 明示するd stream. This is also used to get 接近 to a particular folder within the 一括. For example: getByHierarchicalName ("folder/subfolder/"); This will return a PackageFolder which 述べるs the contents of the 明示するd folder. Calls to methods of XHierarchicalNameAccess must NOT have a 主要な 削除する.
::com::sun::星/主役にする::lang::XSingleServiceFactory
Description
This interface is used to create new PackageStream or PackageFolder 実施 反対するs for 新規加入 to the 一括. createInstance - creates a new stream 実施 反対する (when first created, the new 反対する is not part of the 一括). It must be 追加するd to the PackageFolder in which it will reside using the methods in the PackageFolder service. createInstanceWithArguments - This 受託するs one boolean value as an argument. If it 始める,決める to true, a PackageFolder 実施 is created, if it is 始める,決める to 誤った, a PackageStream 実施 is created. Creating and 挿入するing a new stream would be done as follows: 1. xNewStream = 一括->createInstanceWithArguments( 誤った ); 2. xDataStream = new MyStreamImpl(). (wherever the data comes from) 3. xNewStream->setInputStream( xDataStream ); 4. parentFolder->insertByName( "image.png", xNewStream ); 取って代わるing an 存在するing stream would be very 類似の, except that the call ->insertByName would be 取って代わるd by ->replaceByName.
::com::sun::星/主役にする::util::XChangesBatch
Description
This interface is used to commit any changes to the 一括. A new 一括 とじ込み/提出する will be written with any new or changed streams/folders and omitting any PackageStream or PackageFolder that has been 除去するd.

 
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.