From 0114e8609c7cb79eddacc8482994842470e5a110 Mon Sep 17 00:00:00 2001 From: Roland Lannuzel Date: Tue, 23 Jul 2024 17:15:32 +0200 Subject: [PATCH] update des classes CS.WPxxx --- Project/Sources/Classes/WPdocument.4dm | 85 +- Project/Sources/Classes/WPelement.4dm | 10 +- Project/Sources/Classes/WPrange.4dm | 49 +- Project/Sources/Classes/WPsection.4dm | 79 +- Project/Sources/Classes/WPtable.4dm | 87 +- .../D_TEST_CLASSES/ObjectMethods/Button50.4dm | 11 + .../D_TEST_CLASSES/ObjectMethods/Button51.4dm | 26 + .../D_TEST_CLASSES/ObjectMethods/Button52.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button53.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button54.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button55.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button56.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button57.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button58.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button59.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button60.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button61.4dm | 6 + .../D_TEST_CLASSES/ObjectMethods/Button62.4dm | 6 + .../D_TEST_CLASSES/ObjectMethods/Button63.4dm | 6 + .../D_TEST_CLASSES/ObjectMethods/Button64.4dm | 6 + .../D_TEST_CLASSES/ObjectMethods/Button65.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button66.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button67.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button68.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button69.4dm | 7 + .../D_TEST_CLASSES/ObjectMethods/Button70.4dm | 7 + .../D_TEST_CLASSES/ObjectMethods/Button71.4dm | 7 + .../D_TEST_CLASSES/ObjectMethods/Button72.4dm | 7 + .../D_TEST_CLASSES/ObjectMethods/Button73.4dm | 7 + .../D_TEST_CLASSES/ObjectMethods/Button74.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button75.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button76.4dm | 10 + .../D_TEST_CLASSES/ObjectMethods/Button77.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button78.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button79.4dm | 13 + .../D_TEST_CLASSES/ObjectMethods/Button80.4dm | 15 + .../D_TEST_CLASSES/ObjectMethods/Button81.4dm | 8 + .../D_TEST_CLASSES/ObjectMethods/Button82.4dm | 9 + .../D_TEST_CLASSES/ObjectMethods/Button83.4dm | 14 + .../D_TEST_CLASSES/ObjectMethods/Button84.4dm | 14 + .../D_TEST_CLASSES/ObjectMethods/Button85.4dm | 14 + .../D_TEST_CLASSES/ObjectMethods/Button86.4dm | 13 + .../D_TEST_CLASSES/ObjectMethods/Button87.4dm | 13 + .../D_TEST_CLASSES/ObjectMethods/Button88.4dm | 13 + .../D_TEST_CLASSES/ObjectMethods/Button89.4dm | 13 + .../Sources/Forms/D_TEST_CLASSES/form.4DForm | 846 ++++++++++++++++-- Project/Sources/catalog.4DCatalog | 4 +- 47 files changed, 1429 insertions(+), 119 deletions(-) create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button50.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button51.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button52.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button53.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button54.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button55.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button56.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button57.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button58.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button59.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button60.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button61.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button62.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button63.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button64.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button65.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button66.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button67.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button68.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button69.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button70.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button71.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button72.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button73.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button74.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button75.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button76.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button77.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button78.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button79.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button80.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button81.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button82.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button83.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button84.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button85.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button86.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button87.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button88.4dm create mode 100644 Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button89.4dm diff --git a/Project/Sources/Classes/WPdocument.4dm b/Project/Sources/Classes/WPdocument.4dm index 119fbd0d..30493c8f 100644 --- a/Project/Sources/Classes/WPdocument.4dm +++ b/Project/Sources/Classes/WPdocument.4dm @@ -56,8 +56,11 @@ Function get pageCount()->$count : Integer $count:=WP Get page count:C1412(This:C1470.document) -Function selectionRange()->$range : cs:C1710.WPrange - $range:=WP Selection range:C1340(This:C1470.document) +Function selectionRange($name : Text)->$range : cs:C1710.WPrange + If (Count parameters:C259=1) + $range:=cs:C1710.WPrange.new(WP Selection range:C1340(*; $name)) + End if + //mark:-GET FRAME -- GET FRAME @@ -299,17 +302,21 @@ Function getElementByID($id : Text)->$element : cs:C1710.WPelement $element:=WP Get element by ID:C1549(This:C1470.document; $id) Function getElements($elementType : Integer)->$elements : Collection + var $i; $n : Integer Case of : (Count parameters:C259=0) $elements:=WP Get elements:C1550(This:C1470.document) : (Count parameters:C259=1) $elements:=WP Get elements:C1550(This:C1470.document; $elementType) End case - // replace 4D_WriteElement by cs.WPelement - var $i; $n : Integer + //replace 4D_WriteElement by cs.WPelement or cs.WPtable $n:=$elements.length-1 For ($i; 0; $n) - $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + If ($elementType=wk type table:K81:222) // table specificaly requested + $elements[$i]:=cs:C1710.WPtable.new($elements[$i]) + Else + $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + End if End for //mark:-GET POSITION @@ -367,23 +374,6 @@ Function newAnchoredPicture($picture : Variant)->$pictureElement : cs:C1710.WPel $pictureElement:=cs:C1710.WPelement.new(WP Add picture:C1536(This:C1470.document; $picture)) End case - - - - //mark:-TABLES - -Function insertTable($mode : Integer; $rangeUpdate : Integer; $nbCols : Integer; $nbRows : Integer)->$table : cs:C1710.WPtable - - Case of - : (Count parameters:C259=0) - $mode:=wk append:K81:179 - $rangeUpdate:=wk include in range:K81:180 - : (Count parameters:C259=1) - $rangeUpdate:=wk include in range:K81:180 - End case - - $table:=cs:C1710.WPtable.new(WP Insert table:C1473(This:C1470.document; $mode; $rangeUpdate; $nbCols; $nbRows)) - //mark:-IMPORT EXPORT INSERT Function exportDocument($filePath : Text; $format : Integer; $option : Object) @@ -461,5 +451,56 @@ Function importStyleSheets($sourceDocument : cs:C1710.WPdocument) WP IMPORT STYLE SHEETS:C1673(This:C1470.document; $sourceDocument) + //mark:-TABLES INSERT + +Function insertTable($mode : Integer; $rangeUpdate : Integer; $nbCols : Integer; $nbRows : Integer)->$table : cs:C1710.WPtable + + Case of + : (Count parameters:C259=0) + $mode:=wk append:K81:179 + $rangeUpdate:=wk include in range:K81:180 + : (Count parameters:C259=1) + $rangeUpdate:=wk include in range:K81:180 + End case + $table:=cs:C1710.WPtable.new(WP Insert table:C1473(This:C1470.document; $mode; $rangeUpdate; $nbCols; $nbRows)) + + //mark:-TABLES DELETE ROWS & COLUMNS + +Function tableDeleteColumns() // all tables will be deleted + WP TABLE DELETE COLUMNS:C1694(This:C1470.document) + +Function tableDeleteRows() // all tables will be deleted + WP TABLE DELETE ROWS:C1693(This:C1470.document) + + //mark:-TABLE GET CELLS, ROWS & COLUMNS + +Function tableGetCells()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get cells:C1477(This:C1470.document)) + +Function tableGetColumns()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get columns:C1476(This:C1470.document)) + +Function tableGetRows()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get rows:C1475(This:C1470.document)) + + + //mark:-TABLE INSERT ROWS & COLUMNS + +Function tableInsertColumns($columnCount : Integer)->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table insert columns:C1692(This:C1470.document; $columnCount)) + +Function tableInsertRows($rowCount : Integer)->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table insert rows:C1691(This:C1470.document; $rowCount)) + + + //mark:-TABLE SPLIT & MERGE + +Function tableSplitCells() + WP TABLE SPLIT CELLS:C1816(This:C1470.document) // all tables will be n x n + +Function tableMergeCells() // all tables will be 1x1 + WP TABLE MERGE CELLS:C1815(This:C1470.document) + + \ No newline at end of file diff --git a/Project/Sources/Classes/WPelement.4dm b/Project/Sources/Classes/WPelement.4dm index 798b7c88..ab6b319c 100644 --- a/Project/Sources/Classes/WPelement.4dm +++ b/Project/Sources/Classes/WPelement.4dm @@ -230,17 +230,21 @@ Function findPrevious($searchAfter : Object; $searchValue : Text; $searchConditi //mark:-GET ELEMENTS Function getElements($elementType : Integer)->$elements : Collection + var $i; $n : Integer Case of : (Count parameters:C259=0) $elements:=WP Get elements:C1550(This:C1470.element) : (Count parameters:C259=1) $elements:=WP Get elements:C1550(This:C1470.element; $elementType) End case - // replace 4D_WriteElement by cs.WPelement - var $i; $n : Integer + // replace 4D_WriteElement by cs.WPelement or cs.WPtable $n:=$elements.length-1 For ($i; 0; $n) - $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + If ($elementType=wk type table:K81:222) // table specificaly requested + $elements[$i]:=cs:C1710.WPtable.new($elements[$i]) + Else + $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + End if End for //mark:-GET POSITION diff --git a/Project/Sources/Classes/WPrange.4dm b/Project/Sources/Classes/WPrange.4dm index 1d342214..8abdddf2 100644 --- a/Project/Sources/Classes/WPrange.4dm +++ b/Project/Sources/Classes/WPrange.4dm @@ -188,17 +188,21 @@ Function findPrevious($searchAfter : Object; $searchValue : Text; $searchConditi //mark:-GET ELEMENTS Function getElements($elementType : Integer)->$elements : Collection + var $i; $n : Integer Case of : (Count parameters:C259=0) $elements:=WP Get elements:C1550(This:C1470.range) : (Count parameters:C259=1) $elements:=WP Get elements:C1550(This:C1470.range; $elementType) End case - // replace 4D_WriteElement by cs.WPelement - var $i; $n : Integer + // replace 4D_WriteElement by cs.WPelement or cs.WPtable $n:=$elements.length-1 For ($i; 0; $n) - $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + If ($elementType=wk type table:K81:222) // table specificaly requested + $elements[$i]:=cs:C1710.WPtable.new($elements[$i]) + Else + $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + End if End for //mark:-GET POSITION @@ -265,4 +269,41 @@ Function insertDocument($wpDoc : Object; $mode : Integer; $rangeUpdate : Integer If (Count parameters:C259<3) $rangeUpdate:=wk include in range:K81:180 End if - WP INSERT DOCUMENT:C1411(This:C1470.range; $wpDoc; $mode; $rangeUpdate) \ No newline at end of file + WP INSERT DOCUMENT:C1411(This:C1470.range; $wpDoc; $mode; $rangeUpdate) + + //mark:-TABLES DELETE ROWS & COLUMNS + +Function tableDeleteColumns() // all tables will be deleted + WP TABLE DELETE COLUMNS:C1694(This:C1470.range) + +Function tableDeleteRows() // all tables will be deleted + WP TABLE DELETE ROWS:C1693(This:C1470.range) + + //mark:-TABLE GET CELLS, ROWS & COLUMNS + +Function tableGetCells()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get cells:C1477(This:C1470.range)) + +Function tableGetColumns()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get columns:C1476(This:C1470.range)) + +Function tableGetRows()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get rows:C1475(This:C1470.range)) + + + //mark:-TABLE INSERT ROWS & COLUMNS + +Function tableInsertColumns($columnCount : Integer)->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table insert columns:C1692(This:C1470.range; $columnCount)) + +Function tableInsertRows($rowCount : Integer)->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table insert rows:C1691(This:C1470.range; $rowCount)) + + + //mark:-TABLE SPLIT & MERGE + +Function tableSplitCells() + WP TABLE SPLIT CELLS:C1816(This:C1470.range) // all tables will be n x n + +Function tableMergeCells() // all tables will be 1x1 + WP TABLE MERGE CELLS:C1815(This:C1470.range) \ No newline at end of file diff --git a/Project/Sources/Classes/WPsection.4dm b/Project/Sources/Classes/WPsection.4dm index a69aa2d5..2f8b6c6f 100644 --- a/Project/Sources/Classes/WPsection.4dm +++ b/Project/Sources/Classes/WPsection.4dm @@ -202,17 +202,21 @@ Function findPrevious($searchAfter : Object; $searchValue : Text; $searchConditi //mark:-GET ELEMENTS Function getElements($elementType : Integer)->$elements : Collection + var $i; $n : Integer Case of : (Count parameters:C259=0) $elements:=WP Get elements:C1550(This:C1470.section) : (Count parameters:C259=1) $elements:=WP Get elements:C1550(This:C1470.section; $elementType) End case - // replace 4D_WriteElement by cs.WPelement - var $i; $n : Integer + // replace 4D_WriteElement by cs.WPelement or cs.WPtable $n:=$elements.length-1 For ($i; 0; $n) - $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + If ($elementType=wk type table:K81:222) // table specificaly requested + $elements[$i]:=cs:C1710.WPtable.new($elements[$i]) + Else + $elements[$i]:=cs:C1710.WPelement.new($elements[$i]) + End if End for //mark:-GET POSITION @@ -243,20 +247,6 @@ Function insertPicture($picture : Picture; $insertMode : Integer)->$pictureEleme $pictureElement:=cs:C1710.WPelement.new($pictElements[$pictElements.length-1]) End case - //mark:-TABLES - -Function insertTable($mode : Integer; $rangeUpdate : Integer; $nbCols : Integer; $nbRows : Integer)->$table : cs:C1710.WPtable - - Case of - : (Count parameters:C259=0) - $mode:=wk append:K81:179 - $rangeUpdate:=wk include in range:K81:180 - : (Count parameters:C259=1) - $rangeUpdate:=wk include in range:K81:180 - End case - - $table:=cs:C1710.WPtable.new(WP Insert table:C1473(This:C1470.section; $mode; $rangeUpdate; $nbCols; $nbRows)) - //mark:-DELETE Function delete($subsectionType) @@ -292,4 +282,57 @@ Function insertDocument($wpDoc : Object; $mode : Integer; $rangeUpdate : Integer If (Count parameters:C259<3) $rangeUpdate:=wk include in range:K81:180 End if - WP INSERT DOCUMENT:C1411(This:C1470.section; $wpDoc; $mode; $rangeUpdate) \ No newline at end of file + WP INSERT DOCUMENT:C1411(This:C1470.section; $wpDoc; $mode; $rangeUpdate) + + + + //mark:-TABLE INSERT + +Function insertTable($mode : Integer; $rangeUpdate : Integer; $nbCols : Integer; $nbRows : Integer)->$table : cs:C1710.WPtable + + Case of + : (Count parameters:C259=0) + $mode:=wk append:K81:179 + $rangeUpdate:=wk include in range:K81:180 + : (Count parameters:C259=1) + $rangeUpdate:=wk include in range:K81:180 + End case + + $table:=cs:C1710.WPtable.new(WP Insert table:C1473(This:C1470.section; $mode; $rangeUpdate; $nbCols; $nbRows)) + + //mark:-TABLES DELETE ROWS & COLUMNS + +Function tableDeleteColumns() // all tables will be deleted + WP TABLE DELETE COLUMNS:C1694(This:C1470.section) + +Function tableDeleteRows() // all tables will be deleted + WP TABLE DELETE ROWS:C1693(This:C1470.section) + + //mark:-TABLE GET CELLS, ROWS & COLUMNS + +Function tableGetCells()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get cells:C1477(This:C1470.section)) + +Function tableGetColumns()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get columns:C1476(This:C1470.section)) + +Function tableGetRows()->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table get rows:C1475(This:C1470.section)) + + + //mark:-TABLE INSERT ROWS & COLUMNS + +Function tableInsertColumns($columnCount : Integer)->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table insert columns:C1692(This:C1470.section; $columnCount)) + +Function tableInsertRows($rowCount : Integer)->$range : cs:C1710.WPrange + $range:=cs:C1710.WPrange.new(WP Table insert rows:C1691(This:C1470.section; $rowCount)) + + + //mark:-TABLE SPLIT & MERGE + +Function tableSplitCells() + WP TABLE SPLIT CELLS:C1816(This:C1470.section) // all tables will be n x n + +Function tableMergeCells() // all tables will be 1x1 + WP TABLE MERGE CELLS:C1815(This:C1470.section) \ No newline at end of file diff --git a/Project/Sources/Classes/WPtable.4dm b/Project/Sources/Classes/WPtable.4dm index 1059232a..c9a1925e 100644 --- a/Project/Sources/Classes/WPtable.4dm +++ b/Project/Sources/Classes/WPtable.4dm @@ -8,7 +8,6 @@ Class constructor($table : Object) //4D_WriteElement) This:C1470.table:=$table - //Function appendRow // how to wrap ??? //mark:-DELETE @@ -22,7 +21,7 @@ Function deleteRows($rowNumber : Integer; $rowCount : Integer) If (Count parameters:C259<2) $rowCount:=1 End if - WP TABLE DELETE COLUMNS:C1694(This:C1470.table; $rowNumber; $rowCount) + WP TABLE DELETE ROWS:C1693(This:C1470.table; $rowNumber; $rowCount) //mark:-GET Function getCells($startCol : Integer; $startRow : Integer; $columnCount : Integer; $rowCount : Integer)->$range : cs:C1710.WPrange @@ -47,7 +46,56 @@ Function getRows($startRow : Integer; $rowCount : Integer)->$range : cs:C1710.WP $range:=cs:C1710.WPrange.new(WP Table get rows:C1475(This:C1470.table; $startRow; $rowCount)) - //mark:-INSERT + //mark:-APPEND ROW - INSERT ROWS & COLUMNS- + +Function appendRow( ... : Variant)->$range : Object + + var $parameters : Collection + var $f : 4D:C1709.Function + var $formulaString : Text + var $i; $n : Integer + var $o : Object + + // ce que je veux faire : + //If (False) + //$range:=WP Table append row(This.table; $1; $2; $3) //; ... ) + //End if + + // OK UNIQUEMENT SI LE NOMBRE DE PARAMTRES EST EXACT, sinon KO + //If (False) + //$parameters:=Copy parameters + //$parameters.insert(0; This.table) + + //$f:=Formula($range:=WP Table append row($1; $2; $3; $4; $5)) + + //$range:=$f.apply(Null; $parameters) + //End if + + + // solution (temporaire ?) + + $parameters:=Copy parameters:C1790 + $formulaString:="This.range:=WP Table append row(This.table; " + + $o:=New object:C1471() + $o.table:=This:C1470.table + + $n:=$parameters.length-1 + For ($i; 0; $n) + $o["p"+String:C10($i+1)]:=$parameters[$i] + $formulaString+="This.p"+String:C10($i+1) + If ($i=$n) + $formulaString+=")" + Else + $formulaString+=";" + End if + End for + + + $f:=Formula from string:C1601($formulaString) + $range:=$f.call($o) // $range returns undefined + $range:=$o.range // $o.range is not :-) + Function insertColumns($colNumber : Integer; $columnCount : Integer)->$range : cs:C1710.WPrange If (Count parameters:C259<2) @@ -59,29 +107,36 @@ Function insertRows($rowNumber : Integer; $rowCount : Integer)->$range : cs:C171 If (Count parameters:C259<2) $rowCount:=1 End if - $range:=cs:C1710.WPrange.new(WP Table insert columns:C1692(This:C1470.table; $rowNumber; $rowCount)) + $range:=cs:C1710.WPrange.new(WP Table insert rows:C1691(This:C1470.table; $rowNumber; $rowCount)) //mark:-SPLIT MERGE Function splitCells($startColumn : Integer; $startRow : Integer; $columnCount : Integer; $rowCount : Integer) - If (Count parameters:C259<4) - $rowCount:=1 - If (Count parameters:C259<3) - $columnCount:=1 + If (Count parameters:C259=0) + WP TABLE SPLIT CELLS:C1816(This:C1470.table; 1; 1; MAXLONG:K35:2; MAXLONG:K35:2) // means split the whole table + Else + + If (Count parameters:C259<4) + $rowCount:=1 + If (Count parameters:C259<3) + $columnCount:=1 + End if End if + WP TABLE SPLIT CELLS:C1816(This:C1470.table; $startColumn; $startRow; $columnCount; $rowCount) End if - WP TABLE SPLIT CELLS:C1816(This:C1470.table; $startColumn; $startRow; $columnCount; $rowCount) Function mergeCells($startColumn : Integer; $startRow : Integer; $columnCount : Integer; $rowCount : Integer) - If (Count parameters:C259<4) - $rowCount:=1 - If (Count parameters:C259<3) - $columnCount:=1 + If (Count parameters:C259=0) + WP TABLE MERGE CELLS:C1815(This:C1470.table; 1; 1; MAXLONG:K35:2; MAXLONG:K35:2) // means merge the whole table (1x1) + Else + If (Count parameters:C259<4) + $rowCount:=1 + If (Count parameters:C259<3) + $columnCount:=1 + End if End if + WP TABLE MERGE CELLS:C1815(This:C1470.table; $startColumn; $startRow; $columnCount; $rowCount) End if - WP TABLE MERGE CELLS:C1815(This:C1470.table; $startColumn; $startRow; $columnCount; $rowCount) - - \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button50.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button50.4dm new file mode 100644 index 00000000..584fdc49 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button50.4dm @@ -0,0 +1,11 @@ +var $wp : Object +var $table : Object + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] +For ($i; 1; 5) + $table.appendRow(Random:C100; Random:C100; Random:C100; Random:C100; Random:C100) +End for diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button51.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button51.4dm new file mode 100644 index 00000000..c1ebcb96 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button51.4dm @@ -0,0 +1,26 @@ +var $wp : Object +var $table : Object +var $columns : Object +var $i : Integer + + + +$wp:=cs:C1710.WPdocument.new() + +If (False:C215) + $table:=$wp.insertTable(wk append:K81:179; wk include in range:K81:180; 0; 0) + $table.appendRow(7; "ABC"; Current time:C178; Current date:C33; True:C214) + + $columns:=$table.getColumns(1; 10) + $columns.setAttributes({width: "2.5cm"; textAlign: 2}) + +Else + + $table:=$wp.insertTable(wk append:K81:179; wk include in range:K81:180; 0; 0) + $table.appendRow(7; "ABC"; Current time:C178; Current date:C33; True:C214) + + $table.getColumns(1; 10).setAttributes({width: "2.5cm"; textAlign: 2}) + +End if + +Form:C1466.wp:=$wp.document diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button52.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button52.4dm new file mode 100644 index 00000000..e7778066 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button52.4dm @@ -0,0 +1,8 @@ +var $wp : Object +var $table : Object + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$wp.tableInsertColumns(1) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button53.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button53.4dm new file mode 100644 index 00000000..25bc59ec --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button53.4dm @@ -0,0 +1,8 @@ +var $wp : Object +var $table : Object + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$wp.tableInsertRows(1) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button54.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button54.4dm new file mode 100644 index 00000000..29b97947 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button54.4dm @@ -0,0 +1,8 @@ +var $wp : Object +var $table : Object + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$wp.tableDeleteColumns(1) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button55.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button55.4dm new file mode 100644 index 00000000..79021d2d --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button55.4dm @@ -0,0 +1,8 @@ +var $wp : Object +var $table : Object + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$wp.tableDeleteRows(1) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button56.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button56.4dm new file mode 100644 index 00000000..103c8bdd --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button56.4dm @@ -0,0 +1,8 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$range:=$wp.tableGetColumns() +$range.setAttributes({color: "blue"}) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button57.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button57.4dm new file mode 100644 index 00000000..52983210 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button57.4dm @@ -0,0 +1,8 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$range:=$wp.tableGetRows() +$range.setAttributes({color: "green"}) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button58.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button58.4dm new file mode 100644 index 00000000..636e4eba --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button58.4dm @@ -0,0 +1,8 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$range:=$wp.tableGetCells() +$range.setAttributes({color: "purple"}) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button59.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button59.4dm new file mode 100644 index 00000000..8a509e1c --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button59.4dm @@ -0,0 +1,9 @@ +var $wp : Object +var $table : Object + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$wp.tableSplitCells() + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button60.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button60.4dm new file mode 100644 index 00000000..cafa3b08 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button60.4dm @@ -0,0 +1,8 @@ +var $wp : Object +var $table : Object + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$wp.tableMergeCells() \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button61.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button61.4dm new file mode 100644 index 00000000..514f5aec --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button61.4dm @@ -0,0 +1,6 @@ +var $wp : cs:C1710.WPdocument +var $sec : cs:C1710.WPsection + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) +$sec.tableInsertColumns(1) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button62.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button62.4dm new file mode 100644 index 00000000..79dc63c5 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button62.4dm @@ -0,0 +1,6 @@ +var $wp : cs:C1710.WPdocument +var $sec : cs:C1710.WPsection + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) +$sec.tableInsertRows(1) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button63.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button63.4dm new file mode 100644 index 00000000..21b5af2f --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button63.4dm @@ -0,0 +1,6 @@ +var $wp : Object +var $sec : cs:C1710.WPsection + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) +$sec.tableDeleteColumns() \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button64.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button64.4dm new file mode 100644 index 00000000..a003828d --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button64.4dm @@ -0,0 +1,6 @@ +var $wp : Object +var $sec : cs:C1710.WPsection + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) +$sec.tableDeleteRows() \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button65.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button65.4dm new file mode 100644 index 00000000..2f7234b5 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button65.4dm @@ -0,0 +1,9 @@ +var $wp : Object +var $sec : cs:C1710.WPsection +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) + +$range:=$sec.tableGetColumns() +$range.setAttributes({color: "red"}) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button66.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button66.4dm new file mode 100644 index 00000000..ed8e2e08 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button66.4dm @@ -0,0 +1,9 @@ +var $wp : Object +var $sec : cs:C1710.WPsection +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) + +$range:=$sec.tableGetRows() +$range.setAttributes({color: "green"}) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button67.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button67.4dm new file mode 100644 index 00000000..ea12bb79 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button67.4dm @@ -0,0 +1,9 @@ +var $wp : Object +var $sec : cs:C1710.WPsection +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) + +$range:=$sec.tableGetCells() +$range.setAttributes({color: "purple"}) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button68.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button68.4dm new file mode 100644 index 00000000..b22579a3 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button68.4dm @@ -0,0 +1,8 @@ +var $wp : Object +var $sec : cs:C1710.WPsection + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) + +$sec.tableSplitCells() + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button69.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button69.4dm new file mode 100644 index 00000000..f4c357ca --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button69.4dm @@ -0,0 +1,7 @@ +var $wp : Object +var $sec : cs:C1710.WPsection + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$sec:=$wp.getSection(2) + +$sec.tableMergeCells() \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button70.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button70.4dm new file mode 100644 index 00000000..5b972541 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button70.4dm @@ -0,0 +1,7 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range.tableInsertColumns(1) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button71.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button71.4dm new file mode 100644 index 00000000..a2f4438a --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button71.4dm @@ -0,0 +1,7 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range.tableInsertRows(1) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button72.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button72.4dm new file mode 100644 index 00000000..b7f2079b --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button72.4dm @@ -0,0 +1,7 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range.tableDeleteColumns() diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button73.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button73.4dm new file mode 100644 index 00000000..54547d81 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button73.4dm @@ -0,0 +1,7 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range.tableDeleteRows() diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button74.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button74.4dm new file mode 100644 index 00000000..cd44bb55 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button74.4dm @@ -0,0 +1,9 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range:=$range.tableGetColumns() + +$range.setAttributes({color: "red"}) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button75.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button75.4dm new file mode 100644 index 00000000..d2635eac --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button75.4dm @@ -0,0 +1,8 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") +$range:=$range.tableGetRows() + +$range.setAttributes({color: "blue"}) \ No newline at end of file diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button76.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button76.4dm new file mode 100644 index 00000000..0c38a9e1 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button76.4dm @@ -0,0 +1,10 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range:=$range.tableGetCells() + +$range.setAttributes({backgroundColor: "lightgreen"}) + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button77.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button77.4dm new file mode 100644 index 00000000..142e3b8e --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button77.4dm @@ -0,0 +1,9 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range:=$range.tableGetCells() + +$range.tableSplitCells() diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button78.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button78.4dm new file mode 100644 index 00000000..ff23f71e --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button78.4dm @@ -0,0 +1,9 @@ +var $wp : cs:C1710.WPdocument +var $range : cs:C1710.WPrange + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) +$range:=$wp.selectionRange("WParea") + +$range:=$range.tableGetCells() + +$range.tableMergeCells() diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button79.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button79.4dm new file mode 100644 index 00000000..58a2e914 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button79.4dm @@ -0,0 +1,13 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + +$range:=$table.insertColumns(2; 2) + +$range.setAttributes({backgroundColor: "lightgreen"}) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button80.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button80.4dm new file mode 100644 index 00000000..90aa74d0 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button80.4dm @@ -0,0 +1,15 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + +$range:=$table.insertRows(3; 2) +$range.setAttributes({backgroundColor: "blue"}) + + + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button81.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button81.4dm new file mode 100644 index 00000000..b405b475 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button81.4dm @@ -0,0 +1,8 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + +$table.deleteColumns(2; 2) diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button82.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button82.4dm new file mode 100644 index 00000000..9b6c82df --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button82.4dm @@ -0,0 +1,9 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] +$table.deleteRows(3; 2) + + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button83.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button83.4dm new file mode 100644 index 00000000..d2c3b279 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button83.4dm @@ -0,0 +1,14 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + + +$range:=$table.getColumns(2; 2) +$range.setAttributes({backgroundColor: "lightgreen"}) + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button84.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button84.4dm new file mode 100644 index 00000000..1b71e141 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button84.4dm @@ -0,0 +1,14 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + + +$range:=$table.getRows(2; 2) +$range.setAttributes({backgroundColor: "lightblue"}) + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button85.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button85.4dm new file mode 100644 index 00000000..0e654c6f --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button85.4dm @@ -0,0 +1,14 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + + +$range:=$table.getCells(2; 2; 2; 2) +$range.setAttributes({backgroundColor: "Yellow"}) + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button86.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button86.4dm new file mode 100644 index 00000000..61146053 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button86.4dm @@ -0,0 +1,13 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + + +$range:=$table.splitCells(2; 2; 2; 2) + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button87.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button87.4dm new file mode 100644 index 00000000..486407b9 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button87.4dm @@ -0,0 +1,13 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + + +$range:=$table.mergeCells(2; 2; 2; 2) + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button88.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button88.4dm new file mode 100644 index 00000000..9e8d13b0 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button88.4dm @@ -0,0 +1,13 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + + +$range:=$table.splitCells() + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button89.4dm b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button89.4dm new file mode 100644 index 00000000..fad37da1 --- /dev/null +++ b/Project/Sources/Forms/D_TEST_CLASSES/ObjectMethods/Button89.4dm @@ -0,0 +1,13 @@ +var $wp : cs:C1710.WPdocument +var $table : cs:C1710.WPtable +var $range : cs:C1710.WPrange + +var $i : Integer + +$wp:=cs:C1710.WPdocument.new(Form:C1466.wp) + +$table:=$wp.getElements(wk type table:K81:222)[0] + + +$range:=$table.mergeCells() + diff --git a/Project/Sources/Forms/D_TEST_CLASSES/form.4DForm b/Project/Sources/Forms/D_TEST_CLASSES/form.4DForm index c476b272..08ee1711 100755 --- a/Project/Sources/Forms/D_TEST_CLASSES/form.4DForm +++ b/Project/Sources/Forms/D_TEST_CLASSES/form.4DForm @@ -85,7 +85,8 @@ "onClick" ], "method": "ObjectMethods/Button.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button1": { "type": "button", @@ -98,7 +99,8 @@ "onClick" ], "method": "ObjectMethods/Button1.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button2": { "type": "button", @@ -111,7 +113,8 @@ "onClick" ], "method": "ObjectMethods/Button2.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button3": { "type": "button", @@ -124,7 +127,8 @@ "onClick" ], "method": "ObjectMethods/Button3.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button4": { "type": "button", @@ -137,7 +141,8 @@ "onClick" ], "method": "ObjectMethods/Button4.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button5": { "type": "button", @@ -150,7 +155,8 @@ "onClick" ], "method": "ObjectMethods/Button5.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button6": { "type": "button", @@ -163,7 +169,8 @@ "onClick" ], "method": "ObjectMethods/Button6.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button7": { "type": "button", @@ -176,7 +183,8 @@ "onClick" ], "method": "ObjectMethods/Button7.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button8": { "type": "button", @@ -189,7 +197,8 @@ "onClick" ], "method": "ObjectMethods/Button8.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button9": { "type": "button", @@ -202,7 +211,8 @@ "onClick" ], "method": "ObjectMethods/Button9.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button10": { "type": "button", @@ -215,7 +225,8 @@ "onClick" ], "method": "ObjectMethods/Button10.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button11": { "type": "button", @@ -228,7 +239,8 @@ "onClick" ], "method": "ObjectMethods/Button11.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button12": { "type": "button", @@ -241,7 +253,8 @@ "onClick" ], "method": "ObjectMethods/Button12.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button13": { "type": "button", @@ -254,7 +267,8 @@ "onClick" ], "method": "ObjectMethods/Button13.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button14": { "type": "button", @@ -267,7 +281,8 @@ "onClick" ], "method": "ObjectMethods/Button14.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button15": { "type": "button", @@ -280,7 +295,8 @@ "onClick" ], "method": "ObjectMethods/Button15.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Text": { "type": "text", @@ -288,7 +304,8 @@ "top": 441, "left": 990, "width": 54, - "height": 16 + "height": 16, + "sizingX": "move" }, "Button16": { "type": "button", @@ -301,7 +318,8 @@ "onClick" ], "method": "ObjectMethods/Button16.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button17": { "type": "button", @@ -314,7 +332,8 @@ "onClick" ], "method": "ObjectMethods/Button17.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button18": { "type": "button", @@ -327,7 +346,8 @@ "onClick" ], "method": "ObjectMethods/Button18.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Text1": { "type": "text", @@ -335,7 +355,8 @@ "top": 441, "left": 1079, "width": 64, - "height": 16 + "height": 16, + "sizingX": "move" }, "Button19": { "type": "button", @@ -348,7 +369,8 @@ "onClick" ], "method": "ObjectMethods/Button19.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button20": { "type": "button", @@ -361,7 +383,8 @@ "onClick" ], "method": "ObjectMethods/Button20.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button21": { "type": "button", @@ -374,7 +397,8 @@ "onClick" ], "method": "ObjectMethods/Button21.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Text2": { "type": "text", @@ -382,7 +406,8 @@ "top": 441, "left": 1168, "width": 64, - "height": 16 + "height": 16, + "sizingX": "move" }, "Button22": { "type": "button", @@ -395,7 +420,8 @@ "onClick" ], "method": "ObjectMethods/Button22.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button23": { "type": "button", @@ -408,7 +434,8 @@ "onClick" ], "method": "ObjectMethods/Button23.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button24": { "type": "button", @@ -421,7 +448,8 @@ "onClick" ], "method": "ObjectMethods/Button24.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Text3": { "type": "text", @@ -429,7 +457,8 @@ "top": 441, "left": 1258, "width": 64, - "height": 16 + "height": 16, + "sizingX": "move" }, "Button25": { "type": "button", @@ -442,7 +471,8 @@ "onClick" ], "method": "ObjectMethods/Button25.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button26": { "type": "button", @@ -455,7 +485,8 @@ "onClick" ], "method": "ObjectMethods/Button26.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button27": { "type": "button", @@ -468,7 +499,8 @@ "onClick" ], "method": "ObjectMethods/Button27.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button28": { "type": "button", @@ -481,7 +513,8 @@ "onClick" ], "method": "ObjectMethods/Button28.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button30": { "type": "button", @@ -494,7 +527,8 @@ "onClick" ], "method": "ObjectMethods/Button30.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button31": { "type": "button", @@ -507,7 +541,8 @@ "onClick" ], "method": "ObjectMethods/Button31.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button32": { "type": "button", @@ -520,7 +555,8 @@ "onClick" ], "method": "ObjectMethods/Button32.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button33": { "type": "button", @@ -533,7 +569,8 @@ "onClick" ], "method": "ObjectMethods/Button33.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button34": { "type": "button", @@ -546,7 +583,8 @@ "onClick" ], "method": "ObjectMethods/Button34.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button35": { "type": "button", @@ -559,7 +597,8 @@ "onClick" ], "method": "ObjectMethods/Button35.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button36": { "type": "button", @@ -572,7 +611,8 @@ "onClick" ], "method": "ObjectMethods/Button36.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button37": { "type": "button", @@ -585,7 +625,8 @@ "onClick" ], "method": "ObjectMethods/Button37.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button38": { "type": "button", @@ -598,7 +639,8 @@ "onClick" ], "method": "ObjectMethods/Button38.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button39": { "type": "button", @@ -611,7 +653,8 @@ "onClick" ], "method": "ObjectMethods/Button39.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button40": { "type": "button", @@ -624,7 +667,8 @@ "onClick" ], "method": "ObjectMethods/Button40.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button41": { "type": "button", @@ -637,7 +681,8 @@ "onClick" ], "method": "ObjectMethods/Button41.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button42": { "type": "button", @@ -650,7 +695,8 @@ "onClick" ], "method": "ObjectMethods/Button42.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button43": { "type": "button", @@ -663,7 +709,8 @@ "onClick" ], "method": "ObjectMethods/Button43.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button44": { "type": "button", @@ -676,7 +723,8 @@ "onClick" ], "method": "ObjectMethods/Button44.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button45": { "type": "button", @@ -689,7 +737,8 @@ "onClick" ], "method": "ObjectMethods/Button45.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button46": { "type": "button", @@ -702,7 +751,8 @@ "onClick" ], "method": "ObjectMethods/Button46.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button47": { "type": "button", @@ -716,7 +766,8 @@ ], "method": "ObjectMethods/Button47.4dm", "focusable": false, - "fontWeight": "bold" + "fontWeight": "bold", + "sizingX": "move" }, "Button48": { "type": "button", @@ -729,7 +780,8 @@ "onClick" ], "method": "ObjectMethods/Button48.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button29": { "type": "button", @@ -742,7 +794,8 @@ "onClick" ], "method": "ObjectMethods/Button29.4dm", - "focusable": false + "focusable": false, + "sizingX": "move" }, "Button49": { "type": "button", @@ -755,12 +808,697 @@ "onClick" ], "method": "ObjectMethods/Button49.4dm", + "focusable": false, + "sizingX": "move" + }, + "Button50": { + "type": "button", + "text": "getElements\\rappend row (loop)", + "top": 134, + "left": 1795, + "width": 187, + "height": 42, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button50.4dm", + "sizingX": "move", + "focusable": false + }, + "Button51": { + "type": "button", + "text": "insertTable\\rappend row\\rgetColumns\\rsetAttributes", + "top": 22, + "left": 1794, + "width": 188, + "height": 102, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button51.4dm", + "sizingX": "move", + "focusable": false + }, + "Button52": { + "type": "button", + "text": "Insert cols(1)", + "top": 224, + "left": 1794, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button52.4dm", + "sizingX": "move", + "focusable": false + }, + "Button53": { + "type": "button", + "text": "Insert rows(1)", + "top": 250, + "left": 1794, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button53.4dm", + "sizingX": "move", + "focusable": false + }, + "Button54": { + "type": "button", + "text": "Delete cols(1)", + "top": 294, + "left": 1794, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button54.4dm", + "sizingX": "move", + "focusable": false + }, + "Button55": { + "type": "button", + "text": "Delete rows(1)", + "top": 320, + "left": 1794, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button55.4dm", + "sizingX": "move", + "focusable": false + }, + "Button56": { + "type": "button", + "text": "Get cols()", + "top": 364, + "left": 1794, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button56.4dm", + "sizingX": "move", + "focusable": false + }, + "Button57": { + "type": "button", + "text": "Get rows()", + "top": 387, + "left": 1794, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button57.4dm", + "sizingX": "move", + "focusable": false + }, + "Button58": { + "type": "button", + "text": "Get cells()", + "top": 411, + "left": 1795, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button58.4dm", + "sizingX": "move", "focusable": false + }, + "Button59": { + "type": "button", + "text": "Split()", + "top": 447, + "left": 1794, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button59.4dm", + "sizingX": "move", + "focusable": false + }, + "Button60": { + "type": "button", + "text": "Merge()", + "top": 471, + "left": 1795, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button60.4dm", + "sizingX": "move", + "focusable": false + }, + "Text4": { + "type": "text", + "text": "DOC", + "top": 198, + "left": 1810, + "width": 65, + "height": 16, + "fontWeight": "bold", + "textAlign": "center" + }, + "Button61": { + "type": "button", + "text": "Insert cols(1)", + "top": 227, + "left": 1931, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button61.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button62": { + "type": "button", + "text": "Insert rows(1)", + "top": 253, + "left": 1931, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button62.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button63": { + "type": "button", + "text": "Delete cols(1)", + "top": 297, + "left": 1931, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button63.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button64": { + "type": "button", + "text": "Delete rows(1)", + "top": 323, + "left": 1931, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button64.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button65": { + "type": "button", + "text": "Get cols()", + "top": 367, + "left": 1931, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button65.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button66": { + "type": "button", + "text": "Get rows()", + "top": 390, + "left": 1931, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button66.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button67": { + "type": "button", + "text": "Get cells()", + "top": 414, + "left": 1932, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button67.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button68": { + "type": "button", + "text": "Split()", + "top": 450, + "left": 1931, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button68.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button69": { + "type": "button", + "text": "Merge()", + "top": 474, + "left": 1932, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "method": "ObjectMethods/Button69.4dm", + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic" + }, + "Text5": { + "type": "text", + "text": "SECTION", + "top": 201, + "left": 1947, + "width": 65, + "height": 16, + "fontWeight": "bold", + "textAlign": "center", + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button70": { + "type": "button", + "text": "Insert cols(1)", + "top": 227, + "left": 2055, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button70.4dm", + "fontWeight": "normal" + }, + "Button71": { + "type": "button", + "text": "Insert rows(1)", + "top": 253, + "left": 2055, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button71.4dm", + "fontWeight": "normal" + }, + "Button72": { + "type": "button", + "text": "Delete cols(1)", + "top": 297, + "left": 2055, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button72.4dm", + "fontWeight": "normal" + }, + "Button73": { + "type": "button", + "text": "Delete rows(1)", + "top": 323, + "left": 2055, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button73.4dm", + "fontWeight": "normal" + }, + "Button74": { + "type": "button", + "text": "Get cols()", + "top": 367, + "left": 2055, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button74.4dm", + "fontWeight": "normal" + }, + "Button75": { + "type": "button", + "text": "Get rows()", + "top": 390, + "left": 2055, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button75.4dm", + "fontWeight": "normal" + }, + "Button76": { + "type": "button", + "text": "Get cells()", + "top": 414, + "left": 2056, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button76.4dm", + "fontWeight": "normal" + }, + "Button77": { + "type": "button", + "text": "Split()", + "top": 450, + "left": 2055, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button77.4dm", + "fontWeight": "normal" + }, + "Button78": { + "type": "button", + "text": "Merge()", + "top": 474, + "left": 2056, + "width": 103, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button78.4dm", + "fontWeight": "normal" + }, + "Text6": { + "type": "text", + "text": "RANGE", + "top": 201, + "left": 2071, + "width": 65, + "height": 16, + "fontWeight": "bold", + "textAlign": "center", + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button79": { + "type": "button", + "text": "Insert cols(2;2)", + "top": 227, + "left": 2175, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button79.4dm", + "fontWeight": "normal" + }, + "Button80": { + "type": "button", + "text": "Insert rows(3;2)", + "top": 253, + "left": 2175, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button80.4dm", + "fontWeight": "normal" + }, + "Button81": { + "type": "button", + "text": "Delete cols(2;2)", + "top": 297, + "left": 2175, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button81.4dm", + "fontWeight": "normal" + }, + "Button82": { + "type": "button", + "text": "Delete rows(3;2)", + "top": 323, + "left": 2175, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button82.4dm", + "fontWeight": "normal" + }, + "Button83": { + "type": "button", + "text": "Get cols(2; 2)", + "top": 367, + "left": 2175, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button83.4dm", + "fontWeight": "normal" + }, + "Button84": { + "type": "button", + "text": "Get rows(2; 2)", + "top": 390, + "left": 2175, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button84.4dm", + "fontWeight": "normal" + }, + "Button85": { + "type": "button", + "text": "Get cells(2;2;2;2)", + "top": 414, + "left": 2176, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button85.4dm", + "fontWeight": "normal" + }, + "Button86": { + "type": "button", + "text": "Split(2;2;2;2)", + "top": 450, + "left": 2175, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button86.4dm", + "fontWeight": "normal" + }, + "Button87": { + "type": "button", + "text": "Merge(2;2;2;2)", + "top": 474, + "left": 2176, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button87.4dm", + "fontWeight": "normal" + }, + "Text7": { + "type": "text", + "text": "TABLE", + "top": 201, + "left": 2191, + "width": 65, + "height": 16, + "fontWeight": "bold", + "textAlign": "center", + "fontStyle": "normal", + "stroke": "automatic" + }, + "Button88": { + "type": "button", + "text": "Split()", + "top": 527, + "left": 2176, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button88.4dm", + "fontWeight": "normal" + }, + "Button89": { + "type": "button", + "text": "Merge()", + "top": 551, + "left": 2177, + "width": 163, + "height": 22, + "events": [ + "onClick" + ], + "sizingX": "move", + "focusable": false, + "fontStyle": "normal", + "stroke": "automatic", + "method": "ObjectMethods/Button89.4dm", + "fontWeight": "normal" } } } ], - "geometryStamp": 296, + "geometryStamp": 499, "editor": { "activeView": "View 1", "defaultView": "View 1", diff --git a/Project/Sources/catalog.4DCatalog b/Project/Sources/catalog.4DCatalog index d9eb0b99..bd21f13b 100644 --- a/Project/Sources/catalog.4DCatalog +++ b/Project/Sources/catalog.4DCatalog @@ -1,6 +1,6 @@ - + @@ -14,7 +14,7 @@ - +