|
@@ -6,6 +6,11 @@
|
|
|
<postConstruct name="add">
|
|
|
<arg>htmlThumbnailGenerator</arg>
|
|
|
</postConstruct>
|
|
|
+<!--
|
|
|
+ <postConstruct name="add">
|
|
|
+ <arg>msofficeThumbnailGenerator</arg>
|
|
|
+ </postConstruct>
|
|
|
+-->
|
|
|
</component>
|
|
|
<component name="htmlThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.WebDriverGenerator">
|
|
|
<property name="webDriverCapabilities">
|
|
@@ -39,5 +44,57 @@
|
|
|
</postConstruct>
|
|
|
</component>
|
|
|
-->
|
|
|
-
|
|
|
+<!--
|
|
|
+ <component name="msofficeThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.CommandGenerator">
|
|
|
+ <property name="commandList">
|
|
|
+ ["bash",
|
|
|
+ "/usr/share/fess/bin/generate-thumbnail",
|
|
|
+ "msoffice",
|
|
|
+ "${url}",
|
|
|
+ "${outputFile}"]
|
|
|
+ </property>
|
|
|
+ <property name="generatorList">
|
|
|
+ ["/usr/share/fess/bin/generate-thumbnail"]
|
|
|
+ </property>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"text/html"</arg>
|
|
|
+ </postConstruct>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
+ </arg>
|
|
|
+ </postConstruct>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
|
+ </arg>
|
|
|
+ </postConstruct>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
|
+ </arg>
|
|
|
+ </postConstruct>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"application/msword"
|
|
|
+ </arg>
|
|
|
+ </postConstruct>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"application/vnd.ms-excel"
|
|
|
+ </arg>
|
|
|
+ </postConstruct>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"application/vnd.ms-powerpoint"
|
|
|
+ </arg>
|
|
|
+ </postConstruct>
|
|
|
+ <postConstruct name="addCondition">
|
|
|
+ <arg>"mimetype"</arg>
|
|
|
+ <arg>"application/rtf"
|
|
|
+ </arg>
|
|
|
+ </postConstruct>
|
|
|
+ </component>
|
|
|
+-->
|
|
|
</components>
|