Bug 181113 NPE throws out when preview crosstab in doc on BIRT RCP[1202]
engine/org.eclipse.birt.report.engine.emitter.wpml/src/org/eclipse/birt/report/engine/emitter/wpml/WordUtil.java
if (DimensionType.UNITS_PERCENTAGE
				.equalsIgnoreCase ( value.getUnits ( ) ))
		{
			return (int) (prefValue * value.getMeasure ( ) / 100);
		}
		return (int) convertTo ( value );
	}
	public static double convertTo ( DimensionType value )
	{
		if (value == null
				|| DimensionType.UNITS_PERCENTAGE.equalsIgnoreCase ( value
						.getUnits ( ) ))
		{
			return -1;
		}
		if (DimensionType.UNITS_PX.equalsIgnoreCase ( value.getUnits ( ) ))
		{
			return value.getMeasure ( ) * PX_TWIPS;
		}
		double val = value.convertTo ( DimensionType.UNITS_IN );
		return  val * INCH_TWIPS;
	}
	
	public static int getWidth(int cw, IStyle style)
	{
		float left = WordUtil.getPadding ( style.getPaddingLeft ( ));
		float right = WordUtil.getPadding ( style.getPaddingRight ( ));
		
		if(left > cw)
		{