マスタエディタ:使用ライセンスをSpreadSheetファイルに記述する処理を追加。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2211 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
nishikawa_takeshi 2008-08-21 00:28:48 +00:00
parent 66d4b40f08
commit 15392c839d
4 changed files with 14 additions and 0 deletions

View File

@ -107,6 +107,16 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
access += "commonClientKey(Debug). ";
}
// 使用ライセンス
System::String ^lib = gcnew System::String("");
if( hSrl->hLicenseList != nullptr )
{
for each( RCLicense ^lic in hSrl->hLicenseList )
{
lib += lic->Publisher + " " + lic->Name + ". ";
}
}
// 書類テンプレートの各タグを入力情報に置き換え
System::Xml::XmlNodeList ^list;
list = root->GetElementsByTagName( "Data" );
@ -224,6 +234,10 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
{
node->FirstChild->Value = this->hSDK;
}
if( node->FirstChild->Value->Equals( "TagLibrary" ) )
{
node->FirstChild->Value = lib;
}
// ROM情報 (TWL拡張情報)
if( node->FirstChild->Value->Equals( "TagEULAVersion" ) )
{