public class WPFFlowDocumentPageViewer extends WPFDocumentViewerBase
| Modifier | Constructor and Description |
|---|---|
protected |
WPFFlowDocumentPageViewer(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFFlowDocumentPageViewer with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDecreaseZoom()
Gets a value that indicates whether the Zoom level can be decreased.
|
boolean |
canIncreaseZoom()
Gets a value that indicates whether the Zoom level can be increased.
|
void |
decreaseZoom()
Decreases the zoom.
|
double |
getMaxZoom()
Gets the maximum allowable Zoom level for the FlowDocumentPageViewer.
|
double |
getMinZoom()
Gets the minimum allowable Zoom level for the FlowDocumentPageViewer.
|
String |
getSelection()
Gets the selected content of the FlowDocumentPageViewer.
|
double |
getZoom()
Gets the current zoom level for the FlowDocumentPageViewer.
|
double |
getZoomIncrement()
Gets the zoom increment.
|
void |
increaseZoom()
Increases the zoom.
|
void |
select(String text)
Selects a range of text.
|
void |
select(String text,
int occurrence)
Selects a range of text.
|
void |
toggleFindDialog()
Toggles the Find dialog.
|
canGoToNextPage, canGoToPage, canGoToPreviousPage, firstPage, getMasterPageNumber, getPageCount, getText, goToPage, lastPage, nextPage, previousPagegetFontFamily, getFontSize, getTabIndex, isTabStopgetActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPositionbringIntoView, 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, typePasswordKeyscaptureBitmap, 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, waitForPropertyequals, 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, toStringprotected WPFFlowDocumentPageViewer(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the WPFFlowDocumentPageViewerdesktop - the desktop on which this object livespublic void decreaseZoom()
public void increaseZoom()
public void select(String text)
text - the text to be selectedpublic void select(String text, int occurrence)
text - the text to be selectedoccurrence - the zero based occurrence of the specified text to be selected. The value is zero-based.public void toggleFindDialog()
public boolean canDecreaseZoom()
public boolean canIncreaseZoom()
public double getMaxZoom()
public double getMinZoom()
public String getSelection()
public double getZoom()
public double getZoomIncrement()
Copyright 2009-2012 Micro Focus. All Rights Reserved.