Interface PdfViewer
- All Superinterfaces:
Component,ComponentExporter
Defines the
PdfViewer component model.- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringShow PDF in full windowstatic final StringShow PDF inlinestatic final StringSet totrueto enable full screen borderlessstatic final StringDefines the display viewstatic final StringDefines the display typestatic final StringSet totrueto dock controls to bottomstatic final StringDefines the path of the PDF to displaystatic final StringSet totrueto enable annotation toolsstatic final StringSet totrueto show download buttonstatic final StringSet totrueto show full screen buttonstatic final StringSet totrueto display left side panelstatic final StringSet totrueto show page controlsstatic final StringSet totrueto show print buttonstatic final StringShow PDF in a sized container -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the Document Cloud client iddefault StringReturns the CSS class to be applied to the Document Cloud Viewer containerdefault StringReturns the default view modedefault StringReturns the document file namedefault StringReturns the path of the documentdefault StringReturns the Adobe Analytics report suite iddefault StringgetType()Returns Document Cloud Viewer embed type.default StringReturns the Document Cloud Viewer configuration JSONdefault booleanReturnstrueif the document is to be diplayed borderlessdefault booleanReturnstrueif the page controls should be dockeddefault booleanReturnstrueif the annotation tools should be displayeddefault booleanReturnstrueif the download button should be showndefault booleanReturnstrueif the fullscreen button should be showndefault booleanReturnstrueif the left hand panel should be showmndefault booleanReturnstrueif the page controls should be showndefault booleanReturnstrueif the print button should be shownMethods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getExportedType, getId
-
Field Details
-
PN_DOCUMENT_PATH
Defines the path of the PDF to display- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_DISPLAY_TYPE
Defines the display type- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
FULL_WINDOW
Show PDF in full window- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
SIZED_CONTAINER
Show PDF in a sized container- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
IN_LINE
Show PDF inline- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_BORDERLESS
Set totrueto enable full screen borderless- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_DEFAULT_VIEW_MODE
Defines the display view- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_SHOW_ANNOTATION_TOOLS
Set totrueto enable annotation tools- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_SHOW_LEFT_HAND_PANEL
Set totrueto display left side panel- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_SHOW_FULL_SCREEN
Set totrueto show full screen button- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_SHOW_PAGE_CONTROLS
Set totrueto show page controls- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_DOCK_PAGE_CONTROLS
Set totrueto dock controls to bottom- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_SHOW_DOWNLOAD_PDF
Set totrueto show download button- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
PN_SHOW_PRINT_PDF
Set totrueto show print button- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
CSS_FULL_WINDOW
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
CSS_BORDERLESS
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
CSS_SIZED_CONTAINER
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
CSS_IN_LINE
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
- See Also:
-
-
Method Details
-
getType
Returns Document Cloud Viewer embed type.- Returns:
- Document Cloud Viewer embed type
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
getDocumentPath
Returns the path of the document- Returns:
- Path of the document
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
getDocumentFileName
Returns the document file name- Returns:
- Document file name
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
getClientId
Returns the Document Cloud client id- Returns:
- Document Cloud client id
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
getReportSuiteId
Returns the Adobe Analytics report suite id- Returns:
- Adobe Analytics report suite id
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
getDefaultViewMode
Returns the default view mode- Returns:
- Default view mode
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isBorderless
default boolean isBorderless()Returnstrueif the document is to be diplayed borderless- Returns:
trueif the document is to be diplayed borderless- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isShowAnnotationTools
default boolean isShowAnnotationTools()Returnstrueif the annotation tools should be displayed- Returns:
trueif the annotation tools should be displayed- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isShowLeftHandPanel
default boolean isShowLeftHandPanel()Returnstrueif the left hand panel should be showmn- Returns:
trueif the left hand panel should be showmn- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isShowFullScreen
default boolean isShowFullScreen()Returnstrueif the fullscreen button should be shown- Returns:
trueif the fullscreen button should be shown- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isShowDownloadPdf
default boolean isShowDownloadPdf()Returnstrueif the download button should be shown- Returns:
trueif the download button should be shown- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isShowPrintPdf
default boolean isShowPrintPdf()Returnstrueif the print button should be shown- Returns:
trueif the print button should be shown- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isShowPageControls
default boolean isShowPageControls()Returnstrueif the page controls should be shown- Returns:
trueif the page controls should be shown- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
isDockPageControls
default boolean isDockPageControls()Returnstrueif the page controls should be docked- Returns:
trueif the page controls should be docked- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
getViewerConfigJson
Returns the Document Cloud Viewer configuration JSON- Returns:
- Document Cloud Viewer configuration JSON
- Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-
getContainerClass
Returns the CSS class to be applied to the Document Cloud Viewer container- Returns:
- one of defined
CSS_*classes - Since:
- com.adobe.cq.wcm.core.components.models 12.13.0
-