public class WPFDocumentViewer extends WPFDocumentViewerBase
修飾子 | コンストラクタと説明 |
---|---|
protected |
WPFDocumentViewer(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい WPFDocumentViewer を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canDecreaseZoom()
[読み取り専用] DocumentViewer をさらに縮小表示できるかどうかを示す値。
|
boolean |
canIncreaseZoom()
[読み取り専用] DocumentViewer をさらに拡大表示できるかどうかを示す値。
|
void |
decreaseZoom()
ドキュメントのコンテンツを 1 ズーム ステップ分縮小表示します。
|
void |
fitToHeight()
単一のページを現在のビューポートの高さに収めます。
|
void |
fitToWidth()
単一のページを現在のビューポートの幅に収めます。
|
double |
getHorizontalOffset()
[読み取り専用] 水平方向のスクロール位置。
|
String |
getSelection()
[読み取り専用] DocumentViewer の選択されたコンテンツ。
|
double |
getVerticalOffset()
[読み取り専用] 垂直方向のスクロール位置。
|
double |
getZoom()
[読み取り専用] ドキュメントのズーム倍率。
|
void |
increaseZoom()
ドキュメントのコンテンツを 1 ズーム ステップ分拡大表示します。
|
void |
moveDown()
ドキュメントのコンテンツを 16 デバイス非依存ピクセル下にスクロールします。
|
void |
moveLeft()
ドキュメントのコンテンツを 16 デバイス非依存ピクセル左にスクロールします。
|
void |
moveRight()
ドキュメントのコンテンツを 16 デバイス非依存ピクセル右にスクロールします。
|
void |
moveUp()
ドキュメントのコンテンツを 16 デバイス非依存ピクセル上にスクロールします。
|
void |
scrollPageDown()
1 ビューポート下にスクロールします。
|
void |
scrollPageLeft()
1 ビューポート左にスクロールします。
|
void |
scrollPageRight()
1 ビューポート右にスクロールします。
|
void |
scrollPageUp()
1 ビューポート上にスクロールします。
|
void |
select(String text)
テキストの範囲を選択します。
|
void |
select(String text,
int occurrence)
テキストの範囲を選択します。
|
void |
zoomToActualSize()
ズームを 100% に設定します。
|
canGoToNextPage, canGoToPage, canGoToPreviousPage, firstPage, getMasterPageNumber, getPageCount, getText, goToPage, lastPage, nextPage, previousPage
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected WPFDocumentViewer(JtfObjectHandle handle, Desktop desktop)
handle
- WPFDocumentViewer を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void decreaseZoom()
public void fitToHeight()
public void fitToWidth()
public void increaseZoom()
public void moveDown()
public void moveLeft()
public void moveRight()
public void moveUp()
public void scrollPageDown()
public void scrollPageLeft()
public void scrollPageRight()
public void scrollPageUp()
public void select(String text)
text
- 選択するテキストpublic void select(String text, int occurrence)
text
- 選択するテキストoccurrence
- 指定した選択するテキストの 0 を基準とした出現回数。. The value is zero-based.public void zoomToActualSize()
public boolean canDecreaseZoom()
public boolean canIncreaseZoom()
public double getHorizontalOffset()
public String getSelection()
public double getVerticalOffset()
public double getZoom()
Copyright 2009-2012 Micro Focus. All Rights Reserved.