Add text/plan, open office and xls transformation support.

This commit is contained in:
Paulo Gustavo Veiga
2013-03-28 17:01:42 -03:00
parent 3137f78cce
commit 06210ab95b
161 changed files with 37030 additions and 12 deletions

View File

@@ -132,7 +132,7 @@ security.ldap.lastName.attribute=sn
security.ldap.firstName.attribute=givenName
# Enable OpenId Authentication.
security.openid.enabled=true
security.openid.enabled=false

View File

@@ -61,6 +61,9 @@
<entry key="jpg" value="image/jpeg"/>
<entry key="svg" value="image/svg+xml"/>
<entry key="wxml" value="application/wisemapping+xml"/>
<entry key="txt" value="text/plain"/>
<entry key="xls" value="application/vnd.ms-excel"/>
<entry key="otd" value="application/vnd.oasis.opendocument.text"/>
</map>
</property>
<property name="viewResolvers">
@@ -110,6 +113,23 @@
<constructor-arg ref="notificationService"/>
</bean>
<bean id="transformViewXls" class="com.wisemapping.rest.view.TransformView">
<constructor-arg value="application/vnd.ms-excel"/>
<constructor-arg ref="notificationService"/>
</bean>
<bean id="transformViewOdt" class="com.wisemapping.rest.view.TransformView">
<constructor-arg value="application/vnd.oasis.opendocument.text"/>
<constructor-arg ref="notificationService"/>
</bean>
<bean id="transformViewTxt" class="com.wisemapping.rest.view.TransformView">
<constructor-arg value="text/plain"/>
<constructor-arg ref="notificationService"/>
</bean>
<bean id="transformViewWise" class="com.wisemapping.rest.view.TransformView">
<constructor-arg value="application/wisemapping+xml"/>
<constructor-arg ref="notificationService"/>