Oracle APEX: How to extract text from inside a PDF or Word Doc

Опубликовано: 25 Май 2026
на канале: Chip Baber
6,443
67

In this video we will show you how to quickly extract all the text from inside a pdf or word document and store the information inside a CLOB for quick retrieval.

Our video begins with a table containing a BLOB column with several pdf's and .doc's. We will start by creating a filter on the table to index the documents leveraging CTXSYS.CONTEXT and CTXSYS.AUTO_FILTER.

Next we will create a table with a CLOB column to store the text inside of the pdf. Once created we showcase a short segment of code leveraging the ctx_doc.filter API to process all the BLOBs extracting the raw text into the CLOB.

With the information inside a CLOB Oracle APEX can now easily display and process the text to users at a fraction of the time it would take to display or download the BLOB.

Sample Code leveraged in this video:
https://github.com/chipbaber/apex_tex...

Related Videos of Interest:
How to print a CLOB inside a Dialog Window in Oracle APEX
   • How to Print a CLOB inside a Modal Dialog ...  

How to enable Full Text Search on a BLOB
   • Oracle APEX: How to enable Full Text Searc...  

Oracle APEX: How to add an Image as BLOB to Existing Table/Form/Report
   • Oracle APEX: How to add an Image as BLOB t...