What do I need to do to display a MS Word, Excel or PDF document in browser

Hi, Right now I have photos loaded and displayed in my HTML document in the browser next to a report...
What do I need to do to display a MS Word, Excel or PDF document in a browser?
I use the following procedure to load the content to the region of my HTML .
This gives an EDIT link to the photo...
select
'[img src="#OWNER#.display_thumb?p_file_id=' || nvl(file_catalog_id,0) || '" /]' "File"
from "FILE_CATALOG"
where "FILE_CATALOG_ID" = :P9_FILE_CATALOG_ID
This is the procedure to load the content to the region of my HTML .
create or replace PROCEDURE "DISPLAY_THUMB" (p_photo_id in number)
as
l_mime varchar2(255);
l_length number;
l_file_name varchar2(2000);
lob_loc BLOB;
begin
select mime_type, thumbnail, photo_name, dbms_lob.getlength(thumbnail)
into l_mime, lob_loc, l_file_name, l_length
from photo_catalog where photo_catalog_id = p_photo_id;
-- Set up HTTP header
-- Use an NVL around the mime type and if it is a null, set it to
-- application/octect - which may launch a download window from windows
owa_util.mime_header(nvl(l_mime,'application/octet'), FALSE );
-- Set the size so the browser knows how much to download
htp.p('Content-length: ' || l_length);
-- The filename will be used by the browser if the users does a "Save as"
htp.p('Content-Disposition: filename="' || l_file_name || '"');
-- Close the headers
owa_util.http_header_close;
-- Download the BLOB
wpg_docload.download_file( Lob_loc );                               
end;

These were supplied from Justin in Experts Exchange..
For PDF, see here:
http://www.adobe.com/support/techdocs/328233.html
http://www.adobe.com/support/techdocs/331025.html
For Word docs, see here:
http://www.shaunakelly.com/word/sharing/OpenDocInIE.html
Any other input... any AJAX?

