APEX-PLUGIN.COM

..the apex plugin directory

an initiative of

Add your APEX Plugin info

Describe your Plugin’s features. You can upload the Plugin’s code and documentation, or, alternatively, submit the URLs to your Website, GitHup Repository or Blog.

You are here:
Follow us on Twitter
Item Plugin PDFEmbedded

PDFEmbedded

7
Categories: Item Plugin
Author: Jon001

Embedded PDF reports in web page

Embed your PDF Reports in the current web page using this plug-in. The PDF file will be displayed in a PDF area whose size you can deifine. 

The main uses are:

  • Display the report within current web page avoiding forth and back navigation.
  • Provide a preview of the report to the user. Open and close the report with a single click.
  • Configure the tool bars, zoom, disply mode and other setting in the Adobe Reader using the PDF Open Paramteres.

The plug-in script is based on http://pdfobject.com/ which is based in a MIT license (see file in the download)


Keywords
pdf,report,print,printing,xsl-fo,reports

Embedded Report
Embedded Report
Company:
Date added: 6.7.2013
Views: 9804
Votes: 5
Reviews: 13
Min. APEX Version:
4.2
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.
2 
TOOL BAR
by HUMAYUN
on October 25, 2017
tool bar disable option is not working. why?
0 
TOOL BAR
by HUMAYUN
on October 25, 2017
tool bar disable option is not working. why?
0 
TOOL BAR
by HUMAYUN
on October 25, 2017
tool bar disable option is not working. why?
4 
Empty pdf window
by Marek Powro?nik
on February 7, 2017
Hi,
Installed under Apex 5.1
Does this plugin work for "PLSQL Dynamic Content" Report?
Always i got empty pdf window.
Maybe i wrongly set url:
f?p=&APP_ID.:10:&SESSION.:PRINT_REPORT=tasks_Query
please, help.
thanks
0 
Empty pdf window
by Marek Powro?nik
on February 7, 2017
Hi,
Installed under Apex 5.1
Does this plugin work for "PLSQL Dynamic Content" Report?
Always i got empty pdf window.
Maybe i wrongly set url:
f?p=&APP_ID.:10:&SESSION.:PRINT_REPORT=tasks_Query
please, help.
thanks
0 
How to pass report url
by Saravanan
on April 18, 2015
please help,

How can i pass the report url

do i need to give the region name or static id?
0 
by SvDev
on July 2, 2014
[sorry again, everything in first post was ok except htp.prn element, here it is, replace & lt; and & gt; with appropriate characters if you see them]

htp.prn('<input type="hidden" id="' || p_item.name || '" name="' || apex_plugin.get_input_name_for_page_item(false) || '" value="' || sys.htf.escape_sc(p_item.attribute_01) || '" /><span id="link" style="display:none"></span>');
0 
by SvDev
on July 2, 2014
[second part; sorry, messages are limited]
htp.prn('');

apex_javascript.add_onload_code('$("#' || p_item.name || '").bind("apexrefresh", function() {
u=$v(''' || p_item.name || ''');
jview=''' || sys.htf.escape_sc(p_item.attribute_02) || ''';
pmode=''' || sys.htf.escape_sc(p_item.attribute_07) || ''';
nav=''' || sys.htf.escape_sc(p_item.attribute_03) || ''';
tool=''' || sys.htf.escape_sc(p_item.attribute_04) || ''';
msg=''' || sys.htf.escape_sc(p_item.attribute_05) || ''';
sta = ''' || sys.htf.escape_sc(p_item.attribute_06) || ''';
zoom= ' || sys.htf.escape_sc(p_item.attribute_10) || ';
w1=' || p_item.attribute_08 || ';
h1=' || p_item.attribute_09 || ';
document.getElementById("link").innerHTML=''' || l_openmsg|| ''';
com_j4l_pdf(u,w1,h1,tool,nav,sta,msg,zoom,jview,pmode,''' || l_openmsg || ''' ,''' || l_closemsg || ''');
});');

and checked 'Session State Changeable' attribute.

With these changes it's possible to use dynamic actions for:

- to set report url to a new value
(for example, by executing JavaScript code: $s('plug-in item name','new report url' );
and by calling refresh DA on item plug-in after that)

- to show / hide region with plug-in

- etc.

May be this code can be helpful to others.
I would like to see build-in support for these features in future.

Regards,
SvDev
8 
by SvDev
on July 2, 2014
Hi

Thank you for the plug-in.
I decided to use it, but did some fixes [to 1.0 version]:

to show the progress bar I added style to the last htp.p element:

background: transparent url(#IMAGE_PREFIX#processing3.gif) center no-repeat;

In my case, I didn't need preview button, I wanted to use refresh DA and set item methods to show pdf dynamically with onclick event.

So, I commented the part:

if (l_button='Y') then ... else ... end if;

and to also be able to change report url dynamically I replaced previous part with

htp.prn('');

apex_javascript.add_onload_code('$("#' || p_item.name || '").bind("apexrefresh", function() {
u=$v(''' || p_item.name || ''');
jview=''' || sys.htf.escape_sc(p_item.attribute_02) || ''';
pmode=''' || sys.htf.escape_sc(p_item.attribute_07) || ''';
nav=''' || sys.htf.escape_sc(p_item.attribute_03) || ''';
tool=''' || sys.htf.escape_sc(p_item.attribute_04) || ''';
msg=''' || sys.htf.escape_sc(p_item.attribute_05) || ''';
sta = ''' || sys.htf.escape_sc(p_item.attribute_06) || ''';
zoom= ' || sys.htf.escape_sc(p_item.attribute_10) || ';
w1=' || p_item.attribute_08 || ';
h1=' || p_item.attribute_09 || ';
document.getElementById("link").innerHTML=''' || l_openmsg|| ''';
com_j4l_pdf(u,w1,h1,tool,nav,sta,msg,zoom,jview,pmode,''' || l_openmsg || ''' ,''' || l_closemsg || ''');
});');

and checked 'Session State Changeable' attribute.

With these changes it's possible to use dynamic actions for:

- to set report url to a new value
(for example, by executing JavaScript code: $s('plug-in item name','new report url' );
and by calling refresh DA on item plug-in after that)

- to show / hide region with plug-in

- etc.

May be this code can be helpful to others.
I would like to see build-in support for these features in future.

Regards,
SvDev
0 
by Monica
on April 4, 2014
Hi, When I first created the item for this plugin type it worked.
But i tsuddenly stopped working . Now when i hit preview it wont show any thing. Just a blank box
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.