From 9b0738037b35d2514f219403891594607ca73f6a Mon Sep 17 00:00:00 2001 From: datRedHeadedGuy Date: Thu, 11 Oct 2018 16:11:43 -0500 Subject: [PATCH 1/2] Update ora/ooxml_util_pkg.pkb Modified the ooxml_util_pkg and added a 'state' attribute to t_xlsx_sheet_properties and removed the ORDER BY clause. --- ora/ooxml_util_pkg.pkb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ora/ooxml_util_pkg.pkb b/ora/ooxml_util_pkg.pkb index 574a432..d417add 100755 --- a/ora/ooxml_util_pkg.pkb +++ b/ora/ooxml_util_pkg.pkb @@ -73,6 +73,8 @@ begin Who Date Description ------ ---------- -------------------------------- JMW 02.03.2016 Created + JMW 31.03.2017 Added a 'state' attribute to t_xlsx_sheet_properties + JMW 12.04.2018 Removed the ORDER BY clause */ @@ -87,9 +89,9 @@ begin columns r_id varchar2(255) path '@r:id', sheetid number path '@sheetId', - name varchar2(31) path '@name' ) xml - where xml.r_id is not null - order by xml.sheetid; + name varchar2(31) path '@name', + state varchar2(10) path '@state' ) xml + where xml.r_id is not null; return l_returnvalue; From da266412364c19c488b24d38902ef6ecddccc7b5 Mon Sep 17 00:00:00 2001 From: datRedHeadedGuy Date: Thu, 11 Oct 2018 16:40:20 -0500 Subject: [PATCH 2/2] Update ora/ooxml_util_pkg.pks Forgot the change to the package specifications when the 'state' attribute was added to t_xlsx_sheet_properties. --- ora/ooxml_util_pkg.pks | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ora/ooxml_util_pkg.pks b/ora/ooxml_util_pkg.pks index d6c4636..bd2d46b 100755 --- a/ora/ooxml_util_pkg.pks +++ b/ora/ooxml_util_pkg.pks @@ -13,6 +13,7 @@ as ------ ---------- -------------------------------- MBR 25.01.2011 Created MBR 11.07.2011 Added Powerpoint-specific features + JMW 31.03.2017 Added a 'state' attribute to t_xlsx_sheet_properties */ @@ -81,7 +82,8 @@ as type t_xlsx_sheet_attributes is record ( r_id varchar2(255), sheetid number, - name varchar2(31) + name varchar2(31), + state varchar2(10) ); type t_xlsx_sheet_properties is table of t_xlsx_sheet_attributes index by pls_integer;