update-doc-viewer (#7246)

This commit is contained in:
Eugenio Romano 2021-09-13 10:10:01 +01:00 committed by GitHub
parent cb79b216ce
commit 3f44e2e649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,8 @@ See it live: [Viewer Quickstart](https://embed.plnkr.co/iTuG1lFIXfsP95l6bDW6/)
- [Content Renditions](#content-renditions) - [Content Renditions](#content-renditions)
- [Configuring PDF.js library](#configuring-pdfjs-library) - [Configuring PDF.js library](#configuring-pdfjs-library)
- [Extending the Viewer](#extending-the-viewer) - [Extending the Viewer](#extending-the-viewer)
- [Internal extension mechanism](#internal-extension-mechanism)
- [Code extension mechanism](#code-extension-mechanism)
- [Custom layout](#custom-layout) - [Custom layout](#custom-layout)
- [Printing](#printing) - [Printing](#printing)
- [See also](#see-also) - [See also](#see-also)
@ -266,6 +268,10 @@ The [Viewer component](viewer.component.md) should now be able to display PDF fi
### Extending the Viewer ### Extending the Viewer
#### Internal extension mechanism
The Viewer supports dynamically-loaded viewer preview extensions, to know more about it [Preview Extension component](../../extensions/components/preview-extension.component.md). This
#### Code extension mechanism]
You can define your own custom handler to handle other file formats that are not yet supported by You can define your own custom handler to handle other file formats that are not yet supported by
the [Viewer component](viewer.component.md). Below is an example that shows how to use the `adf-viewer-extension` the [Viewer component](viewer.component.md). Below is an example that shows how to use the `adf-viewer-extension`
to handle 3D data files: to handle 3D data files:
@ -503,3 +509,4 @@ content.
## See also ## See also
- [Document List component](../../content-services/components/document-list.component.md) - [Document List component](../../content-services/components/document-list.component.md)
- [Preview Extension component](../../extensions/components/preview-extension.component.md)