From f671dd16ebafec5c4976aaf897943d228c41b66b Mon Sep 17 00:00:00 2001 From: datRedHeadedGuy Date: Fri, 4 Mar 2016 16:24:00 -0600 Subject: [PATCH] Update ooxml_util_pkg.pks Added a new function within the ooxml_util_pkg specifications that will return a collection of the worksheet records that include the name of the worksheet, the sheet ID of the worksheet, and the relationship ID for the worksheet. This will allow for the ability to look-up worksheets and parse them without needing to know what the worksheet's name is in advance. --- ora/ooxml_util_pkg.pks | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ora/ooxml_util_pkg.pks b/ora/ooxml_util_pkg.pks index 2fba608..241ba6c 100755 --- a/ora/ooxml_util_pkg.pks +++ b/ora/ooxml_util_pkg.pks @@ -77,7 +77,18 @@ as ); type t_xlsx_sheet is table of t_xlsx_cell index by varchar2(20); - + + type t_xlsx_sheet_attributes is record ( + r_id varchar2(255), + sheetid number, + name varchar2(31) + ); + + type t_xlsx_sheet_properties is table of t_xlsx_sheet_attributes index by pls_integer; + + -- get list of xlsx worksheets + function get_worksheets_list( p_xlsx in blob ) return t_xlsx_sheet_properties; + -- get docx properties function get_docx_properties (p_docx in blob) return t_docx_properties;