|
@@ -69,11 +69,11 @@ public class OfficeFilePreviewImpl implements FilePreview {
|
|
|
if (f.exists()) {
|
|
|
f.delete();
|
|
|
}
|
|
|
+ if (isHtml) {
|
|
|
+
|
|
|
+ fileUtils.doActionConvertedFile(outFilePath);
|
|
|
+ }
|
|
|
if (ConfigConstants.isCacheEnabled()) {
|
|
|
- if (isHtml) {
|
|
|
-
|
|
|
- fileUtils.doActionConvertedFile(outFilePath);
|
|
|
- }
|
|
|
|
|
|
fileUtils.addConvertedFile(pdfName, fileUtils.getRelativePath(outFilePath));
|
|
|
}
|