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

翻訳前ページへ


Service FilterFactory
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 文書 ::

service FilterFactory
Description
factory to create filter 構成要素s.

After a generic TypeDetection an 内部の type 指名する will be known. その上の a generic ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::FrameLoader can use this (警察などへの)密告,告訴(状), to search a suitable filter (may the default filter) at this factory and use it for 負担ing the 文書 into a 明示するd でっちあげる,人を罪に陥れる.

This factory 器具/実施するs read/令状 接近 on the underlying configuration 始める,決める. and その上の a 実証する and 紅潮/摘発する 機械装置 for more 業績/成果 and a special query 方式 can be used here too.

Developers Guide
OfficeDev - 統合するing 輸入する and 輸出(する) Filters

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

factory interface to create and initialize filter 構成要素s. (詳細(に述べる)s)

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

供給するs read 接近 to the 完全にする 始める,決める of configuration data. (詳細(に述べる)s)

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

供給するs a 令状 接近 to the configuration data. (詳細(に述べる)s)

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

供給するs search on the configuration data 始める,決める. (詳細(に述べる)s)

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

can be used to 成し遂げる コンテナ changes. (詳細(に述べる)s)

輸出(する)d Interfaces - 詳細(に述べる)s
::com::sun::星/主役にする::lang::XMultiServiceFactory
Description
factory interface to create and initialize filter 構成要素s.

現在の behaviour

The methods createInstance() or createInstanceWithArguments() of this interface must be called with an 内部の type 指名する!. This 指名する is used internaly to search a suitable (mostly the default) filter for this type then. The 設立する filter will be created, initialized and returned then. 創造 of a filter by using it's 内部の filter 指名する 直接/まっすぐに can be reached by using createInstanceWithArguments() with an optional 所有物/資産/財産 "FilterName" only. See the に引き続いて example:

 私的な com.sun.星/主役にする.uno.XInterface createFilterDirect( com.sun.星/主役にする.lang.XMultiServiceFactory xFilterFactory ,
 java.lang.String sInternalFilterName )
 {
 com.sun.星/主役にする.beans.PropertyValue aFilterProp = new com.sun.星/主役にする.beans.PropertyValue();
 aFilterProp.指名する = "FilterName";
 aFilterProp.Value = sInternalFilterName;

 com.sun.星/主役にする.uno.Any[] lProps = new com.sun.星/主役にする.uno.Any[1];
 lProps[0] = aFilterProp;

 java.lang.反対する aFilter = xFilterFactory.createInstanceWithArguments("", lProps);
 return (com.sun.星/主役にする.uno.XInterface)UnoRuntime.queryInterface(com.sun.星/主役にする.uno.XInterface.class, aFilter);
 }
 

提案するd behaviour

Searching of a suitable filter for a given 内部の type 指名する, must be done by the new interface ::com::sun::星/主役にする::コンテナ::XContainerQuery, 利用できる on this factory too. The factory interface can be used to create filter 構成要素s by it's 内部の filter 指名する only.

How it can be distinguished?

The new prosposed 実施 will throw an ::com::sun::星/主役にする::コンテナ::NoSuchElementException if the first parameter of createInstance() or createInstanceWithArguments() does not match to a valid コンテナ (means filter) item. その上の it will throw an ::com::sun::星/主役にする::lang::IllegalArgumentException if the optional parameter "FilterName" could not be (悪事,秘密などを)発見するd inside the argument 名簿(に載せる)/表(にあげる) of call createInstanceWithArguments().

Initialization of a filter 構成要素

