Development #481
@@ -6887,7 +6887,13 @@ namespace Volian.Print.Library
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
			else if (itemInfo.IsSection)
 | 
								else if (itemInfo.IsSection)
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				Width = ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO);
 | 
									// B2023-074 The itemInfo we are processing is a section (number and title). Change maxRNO to zero to getting the width.
 | 
				
			||||||
 | 
									//           The Width is used when printing the section number and title (when the check box on the properties page is checked)
 | 
				
			||||||
 | 
									//           and is assumemed the section is a single column section (maxRNO = 0) and uses the format variable WidSTablePrint
 | 
				
			||||||
 | 
									//           which holds the widths for then the section has one column, two column, or three column.
 | 
				
			||||||
 | 
									//           For printing section numbers and titles like this, we always want to accomodate for lone section title text.
 | 
				
			||||||
 | 
									//           So the initial width should always be set to the one column width value so that it can spane across the page.
 | 
				
			||||||
 | 
									Width = ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, 0);
 | 
				
			||||||
				float adjwidths = 0;
 | 
									float adjwidths = 0;
 | 
				
			||||||
				adjwidths = AdjustMetaWidth(itemInfo, formatInfo, adjwidths, false);
 | 
									adjwidths = AdjustMetaWidth(itemInfo, formatInfo, adjwidths, false);
 | 
				
			||||||
				Width += (adjwidths + _WidthAdjust);
 | 
									Width += (adjwidths + _WidthAdjust);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user