From 86c15245f03cff386ea27d9d60e615aa8ff890f9 Mon Sep 17 00:00:00 2001 From: Marc Bleron Date: Fri, 18 Nov 2022 21:47:29 +0100 Subject: [PATCH] Issue #33 --- README.md | 18 +++++++++++------- plsql/ExcelGen.pkb | 6 +++--- plsql/ExcelGen.pks | 5 +++-- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f7ee049..2c49987 100644 --- a/README.md +++ b/README.md @@ -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.
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 @@ -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 @@ -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 @@ -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 diff --git a/plsql/ExcelGen.pkb b/plsql/ExcelGen.pkb index 0187c31..0742dc6 100644 --- a/plsql/ExcelGen.pkb +++ b/plsql/ExcelGen.pkb @@ -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 ( diff --git a/plsql/ExcelGen.pks b/plsql/ExcelGen.pks index 3d3dd78..d1e0a5a 100644 --- a/plsql/ExcelGen.pks +++ b/plsql/ExcelGen.pks @@ -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 @@ -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;