public class WPFFlowDocumentPageViewer extends WPFDocumentViewerBase
Modifier | Constructor and Description |
---|---|
protected |
WPFFlowDocumentPageViewer(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 WPFFlowDocumentPageViewer。
|
Modifier and Type | Method and Description |
---|---|
boolean |
canDecreaseZoom()
获取 表示是否可以降低缩放级别的值。
|
boolean |
canIncreaseZoom()
获取 表示是否可以提高缩放级别的值。
|
void |
decreaseZoom()
减少缩放。
|
double |
getMaxZoom()
获取 FlowDocumentPageViewer 的最大允许缩放级别。
|
double |
getMinZoom()
获取 FlowDocumentPageViewer 的最小允许缩放级别。
|
String |
getSelection()
获取 FlowDocumentPageViewer 的所选内容。
|
double |
getZoom()
获取 FlowDocumentPageViewer 的当前缩放级别。
|
double |
getZoomIncrement()
获取 缩放增量。
|
void |
increaseZoom()
增加缩放。
|
void |
select(String text)
选择一系列文本。
|
void |
select(String text,
int occurrence)
选择一系列文本。
|
void |
toggleFindDialog()
切换 Find 对话框。
|
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 WPFFlowDocumentPageViewer(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 WPFFlowDocumentPageViewer 的句柄desktop
- 此对象所在的桌面public void decreaseZoom()
public void increaseZoom()
public void select(String text)
text
- 可选择的文本public void select(String text, int occurrence)
text
- 可选择的文本occurrence
- 可选择的指定文本的零基匹配项。. The value is zero-based.public void toggleFindDialog()
public boolean canDecreaseZoom()
public boolean canIncreaseZoom()
public double getMaxZoom()
public double getMinZoom()
public double getZoom()
public double getZoomIncrement()
Copyright 2009-2012 Micro Focus. All Rights Reserved.