This repository has been archived by the owner on Nov 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtudoToPDF.properties
56 lines (55 loc) · 1.97 KB
/
tudoToPDF.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# Generic application parameters
#
application.maxFileSizeBytes=10485760
application.uploadedFiles=/opt/leo/tudoToPDF/tudoToPDF
application.staticFiles=/opt/leo/tudoToPDF/tudoToPDFGenerated
# Must be configured in tomcat or another web server for static content
application.staticContext=/tudoToPDF-Static
application.fileAgeMinutes=30
#
# JOD Converter
#
# Number of ports means how many OO/LibO instances to be created in a pool
jod.port=2002,2003,2004
jod.timeoutMillis=60000
#jod.home=
#jod.profile=
#
# Office to PDF (file polling)
# sudo mount.cifs //win2k3-server/pdfServer /mnt/windows -o username=leonardo,password=PPPPP,uid=leonardo,gid=leonardo
#
officetopdf.sourceFolder=/Volumes/pdfServer/in
officetopdf.destFolder=/Volumes/pdfServer/out
officetopdf.timeoutMinutes=2
#
# PDF2PDFOCR script
# adjust for Windows server installation with a cygwin call.
#pdf2pdfocr.scriptPath=/Users/leonardo/Projetos Programacao/pdf2pdfocr/pdf2pdfocr.sh
pdf2pdfocr.scriptPath=/usr/local/bin/pdf2pdfocr.py
pdf2pdfocr.workDir=/tmp
# All "env" vars will be inserted in environment for shell execution
pdf2pdfocr.env.PATH=/opt/local/bin:/opt/local/sbin:/Users/leonardo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
# pdf2pdfocr.env.TESSDATA_PREFIX=/opt/local/share/tessdata
pdf2pdfocr.env.SHELL=/bin/bash
#
# Extensions supported
#
mime.BMP=image/bmp
mime.DOC=application/msword
mime.DOCX=application/vnd.openxmlformats-officedocument.wordprocessingml.document
mime.GIF=image/gif
mime.JPG=image/jpeg
mime.ODP=application/vnd.oasis.opendocument.presentation
mime.ODS=application/vnd.oasis.opendocument.spreadsheet
mime.ODT=application/vnd.oasis.opendocument.text
mime.PDF=application/pdf
mime.PNG=image/png
mime.PPT=application/vnd.ms-powerpoint
mime.PPTX=application/vnd.openxmlformats-officedocument.presentationml.presentation
mime.RTF=application/rtf
mime.TIF=image/tiff
mime.TXT=text/plain
mime.XLS=application/vnd.ms-excel
mime.XLSX=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
#