Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
f4ba4b01
Commit
f4ba4b01
authored
Mar 16, 2019
by
Carsten Rose
Browse files
Manual.rst: add notes for 'fileSplit'
parent
9c740537
Pipeline
#1741
passed with stage
in 2 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
f4ba4b01
...
...
@@ -3834,7 +3834,12 @@ Split PDF Upload
""""""""""""""""
Additional to the upload, it's possible to split the uploaded file (only PDF files) into several SVG or JPEG files, one
file per PDF page. The split is done via http://www.cityinthesky.co.uk/opensource/pdf2svg/ or Image Magick `convert`.
file per PDF page. The split is done via a) http://www.cityinthesky.co.uk/opensource/pdf2svg/ or b) Image Magick `convert`.
Currently, QFQ can only split PDF files.
If the source file is not of type PDF, activating ``fileSplit`` has no impact: no split and NO complain about invalid
file type.
* *FormElement.parameter*:
...
...
extension/Source/core/Save.php
View file @
f4ba4b01
...
...
@@ -936,6 +936,8 @@ class Save {
*/
private
function
splitUpload
(
array
$formElement
,
$pathFileName
,
$chmod
,
array
$statusUpload
)
{
// Should the file be split and it's technically possible to split the file?
if
(
empty
(
$formElement
[
FE_FILE_SPLIT
])
||
$statusUpload
[
FILES_TYPE
]
!=
MIME_TYPE_SPLIT_CAPABLE
)
{
return
;
}
...
...
Write
Preview
Supports
Markdown
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