Compare commits
9 Commits
C2025-063
...
a7a5df1991
| Author | SHA1 | Date | |
|---|---|---|---|
| a7a5df1991 | |||
| 62a296f909 | |||
| 0a301e1a84 | |||
| 37e727202c | |||
| 49bdd03c1c | |||
| 23f4b672b2 | |||
| 599d45086f | |||
| 93aed0e06a | |||
| fa8b0bd6a1 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4341,6 +4341,16 @@ public LeftJustifyList(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
|||||||
return LazyLoad(ref _IncludeSectionNumAndTitle, "@IncludeSectionNumAndTitle");
|
return LazyLoad(ref _IncludeSectionNumAndTitle, "@IncludeSectionNumAndTitle");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//F2025-038 default (in base format) is True. The lable "SECTION" will precede the section number an title
|
||||||
|
private LazyLoad<bool> _IncludeSectionLabel;
|
||||||
|
public bool IncludeSectionLabel
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _IncludeSectionLabel, "@IncludeSectionLabel");
|
||||||
|
}
|
||||||
|
}
|
||||||
// the font and font styles to use for the continuous action summary
|
// the font and font styles to use for the continuous action summary
|
||||||
private VE_Font _Font;
|
private VE_Font _Font;
|
||||||
public VE_Font Font
|
public VE_Font Font
|
||||||
|
|||||||
@@ -136,7 +136,32 @@ namespace Volian.Controls.Library
|
|||||||
//C2019-036 View Only mode work with Checked Out Procedures
|
//C2019-036 View Only mode work with Checked Out Procedures
|
||||||
//is in View Only Mode, so do not set up the Security
|
//is in View Only Mode, so do not set up the Security
|
||||||
if (OwnerID == 0)
|
if (OwnerID == 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
UserInfo uiViewOnly = UserInfo.GetByUserID(Base.Library.VlnSettings.UserID);
|
||||||
|
if (uiViewOnly.IsAdministrator())
|
||||||
|
{
|
||||||
|
MyUserRole = $"{Base.Library.VlnSettings.UserID} - Administrator";
|
||||||
|
}
|
||||||
|
else if (uiViewOnly.IsSetAdministrator(myItem.MyDocVersion))
|
||||||
|
{
|
||||||
|
MyUserRole = $"{Base.Library.VlnSettings.UserID} - Set Administrator";
|
||||||
|
}
|
||||||
|
else if (uiViewOnly.IsWriter(myItem.MyDocVersion))
|
||||||
|
{
|
||||||
|
MyUserRole = $"{Base.Library.VlnSettings.UserID} - Writer";
|
||||||
|
}
|
||||||
|
else if (uiViewOnly.IsROEditor(myItem.MyDocVersion))
|
||||||
|
{
|
||||||
|
MyUserRole = $"{Base.Library.VlnSettings.UserID} - RO Editor";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MyUserRole = $"{Base.Library.VlnSettings.UserID} - Reviewer";
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
UserInfo ui = UserInfo.GetByUserID(OwnerInfo.Get(OwnerID).SessionUserID);
|
UserInfo ui = UserInfo.GetByUserID(OwnerInfo.Get(OwnerID).SessionUserID);
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
if (myContAct.MyChildren.Count > 0)
|
if (myContAct.MyChildren.Count > 0)
|
||||||
if (myContAct.MyParagraph.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.AccSectionData.ContinuousActionSummaryData.IncludeSectionNumAndTitle) // only print the section title if it has Continuous Action Steps
|
if (myContAct.MyParagraph.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.AccSectionData.ContinuousActionSummaryData.IncludeSectionNumAndTitle) // only print the section title if it has Continuous Action Steps
|
||||||
AddSectionHeader(myContAct.MyParagraph.MyItemInfo.DisplayNumber, myContAct.MyParagraph.MyItemInfo.FormattedDisplayText);
|
AddSectionHeader(myContAct.MyParagraph.MyItemInfo.DisplayNumber, myContAct.MyParagraph.MyItemInfo.FormattedDisplayText, myContAct.MyParagraph.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.AccSectionData.ContinuousActionSummaryData.IncludeSectionLabel);
|
||||||
foreach (pkParagraph pgh in myContAct.MyChildren) // within each section...
|
foreach (pkParagraph pgh in myContAct.MyChildren) // within each section...
|
||||||
{
|
{
|
||||||
ItemInfo hlsii = GetHLSii(pgh.MyParagraph.MyItemInfo);
|
ItemInfo hlsii = GetHLSii(pgh.MyParagraph.MyItemInfo);
|
||||||
@@ -175,7 +175,7 @@ namespace Volian.Print.Library
|
|||||||
WriteCell("DONE", true, true);
|
WriteCell("DONE", true, true);
|
||||||
WriteCell("PAGE", true, false);
|
WriteCell("PAGE", true, false);
|
||||||
}
|
}
|
||||||
private void AddSectionHeader(string number, string title)
|
private void AddSectionHeader(string number, string title, bool IncludeSectionLabel)
|
||||||
{
|
{
|
||||||
if (!_FirstSection)
|
if (!_FirstSection)
|
||||||
{
|
{
|
||||||
@@ -187,7 +187,10 @@ namespace Volian.Print.Library
|
|||||||
_FirstSection = false;
|
_FirstSection = false;
|
||||||
Advance(2);
|
Advance(2);
|
||||||
SetIndent(0, 0);
|
SetIndent(0, 0);
|
||||||
|
if (IncludeSectionLabel)
|
||||||
WriteCell("SECTION " + number, true, false);
|
WriteCell("SECTION " + number, true, false);
|
||||||
|
else
|
||||||
|
WriteCell(number, true, false); // F2025-038 don't include the word SECTION before number and title
|
||||||
WriteCell(" " + title, false, true);
|
WriteCell(" " + title, false, true);
|
||||||
Advance();
|
Advance();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user