# 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 .xlsx Document](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportAndExport.xlsxDocument)
* [Export to PDF](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ExporttoaPDFFile)
* [Export to HTML](/document-solutions/java-excel-api/docs/online/ManageFileOperations/export-to-html-file)
* [Working with Page Setup](/document-solutions/java-excel-api/docs/online/ManageFileOperations/WorkingWithPageSetup)
* [Import and Export CSV File](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportandExportCSVFile)
* [Import CSV File with Custom Parser](/document-solutions/java-excel-api/docs/online/ManageFileOperations/import-csv-with-custom-parser)
* [Import and Export CSV Files with Delimiters](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportandExportCSVFileswithDelimiters)
* [Import and Export SpreadJS Files](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportandExportSpreadJSFiles)
* [Import and Export Macros](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportandExportMacros)
* [Import and Export Excel Templates](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportandExportExcelTemplates)
* [Import and Export OLE Objects](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportandExportOLEObjects)
* [Convert to Image](/document-solutions/java-excel-api/docs/online/ManageFileOperations/convert-to-image)
* [Import and Export Excel Options](/document-solutions/java-excel-api/docs/online/ManageFileOperations/ImportandExportExcelOptions)

>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.