Bulleted List in HTML Document
Leave feedback
NoteIn this article, we will use GroupDocs.Assembly to generate a Bulleted List report in HTML Document format.
NoteThe code uses some of the objects defined in The Business Layer.
As a report developer, you are required to share the following key requirements:
- Report must show all the clients in a bulleted list format.
- Report must be generated in the HTML Document.
We provide support for the following clients:
<ul>
<<foreach [in getClients()]>>
<li><<[getName()]>></li>
<</foreach>>
</ul>
Regular text. <span style="background-color:orange">Highlighted text.</span>
Please download the sample Bulleted List document we created in this article:
// For complete examples and data files, please go to https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-Java | |
String srcDocument = "/Html Templates/Bulleted List.html"; | |
String docReport = "/Html Reports/Bulleted List_report.html"; | |
try { | |
DocumentAssembler assembler = new DocumentAssembler(); | |
assembler.assembleDocument(CommonUtilities.getDataPath(srcDocument), | |
CommonUtilities.getOutPath(docReport), new DataSourceInfo(new DataStorage(), null)); | |
} catch (Exception exp) { | |
System.out.println("Exception: " + exp.getMessage()); | |
} |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.