private void applyChanges() {
		updateGUI();
		
		// Record all the changes.
		docSettings.getLineEnd().applyTemporaryToCurrent();
		docSettings.getSaveEncoding().applyTemporaryToCurrent();
		docSettings.getSaveFormat().applyTemporaryToCurrent();
		docSettings.getOwnerName().applyTemporaryToCurrent();
		docSettings.getOwnerEmail().applyTemporaryToCurrent();
		docSettings.getApplyFontStyleForComments().applyTemporaryToCurrent();
		docSettings.getApplyFontStyleForEditability().applyTemporaryToCurrent();
		docSettings.getApplyFontStyleForMoveability().applyTemporaryToCurrent();
		docSettings.getUseCreateModDates().applyTemporaryToCurrent();
		docSettings.getCreateModDatesFormat().applyTemporaryToCurrent();
		docSettings.updateSimpleDateFormat(docSettings.getCreateModDatesFormat().cur);
	}