This commit is contained in:
@@ -1232,7 +1232,7 @@ namespace VEPROMS.CSLA.Library
|
||||
#endregion
|
||||
public int FoldoutIndex()
|
||||
{
|
||||
if ((ActiveSection.MyDocStyle.StructureStyle.Style ?? 0 & E_DocStructStyle.UseSectionFoldout) != 0) return 0;
|
||||
if (ActiveFormat.PlantFormat.FormatData.PrintData.SectionLevelFoldouts && (ActiveSection.MyDocStyle.StructureStyle.Style ?? 0 & E_DocStructStyle.UseSectionFoldout) != 0) return 0;
|
||||
// now check for floating foldouts. If there is a floating foldout, also find which one it uses.
|
||||
// This is data off of the ?
|
||||
if (ActiveFormat.PlantFormat.FormatData.PrintData.AlternateFloatingFoldout && ActiveSection.IsDefaultSection)
|
||||
@@ -2395,7 +2395,7 @@ namespace VEPROMS.CSLA.Library
|
||||
_MyTab.Text = "";
|
||||
_MyTab.CleanText = "";
|
||||
return;
|
||||
}
|
||||
}
|
||||
int stepType = (int)(MyContent.Type % 10000);
|
||||
string tbformat = IsInRNO ? FormatStepData.TabData.RNOIdentPrint : FormatStepData.TabData.IdentPrint;
|
||||
if (ActiveFormat.Name.ToUpper() == "WCNCKL" || ActiveFormat.Name.ToUpper() == "WSTCKL")
|
||||
@@ -2545,7 +2545,7 @@ namespace VEPROMS.CSLA.Library
|
||||
string roman = RomanNumbering(ordinal);
|
||||
tbformat = tbformat.Replace("{roman}", roman.ToLower());
|
||||
tbformat = tbformat.Replace("{ROMAN}", roman);
|
||||
tbformat = tbformat.Replace("{numeric}", trimTabStart ? ordinal.ToString() : ordinal.ToString().PadLeft(2));
|
||||
tbformat = tbformat.Replace("{numeric}", trimTabStart ? ordinal.ToString() : FormatStepData.AtLeastTwoDigits ? ordinal.ToString().PadLeft(2,'0') : ordinal.ToString().PadLeft(2));
|
||||
tbformat = tbformat.Replace("{numericWpar}", ordinal.ToString());
|
||||
if (tbformat.Contains("{asterisk}"))
|
||||
{
|
||||
@@ -2713,9 +2713,14 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
if (ii.DisplayNumber != null && ii.DisplayNumber != "")
|
||||
{
|
||||
SectionConfig sc = ii.MyConfig as SectionConfig;
|
||||
if (sc != null && sc.SubSection_AutoIndent == "Y")
|
||||
countlev++;
|
||||
SectionInfo si = SectionInfo.Get(ii.ItemID);
|
||||
if (si != null)
|
||||
{
|
||||
SectionConfig sc = new SectionConfig(si);
|
||||
//SectionConfig sc = ii.MyConfig as SectionConfig;
|
||||
if (sc != null && sc.SubSection_AutoIndent == "Y")
|
||||
countlev++;
|
||||
}
|
||||
}
|
||||
ii = ii.MyParent;
|
||||
}
|
||||
|
Reference in New Issue
Block a user