Skip to content

Commit

Permalink
[Enh]: Word Table - Row Accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
seandenigris committed Nov 21, 2023
1 parent d7dc961 commit 101d8a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ResourcesLive/RlWordDocX.class.st
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"
Editing powered by [python-docx](https://python-docx.readthedocs.io/en/latest/)
"
Class {
#name : #RlWordDocX,
#superclass : #RlWordDoc,
Expand Down
12 changes: 12 additions & 0 deletions src/ResourcesLive/RlWordTable.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ RlWordTable >> pythonInstance [
RlWordTable >> pythonInstance: anObject [
pythonInstance := anObject
]

{ #category : #accessing }
RlWordTable >> row: rowIndex [

| row |
row := self newCommandFactory
bindingAt: #rowIndex put: rowIndex - 1;
sourceWithResult: 'self.rows[rowIndex]';
sendAndWait.

^ RlWordTableRow fromProxy: row
]

0 comments on commit 101d8a8

Please sign in to comment.