/*10 Style setProtection*/ create or replace function test_10_Style_setProtection return clob is l_ws pls_integer; l_row pls_integer; l_cell pls_integer; l_style pls_integer; begin plxls_xml.init; -- Initialize instance l_style := plxls_xml.addStyle( p_Name => 'FirstStyle', p_Parent => null ); plxls_xml.Style_setProtection( p_style => l_style, p_Protected => true, p_HideFormula => true ); l_ws := plxls_xml.addWorksheet( -- add worksheet p_Name => 'FirstWS' ); l_row := plxls_xml.addRow( -- add a row p_ws => l_ws ); l_cell := plxls_xml.addCell_String( -- add a cell p_ws => l_ws, p_row => l_row, p_StyleID => l_style, p_data => 'Hello World!' ); return plxls_xml.getdoc; end; /