- Timestamp:
- 07/19/08 19:14:53 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/src/main/java/org/docx4j/samples/CreateWordprocessingMLDocument.java
r495 r509 41 41 WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage(); 42 42 43 wordMLPackage.getMainDocumentPart().addParagraphOfText("Hello world, from docx4j!"); 43 wordMLPackage.getMainDocumentPart() 44 .addStyledParagraphOfText("Title", "Hello world"); 45 46 wordMLPackage.getMainDocumentPart().addParagraphOfText("from docx4j!"); 44 47 45 48 System.out.println( ".. done!");
Note: See TracChangeset
for help on using the changeset viewer.
