public GetRtfDocument ( ) : |
||
Résultat |
public override void SetParser(RtfParser parser) { this.rtfParser = parser; this.rtfDoc = parser.GetRtfDocument(); this.doc = parser.GetDocument(); this.conversionType = parser.GetConversionType(); SetToDefaults(); if (this.rtfParser.IsConvert()) { this.rtfParser.GetState().properties.AddRtfPropertyListener(this); } }
/** * Constructs a new <code>RtfDestinationDocument</code> using * the parameters to initialize the object. * @param rtfDoc The <code>RtfDocument</code> this works with. * @param doc The iText <code>Document</code> this works with. * @param type The type of conversion being done. */ public RtfDestinationDocument(RtfParser parser) : base(parser) { this.rtfDoc = parser.GetRtfDocument(); this.doc = parser.GetDocument(); this.conversionType = parser.GetConversionType(); SetToDefaults(); if (this.rtfParser.IsConvert()) { this.rtfParser.GetState().properties.AddRtfPropertyListener(this); } }