// Token: 0x06001398 RID: 5016 RVA: 0x00089D50 File Offset: 0x00087F50
 public EnrichedToTextConverter(EnrichedParser parser, TextOutput output, Injection injection, bool testTreatNbspAsBreakable, Stream traceStream, bool traceShowTokenNum, int traceStopOnTokenNum)
 {
     this.treatNbspAsBreakable = testTreatNbspAsBreakable;
     this.output    = output;
     this.parser    = parser;
     this.injection = injection;
     this.output.OpenDocument();
     if (this.injection != null && this.injection.HaveHead)
     {
         this.injection.Inject(true, this.output);
     }
 }
Пример #2
0
 public EnrichedFormatConverter(EnrichedParser parser, FormatOutput output, Injection injection, bool testTreatNbspAsBreakable, Stream traceStream, bool traceShowTokenNum, int traceStopOnTokenNum, Stream formatConverterTraceStream) : base(formatConverterTraceStream)
 {
     this.treatNbspAsBreakable = testTreatNbspAsBreakable;
     this.output = output;
     if (this.output != null)
     {
         this.output.Initialize(this.Store, SourceFormat.Rtf, "converted from text/enriched");
     }
     this.parser    = parser;
     this.injection = injection;
     base.InitializeDocument();
     if (this.injection != null)
     {
         bool haveHead = this.injection.HaveHead;
     }
 }