This example enables the dropped capital format for the second paragraph.
TextParagraph paragraph = document.getParagraphs().item(2); paragraph.getDropCap().enable();
Related information
DropCap property