public class LibreOfficeConverter extends CommandLineConverter
soffice command line.
 
 It fills the -env:userInstallation argument with a temporary folder to correctly isolate the soffice
 processes so multiple instances can be run simultaneously.
CommandLineBasedConverter.CmdReturn| Modifier and Type | Field and Description | 
|---|---|
static String | 
USER_INSTALLATION_PATH_KEY  | 
OUT_DIR_PATH_KEY, RESERVED_PARAMETERS, SOURCE_FILE_PATH_KEY, TARGET_FILE_NAME_KEY, TARGET_FILE_PATH_KEYCMD_NAME_PARAMETER, initParameters, TMP_PATH_PARAMETER| Constructor and Description | 
|---|
LibreOfficeConverter()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected BlobHolder | 
buildResult(List<String> cmdOutput,
           CmdParameters cmdParams)
Builds result from commandLine output buffer. 
 | 
protected Map<String,String> | 
getCmdStringParameters(BlobHolder blobHolder,
                      Map<String,Serializable> parameters)
Extracts String parameters. 
 | 
getCmdBlobParametersconvert, execOnBlob, getCommandLineService, getCommandName, getTmpDirectory, init, isConverterAvailablepublic static final String USER_INSTALLATION_PATH_KEY
public LibreOfficeConverter()
protected Map<String,String> getCmdStringParameters(BlobHolder blobHolder, Map<String,Serializable> parameters)
CommandLineBasedConvertergetCmdStringParameters in class CommandLineConverterprotected BlobHolder buildResult(List<String> cmdOutput, CmdParameters cmdParams)
CommandLineBasedConverterbuildResult in class CommandLineConverterCopyright © 2019 Nuxeo. All rights reserved.