rtfWriter2.getDocumentSettings().registerParagraphStyle(tocLevel2Style);
// Create a Paragraph and add the table of contents to it
Paragraph par = new Paragraph();
par.add(new RtfTableOfContents("如想查看目录,单击右键选择\"更新域\""));
par.setAlignment(1);
document.add(par);
CompositeDataProxy cdp = CompositeDataProxy.getInstance();
SingleDataProxy sdp = SingleDataProxy.getInstance();