Skip to content

Commit 3611bf0

Browse files
committed
Merge branch 'WF-55990_UG_DocIO_JAVA' of https://gitlab.syncfusion.com/content/java-file-format-docs into WF-55990_UG_DocIO_JAVA
2 parents 7d1f012 + 3e0ae3b commit 3611bf0

File tree

8 files changed

+1826
-2
lines changed

8 files changed

+1826
-2
lines changed

java-file-formats-toc.html

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<ul class="treeview">
33
<li>
44
<a href="/java-file-formats/introduction">Introduction</a>
@@ -24,11 +24,14 @@
2424
<li>
2525
<a href="/java-file-formats/word-library/loading-and-saving-document">Loading and Saving document</a>
2626
</li>
27+
<li>
28+
<a href="/java-file-formats/word-library/working-with-sections">Working with Sections</a>
29+
</li>
2730
<li>
2831
<a href="/java-file-formats/word-library/working-with-paragraph">Working with Paragraphs</a>
2932
</li>
3033
<li>
31-
<a href="/java-file-formats/word-library/working-with-sections">Working with Sections</a>
34+
<a href="/java-file-formats/word-library/working-with-tables">Working with Tables</a>
3235
</li>
3336
<li>
3437
<a href="/java-file-formats/word-library/working-with-shapes">Working with Shapes</a>
@@ -49,6 +52,14 @@
4952
<li>
5053
<a href="/java-file-formats/word-library/working-with-comments">Working with Comments</a>
5154
</li>
55+
<li>
56+
<a href="/java-file-formats/word-library/conversion">Working with Document Conversion</a>
57+
<ul>
58+
<li><a href="/java-file-formats/word-library/word-file-formats">Word File Formats</a></li>
59+
<li><a href="/java-file-formats/word-library/text">Text Conversions</a></li>
60+
<li><a href="/java-file-formats/word-library/html">HTML Conversions</a></li>
61+
</ul>
62+
</li>
5263
</ul>
5364
</li>
5465
</ul>
14.4 KB
Loading
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: Working with Document Conversions | Syncfusion
3+
description: This section illustrates how to convert a Word document into other supported file formats using Syncfusion Java Word library
4+
platform: java-file-formats
5+
control: Word Library
6+
documentation: UG
7+
---
8+
9+
# Word Document Conversion
10+
11+
## Working with Document Conversions
12+
13+
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.
14+
15+
**Flow layout document**
16+
17+
* A flow document is designed to "reflow content" depending on the application.
18+
* Does not contain any information about the position of its content.
19+
* Dynamically renders the content by application at run time.
20+
* Example: DOCX, HTML and TEXT file formats.
21+
22+
Essential DocIO can convert various flow document as fixed document by using our layout engine. Following conversions are supported by Essential DocIO.
23+
24+
* Microsoft Word file format Conversions.
25+
* Text Conversions.
26+
* HTML Conversions.
27+
28+
## HTML conversion
29+
30+
Essential DocIO supports converting the HTML file into Word document and vice versa. It supports only the HTML files that meet the validation either against XHTML 1.0 strict or XHTML 1.0 Transitional schema.
31+
32+
For further information kindly refer here.
33+
34+
### Customizing the HTML to Word conversion
35+
36+
You can customize the HTML to Word conversion with the following options:
37+
38+
* Validate the HTML string against XHTML 1.0 Strict and Transitional schema
39+
* Insert the HTML string at the specified position of the document body contents
40+
* Append HTML string to the specified paragraph
41+
42+
For further information kindly refer this link.
43+
44+
### Customizing the Word to HTML conversion
45+
46+
You can customize the Word to HTML conversion with the following options:
47+
48+
* Extract the images used in the HTML document at the specified file directory
49+
* Specify to export the header and footer of the Word document in the HTML
50+
* Specify to consider Text Input field as a editable fields or text
51+
* Specify the CSS style sheet type and its name
52+
53+
N>
54+
While exporting header and footer, DocIO exports the first section header content at the top of the HTML file and first section footer content at the end of the HTML file
55+
56+
For further information kindly refer this link.
57+
58+
### Supported Document elements
59+
60+
Kindly refer to this link for the document elements and attributes that are supported by DocIO in the Word to HTML and HTML to Word conversions.
61+
62+
## Text file
63+
64+
Essential DocIO supports to convert the Word document into a Text file and vice versa. For further information, kindly refer to this link.

0 commit comments

Comments
 (0)