# File Operations

DsExcel provides procedures to handle file operations for a range of file types supported by it. Learn more in DsExcel docs.

## Content

DsExcel Java enables you to manage all the file operations without any hassle.
Users can import (open) files with different formats including .xlsx, .xlsm, .xltx, .csv, .json, and .sjs files. Also, you can export (save) data from a workbook into several formats including .xlsx, .csv, .pdf and .json files into DsExcel Java. Further, you can choose to save the whole component, a specific sheet or data chunks from a particular cell range to different file types or output streams based on your requirements.
Shared below are some common ways to execute file management operations for a range of file types in DsExcel Java:

* [Import and Export Excel Files](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/ImportandExportExcelOptions)
* [Export to PDF](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/ExporttoaPDFFile)
* [Export to HTML](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/export-to-html-file)
* [Import and Export CSV File](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/ImportandExportCSVFile)
* [Import and Export SpreadJS Files](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/ImportandExportSpreadJSFiles)
* [Import and Export Macros](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/ImportandExportMacros)
* [Import and Export Excel Templates](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/ImportandExportExcelTemplates)
* [Import and Export OLE Objects](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/ImportandExportOLEObjects)
* [Convert to Image](/document-solutions/java-excel-api/docs/online/v9.2/ManageFileOperations/convert-to-image)

>type=note
> **Note**:
>
> * While exporting a worksheet to PDF, HTML or image file formats, you can set the **HorizontalAlignment** enumeration to **CenterContinuous** to center align the text across multiple cells. However, the horizontal alignment should be set before merging the cells. Otherwise, the cells may be drawn incorrectly in exported file formats.
> * DsExcel supports .xlsx, .sjs, and .ssjson file I/O operations, as well as PDF and image export of documents having timeline slicer and its data.