Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for automatically converting source document to PDF using Gotenberg #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

xitij2000
Copy link
Member

@xitij2000 xitij2000 commented Aug 9, 2024

This change works with the Gotenberg tutor plugin to add support for converting any source document supported my LibreOffice to PDF.

It utilises the Gotenberg service, which providers a document to PDF conversion API using LibreOffice. If this XBlock detects that the Gotenberg host has been configured, it will show a UI to auto-convert the source document to a PDF.

The setting to convert the source document to PDF is not backed by an XBlock field on purpose. Each time you use this feature it will upload a document to the default storage and add its link to the PDF url. It will overwrite the previous file.

@xitij2000 xitij2000 force-pushed the kshitij/add-support-for-gotenberg branch from f981d73 to 72fa664 Compare August 9, 2024 11:24
Adds the ability to convert a source document automatically into a PDF.
@xitij2000 xitij2000 force-pushed the kshitij/add-support-for-gotenberg branch from 461377d to 63a4a5d Compare August 9, 2024 11:31
@xitij2000 xitij2000 changed the title Kshitij/add support for gotenberg feat: Add support for automatically converting source document to PDF using Gotenberg Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant