Multicolored Numbered List in HTML Document

Multicolored Numbered List in HTML Document

Reporting Requirement

As a report developer, you are required to describe the services you are providing with the following key requirements:

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

Adding Syntax to be evaluated by GroupDocs.Assembly Engine

We provide support for the following products:

<ol>

&lt;&lt;foreach [in products]&gt;&gt;
<li &lt;&lt;if [IndexOf() % 2 == 0]&gt;&gt;style="background-color:#FFF8DC"&lt;&lt;/if&gt;&gt;>&lt;&lt;[ProductName]&gt;&gt;</li>
&lt;&lt;/foreach&gt;&gt;
</ol>

Download Multicolored Numbered List Template

Please download the multicolored numbered list template document we created in this article:

Generating The Report