public class WPFFlowDocumentReader extends WPFControl
修飾子 | コンストラクタと説明 |
---|---|
protected |
WPFFlowDocumentReader(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい WPFFlowDocumentReader を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canDecreaseZoom()
[読み取り専用] 拡大レベルを下げることができるかどうかを示す値。
|
boolean |
canGoToNextPage()
[読み取り専用] ビューアーが現在のドキュメント内の次のページに移動できるかどうかを示す値。
|
boolean |
canGoToPage(int pageNumber)
ビューアーが、指定したページ番号に移動できるかどうかを示す値を返します。
|
boolean |
canGoToPreviousPage()
[読み取り専用] ビューアーが現在のドキュメント内の前のページに移動できるかどうかを示す値。
|
boolean |
canIncreaseZoom()
[読み取り専用] 拡大レベルを上げることができるかどうかを示す値。
|
void |
decreaseZoom()
ズームを縮小させます。
|
void |
firstPage()
最初のページに移動します。
|
double |
getMaxZoom()
[読み取り専用] FlowDocumentReader に使用できる最大の拡大レベル。
|
double |
getMinZoom()
[読み取り専用] FlowDocumentReader に使用できる最小の拡大レベル。
|
int |
getPageCount()
[読み取り専用] 現在のドキュメントの合計ページ数。
|
int |
getPageNumber()
[読み取り専用] 現在のマスター ページのページ番号。
|
String |
getSelection()
[読み取り専用] FlowDocumentReader の選択されたコンテンツ。
|
String |
getText()
[読み取り専用] ドキュメント全体のテキスト。
|
ViewingMode |
getViewingMode()
[読み取り専用] FlowDocumentReader の表示モード。
|
double |
getZoom()
[読み取り専用] FlowDocumentReader の現在のズーム レベル。
|
double |
getZoomIncrement()
[読み取り専用] ズーム インクリメント。
|
void |
goToPage(int pageNumber)
指定したページに移動します。
|
void |
increaseZoom()
ズームを拡大させます。
|
void |
lastPage()
最後のページに移動します。
|
void |
nextPage()
次のページに移動します。
|
void |
previousPage()
前のページに移動します。
|
void |
select(String text)
テキストの範囲を選択します。
|
void |
select(String text,
int occurrence)
テキストの範囲を選択します。
|
void |
switchViewingMode(ViewingMode viewingMode)
表示モードを切り替えます。
|
void |
toggleFindDialog()
検索ダイアログを切り替えます。
|
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 WPFFlowDocumentReader(JtfObjectHandle handle, Desktop desktop)
handle
- WPFFlowDocumentReader を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic boolean canGoToPage(int pageNumber)
pageNumber
- ページ番号public void decreaseZoom()
public void firstPage()
public void goToPage(int pageNumber)
pageNumber
- ページ番号public void increaseZoom()
public void lastPage()
public void nextPage()
public void previousPage()
public void select(String text)
text
- 選択するテキストpublic void select(String text, int occurrence)
text
- 選択するテキストoccurrence
- 指定した選択するテキストの 0 を基準とした出現回数。. The value is zero-based.public void switchViewingMode(ViewingMode viewingMode)
viewingMode
- 切り替える表示モードpublic void toggleFindDialog()
public boolean canDecreaseZoom()
public boolean canGoToNextPage()
public boolean canGoToPreviousPage()
public boolean canIncreaseZoom()
public double getMaxZoom()
public double getMinZoom()
public int getPageCount()
public int getPageNumber()
public String getText()
getText
クラス内 TestObject
public ViewingMode getViewingMode()
public double getZoom()
public double getZoomIncrement()
Copyright 2009-2012 Micro Focus. All Rights Reserved.