Multicolored Numbered List in Word Processing Document

Note
In this article, we will use GroupDocs.Assembly to generate a Multicolored Numbered List report in Word Processing Document format.

Multicolored Numbered List in Microsoft Word Document

Creating a Multicolored Numbered List

Practicing the following steps you can create Multicolored Numbered List Template in MS Word 2013.

  1. In your document, write a sentence like “We provide support for the following clients:”.
  2. Start numbered list.
  3. Go to the “Design” tab and select color to make it colored list.
  4. Save the template.

Reporting Requirement

As a report developer, you are required to represent the following key requirements:

  • Report must show the clients in numbered list.
  • It must highlight the products.
  • Report must be generated in the Word Processing Document.

Adding Syntax to be evaluated by GroupDocs.Assembly Engine

We provide support for the following clients:

  1. <<foreach [in getClients()]>><<if [indexOf() % 2 == 0]>><<[getName()]>>
  2. <<else>><<[getName()]>>

​ <</if»<</foreach»

Download Multicolored Numbered List Template

Please download the sample Multicolored Numbered List document we created in this article:

Generating The Report

Note
The code uses some of the objects defined in: The Business Layer

ODT Template and Report in Apache OpenOffice

In order to check compatibility of ODT between Microsoft Office 2010 and Apache OpenOffice 4.1.2, we performed below tests:

  • We opened the ODT template created through Microsoft Office 2010 in Apache OpenOffice 4.1.2. The template opened successfully in Apache OpenOffice without any issues or formatting losses.
  • We opened the ODT report generated through GroupDocs.Assembly in Apache OpenOffice 4.1.2. The report opened successfully in Apache OpenOffice without any issues or formatting losses.
Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.