From b45332c5bab470a08d2d1645f479acdf856844f6 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 16 Jul 2019 17:11:23 +0000 Subject: [PATCH] =?UTF-8?q?B2019-093=20=E2=80=93=20moved=20the=20table=20c?= =?UTF-8?q?ell=20text=20up=20a=20little=20bit=20so=20that=20it=20fits=20be?= =?UTF-8?q?tter=20in=20the=20table.=20For=20South=20Texas,=20was=20causing?= =?UTF-8?q?=20some=20cell=20text=20not=20to=20print=20(FSG20=20step=201)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/Grid2Pdf.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Print.Library/Grid2Pdf.cs b/PROMS/Volian.Print.Library/Grid2Pdf.cs index 85054696..14f63429 100644 --- a/PROMS/Volian.Print.Library/Grid2Pdf.cs +++ b/PROMS/Volian.Print.Library/Grid2Pdf.cs @@ -1364,7 +1364,10 @@ namespace Volian.Print.Library adjustTextLocation = mult * 0; if (mult != 1F) adjustTextLocation=1; } - myColumnText1.SetSimpleColumn(1 + left + x, top - y - h, left + x + w - 2, 1 + top - y - hAdjust - adjustTextLocation); // 2 == Default Padding + // B2019-093 missing table cell text when printing South Texas FSG-20 step 1 + // Added two more to the last parameter of SetSimplColun (it's the ury value - upper y value) + // this will have the cell text print a little more toward the top of the cell + myColumnText1.SetSimpleColumn(1 + left + x, top - y - h, left + x + w - 2, 3 + top - y - hAdjust - adjustTextLocation); // 2 == Default Padding // B2018-003 - RHM 20180319 Change Debug Output string dbg = string.Format("Row={0}, Col={1}, Leading={2}, SpacingBefore={3}", r1, c1, MyPara.TotalLeading, MyPara.SpacingBefore); // B2018-033 VCS SAG-6 Steps 3 and 9 and SACRG1 Step 13 @@ -1379,7 +1382,7 @@ namespace Volian.Print.Library _MyPageHelper.YMultiplier, ShowText(MyPara.Content.Substring(0, Math.Min(20, MyPara.Content.Length)))); } // C2018-004 create meta file for baseline compares - Volian.Base.Library.BaselineMetaFile.WriteLine(" R {0} C {1} Y {2} H {3} Top {4} hAdj {5} TxtLocAdj {6}", r1, c1, y, h, top, hAdjust,adjustTextLocation); + Volian.Base.Library.BaselineMetaFile.WriteLine(" R {0} C {1} Y {2} H {3} Top {4} hAdj {5} TxtLocAdj {6}", r1, c1, y, h, 2+top, hAdjust,adjustTextLocation); foreach (Chunk chk1 in MyPara.Chunks) { string ctai = Rtf2Pdf.ChunkTextAttributesInfo(chk1);