 
 import flash.display.DisplayObjectContainer;
 import flash.geom.Rectangle;
+import flash.text.TextFormat;
+import flash.text.engine.FontLookup;
 import flash.text.engine.TextLine;
 
 import flashx.textLayout.conversion.ITextImporter;
 import flashx.textLayout.conversion.TextFilter;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.FlowElement;
+import flashx.textLayout.elements.ITextLineCreator;
 import flashx.textLayout.elements.ParagraphElement;
 import flashx.textLayout.elements.SpanElement;
 import flashx.textLayout.elements.TextFlow;
+import flashx.textLayout.elements.TextLineCreator;
 import flashx.textLayout.events.DamageEvent;
 import flashx.textLayout.factory.TextLineFactory;
 import flashx.textLayout.factory.TruncationOptions;

     */
    private var textInvalid:Boolean = false;
        
    //--------------------------------------------------------------------------
    //
    //  Overridden properties

import flashx.textLayout.formats.VerticalAlign;
import flashx.textLayout.tlf_internal;

import mx.core.EmbeddedFont;
import mx.core.EmbeddedFontRegistry;
import mx.core.IEmbeddedFontRegistry;
import mx.core.IFlexModuleFactory;
import mx.core.IFontContextComponent;
import mx.core.IUIComponent;
import mx.core.Singleton;
import mx.core.mx_internal;
import mx.managers.ISystemManager;
import spark.primitives.supportClasses.TextGraphicElement;
import spark.utils.TextUtil;