Similar Messages

  • I need to remove blue highlighting around certain words in a pdf document.

    Someone tell me how.

    I'm not sure how to send a screenshot in this forum but it doesn't matter now. The problem was that I somehow removed the Form Fields without it removing the information in them as well as the blue highlight for selecting an answer to the individual questions.
    I ended up going into another copy of the application and using the Tools>Highlight Existing Fields operation and then going through and making sure the different form fields weren't locked and then deleting each one.
    Initially I used the left hand side Navigation Pane buttons to remove all embedded information which is what got rid of the form fields but not the info in those form fields, which included the blue highlight.
    Thank you for your help though.

  • When I upgraded to FF 3.6, the line in the FF header with file, edit, view, etc is no longer visible. What do i need to do to display this line?

    When FF starts, the file, edit, etc line is not displayed. What do I need to do to display this line?
    Bill
    == This happened ==
    Every time Firefox opened
    == I upgraded to FF 3.6

    '''''"...the file, edit, etc line is not displayed"''''': That's the Menu Bar; see below.
    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''

  • What do I need to be able to type a word document on my ipad3?

    What do you need to type a word document on an ipad3 ?

    Lovebillie1 wrote:
    What do you need to type a word document on an ipad3 ?
    Obviously you'd need an app that allows you to create and edit Word documents.
    You have searched the App Store, haven't you:?

  • Display only 1 record using uploaded PDF document from 3rdparty Website

    Hi,
    Any help will be very much appreciated....
    I'm trying to create my first BI publisher report using a PDF document from 3rd party website. I want to populate the name from EMP table to one of the fields in the PDF doc.
    Here's the steps I've done:
    1. Created and saved a data set using only the ENAME column of EMP table. 14 records are available from the table.
    2. Run xml output and then save as sample data.
    3. Downloaded the PDF doc from the 3rd party website (government form - US Custom Form 7512).
    4. Using Adobe Acrobat X Version 10.1.4, I mapped the element name (ENAME) from my input XML file to the Name field.
    <output type="data-structure" >
    <dataStructure tagName="DATA_DS">
    <group name="G_2" source="Employee" label="G_2" >
    <element name="ENAME" value="ENAME" dataType="xsd:string" label="ENAME" breakOrder="None" fieldOrder="1"/>
    </group>
    </dataStructure>
    </output>
    5. Uploaded the revised PDF document to BI publisher.
    6. Created and saved the report.
    7. When I viewed the report in PDF, only 1 page is displayed. I'm expecting to see 14 pages because I have 14 records from the table EMP.
    Any report properties that I need to change to allow me to view all the records from the EMP table?
    Version of BI and Adobe
    Oracle BI Publisher 11.1.1.5.0
    Adobe Acrobat X Version 10.1.4

    There could be an issue with the Loop. I guess your Template is looking at the first record only and not reading through all the records.
    Try to get the BI Publisher Desktop tool. Using this tool you can merge PDF document and XML to see the output from your local PC/Laptop. It will be easy for you to debug.
    Rgds
    Chundi

  • My web address box is blank. What do I need to do to display a webpage address ?

    My webpage address box is blank thus, I am not able to copy web links or trace where I am on a webpage. Can you help?

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • What do I need to do in order to unlink the pages of one document in ipages?

    Every time I make a Change in one page of the document, it affects previews pages and mix the information.. there for I want to unlink the pages in the document. so I can be able to change information in one page, with out movieng the rest of the document

    I used a template from pages wich I multiply by 30 pages in order to use the same template in all pages. Now when i´m on page 23 if I delete an image, suddenly the previous pages are mixed up. It seems on the left side of my screen (they are bordered in yelow) that every 10 pages are linked. Do you know how to unlinked the several pages Im working with ?

  • What do I need to do to fix Error 1324. The path My Documents or the volume is invalid. Please enter it again?

    I am having trouble saving pdf files using Adobe on my PC.
    I get Error 1324. The path My Documents or the volume is invalid.
    How do I fix this please.
    I tried to uninstall and reinstall but I cannot uninstall as I get Error 1324. The path My Documents or the volume is invalid

    Reader does not provide a save as option. You must be using the MS plugin for creating PDFs since Reader can not create PDFs (you would have to have Acrobat). Since you do not have Acrobat, but Reader, you will have to check why the MS plugin is not working -- not an Adobe issue.

  • Finder does not display icon for word / excel in list view

    Hi,
    I got a new macbook air, with Yosemite pre installed. I copied over all my files (from my old macbook using a USB drive) and next I installed MS office for mac.
    For some reason Finder does not display the correct excel of word icon in list view (I set preview thumbnail to NO in view options), but it it displays the generic file icon.
    It appears to be very random, as some files do display the icon and others do not. It also appears to have nothing to do with the doc/docx xls/xlsx variations.
    Also some of my parallels icons do not display correctly in list view.
    When I open a INFO panel, it does show the correct icon. Example below:
    Any body know how to reset / fix this ?

    Still got no solution...
    There has to be some one that knows about this ..?
    Any professionals reading this that can point in some direction for a solution?

  • Many websites are not displayed properly, overlapping words etc., can I adjust the browser settings?

    Lots of sites do not appear properly, ie words and characters overlap, pop ups not complete.

    Reset the page zoom on websites that look wrong: "View > Zoom > Reset" (Ctrl + 0 (zero))
    See http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you increased the minimum font size then try a lower setting (default is none) as a too high value can cause issues like you described.<br />
    Tools > Options > Content : Fonts & Colors: Advanced > Minimum Font Size<br />
    Tools > Options > Content : Fonts & Colors: Advanced > "Allow pages to choose their own fonts, instead of my selections above"<br />
    See also http://kb.mozillazine.org/Websites_look_wrong

  • Sharing and displaying Excel and pdf documents in SAP BO Mobile

    Hello all,
    I have one quick question. Is it possible to share excel and pdf documents through SAP BO Mobile?
    I tried it uploading documents to BO Launch pad and assigning them to Mobile category. I can't see them in my ipad. Is there another way to share these kind of files through SAP Mobile in mobile devices? and how?
    Thanks.

    No that won't do it. Because my users have their own excels which are not related to BO or BW platforms. They are entering data manually to excel spreadsheets and reporting. We just want to upload them to BO platform and let them share those files with other users.
    I know I could create a webi report on top of excel, but we don't want to spend redoing the reports in excel.
    Thanks though.

  • What do I need to do to open Office (word AND excel) documents, PowerPC issues etc. They don't open on iWork '08. Office 2011? Please advise :-)

    What do I need to do to open Office 2004 (word AND excel) documents? PowerPC issues etc. They don't open on iWork '08. Happy to upgrade to iWork or Office just to be able to access my docs from Office 2004 again - please can someone advise? Cheers.

    Hi - thanks for this info. Actually I have downloaded a 30-day trial of MS Office for Mac 2011 and it reads/writes. But I was expecting that if I saved it again, either as xls oe xlsx, then I would be able to open the newly-saved document in iWorks '08. This is not the case, any ideas why? cheers, Matt.

  • HT3775 what do i need to do to make movies play with .avi?

    what do i need to do to make movies play with .avi?  The document “Image02.avi” could not be opened. A required codec isn't available.  when I click on the help button it brings me to this support page but I don't see on here what I'm suppose to do...

    VLC will open just about any video format:
    http://www.videolan.org/vlc/download-macosx.html

  • I purchased Photo Elements 13 yesterday and went to download and it shows it is not applicable...??? What do I need to do?

    I purchased Photo Elements 13 yesterday and went to download and it shows it is not applicable..??
    What do I need to do??

    Make sure you have cookies enabled for your browser and clear your cache.  If the problem continues try using a different browser.
    It is not clear what you mean saying it says it is not applicable.   If none of that helps, if you could include a screenshot of the message it might be helpful.

  • Display interactive form as pdf document using LinkToURL UI

    Hi Experts
    I have an interactive form but I need to display as pdf document with a link. I tried to get the url:
    String templateUrl =
         WDURLGenerator.getWebResourceUrl(
         wdComponentAPI.getDeployableObjectPart(),
         "WDV_ARC_PDF_InteractiveFormMercantil.xdp");
    And modified the 'reference' property of 'LinkToURL' with this String.
    Please help me

    WebDynpro Java
    I need to display an interactive form like a pdf document, away the portal. Similar when you try to open a pdf document, appers the pop up window with the opcions: Open, Save ...
    Thanks

