mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
MNT-21611 ACS-1734 Removed HTML transformation pipelines, libreofficeToPdf, Update libreofficeToPdfBoxViaPdf
* [MNT-21611] Removed HTML transformation pipelines (with LibreOffice). Added new HTML pipelines via TEXT (#391) (cherry picked from commita8959b98c1
) * ACS-1734 Remove libreofficeToPdf + Update libreofficeToPdfBoxViaPdf (#573) (cherry picked from commit38d66b69bb
) Co-authored-by: tiagosalvado10 <9038083+tiagosalvado10@users.noreply.github.com> Co-authored-by: David Edwards <david.edwards@alfresco.com>
This commit is contained in:
@@ -117,31 +117,6 @@
|
|||||||
"imageMagickOptions"
|
"imageMagickOptions"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"transformerName": "htmlToPdfViaOdt",
|
|
||||||
"transformerPipeline" : [
|
|
||||||
{"transformerName": "libreoffice", "targetMediaType": "application/vnd.oasis.opendocument.text"},
|
|
||||||
{"transformerName": "libreoffice"}
|
|
||||||
],
|
|
||||||
"supportedSourceAndTargetList": [
|
|
||||||
{"sourceMediaType": "text/html", "targetMediaType": "application/pdf" }
|
|
||||||
],
|
|
||||||
"transformOptions": [
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transformerName": "htmlToImageViaPdf",
|
|
||||||
"transformerPipeline" : [
|
|
||||||
{"transformerName": "htmlToPdfViaOdt", "targetMediaType": "application/pdf"},
|
|
||||||
{"transformerName": "pdfToImageViaPng"}
|
|
||||||
],
|
|
||||||
"supportedSourceAndTargetList": [
|
|
||||||
],
|
|
||||||
"transformOptions": [
|
|
||||||
"pdfRendererOptions",
|
|
||||||
"imageMagickOptions"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"transformerName": "ooXmlToImageViaText",
|
"transformerName": "ooXmlToImageViaText",
|
||||||
"transformerPipeline" : [
|
"transformerPipeline" : [
|
||||||
@@ -198,6 +173,71 @@
|
|||||||
"archiveOptions"
|
"archiveOptions"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"transformerName": "libreofficeToPdfBoxViaPdf",
|
||||||
|
"transformerPipeline" : [
|
||||||
|
{"transformerName": "libreoffice", "targetMediaType": "application/pdf"},
|
||||||
|
{"transformerName": "PdfBox"}
|
||||||
|
],
|
||||||
|
"supportedSourceAndTargetList": [
|
||||||
|
{"sourceMediaType": "application/vnd.oasis.opendocument.graphics", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/vnd.oasis.opendocument.graphics", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/vnd.oasis.opendocument.graphics", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/vnd.oasis.opendocument.graphics", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/vnd.oasis.opendocument.graphics", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc.template", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc.template", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc.template", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc.template", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc.template", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress.template", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress.template", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress.template", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress.template", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress.template", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.writer.template", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.writer.template", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.writer.template", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.writer.template", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.writer.template", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "text/tab-separated-values", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "text/tab-separated-values", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "text/tab-separated-values", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "text/tab-separated-values", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "text/tab-separated-values", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "application/vnd.visio2013", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/vnd.visio2013", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/vnd.visio2013", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/vnd.visio2013", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/vnd.visio2013", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "application/wordperfect", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/wordperfect", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/wordperfect", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/wordperfect", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/wordperfect", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.calc", "priority": 150, "targetMediaType": "text/xml"},
|
||||||
|
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress", "priority": 150, "targetMediaType": "text/csv"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress", "priority": 150, "targetMediaType": "text/html"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress", "maxSourceSizeBytes": 26214400, "priority": 150, "targetMediaType": "text/plain"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress", "priority": 150, "targetMediaType": "application/xhtml+xml"},
|
||||||
|
{"sourceMediaType": "application/vnd.sun.xml.impress", "priority": 150, "targetMediaType": "text/xml"}
|
||||||
|
],
|
||||||
|
"transformOptions": [
|
||||||
|
"pdfboxOptions"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"transformerName": "textBasedToImageViaText",
|
"transformerName": "textBasedToImageViaText",
|
||||||
"transformerPipeline" : [
|
"transformerPipeline" : [
|
||||||
@@ -210,6 +250,44 @@
|
|||||||
"pdfRendererOptions",
|
"pdfRendererOptions",
|
||||||
"imageMagickOptions"
|
"imageMagickOptions"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"transformerName": "outlookMsgToLibreofficeViaText",
|
||||||
|
"transformerPipeline" : [
|
||||||
|
{"transformerName": "OutlookMsg", "targetMediaType": "text/plain"},
|
||||||
|
{"transformerName": "libreoffice"}
|
||||||
|
],
|
||||||
|
"supportedSourceAndTargetList": [
|
||||||
|
],
|
||||||
|
"transformOptions": [
|
||||||
|
"tikaOptions"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"transformerName": "htmlToPdfViaTXT",
|
||||||
|
"transformerPipeline" : [
|
||||||
|
{"transformerName": "string", "targetMediaType": "text/plain"},
|
||||||
|
{"transformerName": "libreoffice"}
|
||||||
|
],
|
||||||
|
"supportedSourceAndTargetList": [
|
||||||
|
{"sourceMediaType": "text/html", "targetMediaType": "application/pdf" }
|
||||||
|
],
|
||||||
|
"transformOptions": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"transformerName": "htmlToImageViaTXT",
|
||||||
|
"transformerPipeline" : [
|
||||||
|
{"transformerName": "string", "targetMediaType": "text/plain"},
|
||||||
|
{"transformerName": "textToImageViaPdf"}
|
||||||
|
],
|
||||||
|
"supportedSourceAndTargetList": [
|
||||||
|
{"sourceMediaType": "text/html", "targetMediaType": "image/png" }
|
||||||
|
],
|
||||||
|
"transformOptions": [
|
||||||
|
"pdfRendererOptions",
|
||||||
|
"imageMagickOptions"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user