Example usage for com.lowagie.text.rtf.direct RtfDirectContent RtfDirectContent

List of usage examples for com.lowagie.text.rtf.direct RtfDirectContent RtfDirectContent

Introduction

In this page you can find the example usage for com.lowagie.text.rtf.direct RtfDirectContent RtfDirectContent.

Prototype

public RtfDirectContent(String directContent) 

Source Link

Document

Constructs a new RtfDirectContent with the content to add.

Usage

From source file:ca.nines.ise.writer.RTFWriter.java

License:Open Source License

private void addDirect(String rtf) {
    if (rtf.length() > 0) {
        RtfDirectContent c = new RtfDirectContent(rtf);
        p.add(c);
    }
}