File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Paragraphs/Adjust-first-column-width/.NET/Adjust-first-column-width Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ static void Main(string[] args)
1717 List < Entity > tables = document . FindAllItemsByProperty ( EntityType . Table , null , null ) ;
1818
1919 // Initialize variables
20- bool isFisrtCell = false ; // Flag to identify the first cell in each row
20+ bool isFirstCell = false ; // Flag to identify the first cell in each row
2121 WTableCell firstCellReference = new WTableCell ( document ) ; // To store the reference to the first cell
2222 float totalCellWidth = 0 ; // Accumulate width of cells except the first one
2323
@@ -29,15 +29,15 @@ static void Main(string[] args)
2929 {
3030 // Reset variables for each row
3131 totalCellWidth = 0 ;
32- isFisrtCell = false ;
32+ isFirstCell = false ;
3333
3434 // Iterate through each cell in the row
3535 foreach ( WTableCell cell in row . Cells )
3636 {
37- if ( ! isFisrtCell )
37+ if ( ! isFirstCell )
3838 {
3939 // Identify the first cell in the row
40- isFisrtCell = true ;
40+ isFirstCell = true ;
4141 firstCellReference = cell ; // Store the first cell reference
4242 }
4343 else
You can’t perform that action at this time.
0 commit comments