C2026 043 tech debt v1 #817
@@ -288,8 +288,20 @@ namespace Volian.Print.Library
|
||||
MyFlexGrid = myFlexGrid;
|
||||
MyContentByte = myContentByte;
|
||||
SetupCells();
|
||||
//Note - this is done in case goes outside boundries to set bounds of cell
|
||||
//loops through cells - side effect code checks for merged cells
|
||||
foreach (vlnCell cell in this)
|
||||
{
|
||||
myTable.MyShading = VlnGridCellShading.Get(myFlexGrid.MyShading.ConvertToString()); // C2021-004 Table Cell Shading
|
||||
myTable.MyBorders = VlnBorders.Get(myFlexGrid.MyBorders.ConvertToString());
|
||||
_ = cell.AboveLeftSide;
|
||||
_ = cell.AboveRightSide;
|
||||
_ = cell.BelowLeftSide;
|
||||
_ = cell.BelowRightSide;
|
||||
_ = cell.RightOfBottomSide;
|
||||
_ = cell.RightOfTopSide;
|
||||
_ = cell.TextAlign;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
public float MyLeading { get; set; } = 13.5F;
|
||||
@@ -454,7 +466,7 @@ namespace Volian.Print.Library
|
||||
|
||||
// If a hard hyphen is found, the remove it and add a dash (keyboard minus sign) to the beginning
|
||||
// of the text that follows it.
|
||||
int hype=-1;
|
||||
int hype;
|
||||
while ((hype = GetHyphen(myPara)) > -1)
|
||||
{
|
||||
Font fnt = null;
|
||||
@@ -550,7 +562,7 @@ namespace Volian.Print.Library
|
||||
|
||||
// If a backslash symbold is found, the remove it and add a backslash (keyboard char) to the beginning
|
||||
// of the text that follows it.
|
||||
int bckSlsh = -1;
|
||||
int bckSlsh;
|
||||
while ((bckSlsh = GetBackslash(myPara)) > -1)
|
||||
{
|
||||
Font fnt = null;
|
||||
|
||||
Reference in new issue
Block a user