IContainerArea containerArea = new InlineContainerArea(content); IStyle style = containerArea.getStyle();  if(!isFirst) { style.setProperty(IStyle.STYLE_BORDER_LEFT_WIDTH, IStyle.NUMBER_0); style.setProperty(IStyle.STYLE_PADDING_LEFT, IStyle.NUMBER_0); style.setProperty(IStyle.STYLE_MARGIN_LEFT, IStyle.NUMBER_0); }  if(!isLast) { style.setProperty(IStyle.STYLE_BORDER_RIGHT_WIDTH, IStyle.NUMBER_0); style.setProperty(IStyle.STYLE_PADDING_RIGHT, IStyle.NUMBER_0); style.setProperty(IStyle.STYLE_MARGIN_RIGHT, IStyle.NUMBER_0); } return containerArea;
return new InlineContainerArea( content );
	public static IContainerArea createInlineContainer(IContent content, boolean isFirst, boolean isLast)	{		IContainerArea containerArea = new InlineContainerArea(content);		IStyle style = containerArea.getStyle();		//remove left padding, border and margin if it is not the first child		if(!isFirst)		{			style.setProperty(IStyle.STYLE_BORDER_LEFT_WIDTH, IStyle.NUMBER_0);			style.setProperty(IStyle.STYLE_PADDING_LEFT, IStyle.NUMBER_0);			style.setProperty(IStyle.STYLE_MARGIN_LEFT, IStyle.NUMBER_0);		}		//remove right padding, border and margin if it is not the last child		if(!isLast)		{			style.setProperty(IStyle.STYLE_BORDER_RIGHT_WIDTH, IStyle.NUMBER_0);			style.setProperty(IStyle.STYLE_PADDING_RIGHT, IStyle.NUMBER_0);			style.setProperty(IStyle.STYLE_MARGIN_RIGHT, IStyle.NUMBER_0);		}		return containerArea;	}