You can converting DOC to XLS via Aspose.Total for Java is a simple two step process. By using feature-rich, document manipulation and conversion API Aspose.Words for Java , you can export DOC to HTML. After that, by using Aspose.Cells for Java , you can convert HTML to XLS.
Free Online Converter for DOC to XLS
Convert Protected DOC to XLS via Java
Using the API, you can also open the password-protected document. If your input DOC document is password protected, you cannot convert it to XLS without using the password. The API allows you to open the encrypted document by passing the correct password in a LoadOptions object. The following code example shows how to try opening an encrypted document with a password:
Convert DOC to Protected XLS file via Java
After you convert DOC to XLS, you can also encrypt and password protect your XLS documents. In order to encrypt your document, open it using Workbook class and specify XOR Encryption Type and Strong Encryption type (RC4, Microsoft Strong Cryptographic Provider) encryption by using the setEncryptionOptions method. You can also set a password to your XLS by using the Password property of WorkbookSettings class.
Explore DOC Conversion Options with Java
What is DOC File Format
The Microsoft Word Binary File Format (DOC) is a proprietary document file format used by Microsoft Office Word. It is a binary file format representing a document in a structure that is independent of any particular computer architecture or operating system. The DOC format is a container file that stores data in a binary format. A DOC file can contain a variety of data types, including formatted text, images, charts, and other data. The binary format of a DOC file is not intended to be human-readable. However, there are a number of programs that can read and write DOC files, including Microsoft Word and LibreOffice. The DOC format was first introduced in Word for Windows 2.0 in 1987. It has since been revised several times, with the most recent version being the Office Open XML format introduced in Office 2007. One of the key benefits of the DOC format is its compatibility with Microsoft Word, which is one of the most widely used word processing applications in the world. This allows users to create and edit documents in Microsoft Word, and then share them with others who also use the application. Additionally, many other word processing applications can also read and write the DOC format, making it a versatile format for document sharing.
Read MoreWhat is XLS File Format
Microsoft Excel is a spreadsheet application that was first released in 1987. It is part of the Microsoft Office suite of productivity software. Excel allows users to create and format spreadsheets, perform mathematical calculations, and create charts and graphs. Excel files are saved in a proprietary binary format called .xls. This format is not compatible with other spreadsheet applications, such as Google Sheets. Excel files can also be saved in .xlsx, a newer XML-based format that is compatible with other spreadsheet applications. When an Excel file is saved in .xls format, it is saved as a legacy binary file. This means that the file can only be opened in Excel and will not be compatible with other spreadsheet applications. Legacy binary files are larger in size than .xlsx files and can take longer to open.If you need to share an Excel file with someone who does not have Excel, you can save the file in .csv format. This format can be opened in a text editor, such as Microsoft Notepad, and will be compatible with other spreadsheet applications.
Read More