@@ -8,9 +8,9 @@ type FsTable with
88 member this.IsEmpty ( c : FsCellsCollection ) =
99 this.RangeAddress.Range = " A1:A1"
1010 &&
11- ( this.Cell( FsAddress( " A1" ), c) .Value = null )
11+ ( this.Cell( FsAddress.fromString ( " A1" ), c) .Value = null )
1212 ||
13- ( this.Cell( FsAddress( " A1" ), c) .Value = " " )
13+ ( this.Cell( FsAddress.fromString ( " A1" ), c) .Value = " " )
1414
1515module Parameter =
1616
@@ -435,7 +435,7 @@ let addSpacesToEnd (cc : FsCellsCollection) (t : FsTable) =
435435
436436let initTable ( appendOperations : ( FsCellsCollection -> FsTable -> unit ) list )=
437437 let c = FsCellsCollection()
438- let t = FsTable( ArcTable.annotationTablePrefix, FsRangeAddress( " A1:A1" ))
438+ let t = FsTable( ArcTable.annotationTablePrefix, FsRangeAddress.fromString ( " A1:A1" ))
439439 appendOperations
440440 |> List.iter ( fun o -> o c t)
441441 c, t
@@ -447,7 +447,7 @@ let initTableCols (appendOperations : (FsCellsCollection -> FsTable -> unit) lis
447447
448448let initWorksheet ( name : string ) ( appendOperations : ( FsCellsCollection -> FsTable -> unit ) list ) =
449449 let w = FsWorksheet( name)
450- let t = w.Table( ArcTable.annotationTablePrefix, FsRangeAddress( " A1:A1" ))
450+ let t = w.Table( ArcTable.annotationTablePrefix, FsRangeAddress.fromString ( " A1:A1" ))
451451 appendOperations
452452 |> List.iter ( fun o -> o w.CellCollection t)
453453 addSpacesToEnd w.CellCollection t
@@ -457,7 +457,7 @@ let initWorksheet (name : string) (appendOperations : (FsCellsCollection -> FsTa
457457
458458let initWorksheetWithTableName ( worksheetName : string ) ( tableName : string ) ( appendOperations : ( FsCellsCollection -> FsTable -> unit ) list ) =
459459 let w = FsWorksheet( worksheetName)
460- let t = w.Table( tableName, FsRangeAddress( " A1:A1" ))
460+ let t = w.Table( tableName, FsRangeAddress.fromString ( " A1:A1" ))
461461 appendOperations
462462 |> List.iter ( fun o -> o w.CellCollection t)
463463 addSpacesToEnd w.CellCollection t
0 commit comments