Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁杰芳
slm-fileview
Commits
bb569d88
Commit
bb569d88
authored
Dec 13, 2017
by
kl
Committed by
klboke
Dec 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉无效参数配置
parent
0f5a42b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
OfficeToPdf.java
src/main/java/com/yudianbank/utils/OfficeToPdf.java
+0
-7
application.properties
src/main/resources/application.properties
+0
-7
No files found.
src/main/java/com/yudianbank/utils/OfficeToPdf.java
View file @
bb569d88
...
@@ -7,13 +7,6 @@ import org.springframework.stereotype.Component;
...
@@ -7,13 +7,6 @@ import org.springframework.stereotype.Component;
import
java.io.File
;
import
java.io.File
;
@Component
@Component
public
class
OfficeToPdf
{
public
class
OfficeToPdf
{
/**
* 获取OpenOffice.org 3的安装目录
*
* @return OpenOffice.org 3的安装目录
*/
@Value
(
"${openOfficePath}"
)
private
String
openOfficePath
;
@Autowired
@Autowired
ConverterUtils
converterUtils
;
ConverterUtils
converterUtils
;
/**
/**
...
...
src/main/resources/application.properties
View file @
bb569d88
server.port
=
8012
server.port
=
8012
spring.http.encoding.charset
=
utf8
spring.http.encoding.charset
=
utf8
## Freemarker 配置
## Freemarker 配置
## 文件配置路径
spring.freemarker.template-loader-path
=
classpath:/web/
spring.freemarker.template-loader-path
=
classpath:/web/
spring.freemarker.cache
=
false
spring.freemarker.cache
=
false
spring.freemarker.charset
=
UTF-8
spring.freemarker.charset
=
UTF-8
...
@@ -12,17 +10,12 @@ spring.freemarker.expose-request-attributes = true
...
@@ -12,17 +10,12 @@ spring.freemarker.expose-request-attributes = true
spring.freemarker.expose-session-attributes
=
true
spring.freemarker.expose-session-attributes
=
true
spring.freemarker.request-context-attribute
=
request
spring.freemarker.request-context-attribute
=
request
spring.freemarker.suffix
=
.ftl
spring.freemarker.suffix
=
.ftl
#=============================================#spring Redisson配置#===================================#
#=============================================#spring Redisson配置#===================================#
spring.redisson.address
=
192.168.1.204:6379
spring.redisson.address
=
192.168.1.204:6379
#Redisson配置end
##资源映射路径(因为jar方式运行的原因)
##资源映射路径(因为jar方式运行的原因)
file.dir
=
C:
\\
Users
\\
yudian
\\
Desktop
\\
dev
\\
file.dir
=
C:
\\
Users
\\
yudian
\\
Desktop
\\
dev
\\
spring.resources.static-locations
=
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
spring.resources.static-locations
=
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${file.dir}
## openoffice相关配置
## openoffice相关配置
openOfficePath
=
/Applications/OpenOffice.app/Contents
office.home
=
C:
\\
Program Files (x86)
\\
OpenOffice 4
office.home
=
C:
\\
Program Files (x86)
\\
OpenOffice 4
server.tomcat.uri-encoding
=
UTF-8
server.tomcat.uri-encoding
=
UTF-8
converted.file.charset
=
GBK
converted.file.charset
=
GBK
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment