Class ecm.widget.viewer.PDFDocViewer
Extends
ecm.widget.viewer.IframeDocViewer.
The PDF Conversion Viewer widget.
Defined in: <ecm\widget\viewer\PDFDocViewer.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
- Fields borrowed from class ecm.widget.viewer.DocViewer:
- docViewerClass, item, preview, showErrorOnFallback, startingPage, viewerDef
Method Summary
Method Attributes | Method Name and Description |
---|---|
canOpenItem(item)
Determines if the viewer can open the item on the current client and mid-tier platforms.
|
|
- Methods borrowed from class ecm.widget.viewer.IframeDocViewer:
- browserType, closeItem, isAppletViewer, isIframeViewer, isLoaded, setItem, showItem, unloadIframe
- Methods borrowed from class ecm.widget.viewer.DocViewer:
- changesNeedInteraction, delegateToDownload, disableAnnotationEdit, disableMergeSplitMode, enableAnnotationEdit, enableMergeSplitMode, getItem, getNativeViewer, getPageNumber, ignoreDirty, isActive, isBookmarkSupported, isDirty, isLocked, isMergeSplitSupported, isPrinting, isSplitViewSupported, onAnnotationsSaved, onDirty, onDocumentLoaded, onFallback, onItemAdd, onItemUpdate, onLoad, onMergeSplitModeFailed, onOriginalItemChange, onViewerFocusOut, reloadItem, resetItem, saveAnnotations, setIsLoading
Method Detail
{Boolean} canOpenItem(item)
Determines if the viewer can open the item on the current client and mid-tier platforms. In the following
cases, this method will return false:
- There is no PDF plug-in detected and available in the browser.
- The document is an office type of document, and the mid-tier system is AIX or Linux for System z.
- Parameters:
- item
- The item to test.
- Returns:
- {Boolean} A value of
true
orfalse
, indicating whether this viewer can open the specified item.