PD4ML is a powerful PDF generating library that uses HTML and CSS for page layout and content definition. It allows developers to easily add PDF generation functionality to software written for the Java and .NET platforms. PD4ML is easy to deploy and does not rely on any native components. It is based on a proprietary HTML rendering engine, optimized for PDF layout generation. The rendering engine implements most standard features of HTML4/CSS2 and a number of custom PDF-generation-specific functions for pagination control, header/footer generation, watermarking, TOC generation, margin control, etc. PD4ML allows you to easily embed word processor documents, spreadsheets, and rich media content as attachments to the resulting PDF documents.