AS_PDF3_V5 new features
Hello everyone, a few days ago I posted the SQL for create PDF document directly from PL/SQL, based on original package by Anton Scheffer.Now I've added some new features (version 3.5.2):
- Procedure query2table now accept CLOB query fields, treat this as images and locate it into array of cells, using horizontal and vertical alignment and risizing if specified.
- New procedere query2labels that work like query2table but dispose record into multiple columns and rows. The scope is to create sheets with the same label with different contents like a mailing list.
- Begin of multilanguage errore messages (English or Italian).
- Added offsetY parameter to columns format type, it works like offsetX, but obviously acts on the ordered. Used in combination with cellRow and tRowHeight, allows the positioning of each individual field in an independent manner.
- Added a simplified call to query2table and query2label whit colors parameter as a simpliest list of hex rgb colors comma separated,
for example '000000,e0ffff,000000,000000,ffffff,000000,000000,d0d0d0,000000' .
2016-05-11. bugfix on callingh query2table with p_color parameter set to null
2016-09-06 bugfix in recursive call of write (for text on multiple lines)
Download Ultima versione (0.3.5.11) Example Documentation Github
AS_PDF3_V5 nuove funzionalità
Salve a tutti, qualche giorno fa ho postato il codice SQL per creare documenti PDF direttamente da PL/SQL, basato sul package originale di Anton Scheffer.Ora ho aggiunto alcune nuove funzionalià:
- Procedure query2table: ora la query acetta campi CLOB, li tratta come immagini e li posiziona all'interno della griglia, con la possibilità di allineamento orizzontale, verticale e ridimensionamento se specificato.
- Nuova procedere query2labels: funziona come query2table, ma dispone i record su colonne e righe miltiple. Lo scopo è di realizare fogli di etichette un po' come farebbe un programma di mailing list per la stampa delle etichette indirizzi.
- Inizio della gestione degli errori personalizzati con messaggi in Italiano e Inglese.
- Aggiunto il parametro offsetY al record dei formati colonne, funziona come offsetX, ma ovviamente agisce sulle ordinate. Usato in combinazione con cellRow e tRowHeight, permette di posizionare ogni singolo campo in modo indipendente.
- Aggiunta una chaimata più semplice per query2table e query2label dove il parametro dei colori è una semplice lista di colori rgb separata da virgol,
esempi: '000000,e0ffff,000000,000000,ffffff,000000,000000,d0d0d0,000000' .
2016-05-11. bugfix con parametro p_color null
2016-09-06 bugfix nelle chiamate ricorsive della procedura write (avvengono per il testo su più righe)
Come sempre commenti e correzioni saranno graditi.
Download Last version (0.3.5.11) Esempio Documentazione Github
Change Log
-------------------------------------------------------------------------------
** Date: 18-09-2014 Version: 0.3.5.03
** bugfix and impovement suggested by Giuseppe Polo
** +query2table added Interline parameter
** setCellFont bugfix for Header
** Date: 26-09-2014 Version: 0.3.5.04
** bugfix for recursive call of function Write
** Date: 29-09-2014 Version: 0.3.5.05
** +query2table added pFrame parameter ex: 'L=2pt; C=FF0000'
** where L=Linesize and C=rgb hex colour
** +query2table p_colors also accept CSV string of rgb colours
** +set_Language Set language for erorr messages.
** (English, Italian)
** +put_image add parameters p_cellWidth, p_cellheight
** +Columns can contain blob IMAGE
** +FullJustify Alignment for write and query2table functions
**
** Date: 25-11-2014 Version: 0.3.5.06
** bugfix for query with more than 200 records
** +query2table Add optional parameter p_bulk_size:=200
** +cursor2table if = 0 buffer is autodetected,
** but query runs 2 times!
** Date: 24-06-2015 Version: 0.3.5.07
** BugFix query2table Reset rowHeith when
** RowHeight Min or Exacat as specified
** Date: 30-06-2015 Version: 0.3.5.08
** BugFix PrepareRecord Fix problem with rowHeight
** Date: 26-08-2015 Version: 0.3.5.09
** BugFix colorTable Fix problem with undefined collection
** WARNING! if you change package name, propertly set g_package variabile
** Date: 14-12-2015 Version: 0.3.5.10
** Bugix in PrepareRecord
** Date: 11-05-2016 Version: 0.3.5.11
** Bugix error when calling with null colours
** colorTable changed and moved before query2Table
** query2table & query2label changed
** when calling query2table you must use empty string '' instead of null for p_colors parameter
**