/** * Registers the RtfParagraphStyle for further use in the document. * * @param rtfParagraphStyle The RtfParagraphStyle to register. */ public void RegisterParagraphStyle(RtfParagraphStyle rtfParagraphStyle) { this.stylesheetList.RegisterParagraphStyle(rtfParagraphStyle); }
/** * Registers the RtfParagraphStyle for further use in the document. This does not need to be * done for the default styles in the RtfParagraphStyle object. Those are added automatically. * * @param rtfParagraphStyle The RtfParagraphStyle to register. */ public void RegisterParagraphStyle(RtfParagraphStyle rtfParagraphStyle) { this.document.GetDocumentHeader().RegisterParagraphStyle(rtfParagraphStyle); }