Programmatically convert DOCX to MPP in Java & J2SE applications using flexible document manipulation options to customize the appearance of the resultant document. The word documents conversion library accurately converts Word document formats to PDF, Excel spreadsheet, PowerPoint presentation, Photoshop, HTML, eBook, XML, images and many other popular file formats. Using multiple document conversion features – convert the whole document or choose specific pages of the source document file based on the self selected page numbers or page ranges and easily convert to a supported document format without using any external software.
DownloadPerform DOCX to MPP file conversion in Java using three simple steps. View the converted MPP document as it is or render and display it as HTML without using any external software.
Get the respective assembly files from the downloads or fetch the whole package from Maven to add Conholdate.Total for Java
directly in your workspace.
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
Converter converter = new Converter("input.docx"); | |
ConvertOptions convertOptions = new FileType().fromExtension("pdf").getConvertOptions(); | |
converter.convert("output.pdf", convertOptions); | |
try (Viewer viewer = new Viewer("output.pdf")) | |
{ | |
HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources("output{0}.html"); | |
viewer.view(viewOptions); | |
} |
Accurately convert DOCX documents to MPP in Java, exactly as the original source file and apply text or image watermark to MPP document pages.
Conholdate.Total for Java simplifies the process of loading and converting DOCX documents from remote locations and cloud storage resources. Access files from Amazon S3, Microsoft Azure Blob, FTP, and more using a stream or URL. Pass it to the Converter class and let our DOCX file processing API do the rest.
Conholdate.Total for Java APIs support multiple operating systems including Windows J2SE, Linux (Ubuntu, OpenSUSE, CentOS, and more), and macOS. It can be used with various Java applications such as Eclipse, IntelliJ NetBeans, IntelliJ IDEA, and Visual Studio Code.
// Supports converting documents between Word, Excel, PowerPoint, Images, Web, Photoshop, eBook, Metafiles and Diagram file formats. | |
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
Converter converter = new Converter("input.docx"); | |
PdfConvertOptions options = new PdfConvertOptions(); | |
WatermarkOptions watermark = new WatermarkOptions(); | |
watermark.setText("Sample watermark"); | |
watermark.setColor(Color.red); | |
watermark.setWidth(100); | |
watermark.setHeight(100); | |
watermark.setBackground(true); | |
options.setWatermark(watermark); | |
converter.convert("output.pdf", options); |
Quickly load and convert password protected DOCX documents to DOCX within your Java based applications – all you need is just a few lines of code. Developers can also transform Word (DOC or DOCX) document into other formats like PDF, Web (HTML, MHTML), Images (JPG, PNG TIFF, BMP), Markdown and many others without any need to install Microsoft Word.
Conholdate.Total document information extraction feature not only provides basic file information of source document (DOCX), but also extracts valuable format-specific details. For instance, it can extract project start and end dates from a Microsoft Project file, printing restrictions from a PDF document, folder lists from an Outlook data file, and layer and layout information from a CAD document. With this feature, users can quickly and easily access crucial information from a variety of file types.
Conholdate.Total for Java APIs also offer the auto-detection feature for unknown file format extensions of source documents in byte stream format, making it a convenient tool for efficient document conversion.
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
WordProcessingLoadOptions loadOptions = new WordProcessingLoadOptions(); | |
loadOptions.setPassword("12345"); | |
Converter converter = new Converter("input.docx", loadOptions); | |
PdfConvertOptions options = new PdfConvertOptions(); | |
converter.convert("output.pdf, options); |
Java document processing API allows you to choose selected pages from the source document and accurately convert to the supported document format. The code example below shows how to convert the 1st and 4th pages of a DOCX document to the resultant MPP file.
The document conversion process can sometimes result in larger file sizes and longer conversion times. To address this, Conholdate.Total’s document conversion library offers a caching feature that optimizes the repetitive conversion process. By enabling the ICache interface, developers can work with custom cache implementations using the extension point to control caching as desired.
The conversion result is saved to the local drive by default but any type of cache storage can be supported by implementing the appropriate interfaces such as Amazon S3, Dropbox, Google Drive, Windows Azure, Reddis or any other.
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/ | |
Converter converter = new Converter("input.docx"); | |
PdfConvertOptions options = new PdfConvertOptions(); | |
options.setPages(Arrays.asList( 1, 4)); | |
converter.convert("output.pdf", options); |
The Conholdate.Total for Java platform provides various options and demos to convert Word processing file formats projects using GroupDocs or Aspose code examples. Java programmers can easily utilize GroupDocs.Conversion examples for both front-end and backend implementation or they can create their own projects with DOCX to MPP conversion features within Java based applications.
Conholdate.Total for Java includes all Java APIs offered by Aspose and GroupDocs. Developers can use different APIs for converting DOCX to MPP however; for the sake of simplicity, we have demonstrated code snippets using GroupDocs.Conversion for Java.
Conholdate.Total for Java integrates APIs from Aspose and GroupDocs to enable Java programmers to perform various document manipulation actions on a wide range of file formats including Word, Excel, PDF, PowerPoint, Visio, HTML and images in Java & J2SE based applications.
Absolutely! The Conholdate.Total API seamlessly handles the conversion of password-protected DOCX documents. During the conversion process, you can simply provide the password using specific load options when setting up the converter. This ensures secure and efficient conversion even for encrypted DOCX files.
Yes, absolutely! By using conversion options, you can efficiently convert whole DOCX document or only the selected pages to MPP format.
Yes, you certainly can! Conholdate.Total API empowers you to go beyond basic conversion, offering customization options for your MPP files. Refine image quality, add security watermarks, and explore other features to manipulate the appearance of the output MPP according to your exact needs.
The DOCX file format serves as a storage medium for documents created in Microsoft Word, succeeding the earlier DOC format. It is a constituent of the Microsoft Office Open XML format and functions as the primary file format for Microsoft Word 2007 and subsequent versions. Introduced alongside Microsoft Office 2007 on January 17, 2007, the DOCX format is built upon the Open Packaging Conventions (OPC), an open XML-based file format developed by Microsoft for office documents.
Utilizing a combination of ZIP file structure and XML files, the DOCX format adheres to the OPC standards, which ensure consistent storage of digital content in a universally compatible file format. By employing the widely recognized ZIP compression format, DOCX files can significantly reduce in size compared to their predecessor, the DOC format. This compression feature allows for efficient storage, transmission, and sharing of DOCX documents across the internet.
The widespread adoption of DOCX as the preferred file format in most office programs can be attributed to its user-friendly nature. It offers enhanced usability, faster document creation, and easier transferability compared to other formats. Additionally, DOCX files are readily viewable and accessible on various applications and devices, including smartphones, tablets, and personal computers. This versatility enables seamless document handling and ensures compatibility across different platforms.
An important aspect of the DOCX format lies in its promotion of compatibility among different applications. By utilizing a standardized format, DOCX eliminates the need for reliance on proprietary file formats that may suffer from compatibility issues. Its widespread acceptance and usage make DOCX a valuable tool within the business world, streamlining document exchange and collaboration.
LearnThe MPP file format is specifically designed for project management and is created using Microsoft Project software, including Microsoft Project Server. It serves as the native file format for Microsoft Project and is widely used for sharing project data with other applications. Built upon the Microsoft Compound File Binary Format, the MPP format utilizes a hierarchical file system structure to integrate and store various types of data.
An MPP file contains crucial project management information such as start and end dates, duration, cost, resource assignments, and other relevant project data. It also supports the inclusion of project custom fields and customized graphical indicators, providing flexibility for tailoring the file to specific project requirements.
It is important to note that the MPP file format is proprietary and specifically designed for Microsoft Project. As such, it is not compatible with other project management applications, limiting its use primarily to Microsoft Project software.
Learn(Portable Document Format)
(Spreadsheet Files)
(Digital Image Files)
(Web Files)
(Microsoft Word Binary Format)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template Files)
(Microsoft Word Template File )
(Microsoft Word 2007+ Template File)
(Text Document)
(Rich Text Format)
(Hyper Text Markup Language)
(Web Page Archive Format)
(Hypertext Markup Language File)
(MHTML Web Archive)
(Microsoft Excel Spreadsheet (Legacy))
(Open XML Workbook)
(Macro-enabled Spreadsheet)
(Excel Binary Workbook)
(Excel 97 - 2003 Template)
(Excel Template)
(Excel Macro-Enabled Template)
(Excel Macro-Enabled Add-In)
(Comma Seperated Values)
(Tab Seperated Values)
(OpenDocument Flat XML Spreadsheet)
(Data Interchange Format)
(StarOffice Calc Spreadsheet)
(Microsoft PowerPoint 97-2003)
(Open XML presentation Format)
(PowerPoint Slide Show)
(PowerPoint Slide Show)
(Macro-enabled Slide Show)
(Microsoft PowerPoint Template Files)
(Microsoft PowerPoint Template Presentation)
(Macro-enabled Presentation File)
(Microsoft PowerPoint Template File)
(OpenDocument Text File Format)
(OpenDocument Standard Format)
(OpenDocument Spreadsheet)
(OpenDocument Presentation Format)
(OpenDocument Standard Format)
(Tagged Image File Format)
(Joint Photographic Expert Group Image)
(Joint Photographic Expert Group Image)
(Portable Network Graphic)
(Graphical Interchange Format)
(Bitmap Image File)
(Icon File)
(Windows Metafile)
(Enhanced Metafile Format)
(DICOM Image)
(Raster Web Image Format)
(JPEG 2000 Core Image)
(Windows Compressed Enhanced Metafile)
(Compressed Windows Metafile)
(Scalar Vector Graphics)
(Compressed Scalable Vector Graphics)
(Truevision Graphics Adapter)
(XML Paper Specifications)
(LaTeX Source Document)
(Markdown Language)
(Photoshop Document)
(Photoshop Large Document Format)
(JavaScript Object Notation File)
(XML File)
(Mobipocket eBook Format)
(Printer Command Language Document)
(PostScript File)
(Open eBook File)
(Formula One for Data Presentation)