-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move JpegToPngRenderer from docx4j to renditions
- Loading branch information
1 parent
4c470ad
commit b143d01
Showing
8 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...t-docx4j/src/main/java/org/springframework/content/docx4j/config/Docx4jConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package org.springframework.content.docx4j.config; | ||
|
||
import internal.org.springframework.content.docx4j.JpegToPngRenditionProvider; | ||
import internal.org.springframework.content.docx4j.WordToPdfRenditionProvider; | ||
import org.springframework.context.annotation.ComponentScan; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
@ComponentScan(basePackageClasses = JpegToPngRenditionProvider.class) | ||
@ComponentScan(basePackageClasses = WordToPdfRenditionProvider.class) | ||
public class Docx4jConfiguration { | ||
} |
10 changes: 10 additions & 0 deletions
10
.../src/main/java/org/springframework/content/renditions/config/RenditionsConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.springframework.content.renditions.config; | ||
|
||
import org.springframework.content.renditions.renderers.PdfToJpegRenderer; | ||
import org.springframework.context.annotation.ComponentScan; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
@ComponentScan(basePackageClasses= PdfToJpegRenderer.class) | ||
public class RenditionsConfiguration { | ||
} |
2 changes: 1 addition & 1 deletion
2
...nt/docx4j/JpegToPngRenditionProvider.java → ...renderers/JpegToPngRenditionProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes