create or replace package body SDT_IF is
/* 2016-ÁPR.  -21 15:40 */
/* 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_text_idx3 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');
l_text_idx1 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'In paragraph text have some optinal text. It appears when the epxression is true: ', p_font => l_font1);
/* SDT CONTROL: IF -> 3<5 */
if 3<5 then

/* ADD TEXT */
l_text_idx2 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => 'optional text', p_font => l_font1);
end if;
/* ADD TEXT */
l_text_idx3 := plpdf3.addText( p_paragraph => v_paragraph1, p_text => ' ', p_font => l_font1);
plpdf3.printParagraph( p_paragraph => v_paragraph1);
plpdf.SendDoc( p_blob => v_pdf);
end;
end SDT_IF;
