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.
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 とじ込み/提出する).
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 主要な 削除する.
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.
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.
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 とじ込み/提出する).
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 主要な 削除する.
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.
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.