con.setWidth(textWidth); con.setHeight( textHeight + topPadding + topBorder + bottomPadding + bottomBorder );
con.setWidth(Math.min( textWidth, context.getMaxWidth( ))); con.setHeight( Math.min( textHeight + topPadding + topBorder + bottomPadding + bottomBorder, context.getMaxHeight( )) );
		private IArea createInlineTextArea(String text, ITextContent content, FontInfo fi, Dimension contentDimension)		{			ContainerArea con = (ContainerArea)createInlineContainer(content, false, false);			int textHeight = contentDimension.getHeight();			int textWidth =  contentDimension.getWidth();			con.setWidth(textWidth); 			con.setHeight( textHeight + topPadding + topBorder + bottomPadding					+ bottomBorder );						AbstractArea textArea = (AbstractArea) AreaFactory.createTextArea(					content, text, fi );			con.addChild( textArea );			textArea.setHeight( textHeight );			textArea.setWidth( textWidth );			textArea.setPosition( 0, topPadding + topBorder );			return con;		}