public class WPFDocumentViewerBase extends WPFControl
| Modifier | Constructor and Description |
|---|---|
protected |
WPFDocumentViewerBase(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFDocumentViewerBase with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGoToNextPage()
Gets a value that indicates whether or not the viewer can jump to the next page in the current Document.
|
boolean |
canGoToPage(int pageNumber)
Returns a value that indicates whether or the viewer is able to jump to the specified page number.
|
boolean |
canGoToPreviousPage()
Gets a value that indicates whether or not the viewer can jump to the previous page in the current Document.
|
void |
firstPage()
Jumps to the first page.
|
int |
getMasterPageNumber()
Gets the page number for the current master page.
|
int |
getPageCount()
Gets the total number of pages in the current Document.
|
String |
getText()
Gets the text of the whole Document.
|
void |
goToPage(int pageNumber)
Jumps to the specified page.
|
void |
lastPage()
Jumps to the last page.
|
void |
nextPage()
Jumps to the next page.
|
void |
previousPage()
Jumps to the previous page.
|
getFontFamily, 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 WPFDocumentViewerBase(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the WPFDocumentViewerBasedesktop - the desktop on which this object livespublic boolean canGoToPage(int pageNumber)
pageNumber - the page numberpublic void firstPage()
public void goToPage(int pageNumber)
pageNumber - the page numberpublic void lastPage()
public void nextPage()
public void previousPage()
public boolean canGoToNextPage()
public boolean canGoToPreviousPage()
public int getMasterPageNumber()
public int getPageCount()
public String getText()
getText in class TestObjectCopyright 2009-2012 Micro Focus. All Rights Reserved.