diff --git a/Release/GetADocGUI.exe b/Release/GetADocGUI.exe index 402f1402871fe08d745f6e72bed66fab81934195..6564089fdf2ac602862aa48ad49ca63f70edb1b7 100644 Binary files a/Release/GetADocGUI.exe and b/Release/GetADocGUI.exe differ diff --git a/Release/getADoc.Data/adocTPL/tmpl_Native/tmpl_Native.en.adoc b/Release/getADoc.Data/adocTPL/tmpl_Native/tmpl_Native.en.adoc new file mode 100644 index 0000000000000000000000000000000000000000..54d7352b72755fdb7832346ef6f60dd02aea96eb --- /dev/null +++ b/Release/getADoc.Data/adocTPL/tmpl_Native/tmpl_Native.en.adoc @@ -0,0 +1,28 @@ += @FILENAME@ +// If disable,set "!" : ":key: " -> ":!key: ". +:doctype: article +:toc: left +:toclevels: 3 +:sectnums: +:sectnumlevels: 4 +:data-uri: +:hardbreaks: +:experimental: +:imagesdir: Images + +// FreePageSize +++++++ + +[.text-right] +-- +@DATE@ ##YourName## +-- + +[perface] +== Overview + +== Section1Title + +== Section2Title + +END. \ No newline at end of file diff --git a/Release/getADoc.Data/adocTPL/tmpl_Native/tmpl_Native.ja.adoc b/Release/getADoc.Data/adocTPL/tmpl_Native/tmpl_Native.ja.adoc new file mode 100644 index 0000000000000000000000000000000000000000..54d7352b72755fdb7832346ef6f60dd02aea96eb --- /dev/null +++ b/Release/getADoc.Data/adocTPL/tmpl_Native/tmpl_Native.ja.adoc @@ -0,0 +1,28 @@ += @FILENAME@ +// If disable,set "!" : ":key: " -> ":!key: ". +:doctype: article +:toc: left +:toclevels: 3 +:sectnums: +:sectnumlevels: 4 +:data-uri: +:hardbreaks: +:experimental: +:imagesdir: Images + +// FreePageSize +++++++ + +[.text-right] +-- +@DATE@ ##YourName## +-- + +[perface] +== Overview + +== Section1Title + +== Section2Title + +END. \ No newline at end of file diff --git a/Release/getADoc.Data/getADoc.bat b/Release/getADoc.Data/getADoc.bat index 0aa94ec1548dde3f0dfc83cf77acd129aa6138cf..22b813adc0a44aa8c57f9cb953a4a900dac7e2d9 100644 --- a/Release/getADoc.Data/getADoc.bat +++ b/Release/getADoc.Data/getADoc.bat @@ -43,7 +43,8 @@ function getTemplateHelp(){ return uHereDoc.hereDoc(function(){/* NoAdjust - Normal/Meeting/QnA/BasicDesign/TroubleReport から指定する。指定が無い場合はNormal + Native/Normal/Meeting/QnA/BasicDesign/TroubleReport から指定する。指定が無い場合はNormal + - Native ネイティブ(Native) config.adoc無し - Normal 通常(Normal) - Meeting 議事録(Record of Proceedings) - QA Q&A @@ -177,14 +178,16 @@ if (pm.OpenAdocHelp) { // configのコピー var tgtconfigPath = makePath(adocPath.PR(),configPath.FN()); -if ( tgtconfigPath.isExist() ) { - if (tgtconfigPath.readAllUTF8() != configPath.readAllUTF8()) { - if ((!pm.bForce)&&(!copySure(tgtconfigPath))) - exit(-1); +if ( !pm.TemplateName.icmp("Native") ) { + if ( tgtconfigPath.isExist() ) { + if (tgtconfigPath.readAllUTF8() != configPath.readAllUTF8()) { + if ((!pm.bForce)&&(!copySure(tgtconfigPath))) + exit(-1); + copyFile(configPath,tgtconfigPath); + } + } else { copyFile(configPath,tgtconfigPath); } -} else { - copyFile(configPath,tgtconfigPath); } if ( pm.TemplateName.icmp("QA") ) { diff --git a/Src_UI/MainWindow.xaml.cs b/Src_UI/MainWindow.xaml.cs index 8c0208b60d04f4e82bb1d48b2a896e47bd79417c..d8036e4d7b282cd60eea1c4febcf20fbad08aa9f 100644 --- a/Src_UI/MainWindow.xaml.cs +++ b/Src_UI/MainWindow.xaml.cs @@ -74,6 +74,7 @@ namespace GetADoc //string ForErrorItem = ""; string DesignItem = ""; string MeetingMemoItem = ""; + string NativeItem = "Native"; if (ToggleButton.IsOn) { NormalItem = "Normal"; @@ -95,6 +96,7 @@ namespace GetADoc //DocStileBox.Items.Add(ForErrorItem); DocStileBox.Items.Add(DesignItem); DocStileBox.Items.Add(MeetingMemoItem); + DocStileBox.Items.Add(NativeItem); //蜑榊屓蛟、繧貞晄悄蛟、縺ォ險ュ螳 DocStileBox.SelectedItem = DocStileBox.Items[Properties.Settings.Default.formatSetting]; @@ -438,6 +440,7 @@ namespace GetADoc //DocStileBox.Items.Add("荳榊キ蜷郁ァ」譫"); DocStileBox.Items.Add("蝓コ譛ャ險ュ險郁ウ譁"); DocStileBox.Items.Add("隴ー莠矩鹸"); + DocStileBox.Items.Add("Native"); DocStileBox.SelectedItem = DocStileBox.Items[SelectNum]; ToggleButton.IsOn = false; @@ -480,6 +483,7 @@ namespace GetADoc //DocStileBox.Items.Add("Troubleshooting"); DocStileBox.Items.Add("Basic Design"); DocStileBox.Items.Add("Record of proceedings"); + DocStileBox.Items.Add("Native"); DocStileBox.SelectedItem = DocStileBox.Items[SelectNum]; ToggleButton.IsOn = true; diff --git a/Src_UI/RunBatch.cs b/Src_UI/RunBatch.cs index 18b0bf35de14576018d94f5e4e48d05a93d04c25..6d80c5850922b0c7d7bd598ce173898020143e59 100644 --- a/Src_UI/RunBatch.cs +++ b/Src_UI/RunBatch.cs @@ -85,6 +85,10 @@ namespace GetADoc { processStartInfo.Arguments += "/Template Meeting "; } + else if (tempType == "Native") + { + processStartInfo.Arguments += "/Templete Native "; + } else { processStartInfo.Arguments += "/Template Normal ";