PDF Viewerv1

Embed PDF Viewer to display PDF file's stored in the DAM on the page.

Using Core Components

Adobe Help Center

Examples

Full Window

The viewing area renders in the full browser. Best suited for storage and productivity applications.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. showPrintPdf: true
  4. dockPageControls: true
  5. documentPath: /content/dam/core-components-examples/library/sample-assets/Bodea Brochure.pdf
  6. jcr:lastModifiedBy: admin
  7. defaultViewMode: FIT_PAGE
  8. jcr:created:
  9. type: FULL_WINDOW
  10. showPageControls: true
  11. showLeftHandPanel: true
  12. showFullScreen: true
  13. showDownloadPdf: true
  14. jcr:lastModified:
  15. showAnnotationTools: false
  16. sling:resourceType: core-components-examples/components/pdfviewer
  17. borderless: false
    
        

    

Sized Container

The sized container mode displays PDFs in a boxed container with landscape orientation. Best suited for presentations.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. showPrintPdf: true
  4. dockPageControls: false
  5. documentPath: /content/dam/core-components-examples/library/sample-assets/Bodea Brochure.pdf
  6. jcr:lastModifiedBy: admin
  7. defaultViewMode: FIT_PAGE
  8. jcr:created:
  9. type: SIZED_CONTAINER
  10. showPageControls: false
  11. showLeftHandPanel: true
  12. showFullScreen: false
  13. showDownloadPdf: true
  14. jcr:lastModified:
  15. showAnnotationTools: false
  16. sling:resourceType: core-components-examples/components/pdfviewer
  17. borderless: false
    
        

    

In-Line

All PDF pages rendered in line within a web page. Best suited for reading applications.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. showPrintPdf: true
  4. dockPageControls: true
  5. documentPath: /content/dam/core-components-examples/library/sample-assets/Bodea Brochure.pdf
  6. jcr:lastModifiedBy: admin
  7. defaultViewMode: FIT_PAGE
  8. jcr:created:
  9. type: IN_LINE
  10. showPageControls: true
  11. showLeftHandPanel: true
  12. showFullScreen: true
  13. showDownloadPdf: true
  14. jcr:lastModified:
  15. showAnnotationTools: false
  16. sling:resourceType: core-components-examples/components/pdfviewer
  17. borderless: false