B2021-119: Large section titles on Landscape Word Attachments are printing on 2 lines
B2021-119: BNPP1 - Large section titles on Landscape Word Attachments are printing on 2 lines
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -2394,6 +2394,14 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
				return LazyLoad(ref _SectionNumberAndTitleLength, "@SectionNumberAndTitleLength");
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		private LazyLoad<int?> _SectNumAndTlLenLand;  // B2021-119: large titles on Landscape Word Attachments are printing on 2 lines.
 | 
			
		||||
		public int? SectNumAndTlLenLand
 | 
			
		||||
		{
 | 
			
		||||
			get
 | 
			
		||||
			{
 | 
			
		||||
				return LazyLoad(ref _SectNumAndTlLenLand, "@SectNumAndTlLenLand");
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		private LazyLoad<string> _ForeColor;
 | 
			
		||||
		public string ForeColor
 | 
			
		||||
		{
 | 
			
		||||
 
 | 
			
		||||
@@ -1861,7 +1861,12 @@ i = 0;
 | 
			
		||||
							string myMsg = section.MyDocStyle.Continue.Top.Message;
 | 
			
		||||
							if (myMsg != null && myMsg != "")stitle = stitle + myMsg;
 | 
			
		||||
						}
 | 
			
		||||
						plstr = SplitTitle(svgGroup, pageItem, stitle, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength);
 | 
			
		||||
						// B2021-119: large titles on Landscape Word Attachments are printing on 2 lines.
 | 
			
		||||
						int? stl = (int)section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength;
 | 
			
		||||
						if (section.MyDocStyle.LandscapePageList && section.ActiveFormat.PlantFormat.FormatData.SectData.SectNumAndTlLenLand != null)
 | 
			
		||||
							stl = section.ActiveFormat.PlantFormat.FormatData.SectData.SectNumAndTlLenLand;
 | 
			
		||||
 | 
			
		||||
						plstr = SplitTitle(svgGroup, pageItem, stitle, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, stl);
 | 
			
		||||
						if ((pageItem.Justify & VEPROMS.CSLA.Library.E_Justify.PSOnlyFirst) == VEPROMS.CSLA.Library.E_Justify.PSOnlyFirst) // B2020-047 only set PrintedSectionPage if PSOnly is used
 | 
			
		||||
							PrintedSectionPage = (int)pageItem.Row - _sectLevelNumTtlDiff;
 | 
			
		||||
					}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user