 import flashx.tcal.elements.ParagraphElement;
 import flashx.tcal.elements.SpanElement;
 import flashx.tcal.elements.TextFlow;
+import flashx.tcal.formats.CharacterFormat;
+import flashx.tcal.formats.ContainerFormat;
 import flashx.tcal.formats.ICharacterFormat;
 import flashx.tcal.formats.IContainerFormat;
 import flashx.tcal.formats.IParagraphFormat;
+import flashx.tcal.formats.ParagraphFormat;
 
 import mx.graphics.graphicsClasses.TextFlowComposer;
 import mx.graphics.graphicsClasses.TextGraphicElement;

		
		compose(unscaledWidth, unscaledHeight);
	}

	//--------------------------------------------------------------------------
	//


    /**
     *  @private
     *  This object is determined by the CSS styles of the TextGraphic
     *  and is updated by createTextFlow() when the hostFormatsInvalid flag
     *  is true.
     */
    private var hostCharacterFormat:CharacterFormat = new CharacterFormat();

    /**
     *  @private
     *  This object is determined by the CSS styles of the TextGraphic
     *  and is updated by createTextFlow() when the hostFormatsInvalid flag
     *  is true.
     */
    private var hostParagraphFormat:ParagraphFormat = new ParagraphFormat();

    /**
     *  @private
     *  This object is determined by the CSS styles of the TextGraphic
     *  and is updated by createTextFlow() when the hostFormatsInvalid flag
     *  is true.
     */
    private var hostContainerFormat:ContainerFormat = new ContainerFormat();

	/**
	 *  @private
     *  This flag indicates whether hostCharacterFormat, hostParagraphFormat,
     *  and hostContainerFormat need to be recalculated from the CSS styles
     *  of the TextGraphic. It is set true by stylesInitialized() and also
     *  when styleChanged() is called with a null argument, indicating that
     *  multiple styles have changed.
	 */
    private var hostFormatsInvalid:Boolean = false;

	/**
	 *  @private
