APEX-PLUGIN.COM

..the apex plugin directory

an initiative of

 

Top Rated Plugins

Add your APEX4.0 Plugin info

Describe your Plugin’s features. You can upload the Plugin’s code and documentation, or, alternatively, submit the URLs to your website or blog.

You are here:
Follow us on Twitter
Process Type Plugin (IR) Report to Excel (xlsx)

(IR) Report to Excel (xlsx)

10
Categories: Process Type Plugin
Author: Anton Scheffer

Download the output of your report as an Excelfile

 This plugin uses the source queries of all report regions on a page, either a clasic or interactive,
and puts the results of these queries in a Microsoft Excel file, ready for download. This plugin uses the Excel 2007 format .xlsx

This plugin is limited to 26 columns!!

new version 0.806

Special Requirements
Changelog:
version 0.806
support for Wizard Report
support for SQL Report based on a PL/SQL function body returning SQL query
XML-escaping for string data and sheetnames

version 0.804
support for timestamp and clob
filename changed from anton.xlsx

version 0.802
fixed a bug on 11.2 databases

version 0.800
initial version

Keywords
Excel, process type

Oracle APEX Plugin
Company: AMIS
Date added: 14.12.2010
Views: 15986
Votes: 16
Reviews: 58
Min. APEX Version:
4.0
Share on Facebook
Digg! Share on Digg
Save This Page
Link to:
Download
download apex plugin
If something is not correct please report it here: Report Listing
Do you have a question about this Plugin? Want to write a Review or Comment?
Login first.
Reviews / Questions / Comments are e-mailed to the author of the Plug-in.
0 
Just Show 32 columns
by Alf55
on April 24, 2013
Tx Anton

But in which part of the plugin i have to implement or change the second way to view more than 32 columns?
0 
@Alf55
by Anton Scheffer
on April 23, 2013
The plugin is limited in the number of columns in towi ways. You have changed one. The other is the way in which the column name for Excel ( A, B, C. D, etc ) is generated. In the current implemenation I used a very simple way, but that's limited to only 26 columns. On some other projects I use
function alfan_col( p_col pls_integer )
return varchar2
is
begin
return case
when p_col > 702 then chr( 64 + trunc( ( p_col - 27 ) / 676 ) ) || chr( 65 + mod( trunc( ( p_col - 1 ) / 26 ) - 1, 26 ) ) || chr( 65 + mod( p_col - 1, 26 ) )
when p_col > 26 then chr( 64 + trunc( ( p_col - 1 ) / 26 ) ) || chr( 65 + mod( p_col - 1, 26 ) )
else chr( 64 + p_col )
end;
end;
April 23, 2013
The Entry has been updated in the meantime!
0 
Just Show 32 columns
by Alf55
on April 22, 2013
Hi folks
I have a report with more 44 columns, i changed this line t_val := apex_plugin_util.get_data2( r_apr.region_source, 1, 100, p_component_name => p_process.name );
but the Excel file still show 32 , what i'm doing wrong?
Tx in advance
0 
Change excel template
by Jonas
on April 5, 2013
Yeah! In that way, change the template works.
0 
@Jonas
by Anton Scheffer
on April 5, 2013
I created that template by taking an Excel file with one empty sheet, renamed the xlsx to zip, took some files I didn't needed out of the zip. And believe that II looked for the index number of a "date" style inside the styles.xml and used that number as a hardcoded value inside the plugin.
10 
Ordering data in filter
by Jonas
on April 5, 2013
Another problem I'm having is when I try to change the column ordering in the filter, the result is that Excel crashes.

Regards,
10 
Change excel template
by Jonas
on April 5, 2013
I'm trying to change the excel template but when I run the process it crashes when it try to add a directory at line:

apex_debug_message.log_message( 'adding ' || zip_files( i ) );
add1file( t_excel, zip_files( i ), get_file( t_template, zip_files( i ) ) );

The difference seems to be that in your template no reads the directories but in my template does. I have compressed the file as a standar zip. It needs any special encoding?? Your template mime-type is application/x-zip-compressed, but mine contains application/zip.

The thing that I'm trying to do is to change date format from dd/mmm/yy to dd/mm/yyyy. Is there any other way to do it?

Regards,
0 
XLS need to be repaired
by Damir Vadas
on February 28, 2013

-error058960_01.xmlErrors were detected in file 'G:DownloadsPage Details pg.xlsx'-Repaired Records: Cell information from /xl/worksheets/sheet1.xml part

Problem is as allways ... dates ... which are shown in all columns but one in readable format (not the same as on the page) but one cell has a number.
0 
@Giuseppe
by Anton Scheffer
on February 21, 2013
This plugin has a max of 50 columns, which can be changed (see some previous reviews), but I don't think thats the problem/ An invalid Excel is generated for some unkown reason. Can you mail me that file. scheffer @ amis . nl
Powered by Sigsiu.NET RSS Feeds

Disclaimer: The APEX Plugins on this site are not supported by Oracle Support Services.

If you have a question about a Plugin or need support: Login and select the plugin detail page. At the bottom you can enter your Question / Review / Remark.
Your message will be sent to the author of the plugin.