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
left = 0;
		}
		
		if(right > cw)
		{
			right = 0;
		}
		
		if((left + right) > cw) 
		{
			right = 0;
		}
		
		return (int) (cw - left - right);
	}
	
	public static float getPadding(String padding)
	{
		float value = 0;
		
		try
		{
			value = Float.parseFloat ( padding ) / 50;
		}
		catch(Exception e)
		{
			
		}
		
		return value;