Uses of Class
org.silverpeas.core.contribution.converter.DocumentFormat
-
Packages that use DocumentFormat Package Description org.silverpeas.core.contribution.converter This package defines an API for document format conversion.org.silverpeas.core.contribution.converter.openoffice Provides an implementation of the document format conversion API by using an OpenOffice service running and listening at a given port. -
-
Uses of DocumentFormat in org.silverpeas.core.contribution.converter
Methods in org.silverpeas.core.contribution.converter that return DocumentFormat Modifier and Type Method Description DocumentFormat[]
DocumentFormatConversion. getSupportedFormats()
Gets the formats of documents supported by the converter.static DocumentFormat
DocumentFormat. inFormat(String format)
A helper method to both improve the readability in method calls and to encode a string representation of a document format into the corresponding instance.static DocumentFormat
DocumentFormat. inFormat(DocumentFormat format)
A helper method to improve readability in method calls with a document format as argument.static DocumentFormat
DocumentFormat. valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentFormat[]
DocumentFormat. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.silverpeas.core.contribution.converter with parameters of type DocumentFormat Modifier and Type Method Description File
DocumentFormatConversion. convert(File source, File destination, DocumentFormat outFormat, FilterOption... options)
Converts the specified document in the specified format.File
DocumentFormatConversion. convert(File source, DocumentFormat inFormat, FilterOption... options)
Converts the specified document in the specified format.void
DocumentFormatConversion. convert(InputStream source, DocumentFormat inFormat, OutputStream destination, DocumentFormat outFormat, FilterOption... options)
Converts the specified inputstream/format in the specified outputstream/format.static DocumentFormat
DocumentFormat. inFormat(DocumentFormat format)
A helper method to improve readability in method calls with a document format as argument. -
Uses of DocumentFormat in org.silverpeas.core.contribution.converter.openoffice
Methods in org.silverpeas.core.contribution.converter.openoffice that return DocumentFormat Modifier and Type Method Description DocumentFormat[]
OpenOfficeHTMLConverter. getSupportedFormats()
DocumentFormat[]
OpenOfficeODTConverter. getSupportedFormats()
DocumentFormat[]
OpenOfficeToHTMLConverter. getSupportedFormats()
DocumentFormat[]
OpenOfficeToPDFConverter. getSupportedFormats()
Methods in org.silverpeas.core.contribution.converter.openoffice with parameters of type DocumentFormat Modifier and Type Method Description File
OpenOfficeConverter. convert(File source, File destination, DocumentFormat outFormat, FilterOption... options)
File
OpenOfficeConverter. convert(File source, DocumentFormat inFormat, FilterOption... options)
void
OpenOfficeConverter. convert(InputStream source, DocumentFormat inFormat, OutputStream destination, DocumentFormat outFormat, FilterOption... options)
-