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

auto config docx4j'RenditionProvider when spring-content-docx4j on classpath #226

Closed
lmtoo opened this issue May 22, 2020 · 2 comments
Closed

Comments

@lmtoo
Copy link

lmtoo commented May 22, 2020

when I introduce spring-content-docx4j, WordToHtmlRenditionProvider/WordToTextRenditionProvider is not being auto configed , JpegToPngRenditionProvider and WordToPdfRenditionProvider is not annotated with @component or @service

@paulcwarren
Copy link
Owner

This make sense. We can do this.

@paulcwarren
Copy link
Owner

paulcwarren commented Jun 2, 2020

  • Annotate all renderers as @Services
  • Add a Docx4jConfiguration class that should be imported to extend the component scan to find/add the docx4j renderers to the rendition service
  • Add componentscan to the renditions spring boot starter
  • Add reference guide for renditions
  • Add getting started guide for renditions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants