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

翻訳前ページへ


Interface XFilePreview
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: ui :: dialogs ::

interface XFilePreview
Description
FilePicker that support the preview of さまざまな とじ込み/提出する 判型s should 器具/実施する this interface.

Methods' 要約
getSupportedImageFormats The method returns all image 判型s that the preview supports.  
getTargetColorDepth The method returns the supported color depth of the 的 装置.  
getAvailableWidth The method returns the 利用できる width of the preview window even if the window is invisible or could not be created. If a service 実施 doesn't support a とじ込み/提出する preview 0 will be returned.  
getAvailableHeight The method returns the 利用できる 高さ of the preview window even if the window is invisible or could not be created. If a service 実施 doesn't support a とじ込み/提出する preview 0 will be returned.  
setImage 始める,決めるs a new image. If the preview is 現在/一般に hidden the image will be ignored. An empty any will (疑いを)晴らす the preview window.  
setShowState Optionally 始める,決めるs the 現在の show 明言する/公表する of the preview. It is possible that the preview 実施 doesn't support hiding the preview.  
getShowState Returns the 現在の show 明言する/公表する of the preview.  
Methods' 詳細(に述べる)s
getSupportedImageFormats
sequence< short >
getSupportedImageFormats();

Description
The method returns all image 判型s that the preview supports.
Returns
A sequence of all supported preview 判型s
See also
FilePreviewImageFormats
getTargetColorDepth
::com::sun::星/主役にする::util::Color
getTargetColorDepth();

Description
The method returns the supported color depth of the 的 装置.
Returns
The color depth in bit, e.g. 8 bit, 16 bit, 32 bit.
getAvailableWidth
long
getAvailableWidth();

Description
The method returns the 利用できる width of the preview window even if the window is invisible or could not be created. If a service 実施 doesn't support a とじ込み/提出する preview 0 will be returned.
Returns
The width of the preview window in pixel.
getAvailableHeight
long
getAvailableHeight();

Description
The method returns the 利用できる 高さ of the preview window even if the window is invisible or could not be created. If a service 実施 doesn't support a とじ込み/提出する preview 0 will be returned.
Returns
The heigth of the preview window in pixel.
setImage
無効の
setImage( [in] short  aImageFormat,
[in] any  aImage )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Description
始める,決めるs a new image. If the preview is 現在/一般に hidden the image will be ignored. An empty any will (疑いを)晴らす the preview window.
Parameter aImageFormat
明示するs the 判型 of the data that will be 配達するd
Parameter aImage
The image data, the image 判型 defines how the image data have to be 配達するd
Throws
com::sun::星/主役にする::lang::IllegalArgumentException If the 明示するd image 判型 is 無効の or not supported by the preview 実施
See also
FilePreviewImageFormats
setShowState
boolean
setShowState( [in] boolean  bShowState );

Description
Optionally 始める,決めるs the 現在の show 明言する/公表する of the preview. It is possible that the preview 実施 doesn't support hiding the preview.
Parameter bShowState
A value of true shows the preview window.

A value of 誤った hides the preview window.

Returns
A value of true on success.

A vaue of 誤った if the 操作/手術 fails for any 推論する/理由 or the preview 実施 doesn't support hiding the preview.

getShowState
boolean
getShowState();

Description
Returns the 現在の show 明言する/公表する of the preview.
Returns
A value of true if the preview window is 明白な.

A value of 誤った if the preview window is invisible.

最高の,を越す of Page

The ASF

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

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