This commit is contained in:
@@ -1253,7 +1253,7 @@ namespace VEPROMS.CSLA.Library
|
||||
#endregion
|
||||
public int FoldoutIndex()
|
||||
{
|
||||
if (ActiveFormat.PlantFormat.FormatData.PrintData.SectionLevelFoldouts && (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) == E_DocStructStyle.UseSectionFoldout)) 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)
|
||||
@@ -2544,10 +2544,10 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
if (tbformat.IndexOf("#2#") > -1 || tbformat.IndexOf("#1#") > -1)
|
||||
{
|
||||
string ofst = tbformat.Substring(0, 3);
|
||||
_MyTab.Offset = Convert.ToInt32(ofst.Substring(1, 1));
|
||||
cltext = tbformat.Replace("#2#", "");
|
||||
cltext = cltext.Replace("#1#", "");
|
||||
int indxlb = tbformat.IndexOf("#");
|
||||
string ofst = tbformat.Substring(indxlb+1, 3);
|
||||
_MyTab.Offset = Convert.ToInt32(ofst.Substring(0, 1)) * 10;
|
||||
tbformat = tbformat.Replace("#2#", "").Replace("#1#", "");
|
||||
}
|
||||
// if this is a caution/note type determine where 'NOTE/CAUTION' tab goes, as tab or as 'header'
|
||||
// and also determine whether the tab itself gets converted to a bullet.
|
||||
|
Reference in New Issue
Block a user