Subversion Repositories DevTools

Rev

Rev 2232 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2232 Rev 2234
Line 4865... Line 4865...
4865
{
4865
{
4866
	TxnFieldComments->Lines->Clear();
4866
	TxnFieldComments->Lines->Clear();
4867
	FieldEnumValues->Clear();
4867
	FieldEnumValues->Clear();
4868
	FieldDatatype->Clear();
4868
	FieldDatatype->Clear();
4869
	DocDataType->Clear();
4869
	DocDataType->Clear();
-
 
4870
	IncludedInMac->Checked = false;
4870
 
4871
 
4871
	if ( query.State != dsInactive && query.RecordCount )
4872
	if ( query.State != dsInactive && query.RecordCount )
4872
	{
4873
	{
4873
		if (!m_schema_handle.empty())
4874
		if (!m_schema_handle.empty())
4874
		{
4875
		{
Line 4884... Line 4885...
4884
				if (!field_path.empty())
4885
				if (!field_path.empty())
4885
				{
4886
				{
4886
					std::string	fieldcomments;
4887
					std::string	fieldcomments;
4887
					std::string	datatype;
4888
					std::string	datatype;
4888
					std::string	docdatatype;
4889
					std::string	docdatatype;
-
 
4890
					std::string	includedInMac;
4889
 
4891
 
4890
					XMLSchema->GetAttributeProperty(field_path, "comments", fieldcomments);
4892
					XMLSchema->GetAttributeProperty(field_path, "comments", fieldcomments);
4891
					TxnFieldComments->Lines->Add(fieldcomments.c_str());
4893
					TxnFieldComments->Lines->Add(fieldcomments.c_str());
4892
 
4894
 
4893
					XMLSchema->GetAttributeProperty(field_path, "datatype", datatype);
4895
					XMLSchema->GetAttributeProperty(field_path, "datatype", datatype);
4894
					FieldDatatype->Text = datatype.c_str();
4896
					FieldDatatype->Text = datatype.c_str();
4895
 
4897
 
4896
					XMLSchema->GetAttributeProperty(field_path, "docdatatype", docdatatype );
4898
					XMLSchema->GetAttributeProperty(field_path, "docdatatype", docdatatype );
4897
					DocDataType->Text = docdatatype.c_str();
4899
					DocDataType->Text = docdatatype.c_str();
4898
 
4900
 
-
 
4901
					XMLSchema->GetAttributeProperty(field_path, "inMac", includedInMac );
-
 
4902
					IncludedInMac->Checked = ( includedInMac == "true" );
-
 
4903
 
4899
					string valuemap;
4904
					string valuemap;
4900
 
4905
 
4901
					XMLSchema->GetAttributeProperty(field_path, "valuemap", valuemap);
4906
					XMLSchema->GetAttributeProperty(field_path, "valuemap", valuemap);
4902
 
4907
 
4903
					if (!valuemap.empty())
4908
					if (!valuemap.empty())
Line 5104... Line 5109...
5104
		const bool				buildManifest	= GenerationPropertiesForm->BuildManifestCheckBox->Checked;
5109
		const bool				buildManifest	= GenerationPropertiesForm->BuildManifestCheckBox->Checked;
5105
		const std::string		manifestPrefix	= GenerationPropertiesForm->ManifestPrefixEdit->Text.c_str();
5110
		const std::string		manifestPrefix	= GenerationPropertiesForm->ManifestPrefixEdit->Text.c_str();
5106
		const std::string		manifestSuffix	= GenerationPropertiesForm->ManifestSuffixEdit->Text.c_str();
5111
		const std::string		manifestSuffix	= GenerationPropertiesForm->ManifestSuffixEdit->Text.c_str();
5107
		const std::string		securityServer	= GenerationPropertiesForm->SecurityServerPipeEdit->Text.c_str();
5112
		const std::string		securityServer	= GenerationPropertiesForm->SecurityServerPipeEdit->Text.c_str();
5108
		const unsigned short	keyNumber		= GenerationPropertiesForm->KeyNumberEdit->Text.ToInt();
5113
		const unsigned short	keyNumber		= GenerationPropertiesForm->KeyNumberEdit->Text.ToInt();
5109
		const unsigned short	keyVersion		= -2;
5114
		const unsigned short	keyVersion		= GenerationPropertiesForm->KeyVersionEdit->Text.ToInt();
5110
		const std::string		pathmapTarget	= GenerationPropertiesForm->PathmapTargetEdit->Text.c_str();
5115
		const std::string		pathmapTarget	= GenerationPropertiesForm->PathmapTargetEdit->Text.c_str();
5111
		const int				macAlgorithm	= GenerationPropertiesForm->MacAlgorithmComboBox->ItemIndex;
5116
		const int				macAlgorithm	= GenerationPropertiesForm->MacAlgorithmComboBox->ItemIndex;
5112
 
5117
 
5113
		/**
5118
		/**
5114
			Create a transaction stream into our generation folder, and generate
5119
			Create a transaction stream into our generation folder, and generate