private void syncToDocumentSettings() {
		docSettings.getLineEnd().restoreTemporaryToCurrent();
		lineEndComboBox.setSelectedItem(docSettings.getLineEnd().tmp);
		
		docSettings.getSaveEncoding().restoreTemporaryToCurrent();
		saveEncodingComboBox.setSelectedItem(docSettings.getSaveEncoding().tmp);
		
		docSettings.getSaveFormat().restoreTemporaryToCurrent();
		saveFormatComboBox.setSelectedItem(docSettings.getSaveFormat().tmp);
		
		docSettings.getOwnerName().restoreTemporaryToCurrent();
		ownerNameField.setText(docSettings.getOwnerName().tmp);
		
		docSettings.getOwnerEmail().restoreTemporaryToCurrent();
		ownerEmailField.setText(docSettings.getOwnerEmail().tmp);
		
		docSettings.getApplyFontStyleForComments().restoreTemporaryToCurrent();
		applyFontStyleForCommentsCheckBox.setSelected(docSettings.getApplyFontStyleForComments().tmp);
		
		docSettings.getApplyFontStyleForEditability().restoreTemporaryToCurrent();
		applyFontStyleForEditabilityCheckBox.setSelected(docSettings.getApplyFontStyleForEditability().tmp);
		
		docSettings.getApplyFontStyleForMoveability().restoreTemporaryToCurrent();
		applyFontStyleForMoveabilityCheckBox.setSelected(docSettings.getApplyFontStyleForMoveability().tmp);
		
		docSettings.getUseCreateModDates().restoreTemporaryToCurrent();
		useCreateModDatesCheckBox.setSelected(docSettings.getUseCreateModDates().tmp);
		
		docSettings.getCreateModDatesFormat().restoreTemporaryToCurrent();
		createModDatesFormatField.setText(docSettings.getCreateModDatesFormat().tmp);
		
		creationDateLabel.setText(docSettings.getDateCreated());
		modificationDateLabel.setText(docSettings.getDateModified());
	}