74 lines
2.2 KiB
Plaintext
74 lines
2.2 KiB
Plaintext
CREATE OR REPLACE PACKAGE
|
|
/*
|
|
2007 Advantica Ltd
|
|
*/
|
|
amfr_excel IS
|
|
/**
|
|
--
|
|
-- EXCEL Routines
|
|
--
|
|
-- #version $Revision: $
|
|
-- #author $Author: $
|
|
--
|
|
*/
|
|
g_package_name CONSTANT VARCHAR2(30) := 'amfr_excel';
|
|
g_header CONSTANT VARCHAR2(160) := '$Header: $';
|
|
g_revision CONSTANT VARCHAR2(160) := '$Revision: $';
|
|
g_date_format CONSTANT VARCHAR2(20) := nvl(cout_system_configuration.get_configuration_item('g_date_format')
|
|
,'DD/MM/YYYY');
|
|
--
|
|
g_spte_single spreadsheet_templates.NAME%TYPE := 'Single Day';
|
|
g_spte_smulti spreadsheet_templates.NAME%TYPE := 'Single-Multi Day';
|
|
/*
|
|
VSS Information not documented by PL/SQL Developer
|
|
$Header: $
|
|
$Date: $ Date and time of last checkin
|
|
$Modtime: $ Date and time of last modification
|
|
$History: $
|
|
*/
|
|
--
|
|
-- Constants
|
|
--
|
|
gc_nomination CONSTANT VARCHAR2(20) := 'NOMINATION';
|
|
--
|
|
-- Procedureal Declaration
|
|
--
|
|
--
|
|
-- Convert x axis spreadsheet labels to numberic array indexes
|
|
--
|
|
FUNCTION convert_x ( p_x_axis IN VARCHAR2 )RETURN NUMBER;
|
|
--
|
|
-- Convert y axis spreadsheet labels to numberic array indexes
|
|
--
|
|
FUNCTION convert_y ( p_y_axis IN NUMBER ) RETURN NUMBER;
|
|
--
|
|
--
|
|
--
|
|
PROCEDURE get_template ( p_id IN NUMBER
|
|
, p_type IN VARCHAR2
|
|
, p_nomi_conf_id IN NUMBER DEFAULT NULL
|
|
, p_mode IN VARCHAR2 DEFAULT 'DOWNLOAD'
|
|
);
|
|
--
|
|
--
|
|
--
|
|
FUNCTION return_conf ( p_conf_id IN confirmations.conf_id%TYPE ) RETURN BLOB;
|
|
--
|
|
FUNCTION j_readworkbook(p_docu_id IN VARCHAR2) RETURN VARCHAR2;
|
|
--
|
|
FUNCTION j_writeworkbook(p_spreadsheet_id IN VARCHAR2
|
|
,p_sheet_name IN VARCHAR2) RETURN NUMBER;
|
|
--
|
|
PROCEDURE download ( p_conf_id IN confirmations.conf_id%TYPE );
|
|
PROCEDURE download ( p_nomi_id IN nominations.nomi_id%TYPE );
|
|
PROCEDURE download ( p_docu_id IN documents.docu_id%TYPE );
|
|
--
|
|
/**
|
|
-- Details about this module
|
|
-- %return A textual descrtiption of the version number and VSS header for this package
|
|
*/
|
|
FUNCTION about RETURN VARCHAR2;
|
|
--
|
|
END amfr_excel;
|
|
/
|