 		if (innerWidth < 0 || innerHeight < 0)
 			return paragraphY;
 		
-		var maxLineWidth:Number =
+        var blockIndent:Number = Number(_defaultTextFormat.blockIndent);
+        var indent:Number = Number(_defaultTextFormat.indent);
+        var leftMargin:Number = Number(_defaultTextFormat.leftMargin);
+        var rightMargin:Number = Number(_defaultTextFormat.rightMargin);
+        
+		var maxLineWidthBeforeIndent:Number =
 			wordWrap ? innerWidth : TextLine.MAX_LINE_WIDTH;
-		
+        var maxLineWidth:Number = maxLineWidthBeforeIndent;
+                
 		var n:int = 0;
 		var nextTextLine:TextLine;
 		var nextY:int = paragraphY;

									 compositionHeight:Number):void
	{
		textFlow = htmlImporter.importToFlow(_htmlText);
		
		textFlow.addEventListener(MouseEvent.CLICK, linkClickHandler);
					
		textFlow.addEventListener(

				compositionWidth = _width;
			}
			
			if (testFlag(FLAG_HTML_TEXT_SET))
			{
				if (!hostFormat)
					createHostFormat();
