Image Table

When the DOCX template contains static images then need declare storage table. The missing table error is

Report error -
ORA-20000: ERR-701 Not existing image table
  • create the table
create table IMAGE_BLOB
(
  id         NUMBER,
  image_file BLOB,
  filename   VARCHAR2(255)
);
  • set the parameter
:result := plpdf_reporter_pdf.gencode(p_packagename => :p_packagename,
                                        p_file => :p_file,
                                        p_encoding => :p_encoding,
                                        p_image_table => 'image_blob',
                                        p_package_header => p_package_header,
                                        p_ascii_mode => false,
                                        p_append_slash => true,
                                        p_quite_ascii => true,
                                        p_extend_linespace => false
                                        );