Add text/plan, open office and xls transformation support.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
@@ -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"/>
|
||||
|
Reference in New Issue
Block a user