Internal only – commenting Table Scrunch code

This commit is contained in:
2022-06-29 10:28:25 +00:00
parent cac64aee18
commit 0cf054ea05
4 changed files with 71 additions and 43 deletions

View File

@@ -15,20 +15,22 @@ using VEPROMS.CSLA.Library;
namespace Volian.Print.Library
{
[Flags]
// TableScrunching is used to allow for turning off/on various parts of the table scrunch test & data manipulation
public enum TableScrunching:short // RHM20150507 Table Scrunch
{
None=0,
Phase1=1,
Phase2=2,
Phase3=4,
Phase4=8,
Phase5=16,
Phase6=32,
Phase7=64,
Phase8=128,
Phase9=256,
Phase10=512,
AllPhases=1+2+4+8+16+32+64+128+256+512
Phase1=1, // Checks if height of table greater than what will fit on current page. (in setup)
Phase2=2, // Remove any blank space between bottom of text & line in a table cell. (in setup)
Phase3=4, // Removes new lines at end of text. (in setup)
Phase4=8, // Determines height of content, i.e. text in cell, uses leading (height of line). (in setup)
Phase5=16, // Make contents of the row a little bigger than max (max may be for merged cells). (in setup)
Phase6=32, // Has no affect - YAdjust_h is set to 0. May have been used for testing/trying options. (in ToPdf)
Phase7 =64, // Adjust y location of text: by 0 or by 1 if printing 7LPI
Phase8=128, // not used
Phase9=256, // not used
Phase10=512, // not used
AllPhases=1+2+4+8+16+32+64+128+256+512 // The default, and always used unless printing from UI list of items
}
public class Rtf2Pdf
{