Added an ‘Attachment x’ transition type where x is the section number (or letter)

Fixed B2014-038: range transition has ‘and and’ in text
This commit is contained in:
Kathy Ruffing 2014-03-11 12:39:22 +00:00
parent 3a2d83477d
commit bd19f92dff
2 changed files with 6 additions and 1 deletions

View File

@ -456,7 +456,8 @@ namespace VEPROMS.CSLA.Library
{
if (HasText && Prefix != null)
{
_Results.Append(Prefix);
if (!_Results.ToString().EndsWith(_Prefix))
_Results.Append(Prefix);
_Prefix = null;
}
else if (_TranType == 4 && _ToItem.MoreThanOneStepSection())

View File

@ -13,6 +13,10 @@ namespace fmtxml
fmtdata.TransData.Underline = "True";
fmtdata.StepData[2].TabData.Ident = "{Section Prefix}{numeric} ";
fmtdata.StepData[3].TabData.Ident = "{!C0}{numeric} ";
fmtdata.TransData.TransTypeData[7].TransType = 4;
fmtdata.TransData.TransTypeData[7].TransFormat = "Attachment {Sect Num}{First Step}";
fmtdata.TransData.TransTypeData[7].TransMenu = "Attachment {Sect Num}{First Step} ( To a different section )";
fmtdata.TransData.TransTypeData[7].TransUI = "ProcCur, SectMenuAny, StepAllowNone, StepFirst";
}
private void AddWEP2Overridefmt(ref FormatData fmtdata)
{