How can I help you?
Conversion in Word Library
7 Apr 20263 minutes to read
Working with Document Conversions
The Essential® DocIO converts documents from one format to another format. Each file format document can be categorized as flow layout document or fixed layout document.
Flow layout document
- A flow document is designed to “reflow content” depending on the application.
- Does not contain any information about the position of its content.
- Dynamically renders the content by application at run time.
- Example: DOC, DOCX, HTML, EPUB, RTF, and TEXT file formats.
Fixed layout document
- This format of fixed document is like “what you see is what you get”.
- Maintains the fixed position for each content.
- Statically preserves the content in specified position.
- Example: Image and PDF.
Essential® DocIO can convert various flow document as fixed document by using our layout engine. The following conversions are supported by Essential® DocIO:
- Word document to PDF
- Word document to Image
- HTML Conversions
- Markdown Conversions
- RTF Conversions
- Text Conversions
- Word document to ODT
- Word document to EPUB
- Microsoft Word file format Conversions
Converting Word document to PDF
Essential® DocIO allows you to convert Word documents into PDF with just a few lines of code. For further information, kindly refer here.
Customizing the Word document to PDF conversion
Essential® DocIO allows you to customize the Word to PDF conversion with the following options:
- Allows to embed the TrueType fonts used in the converted PDF
- Allows to determine the quality of the charts in the converted PDF
- Allows to determine the quality of the JPEG images in the converted PDF
- Allows to reduce the Main Memory usage in Word to PDF conversion by reusing the identical images.
For further information, kindly refer here.
Unsupported elements in Word to PDF conversion
Kindly refer here for a list of unsupported elements in Word to PDF conversion.
Rendering / Converting Word document to Image
Essential® DocIO supports converting Word documents to images using the RenderAsImages method. For further information, kindly refer here.
HTML conversion
Essential® DocIO supports converting the HTML file into Word document and vice versa. It supports only HTML files that meet the validation against the either XHTML 1.0 strict or XHTML 1.0 Transitional schema.
For further information, kindly refer here.
Customizing the HTML to Word conversion
You can customize the HTML to Word conversion with the following options:
- Validate the HTML string against XHTML 1.0 Strict and Transitional schema
- Insert the HTML string at the specified position of the document body contents
- Append HTML string to the specified paragraph
For further information, kindly refer here.
Customizing the Word to HTML conversion
You can customize the Word to HTML conversion with the following options:
- Extract the images used in the HTML document at the specified file directory
- Specify to export the header and footer of the Word document in the HTML
- Specify to consider Text Input field as a editable fields or text
- Specify the CSS style sheet type and its name
NOTE
While exporting the header and footer, DocIO exports the first section’s header content at the top of the HTML file and first section’s footer content at the end of the HTML file.
For further information, kindly refer here.
Supported Document elements
Kindly refer here for the document elements and attributes are supported by DocIO in Word to HTML and HTML to Word conversions.
Markdown conversion
Essential® DocIO supports converting Markdown files to Word documents and vice versa.
For further information, kindly refer to the following links:
RTF conversion
Essential® DocIO supports converting RTF documents to Word documents and vice versa. For further information, kindly refer here.
Text conversion
Essential® DocIO supports converting Word documents to text files and vice versa. For further information, kindly refer here.
Word to ODT
Essential® DocIO supports converting Word documents to ODT. For further information, kindly refer here.
Word to EPUB
Essential® DocIO supports converting Word documents to EPUB v2.0. This feature is supported only on Windows Forms, UWP, WPF, ASP.NET Web, and MVC platforms. For further information, kindly refer here.
Microsoft Word File Format Conversions
Essential® DocIO supports converting Word documents between different Microsoft Word file formats, including DOCX, DOCM, DOTX, DOTM, WordML, DOC, and DOT. You can load a document in one Word format and save it in another supported Word format. For further information, kindly refer here.