diff --git a/java-file-formats/word-library/MailMerge_images/MailMerge_output.png b/java-file-formats/word-library/mailmerge_images/java-word-library-output.png similarity index 100% rename from java-file-formats/word-library/MailMerge_images/MailMerge_output.png rename to java-file-formats/word-library/mailmerge_images/java-word-library-output.png diff --git a/java-file-formats/word-library/MailMerge_images/MailMerge_template.png b/java-file-formats/word-library/mailmerge_images/java-word-library-template.png similarity index 100% rename from java-file-formats/word-library/MailMerge_images/MailMerge_template.png rename to java-file-formats/word-library/mailmerge_images/java-word-library-template.png diff --git a/java-file-formats/word-library/word-file-formats.md b/java-file-formats/word-library/word-file-formats.md index 4a9f14a..30af4ca 100644 --- a/java-file-formats/word-library/word-file-formats.md +++ b/java-file-formats/word-library/word-file-formats.md @@ -16,7 +16,7 @@ The [Microsoft Word's](https://en.wikipedia.org/wiki/Microsoft_Word#) native fil ## Word Open XML formats (2007 & later) -[Office Open XML](http://en.wikipedia.org/wiki/Office_Open_XML#) (OOXML or Microsoft Open XML (MOX)) is a zipped, new XML-based file format introduced by Microsoft in Office 2007 applications.The WordprocessingML is the markup language used by the Microsoft Office Word to store its DOCX documents. +[Office Open XML](https://en.wikipedia.org/wiki/Office_Open_XML#) (OOXML or Microsoft Open XML (MOX)) is a zipped, new XML-based file format introduced by Microsoft in Office 2007 applications.The WordprocessingML is the markup language used by the Microsoft Office Word to store its DOCX documents. DocIO supports the following WordprocessingML: diff --git a/java-file-formats/word-library/working-with-bookmarks.md b/java-file-formats/word-library/working-with-bookmarks.md index 530ddf2..727249e 100644 --- a/java-file-formats/word-library/working-with-bookmarks.md +++ b/java-file-formats/word-library/working-with-bookmarks.md @@ -5,6 +5,7 @@ platform: java-file-formats control: Word Library documentation: UG --- + # Working with Bookmarks A bookmark identifies a location or a selection of text within a document that you can name and identify for future reference. @@ -406,12 +407,12 @@ As per Microsoft Word behavior, you cannot replace the bookmark contents when th Case 1 -![Bookmark start and end present in different tables](WorkingwithBookmarks_images/WorkingwithBookmarks_img1.jpeg) +![Bookmark start and end present in different tables](workingwithbookmarks_images/java-word-library-different-tables.jpeg) Case 2 -![Bookmark start placed outside table and end in table](WorkingwithBookmarks_images/WorkingwithBookmarks_img2.jpeg) +![Bookmark start placed outside table and end in table](WorkingwithBookmarks_images/java-word-library-outside-table.jpeg) The following code example shows how to replace a specified bookmark content by using `replaceBookmarkContent` method in Word document. diff --git a/java-file-formats/word-library/working-with-fields.md b/java-file-formats/word-library/working-with-fields.md index 1b9d420..3fe9117 100644 --- a/java-file-formats/word-library/working-with-fields.md +++ b/java-file-formats/word-library/working-with-fields.md @@ -126,7 +126,7 @@ document.close(); IF field compares two values and updates the field result with true text, when comparison succeeds otherwise false text. -To learn more about IF field and its syntax in Microsoft Word, refer to the [MSDN article](https://support.office.com/en-au/article/Field-codes-IF-field-9f79e82f-e53b-4ff5-9d2c-ae3b22b7eb5e#) +To learn more about IF field and its syntax in Microsoft Word, refer to the [MSDN article](https://support.microsoft.com/en-us/office/field-codes-if-field-9f79e82f-e53b-4ff5-9d2c-ae3b22b7eb5e?ui=en-us&rs=en-us&ad=us#) The following code example explains how to add an If field to a Word document. @@ -337,7 +337,7 @@ private WordDocument createDocument() throws Exception By executing the above code example, it generates output Word document as follows. -![Output document after applied Number format for SEQ field](WorkingWithFields_images/SEQField_NumberFormat.png) +![Output document after applied Number format for SEQ field](workingwithfields_images/java-word-library-number-format.png) ### Refer Bookmark You can refer the sequence field elsewhere in the document by including bookmark name through `BookmarkName` property. The referred sequence field may be present anywhere in the Word document, but not beyond the respective bookmark end. @@ -372,7 +372,7 @@ document.close(); By executing the above code example, it generates output Word document as follows. -![Output document of Bookmark referred in SEQ field](WorkingWithFields_images/SEQField_Bookmark.png) +![Output document of Bookmark referred in SEQ field](workingwithfields_images/java-word-library-bookmark.png) ### Reset numbering You can reset the numbering for sequence field (\r) using `ResetNumber` property and reset the numbering based on heading level (\s) in the Word document using `ResetHeadingLevel` property. @@ -508,7 +508,7 @@ private WordDocument createDocument() throws Exception By executing the above code example, it generates output Word document as follows. -![Output of reset numbering in SEQ field](WorkingWithFields_images/SEQField_ResetNumbering.png) +![Output of reset numbering in SEQ field](workingwithfields_images/java-word-library-reset-numbering.png) ### Repeat nearest number You can insert the closest preceding sequence number (\c) using `RepeatNearestNumber` property. @@ -600,7 +600,7 @@ private WordDocument createDocument()throws Exception By executing the above code example, it generates output Word document as follows. -![Output of repeating Nearest number of SEQ field](WorkingWithFields_images/SEQField_RepeatNearestNumber.png) +![Output of repeating Nearest number of SEQ field](workingwithfields_images/java-word-library-repeat-nearest-number.png) ### Hide You can hide the field result of the sequence field using `HideResult` property. @@ -691,7 +691,7 @@ private WordDocument createDocument() throws Exception By executing the above code example, it generates output Word document as follows. -![Output after hiding the sequence field](WorkingWithFields_images/SEQField_Hide.png) +![Output after hiding the sequence field](workingwithfields_images/java-word-library-hide.png) ### Next Sequence number You can insert the next sequence number for the specified items using `InsertNextNumber` property. This is the default. diff --git a/java-file-formats/word-library/working-with-mail-merge.md b/java-file-formats/word-library/working-with-mail-merge.md index d648c50..fbf808d 100644 --- a/java-file-formats/word-library/working-with-mail-merge.md +++ b/java-file-formats/word-library/working-with-mail-merge.md @@ -33,7 +33,7 @@ You can create a template document with merge fields by using any Word editor ap The following screenshot shows how to insert a merge field in the Word document by **using the Microsoft Word.** -![Word template document](MailMerge_images/MailMerge_template.png) +![Word template document in Java File Formats Word Library](mailmerge_images/java-word-library-template.png) You need to add a prefix (“Image:”) to the merge field name for merging an image in the place of a merge field. @@ -81,7 +81,7 @@ document.close(); By executing the previous code example, it generates the resultant Word document as follows. -![Mail merge Word document](MailMerge_images/MailMerge_output.png) +![Mail merge Word document in Java File Formats Word Library](mailmerge_images/java-word-library-output.png) ## Simple Mail merge diff --git a/java-file-formats/word-library/working-with-shapes.md b/java-file-formats/word-library/working-with-shapes.md index 038e080..1b622a9 100644 --- a/java-file-formats/word-library/working-with-shapes.md +++ b/java-file-formats/word-library/working-with-shapes.md @@ -129,7 +129,7 @@ document.close(); Word library now allows you to create or group multiple shapes, pictures, text boxes as a group shape in Word document (DOCX) and preserve it as in DOCX and WordML format conversions. You can create a document with group shapes by using Microsoft Word. It provides an option to group a set of shapes and images as a single shape and a group shape as individual item. -![Create Group shape in Microsoft Word](Working-with-Shapes_images/Working-with-Shapes_img1.jpeg) +![Create Group shape in Java File Formats Microsoft Word](working-with-shapes_images/java-word-library-grouping-shapes.jpeg) **Key Features:** diff --git a/java-file-formats/word-library/Working-with-Shapes_images/Working-with-Shapes_img1.jpeg b/java-file-formats/word-library/working-with-shapes_images/java-word-library-grouping-shapes.jpeg similarity index 100% rename from java-file-formats/word-library/Working-with-Shapes_images/Working-with-Shapes_img1.jpeg rename to java-file-formats/word-library/working-with-shapes_images/java-word-library-grouping-shapes.jpeg diff --git a/java-file-formats/word-library/working-with-word-document.md b/java-file-formats/word-library/working-with-word-document.md index 7125d81..c6b334b 100644 --- a/java-file-formats/word-library/working-with-word-document.md +++ b/java-file-formats/word-library/working-with-word-document.md @@ -540,7 +540,7 @@ document.close(); Content type properties refers the metadata stored in a Word document, such as author name, subject, and company. DocIO represents metadata with MetaProperty instance and you can access in the Word document (DOCX, WordML) by using the ContentTypeProperties collection of WordDocument class. The following screenshots shows the content type property in the input Word document. -![Resultant output Word document](WorkingwithWordDocument_images/QuickPart.png) +![Resultant output in Java File Format Word document](workingwithworddocument_images/java-word-library-quickpart.png) N> You can use Content Type Properties only in documents that are saved in the DOCX or WordML Format. diff --git a/java-file-formats/word-library/WorkingwithBookmarks_images/WorkingwithBookmarks_img1.jpeg b/java-file-formats/word-library/workingwithbookmarks_images/java-word-library-different-tables.jpeg similarity index 100% rename from java-file-formats/word-library/WorkingwithBookmarks_images/WorkingwithBookmarks_img1.jpeg rename to java-file-formats/word-library/workingwithbookmarks_images/java-word-library-different-tables.jpeg diff --git a/java-file-formats/word-library/WorkingwithBookmarks_images/WorkingwithBookmarks_img2.jpeg b/java-file-formats/word-library/workingwithbookmarks_images/java-word-library-outside-table.jpeg similarity index 100% rename from java-file-formats/word-library/WorkingwithBookmarks_images/WorkingwithBookmarks_img2.jpeg rename to java-file-formats/word-library/workingwithbookmarks_images/java-word-library-outside-table.jpeg diff --git a/java-file-formats/word-library/WorkingWithFields_images/SEQField_Bookmark.png b/java-file-formats/word-library/workingwithfields_images/java-word-library-bookmark.png similarity index 100% rename from java-file-formats/word-library/WorkingWithFields_images/SEQField_Bookmark.png rename to java-file-formats/word-library/workingwithfields_images/java-word-library-bookmark.png diff --git a/java-file-formats/word-library/WorkingWithFields_images/SEQField_Hide.png b/java-file-formats/word-library/workingwithfields_images/java-word-library-hide.png similarity index 100% rename from java-file-formats/word-library/WorkingWithFields_images/SEQField_Hide.png rename to java-file-formats/word-library/workingwithfields_images/java-word-library-hide.png diff --git a/java-file-formats/word-library/WorkingWithFields_images/SEQField_NumberFormat.png b/java-file-formats/word-library/workingwithfields_images/java-word-library-number-format.png similarity index 100% rename from java-file-formats/word-library/WorkingWithFields_images/SEQField_NumberFormat.png rename to java-file-formats/word-library/workingwithfields_images/java-word-library-number-format.png diff --git a/java-file-formats/word-library/WorkingWithFields_images/SEQField_RepeatNearestNumber.png b/java-file-formats/word-library/workingwithfields_images/java-word-library-repeat-nearest-number.png similarity index 100% rename from java-file-formats/word-library/WorkingWithFields_images/SEQField_RepeatNearestNumber.png rename to java-file-formats/word-library/workingwithfields_images/java-word-library-repeat-nearest-number.png diff --git a/java-file-formats/word-library/WorkingWithFields_images/SEQField_ResetNumbering.png b/java-file-formats/word-library/workingwithfields_images/java-word-library-reset-numbering.png similarity index 100% rename from java-file-formats/word-library/WorkingWithFields_images/SEQField_ResetNumbering.png rename to java-file-formats/word-library/workingwithfields_images/java-word-library-reset-numbering.png diff --git a/java-file-formats/word-library/WorkingwithWordDocument_images/QuickPart.png b/java-file-formats/word-library/workingwithworddocument_images/java-word-library-quickpart.png similarity index 100% rename from java-file-formats/word-library/WorkingwithWordDocument_images/QuickPart.png rename to java-file-formats/word-library/workingwithworddocument_images/java-word-library-quickpart.png