GetDocument() 공개 메소드

public GetDocument ( ) : Document
리턴 iTextSharp.text.Document
예제 #1
0
 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);
     }
 }
예제 #2
0
 /**
 * 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);
     }
 }