Every filter, which was created by this factory can(!) be intialized with it's own configuration data and may given optional arguments of the corresponding createInstanceWithArguments() request. To do so the filter instance must support the optional interface ::com::sun::星/主役にする::lang::XInitialization. The arguments parameter will have the に引き続いて structure:

  • sequence< Any >[0] 含む/封じ込めるs a sequence< PropertyValue >, which 代表する the configuration data 始める,決める of this filter. The used 所有物/資産/財産s are the same, as they are 利用できる at the コンテナ interface of this factoyr service. (see below)
  • Every に引き続いて item of the argument 名簿(に載せる)/表(にあげる) sequence< Any >[1..n] 含む/封じ込めるs the copied argument of the corresponding createInstanceWithArguments() call. That means: Item 0 or the 初めの 名簿(に載せる)/表(にあげる) was copied as item 1 of the 目的地 名簿(に載せる)/表(にあげる) ... etc.

::com::sun::星/主役にする::コンテナ::XNameAccess
Description
供給するs read 接近 to the 完全にする 始める,決める of configuration data.

Every コンテナ item is 明示するd as a 始める,決める of 所有物/資産/財産s and will be 代表するd by a sequence< PropertyValue > structure. Follow 所有物/資産/財産s are supported: (But 公式文書,認める: not all of them must be 現在の everytimes!)

所有物/資産/財産 指名する Value Type Description
指名する [string] The 内部の 指名する is the only value, which makes a コンテナ item unique.
UIName [string] It 含む/封じ込めるs the localized 指名する for this filter for the 現在の 地元の.
UINames [sequence< string >] It 含む/封じ込めるs all 利用できる localized 指名するs for this filter. The are 組織するd in pairs and 代表するd as a structure of sequence< PropertyValue >. The 指名する of such 所有物/資産/財産 must be 解釈する/通訳するd as 地元の; it's value as the localized filter 指名する corresponding to this 地元の.
Type [string] Every filter is 登録(する)d for a type. This value 含む/封じ込めるs the 内部の 指名する of it. (see service TypeDetection for その上の (警察などへの)密告,告訴(状)s)
DocumentService [string] It's the uno service 指名する of the 文書 type, which can be 扱うd by this filter. (e.g. ::com::sun::星/主役にする::text::TextDocument)
FilterService [string] It means the uno 実施 指名する of the filter 構成要素. 公式文書,認める: It means the realy the 実施 instead of the uno service 指名する. Because it's not possible to distinguish between more then one filters; if all of them uses a generic identifier!
旗s [integer] They 述べる the filter more 明確な/細部.
(e.g. they 示す it as IMPORT/EXPORT or DEFAULT filter.)
UserData [string] This field 含む/封じ込めるs filter 明確な/細部 configuration data.
FileFormatVersion [integer] It 明示するs the supported とじ込み/提出する 判型 見解/翻訳/版 if there 存在する more then ones.
TemplateName [string] It's the 指名する of a suitable default template.

公式文書,認める:
All elements of this コンテナ will be adressed by his 内部の 指名する, and it must be an unambigous value.

::com::sun::星/主役にする::コンテナ::XNameContainer
Usage 制限s
optional
Description
供給するs a 令状 接近 to the configuration data.
::com::sun::星/主役にする::コンテナ::XContainerQuery
Description
供給するs search on the configuration data 始める,決める.

Against simple 所有物/資産/財産 search it 供給するs some コンビナート/複合体 algorithms too. For その上の (警察などへの)密告,告訴(状)s please read the SDK documentation.

::com::sun::星/主役にする::util::XFlushable
Usage 制限s
optional
Description
can be used to 成し遂げる コンテナ changes.

Because the complexness of such configuration 始める,決める can be very high, it seams not very usefull to update the undelying configuration 層 on every コンテナ change request immediatly. Another 戦略 can be to make all changes (追加するing/changing/除去するing of items) and call 紅潮/摘発する at the end. That will 実証する the whole コンテナ and 拒絶する inconsistent data 始める,決めるs. Only in 事例/患者 all made changes was 訂正する, they will be written 支援する to the configuration. その上の this interface 供給するs the possibelity, that 利益/興味d changes listener can be 登録(する)d too.


 
最高の,を越す 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.