Commit 3a849104 authored by AP matsuo koji's avatar AP matsuo koji 😲

nativeを追加

parent 76ceac1f
No preview for this file type
= @FILENAME@
// If disable,set "!" : ":key: " -> ":!key: ".
:doctype: article
:toc: left
:toclevels: 3
:sectnums:
:sectnumlevels: 4
:data-uri:
:hardbreaks:
:experimental:
:imagesdir: Images
// FreePageSize
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
[.text-right]
--
@DATE@ ##YourName##
--
[perface]
== Overview
== Section1Title
== Section2Title
END.
\ No newline at end of file
= @FILENAME@
// If disable,set "!" : ":key: " -> ":!key: ".
:doctype: article
:toc: left
:toclevels: 3
:sectnums:
:sectnumlevels: 4
:data-uri:
:hardbreaks:
:experimental:
:imagesdir: Images
// FreePageSize
+++<style>#header,#content,#footnotes,#footer{max-width:none;}</style>+++
[.text-right]
--
@DATE@ ##YourName##
--
[perface]
== Overview
== Section1Title
== Section2Title
END.
\ No newline at end of file
...@@ -43,7 +43,8 @@ function getTemplateHelp(){ ...@@ -43,7 +43,8 @@ function getTemplateHelp(){
return uHereDoc.hereDoc(function(){/* NoAdjust return uHereDoc.hereDoc(function(){/* NoAdjust
Normal/Meeting/QnA/BasicDesign/TroubleReport から指定する。指定が無い場合はNormal Native/Normal/Meeting/QnA/BasicDesign/TroubleReport から指定する。指定が無い場合はNormal
- Native ネイティブ(Native) config.adoc無し
- Normal 通常(Normal) - Normal 通常(Normal)
- Meeting 議事録(Record of Proceedings) - Meeting 議事録(Record of Proceedings)
- QA Q&A - QA Q&A
...@@ -177,14 +178,16 @@ if (pm.OpenAdocHelp) { ...@@ -177,14 +178,16 @@ if (pm.OpenAdocHelp) {
// configのコピー // configのコピー
var tgtconfigPath = makePath(adocPath.PR(),configPath.FN()); var tgtconfigPath = makePath(adocPath.PR(),configPath.FN());
if ( tgtconfigPath.isExist() ) { if ( !pm.TemplateName.icmp("Native") ) {
if ( tgtconfigPath.isExist() ) {
if (tgtconfigPath.readAllUTF8() != configPath.readAllUTF8()) { if (tgtconfigPath.readAllUTF8() != configPath.readAllUTF8()) {
if ((!pm.bForce)&&(!copySure(tgtconfigPath))) if ((!pm.bForce)&&(!copySure(tgtconfigPath)))
exit(-1); exit(-1);
copyFile(configPath,tgtconfigPath); copyFile(configPath,tgtconfigPath);
} }
} else { } else {
copyFile(configPath,tgtconfigPath); copyFile(configPath,tgtconfigPath);
}
} }
if ( pm.TemplateName.icmp("QA") ) { if ( pm.TemplateName.icmp("QA") ) {
......
...@@ -74,6 +74,7 @@ namespace GetADoc ...@@ -74,6 +74,7 @@ namespace GetADoc
//string ForErrorItem = ""; //string ForErrorItem = "";
string DesignItem = ""; string DesignItem = "";
string MeetingMemoItem = ""; string MeetingMemoItem = "";
string NativeItem = "Native";
if (ToggleButton.IsOn) if (ToggleButton.IsOn)
{ {
NormalItem = "Normal"; NormalItem = "Normal";
...@@ -95,6 +96,7 @@ namespace GetADoc ...@@ -95,6 +96,7 @@ namespace GetADoc
//DocStileBox.Items.Add(ForErrorItem); //DocStileBox.Items.Add(ForErrorItem);
DocStileBox.Items.Add(DesignItem); DocStileBox.Items.Add(DesignItem);
DocStileBox.Items.Add(MeetingMemoItem); DocStileBox.Items.Add(MeetingMemoItem);
DocStileBox.Items.Add(NativeItem);
//前回値を初期値に設定 //前回値を初期値に設定
DocStileBox.SelectedItem = DocStileBox.Items[Properties.Settings.Default.formatSetting]; DocStileBox.SelectedItem = DocStileBox.Items[Properties.Settings.Default.formatSetting];
...@@ -438,6 +440,7 @@ namespace GetADoc ...@@ -438,6 +440,7 @@ namespace GetADoc
//DocStileBox.Items.Add("不具合解析"); //DocStileBox.Items.Add("不具合解析");
DocStileBox.Items.Add("基本設計資料"); DocStileBox.Items.Add("基本設計資料");
DocStileBox.Items.Add("議事録"); DocStileBox.Items.Add("議事録");
DocStileBox.Items.Add("Native");
DocStileBox.SelectedItem = DocStileBox.Items[SelectNum]; DocStileBox.SelectedItem = DocStileBox.Items[SelectNum];
ToggleButton.IsOn = false; ToggleButton.IsOn = false;
...@@ -480,6 +483,7 @@ namespace GetADoc ...@@ -480,6 +483,7 @@ namespace GetADoc
//DocStileBox.Items.Add("Troubleshooting"); //DocStileBox.Items.Add("Troubleshooting");
DocStileBox.Items.Add("Basic Design"); DocStileBox.Items.Add("Basic Design");
DocStileBox.Items.Add("Record of proceedings"); DocStileBox.Items.Add("Record of proceedings");
DocStileBox.Items.Add("Native");
DocStileBox.SelectedItem = DocStileBox.Items[SelectNum]; DocStileBox.SelectedItem = DocStileBox.Items[SelectNum];
ToggleButton.IsOn = true; ToggleButton.IsOn = true;
......
...@@ -85,6 +85,10 @@ namespace GetADoc ...@@ -85,6 +85,10 @@ namespace GetADoc
{ {
processStartInfo.Arguments += "/Template Meeting "; processStartInfo.Arguments += "/Template Meeting ";
} }
else if (tempType == "Native")
{
processStartInfo.Arguments += "/Templete Native ";
}
else else
{ {
processStartInfo.Arguments += "/Template Normal "; processStartInfo.Arguments += "/Template Normal ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment