Compare commits
No commits in common. "1ca341670ec61557d3c74854e54a108665d06255" and "5112c7caffdbb5b4c1cc1d682ee7ea1bd5333d66" have entirely different histories.
1ca341670e
...
5112c7caff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1545,9 +1545,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
//if (tb._FromItem.MyContent.InList(5322)) Console.WriteLine("Here");
|
//if (tb._FromItem.MyContent.InList(5322)) Console.WriteLine("Here");
|
||||||
string str1 = TranGetSectionNumber(tb._ToItem);
|
string str1 = TranGetSectionNumber(tb._ToItem);
|
||||||
// F2024-008 added flag to title case the section number in transitions
|
|
||||||
if (tb._FormatData.TransData.Cap1stCharTransSectionNumber)
|
|
||||||
str1 = CapFirstLetterOnly(str1, 0);
|
|
||||||
if(!tb._ToItem.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert) return str1;
|
if(!tb._ToItem.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert) return str1;
|
||||||
List<ItemInfo> FromSections = GetSections(tb._FromItem.ActiveSection);
|
List<ItemInfo> FromSections = GetSections(tb._FromItem.ActiveSection);
|
||||||
List<ItemInfo> ToSections = GetSections(tb._ToItem.ActiveSection);
|
List<ItemInfo> ToSections = GetSections(tb._ToItem.ActiveSection);
|
||||||
@ -1618,9 +1615,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
sectionTitle = (tb._FormatData.TransData.CapsTransitionsSection ? sectionTitle.ToUpper().Replace(@"\U", @"\u") :
|
sectionTitle = (tb._FormatData.TransData.CapsTransitionsSection ? sectionTitle.ToUpper().Replace(@"\U", @"\u") :
|
||||||
tb._FormatData.TransData.Cap1stCharTransSection ? CapFirstLetterOnly(sectionTitle, 0) :
|
tb._FormatData.TransData.Cap1stCharTransSection ? CapFirstLetterOnly(sectionTitle, 0) :
|
||||||
sectionTitle);
|
sectionTitle);
|
||||||
// F2024-008 Added flag to surround the section title with parenthesis in transitions
|
|
||||||
if (tb._FormatData.TransData.ParensAroundSectionTitle)
|
|
||||||
sectionTitle = string.Format("({0})", sectionTitle);
|
|
||||||
// B2017-236 Replace embedded returns with spaces and trim the spaces from the end of the section title.
|
// B2017-236 Replace embedded returns with spaces and trim the spaces from the end of the section title.
|
||||||
return TrimSectionTitle(sectionTitle);
|
return TrimSectionTitle(sectionTitle);
|
||||||
}
|
}
|
||||||
|
@ -7103,7 +7103,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _Cap1stCharTrans, "@Cap1stCharTrans");
|
return LazyLoad(ref _Cap1stCharTrans, "@Cap1stCharTrans");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Title Case section title
|
|
||||||
private LazyLoad<bool> _Cap1stCharTransSection;
|
private LazyLoad<bool> _Cap1stCharTransSection;
|
||||||
public bool Cap1stCharTransSection
|
public bool Cap1stCharTransSection
|
||||||
{
|
{
|
||||||
@ -7112,24 +7111,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _Cap1stCharTransSection, "@Cap1stCharTransSection");
|
return LazyLoad(ref _Cap1stCharTransSection, "@Cap1stCharTransSection");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Title Case section number
|
|
||||||
private LazyLoad<bool> _Cap1stCharTransSectionNumber;
|
|
||||||
public bool Cap1stCharTransSectionNumber
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return LazyLoad(ref _Cap1stCharTransSectionNumber, "@Cap1stCharTransSectionNumber");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Parens around section title
|
|
||||||
private LazyLoad<bool> _ParensAroundSectionTitle;
|
|
||||||
public bool ParensAroundSectionTitle
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return LazyLoad(ref _ParensAroundSectionTitle, "@ParensAroundSectionTitle");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private LazyLoad<bool> _UseTransitionModifier;
|
private LazyLoad<bool> _UseTransitionModifier;
|
||||||
public bool UseTransitionModifier
|
public bool UseTransitionModifier
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user