void loadSettings(String name, String value) throws Exception {
		if(name==null) return;
		
		if(name.equals("name")) { //$NON-NLS-1$
			documentName=value;
		}
		if(name.equals("author")) { //$NON-NLS-1$
			documentAuthor=value;
		}
		if(name.equals("date")) { //$NON-NLS-1$
			documentDate=new SimpleDateFormat("yyyy/MM/dd").parse(value); //$NON-NLS-1$
		}
		if(name.equals("truck-width")) { //$NON-NLS-1$
			documentTruckSize.width=new Integer(value);
		}
		if(name.equals("truck-height")) { //$NON-NLS-1$
			documentTruckSize.height=new Integer(value);
		}
		if(name.equals("truck-tonnage")) { //$NON-NLS-1$
			documentTruckTonnage=new Integer(value);
		}
	}