create or replace package body SDT_FORMAT is
/* 2016-ÁPR.  -21 15:10 */
/* PL/PDF REPORTER 4.2.0 */
/* THIS IS GENERATED CODE. DO NOT MODIFY DIRECTLY! PLEASE CHANGE THE TEMPLATE. */
v_format1 plpdf_type.t_pageformat;
l_box1 plpdf3.t_box;
v_paragraph1 plpdf3.t_paragraph;
l_font1 plpdf3.t_font;
l_text_idx1 pls_integer;
l_text_idx2 pls_integer;
l_run1 plpdf3.t_Run;
l_color1 plpdf_type.t_color;
l_text_idx3 pls_integer;
l_run2 plpdf3.t_Run;
l_text_idx4 pls_integer;
l_run3 plpdf3.t_Run;
l_text_idx5 pls_integer;
l_run4 plpdf3.t_Run;
l_text_idx6 pls_integer;
l_run5 plpdf3.t_Run;
l_text_idx7 pls_integer;
l_run6 plpdf3.t_Run;
l_text_idx8 pls_integer;
l_run7 plpdf3.t_Run;
l_text_idx9 pls_integer;
/* BODYSECTION */
procedure genPDF is
 begin 
v_format1 := plpdf_util.crFormat( p_w => 595.300, p_h => 841.900);
plpdf.init1( p_orientation => 'P', p_unit => 'pt', p_format => v_format1);
plpdf.setTopMargin( p_margin => 35.400);
plpdf.setLeftMargin( p_margin => 70.850);
plpdf.setRightMargin( p_margin => 70.850);
plpdf.NewPage( );
/* PARAGRAPH */
l_box1 := plpdf3.crBox( );
v_paragraph1 := plpdf3.crParagraph( p_box => l_box1);
/* ADD TEXT */
l_font1 := plpdf3.crFont( p_fontname => 'Helvetica', p_sz => 10);
l_text_idx1 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'The sharing operation is ', p_font => l_font1);
/* SDT CONTROL: FORMAT -> SDT_SAMPLE.SETRUNBOLD */
/* ADD TEXT */
l_text_idx2 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'finished when ', p_font => l_font1);
l_run1 := plpdf3.getRun( p_paragraph => v_paragraph1, p_idx => l_text_idx2);
sdt_sample.setRunBold(l_run1);
plpdf3.setRun( p_paragraph => v_paragraph1, p_idx => l_text_idx2, p_run => l_run1);
/* ADD TEXT */
l_color1 := plpdf_util.crColor( p_r => 255, p_g => 0, p_b => 0);
l_text_idx3 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'the document ', p_font => l_font1, p_text_color => l_color1);
l_run2 := plpdf3.getRun( p_paragraph => v_paragraph1, p_idx => l_text_idx3);
sdt_sample.setRunBold(l_run2);
plpdf3.setRun( p_paragraph => v_paragraph1, p_idx => l_text_idx3, p_run => l_run2);
/* ADD TEXT */
l_text_idx4 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'is saved by the recipient and the document can no longer be accessed via the URL. ', p_font => l_font1);
l_run3 := plpdf3.getRun( p_paragraph => v_paragraph1, p_idx => l_text_idx4);
sdt_sample.setRunBold(l_run3);
plpdf3.setRun( p_paragraph => v_paragraph1, p_idx => l_text_idx4, p_run => l_run3);
/* ADD TEXT */
l_text_idx5 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'Additional mechanisms', p_font => l_font1, p_text_color => l_color1);
l_run4 := plpdf3.getRun( p_paragraph => v_paragraph1, p_idx => l_text_idx5);
sdt_sample.setRunBold(l_run4);
plpdf3.setRun( p_paragraph => v_paragraph1, p_idx => l_text_idx5, p_run => l_run4);
/* ADD TEXT */
l_text_idx6 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => ', such as ', p_font => l_font1);
l_run5 := plpdf3.getRun( p_paragraph => v_paragraph1, p_idx => l_text_idx6);
sdt_sample.setRunBold(l_run5);
plpdf3.setRun( p_paragraph => v_paragraph1, p_idx => l_text_idx6, p_run => l_run5);
/* ADD TEXT */
l_text_idx7 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'password', p_font => l_font1);
l_run6 := plpdf3.getRun( p_paragraph => v_paragraph1, p_idx => l_text_idx7);
sdt_sample.setRunBold(l_run6);
plpdf3.setRun( p_paragraph => v_paragraph1, p_idx => l_text_idx7, p_run => l_run6);
/* ADD TEXT */
l_text_idx8 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => ' protection', p_font => l_font1);
l_run7 := plpdf3.getRun( p_paragraph => v_paragraph1, p_idx => l_text_idx8);
sdt_sample.setRunBold(l_run7);
plpdf3.setRun( p_paragraph => v_paragraph1, p_idx => l_text_idx8, p_run => l_run7);
/* ADD TEXT */
l_text_idx9 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => ', protect the user and data from misuse. It is also possible to scan a 3D barcode and call the document to be signed.', p_font => l_font1);
plpdf3.printParagraph( p_paragraph => v_paragraph1);
plpdf.SendDoc( p_blob => v_pdf);
end;
end SDT_FORMAT;