Maybe you are looking for

  • File TO File-Using XSLT mapping (for Beginners) --- Error in XSLT

    Hi, I am following this wiki (TO File-Using XSLT mapping (for Beginners)) https://wiki.sdn.sap.com/wiki/display/XI/FileTOFile-UsingXSLTmapping%28forBeginners%29 When creating  Xslt from the MapForce, when I click on the XSLT Tab I am getting the foll

  • How come my iphone wont charge

    It says it is charging but it is not and the battery level keeps going down. I have tried the following Blowing in both the iphone and the cord and every other opening Plugging it into my computer Downloading and installing the new itunes AND I used

  • How to run JprogressBar to view uploading status?

    i know the file size and the current time but didnot finde the byte transfer rate. i am using these libraries import cz.dhl.ftp.Ftp; import cz.dhl.ftp.FtpConnect; import cz.dhl.ftp.FtpFile; import cz.dhl.io.CoFile; import cz.dhl.io.CoLoad; import cz.

  • JSF Display Page Issue

    Hello guys, Have you ever faced or know the reason behind this : When I run my JSF application (1.2 based) on Tomcat I get this on my login page : #{loginBean.name} in the Text field that I supposed to write in the user name !! I dont know why !! I t

  • Scipt which starts a Program only when another program is running

    Hello again. I want to activate compiz-fusion, but reactivate kwin when playing games on wine (caus fps will break down very hard when compiz is running). Ive read lots of forums and tutorials and scripted this scipt, which runs fine and smoothy. BUT