Package | Description |
---|---|
com.groupdocs.conversion |
The scope for GroupDocs.Conversion classes
|
com.groupdocs.conversion.contracts |
The GroupDocs.Conversion.Contracts namespace provides members to instantiate and release output document, manage font substitutions etc.
|
com.groupdocs.conversion.contracts.documentinfo |
The GroupDocs.Conversion.Contracts.Documentinfo namespace provides metadata for a document.
|
com.groupdocs.conversion.exceptions |
The GroupDocs.Conversion.Exceptions namespace provides different exceptions classes.
|
com.groupdocs.conversion.filetypes |
The GroupDocs.Conversion.FileTypes namespace provides classes which represent supported file types.
|
com.groupdocs.conversion.options.convert |
The GroupDocs.Conversion.Options.Convert namespace provides classes to specify additional options for document conversion process.
|
Constructor and Description |
---|
Converter(InputStream document,
com.groupdocs.conversion.contracts.Func1<FileType,LoadOptions> loadOptions)
Initializes new instance of
|
Converter(InputStream document,
com.groupdocs.conversion.contracts.Func1<FileType,LoadOptions> loadOptions,
ConverterSettings settings)
Initializes new instance of
|
Converter(String filePath,
com.groupdocs.conversion.contracts.Func1<FileType,LoadOptions> loadOptions)
|
Converter(String filePath,
com.groupdocs.conversion.contracts.Func1<FileType,LoadOptions> loadOptions,
ConverterSettings settings)
|
Modifier and Type | Method and Description |
---|---|
FileType |
IDocument.getFormat() |
FileType |
ConversionPair.getSource()
Source file format
|
FileType |
PossibleConversions.getSource()
Source file formats
|
FileType |
ConversionPair.getTarget()
Target file format
|
Modifier and Type | Method and Description |
---|---|
Iterable<FileType> |
PossibleConversions.getPrimary()
Primary target file types
|
Iterable<FileType> |
PossibleConversions.getSecondary()
Secondary target file types
|
Modifier and Type | Method and Description |
---|---|
static ConversionPair |
ConversionPair.createPrimary(FileType source,
FileType target)
Creates primary conversion pair
|
static ConversionPair |
ConversionPair.createSecondary(FileType source,
FileType target)
Creates secondary conversion pair
|
ConversionPair |
PossibleConversions.forTarget(FileType target)
Find conversion pair in current list for target file type
|
com.groupdocs.conversion.contracts.TargetConversion |
PossibleConversions.getTargetConversion(FileType target)
Returns target conversion for specified target file type
|
Modifier and Type | Method and Description |
---|---|
static List<ConversionPair> |
ConversionPair.createPrimary(List<? extends FileType> sources,
List<? extends FileType> targets)
Creates primary conversion pairs
|
static List<ConversionPair> |
ConversionPair.createPrimary(List<? extends FileType> sources,
List<? extends FileType> targets)
Creates primary conversion pairs
|
static List<ConversionPair> |
ConversionPair.createSecondary(Iterable<? extends FileType> sources,
Iterable<? extends FileType> targets)
Creates secondary conversion pairs
|
static List<ConversionPair> |
ConversionPair.createSecondary(Iterable<? extends FileType> sources,
Iterable<? extends FileType> targets)
Creates secondary conversion pairs
|
Constructor and Description |
---|
PossibleConversions(FileType source)
Creates possible conversion list for specified source file format
|
Constructor and Description |
---|
CadDocumentInfo(com.aspose.cad.Image cad,
FileType format,
long size) |
CgmDocumentInfo(com.aspose.pdf.Document cgm,
FileType format,
long size) |
CsvDocumentInfo(com.aspose.cells.Workbook csv,
FileType format,
long size) |
DiagramDocumentInfo(com.aspose.diagram.Diagram diagram,
FileType format,
long size) |
DjVuDocumentInfo(com.aspose.imaging.fileformats.djvu.DjvuImage image,
FileType format,
long size) |
EmailDocumentInfo(com.aspose.email.MailMessage mail,
FileType format,
long size) |
EpubDocumentInfo(com.aspose.pdf.Document epub,
FileType format,
long size) |
IcoDocumentInfo(com.aspose.imaging.Image ico,
FileType format,
long size) |
ImageDocumentInfo(com.aspose.imaging.Image image,
FileType format,
long size) |
MarkupDocumentInfo(com.aspose.ms.System.IO.Stream markup,
FileType format,
long size) |
NoteDocumentInfo(com.aspose.note.Document note,
FileType format,
long size) |
PclDocumentInfo(com.aspose.pdf.Document pcl,
FileType format,
long size) |
PdfDocumentInfo(com.aspose.pdf.Document pdf,
FileType format,
long size) |
PresentationDocumentInfo(com.aspose.slides.Presentation presentation,
FileType format,
long size) |
ProjectManagementDocumentInfo(com.aspose.tasks.Project project,
FileType format,
long size) |
PsDocumentInfo(com.aspose.pdf.Document ps,
FileType format,
long size) |
SpreadsheetDocumentInfo(com.aspose.cells.Workbook spreadsheet,
boolean isPasswordProtected,
FileType format,
long size) |
SvgDocumentInfo(com.aspose.ms.System.IO.Stream svg,
FileType format,
long size) |
TexDocumentInfo(com.aspose.pdf.Document tex,
FileType format,
long size) |
TsvDocumentInfo(com.aspose.cells.Workbook tsv,
FileType format,
long size) |
TxtDocumentInfo(com.aspose.words.Document txt,
FileType format,
long size) |
VcfDocumentInfo(com.aspose.email.MailMessage vcf,
FileType format,
long size) |
XpsDocumentInfo(com.aspose.pdf.Document xps,
FileType format,
long size) |
XslFoDocumentInfo(com.aspose.pdf.Document xslfo,
FileType format,
long size) |
Constructor and Description |
---|
ConversionNotSupportedException(FileType source,
FileType target)
Creates an exception instance with a source FileType and a target Filetype
|
CorruptOrDamagedFileException(FileType fileType)
Creates an exception instance with a FileType
|
FileTypeNotSupportedException(FileType fileType)
Creates an exception instance with a FileType
|
IncorrectPasswordException(FileType fileType)
Creates an exception instance with a FileType
|
PasswordRequiredException(FileType fileType)
Creates an exception instance with a FileType
|
Modifier and Type | Class and Description |
---|---|
class |
CadFileType
Defines CAD documents (Computer Aided Design) that are used for a 3D graphics file formats and may contain 2D or 3D designs.
|
class |
DiagramFileType
Defines Diagram documents.
|
class |
EmailFileType
Defines Email file formats that are used by email applications to store their various data including email messages, attachments, folders, address books etc.
|
class |
ImageFileType
Defines image documents.
|
class |
MarkupFileType
Defines Markup and Web file formats.
|
class |
NoteFileType
Defines Note-taking formats.
|
class |
PdfFileType
Defines Pdf documents.
|
class |
PresentationFileType
Defines Presentation file formats that store collection of records to accommodate presentation data such as slides, shapes, text, animations, video, audio and embedded objects.
|
class |
ProjectManagementFileType
Defines Project file formats that are created by Project Management software such as Microsoft Project, Primavera P6 etc.
|
class |
WordProcessingFileType
Defines Word Processing files that contain user information in plain text or rich text format.
|
class |
XmlFileType
Defines Xml documents.
|
Modifier and Type | Field and Description |
---|---|
static FileType |
FileType.Unknown
Unknown file type
|
Modifier and Type | Method and Description |
---|---|
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT)
Returns all enumeration values.
|
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT,
FileType[]... excluded) |
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT,
FileType[] excluded) |
Modifier and Type | Method and Description |
---|---|
static FileType |
FileType.fromExtension(String fileExtension)
Gets FileType for provided fileExtension
|
static FileType |
FileType.fromFilename(String fileName)
Returns FileType for specified fileName
|
static FileType |
FileType.fromStream(InputStream inputStream)
Returns FileType for provided document stream
|
static FileType[] |
DiagramFileType.getExcludedSourceTypes() |
static FileType[] |
ImageFileType.getExcludedSourceTypes() |
static FileType[] |
PdfFileType.getExcludedSourceTypes() |
static FileType[] |
WordProcessingFileType.getExcludedSourceTypes() |
static FileType[] |
ImageFileType.getExcludedTargetTypes() |
static FileType[] |
PdfFileType.getExcludedTargetTypes() |
static FileType[] |
PresentationFileType.getExcludedTargetTypes() |
static FileType[] |
WordProcessingFileType.getExcludedTargetTypes() |
Modifier and Type | Method and Description |
---|---|
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT)
Returns all enumeration values.
|
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT,
FileType[]... excluded) |
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT,
FileType[] excluded) |
Modifier and Type | Method and Description |
---|---|
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT,
FileType[]... excluded) |
static <T extends FileType> |
FileType.getAllTypes(Class<T> typeOfT,
FileType[] excluded) |
Modifier and Type | Class and Description |
---|---|
class |
ConvertOptions<TFileType extends FileType>
The general conversion options class.
|
Modifier and Type | Method and Description |
---|---|
FileType |
ConvertOptions.getFormat()
Gets the desired file type the input document should be converted to.
|
FileType |
IConvertOptions.getFormat()
Gets the desired file type the input document should be converted to.
|
Modifier and Type | Method and Description |
---|---|
void |
ConvertOptions.setFormat(FileType value)
The desired file type the input document should be converted to.
|
void |
IConvertOptions.setFormat(FileType format)
Sets the desired file type the input document should be converted to.
|