Skip to content

Commit

Permalink
Issue #33
Browse files Browse the repository at this point in the history
  • Loading branch information
mbleron committed Nov 18, 2022
1 parent 72dfc11 commit 86c1524
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@ Parameter|Description|Mandatory
`p_anchorTableId`|Handle of the anchor table.|No
`p_anchorPosition`|Position in the anchor table from which row and column offsets are applied. <br>One of `TOP_LEFT`, `TOP_RIGHT`, `BOTTOM_RIGHT`, `BOTTOM_LEFT`.|No

Three convenience procedures are also provided to directly put a numeric, string or date value: [putNumberCell](#putnumbercell-function), [putStringCell](#putstringcell-function) and [putDateCell](#putdatecell-function).
Three convenience procedures are also provided to directly put a numeric, string or date value: [putNumberCell](#putnumbercell-procedure), [putStringCell](#putstringcell-procedure) and [putDateCell](#putdatecell-procedure).

---
### putNumberCell procedure
Sets a numeric value in a given cell.
See [putCell](#putcell-function) function for a description of common parameters.
See [putCell](#putcell-procedure) procedure for a description of common parameters.
```sql
procedure putCell (
procedure putNumberCell (
p_ctxId in ctxHandle
, p_sheetId in sheetHandle
, p_rowIdx in pls_integer
Expand All @@ -309,9 +309,9 @@ procedure putCell (
---
### putStringCell procedure
Sets a string value in a given cell.
See [putCell](#putcell-function) function for a description of common parameters.
See [putCell](#putcell-procedure) procedure for a description of common parameters.
```sql
procedure putCell (
procedure putStringCell (
p_ctxId in ctxHandle
, p_sheetId in sheetHandle
, p_rowIdx in pls_integer
Expand All @@ -326,9 +326,9 @@ procedure putCell (
---
### putDateCell procedure
Sets a date value in a given cell.
See [putCell](#putcell-function) function for a description of common parameters.
See [putCell](#putcell-procedure) procedure for a description of common parameters.
```sql
procedure putCell (
procedure putDateCell (
p_ctxId in ctxHandle
, p_sheetId in sheetHandle
, p_rowIdx in pls_integer
Expand Down Expand Up @@ -1698,6 +1698,10 @@ Shows available cell styling options.

## CHANGELOG

### 3.0.1 (2022-11-18)

* Fix : issue #33

### 3.0 (2022-11-02)

* Added Cell API
Expand Down
6 changes: 3 additions & 3 deletions plsql/ExcelGen.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -608,13 +608,13 @@ create or replace package body ExcelGen is
end;

function makeCellRef (
colIdx in pls_integer
, rowIdx in pls_integer
p_colIdx in pls_integer
, p_rowIdx in pls_integer
)
return varchar2
is
begin
return makeCellRef(base26encode(colIdx), rowIdx).value;
return makeCellRef(base26encode(p_colIdx), p_rowIdx).value;
end;

function translateCellRef (
Expand Down
5 changes: 3 additions & 2 deletions plsql/ExcelGen.pks
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ create or replace package ExcelGen is
Marc Bleron 2022-09-04 Added row properties
Added multitable sheet model and cell API
Refactoring
Marc Bleron 2022-11-18 Renamed makeCellRef parameters
====================================================================================== */

-- file types
Expand Down Expand Up @@ -150,8 +151,8 @@ create or replace package ExcelGen is
return cellStyleHandle;

function makeCellRef (
colIdx in pls_integer
, rowIdx in pls_integer
p_colIdx in pls_integer
, p_rowIdx in pls_integer
)
return varchar2;

Expand Down

0 comments on commit 86c1524

Please sign in to comment.