Skip to content

Commit

Permalink
object instead of 4D.WriteElement
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland-Lannuzel committed Jul 16, 2024
1 parent 8c4a8b8 commit 32db17a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Project/Sources/Classes/WPdocument.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Function getBody()->$body : cs:C1710.WPelement // ∆∆∆
//mark:-HEADERS AND FOOTERS

Function getHeader($sectionIndex : Integer; $subSectionType : Integer)->$header : cs:C1710.WPelement
var $docHeader : 4D:C1709.WriteElement
var $docHeader : Object //4D.WriteElement
Case of
: (Count parameters:C259=1)
$docHeader:=WP Get header:C1503(This:C1470.document; $sectionIndex)
Expand All @@ -192,7 +192,7 @@ Function getHeader($sectionIndex : Integer; $subSectionType : Integer)->$header
End if

Function getFooter($sectionIndex : Integer; $subSectionType : Integer)->$footer : cs:C1710.WPelement
var $docFooter : 4D:C1709.WriteElement
var $docFooter : Object //4D.WriteElement
Case of
: (Count parameters:C259=1)
$docFooter:=WP Get footer:C1504(This:C1470.document; $sectionIndex)
Expand Down
26 changes: 9 additions & 17 deletions Project/Sources/Classes/WPtable.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,28 @@

Class extends WPelement

Class constructor($table : 4D:C1709.WriteElement)
Class constructor($table : Object) //4D.WriteElement)

Super:C1705($table)
This:C1470.table:=$table


Function appendRow
//Function appendRow

Function deleteColumns
//Function deleteColumns

Function deleteRows
//Function deleteRows

Function getCells
//Function getCells

Function getColumns
//Function getColumns

Function getRows
//Function getRows

Function insertColumns
//Function insertColumns

Function insertRows
//Function insertRows



//WP Table append row
//WP TABLE DELETE COLUMNS
//WP TABLE DELETE ROWS
//WP Table get cells
//WP Table get columns
//WP Table get rows
//WP Table insert columns
//WP Table insert rows

0 comments on commit 32db17a

Please sign in to comment.