Add text to checkbox for blank page printing
Improve pagination for SAMG facing page print
This commit is contained in:
@@ -222,13 +222,6 @@ namespace Volian.Print.Library
|
||||
get { return _PrintedSectionPage; }
|
||||
set { _PrintedSectionPage = value; }
|
||||
}
|
||||
private bool _PrintingSupplmentalInformation = false;
|
||||
public bool PrintingSupplmentalInformation
|
||||
{
|
||||
get { return _PrintingSupplmentalInformation; }
|
||||
set { _PrintingSupplmentalInformation = value; }
|
||||
}
|
||||
|
||||
//private bool _AddBlankPagesForDuplexPrinting = false;
|
||||
//public bool AddBlankPagesForDuplexPrinting // Tells us if a the option to add a blank page is turn on (for procedures with duplex foldouts)
|
||||
//{
|
||||
@@ -987,8 +980,8 @@ namespace Volian.Print.Library
|
||||
{
|
||||
HLSText = hlsText;
|
||||
HasHLSTextId = hlsItemId;
|
||||
MySection = mySection;
|
||||
MyPromsPrinter = myPromsPrinter;
|
||||
MySection = mySection;
|
||||
}
|
||||
private Volian.Svg.Library.Svg BuildSvg(VEPROMS.CSLA.Library.SectionInfo mySection, bool forceLoad)
|
||||
{
|
||||
@@ -1657,6 +1650,7 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (section.DisplayText.ToUpper().Contains("<NO TITLE>") && !section.ActiveFormat.PlantFormat.FormatData.ProcData.PrintNoTitle) printsectlevel = false;
|
||||
}
|
||||
if (MyPromsPrinter.DoingFacingPage) printsectlevel = false; // don't put out section title/number if doing SAMG facing pages
|
||||
if (printsectlevel)
|
||||
{
|
||||
string stitle = section.DisplayText;
|
||||
@@ -1690,8 +1684,14 @@ namespace Volian.Print.Library
|
||||
break;
|
||||
case "{SECTIONLEVELNUMBER}":
|
||||
case "[SECTIONLEVELNUMBER]":
|
||||
plstr = plstr.Replace(token, section.DisplayNumber);
|
||||
_sectLevelNumTtlDiff = (int)pageItem.Row;
|
||||
// don't put out section title/number if doing SAMG facing pages
|
||||
if (!MyPromsPrinter.DoingFacingPage)
|
||||
{
|
||||
plstr = plstr.Replace(token, section.DisplayNumber);
|
||||
_sectLevelNumTtlDiff = (int)pageItem.Row;
|
||||
}
|
||||
else
|
||||
plstr = plstr.Replace(token, "");
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, section.DisplayNumber)));
|
||||
break;
|
||||
case "{METASECTIONNUMBER}": // This will print the top level section number
|
||||
|
Reference in New Issue
Block a user