Embed PDF file in HTML region

Hi There
I have a simple report - with a link to view an underlying document. The document will be displayed on a seperate page with one HTML region. Say the file to display is statement.pdf and it is has already been uploaded to apex images. There is a hidden field P3_FILENAME on the display page. This gets set from the report. On the HTML region:
<div style="">
<embed height="600" width="1200" name="Statement" src="#WORKSPACE_IMAGES#&P3_FILENAME." type="application/pdf" />
</div>but it does not work. However, if I simply do this and 'run' the page - it displays fine.
<div style="">
<embed height="600" width="1200" name="Statement" src="#WORKSPACE_IMAGES#statement.pdf" type="application/pdf" />
</div>Looking at the source of the resultant failing page I can see that the values were correctly set.
Any ideas?
thanks
P

I think the HTML is looking for the explicit &P3_FILENAME. and can't find it because it is being referenced through the HTML rendering engine rather than the PL/SQL engine which would handle the variable substitution.
Try creating a PL/SQL region where you write out the div tags as strings using DBMS_OUTPUT.PUT_LINE. I use this to create some rather complicated reports and it works great for letting me do variable substitution amongst my HTML. Here's a simple example (mine's a procedure I call to feed in page variables):
create or replace PROCEDURE PROC_DASH_SAFETY(x_org NUMBER, x_dt DATE)
AS
  v_dt_disp        VARCHAR2(15);
  v_dt             DATE           := x_dt;
  v_org_id         NUMBER         := x_org;
  v_fact_id        NUMBER;
  v_org_nm         VARCHAR2(47);
  v_org_tz         VARCHAR2(4);
  ontime           VARCHAR2(47);
  v_saf_ct         PLS_INTEGER    := 0;
  v_eff_ct         PLS_INTEGER    := 0;
  saf_aud_t        NUMBER;
  saf_aud_a        NUMBER;
  eqp_aud_t        NUMBER;
  eqp_aud_a        NUMBER;
  saf_chk_t        NUMBER;
  saf_chk_a        NUMBER;
  saf_loss         NUMBER;
  eff_mpg_t        NUMBER;
  eff_mpg_a        NUMBER;
  eff_idl_t        NUMBER;
  eff_idl_a        NUMBER;
  eff_brk_t        NUMBER;
  eff_brk_a        NUMBER;
  pm_tgt_pct       NUMBER;
  pm_ct            INTEGER;
  pm_act_pct       NUMBER;
  pm_done          NUMBER;
  pm_ovrdue        NUMBER;
begin  -- 100
  select ORG_NM, TZ into v_org_nm, v_org_tz from ORG_ENTITIES
   where ORG_ID = v_org_id;
  v_dt_disp   :=  to_char(v_dt,'MM/DD/YYYY');
  select CASE WHEN v_org_tz = 'MST' and sysdate - v_dt < 33/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'MDT' and sysdate - v_dt < 33/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'MST' and sysdate - v_dt >= 33/24
                 THEN '<span class="red">No</span>'
            WHEN v_org_tz = 'MDT' and sysdate - v_dt >= 33/24
                 THEN '<span class="red">No</span>'
            WHEN v_org_tz = 'CST' and sysdate - v_dt < 32/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'CDT' and sysdate - v_dt < 32/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'CST' and sysdate - v_dt >= 32/24
                 THEN '<span class="red">No</span>'
            WHEN v_org_tz = 'CDT' and sysdate - v_dt >= 32/24
                 THEN '<span class="red">No</span>'
            WHEN v_org_tz = 'EST' and sysdate - v_dt < 31/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'EDT' and sysdate - v_dt < 31/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'EST' and sysdate - v_dt >= 31/24
                 THEN '<span class="red">No</span>'
            WHEN v_org_tz = 'EDT' and sysdate - v_dt >= 31/24
                 THEN '<span class="red">No</span>'
            WHEN v_org_tz = 'PST' and sysdate - v_dt < 34/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'PDT' and sysdate - v_dt < 34/24
                 THEN '<span class="grn">Yes</span>'
            WHEN v_org_tz = 'PST' and sysdate - v_dt >= 34/24
                 THEN '<span class="red">No</span>'
            WHEN v_org_tz = 'PDT' and sysdate - v_dt >= 34/24
                 THEN '<span class="red">No</span>'
            ELSE '<span class="red">No</span>'
       END as PRINT_TIME
  into ontime
  from dual;
  htp.p('<p class="lgl">Dashboard information is confidential.  Refer to your employee handbook for confidentiality guidelines.</p>');
  --htp.p('<p>'|| v_org_nm ||' on '|| v_dt_disp ||'</p>');
  htp.p('<table border="0" cellpadding="0" cellspacing="0" summary="Run Information" width="800">');
      htp.p('<tr><td>Dashboard for '|| v_org_nm ||' on '|| v_dt_disp ||'</td><td> </td>');
      htp.p('<td>Dashboard run on time? '|| ontime ||'</td></tr>');
  htp.p('</table>');
  htp.p('<table border="3" cellpadding="0" cellspacing="0" summary="Daily Dashboard">');
  --Safety
  htp.p('<tr><td><table border="0" cellpadding="0" cellspacing="0" summary="Safety Information" width="400">');
  select COUNT(ID) into v_saf_ct from DASHBOARD_AUDITS
   where DATE_INDEX = v_dt and ORG_ID = v_org_id;
      htp.p('<tr><th><div title="Safety">Safety</div></th><td class="c">Target</td>');
          htp.p('<td class="c">Actual</td><td class="c">%</td>');
          htp.p('<td style="text-decoration: underline;">Loss Free Day?</td></tr>');
  IF v_saf_ct = 1 THEN
    select LOSS into saf_loss from DASHBOARD_AUDITS
     where DATE_INDEX = v_dt and ORG_ID = v_org_id;
    select AUDIT_TARGET, AUDIT_ACTUAL, CHKRD_TARGET, CHKRD_ACTUAL, MECH_TARGET, MECH_ACTUAL
      into saf_aud_t, saf_aud_a, saf_chk_t, saf_chk_a, eqp_aud_t, eqp_aud_a
      from DASHBOARD_AUDITS
     where DATE_INDEX = v_dt and ORG_ID = v_org_id;
----Safety Audits
    IF saf_aud_t > 0 THEN
      htp.p('<tr><td>  Safety Audits</td><td class="c">'|| saf_aud_t ||'</td>');
          htp.p('<td class="c">'||saf_aud_a||'</td>');
        IF ROUND(saf_aud_a*100/saf_aud_t,2) >= 100 THEN
          htp.p('<td class="cgr">'||ROUND(saf_aud_a*100/saf_aud_t,2)||'%</td>');
        ELSIF ROUND(saf_aud_a*100/saf_aud_t,2) < 100 THEN
          htp.p('<td class="crd">'||ROUND(saf_aud_a*100/saf_aud_t,2)||'%</td>');
        ELSE
          htp.p('<td class="crd">-</td>');
        END IF;
      ELSE
      htp.p('<tr><td>  Safety Audits</td><td class="c">No Audit Target set</td>');
          htp.p('<td class="c">'||saf_aud_a||'</td><td class="c">-</td>');
      END IF;
      IF saf_loss = 1 THEN
          htp.p('<td class="cgr">Yes</td></tr>');
      ELSE
          htp.p('<td class="crd">No</td></tr>');
      END IF;
----Equipment Audits
    --eqp_aud_t        := 0;
    --eqp_aud_a        := 0;
    IF eqp_aud_t > 0 THEN
      htp.p('<tr><td>  Equipment Audits</td><td class="c">'||eqp_aud_t||'</td>');
          htp.p('<td class="c">'||eqp_aud_a||'</td>');
        IF ROUND(eqp_aud_a*100/eqp_aud_t,2) >= 100 THEN
          htp.p('<td class="cgr">'||ROUND(eqp_aud_a*100/eqp_aud_t,2)||'%</td></tr>');
        ELSIF ROUND(eqp_aud_a*100/eqp_aud_t,2) < 100 THEN
          htp.p('<td class="crd">'||ROUND(eqp_aud_a*100/eqp_aud_t,2)||'%</td></tr>');
        ELSE
          htp.p('<td class="crd">-</td></tr>');
        END IF;
      ELSE
      htp.p('<tr><td>  Equipment Audits</td><td class="c">No Equipment Audits Target Set</td>');
          htp.p('<td class="c">'||eqp_aud_a||'</td><td class="c">-</td>');
      END IF;
----Checkrides
    IF saf_chk_t > 0 THEN
      htp.p('<tr><td>  Check Rides</td><td class="c">'||saf_chk_t||'</td>');
          htp.p('<td class="c">'||saf_chk_a||'</td>');
        IF ROUND(saf_chk_a*100/saf_chk_t,2) >= 100 THEN
          htp.p('<td class="cgr">'||ROUND(saf_chk_a*100/saf_chk_t,2)||'%</td></tr>');
        ELSIF ROUND(saf_chk_a*100/saf_chk_t,2) < 100 THEN
          htp.p('<td class="crd">'||ROUND(saf_chk_a*100/saf_chk_t,2)||'%</td></tr>');
        ELSE
          htp.p('<td class="crd">-</td></tr>');
        END IF;
      ELSE
      htp.p('<tr><td>  Check Rides</td><td class="c">No Checkride Target Set</td>');
          htp.p('<td class="c">'||saf_chk_a||'</td><td class="c">-</td>');
      END IF;
  ELSE
      htp.p('<tr><td colspan="4">This information has not been recorded.</td></tr>');
  END IF;
  htp.p('</table></td>');
  select COUNT(ID) into v_eff_ct from VF_TARGET_PERF
     where ORG_ID = v_org_id and v_dt between BEGIN_DATE and NVL(END_DATE,sysdate);
  IF v_eff_ct = 1 THEN
    select MPG, IDLE_TIME, HARD_BRAKES into eff_mpg_t, eff_idl_t, eff_brk_t
      from VF_TARGET_PERF
     where ORG_ID = v_org_id and v_dt between BEGIN_DATE and NVL(END_DATE,sysdate);
  ELSE
    eff_mpg_t        := 0;
    eff_idl_t        := 0;
    eff_brk_t        := 0;
  END IF;
  select SUM(TRIP_DISTANCE)/SUM(TRIP_FUEL), SUM(HARD_BRAKE_COUNT),
          SUM(IDLE_TIME)/SUM(TRIP_TIME)*100
    into eff_mpg_a, eff_brk_a, eff_idl_a
    from PEOPLENETIF.TRIP_DATA
   where TRUNC(TRIPSTART_TIMESTAMP) = v_dt-1
     and VEHICLE_LABEL IN
         (select EQUIP_TAG from EQUIPMENT
           WHERE ORG_ID = v_org_id and EQUIP_TYPE_ID = 1)
     and TRIP_FUEL > 0 AND DRIVING_MPG <= 10;
  htp.p('<td><table border="0" cellpadding="0" cellspacing="0" summary="Performance" width="400">');
      htp.p('<tr><th>Efficiency</th><td class="c">Target</td>');
      htp.p('<td class="c">Actual</td><td class="c">%</td>');
          htp.p('<td class="c"> </td><td class="c"> </td></tr>');
------MPG
      htp.p('<tr><td>  MPG</td><td class="c">'||eff_mpg_t||'</td>');
          htp.p('<td class="c">'||ROUND(eff_mpg_a,2)||'</td>');
  IF eff_mpg_t > 0 THEN
    IF ROUND(eff_mpg_a/eff_mpg_t*100,1) >= 100 THEN
          htp.p('<td class="cgr">'||ROUND(eff_mpg_a/eff_mpg_t*100,1)||'%</td>');
    ELSE
          htp.p('<td class="crd">'||ROUND(eff_mpg_a/eff_mpg_t*100,1)||'%</td>');
    END IF;
  ELSE
          htp.p('<td class="c">-</td>');
  END IF;
          htp.p('<td class="c"> </td><td class="c"> </td></tr>');
------Idle Time
      htp.p('<tr><td>  Idle Time</td><td class="c">'||eff_idl_t||'</td>');
          htp.p('<td class="c">'||ROUND(eff_idl_a,2)||'</td>');
  IF eff_idl_t > 0 THEN
    IF ROUND(eff_idl_a/eff_idl_t*100,1) > 100 THEN
          htp.p('<td class="crd">'||ROUND(eff_idl_a/eff_idl_t*100,1)||'%</td>');
    ELSE
          htp.p('<td class="cgr">'||ROUND(eff_idl_a/eff_idl_t*100,1)||'%</td>');
    END IF;
  ELSE
          htp.p('<td class="cgr">-</td>');
  END IF;
          htp.p('<td class="c" colspan="2">PM''s</td></tr>');
------Hard Brakes
      htp.p('<tr><td>  Hard Brakes</td><td class="c">'||eff_brk_t||'</td>');
          htp.p('<td class="c">'||ROUND(eff_brk_a,0)||'</td>');
          --htp.p('<td>'||ROUND(eff_brk_a/eff_brk_t,1)||'%</td>');
          htp.p('<td class="c">-</td>');
          htp.p('<td class="cu">Complete</td><td class="cu">Overdue</td></tr>');
------Preventative Maintenance
  select COUNT(ID) into pm_ct from DASHBOARD_PM
   where ORG_ID = v_org_id and DATE_INDEX = v_dt;
  IF pm_ct = 1 THEN
    select PM_TARGET into pm_tgt_pct from PM_TARGETS
     where ORG_ID = v_org_id and v_dt >= START_DATE and v_dt <= NVL(END_DATE,sysdate);
    select PM_COMPLETE, PM_DUE into pm_done, pm_ovrdue
      from DASHBOARD_PM where ORG_ID = v_org_id and DATE_INDEX = v_dt;
    IF pm_ovrdue = 0 THEN
      pm_act_pct       := 100;
    ELSIF pm_done > 0 THEN
      pm_act_pct       := ROUND((pm_done-pm_ovrdue)/pm_done*100,1);
    ELSE
      pm_act_pct       := 0;
    END IF;
      htp.p('<tr><td>  PM Currency</td><td class="c">'||ROUND(pm_tgt_pct,1)||'%</td>');
          htp.p('<td class="c">'||ROUND(pm_act_pct,1)||'%</td>');
    IF pm_tgt_pct > 0 THEN
      IF ROUND(pm_act_pct-pm_tgt_pct,1) < 0 THEN
          htp.p('<td class="crd">'||ROUND(pm_act_pct-pm_tgt_pct,1)||'%</td>');
      ELSE
          htp.p('<td class="cgr">'||ROUND(pm_act_pct-pm_tgt_pct,1)||'%</td>');
      END IF;
    ELSE
          htp.p('<td class="crd">Set Target!</td>');
    END IF;
          htp.p('<td class="c">'||pm_done||'</td><td class="c">'||pm_ovrdue||'</td></tr>');
  ELSE
      htp.p('<tr><td>  PM Currency</td><td class="c">- %</td>');
          htp.p('<td class="c">- %</td>');
          htp.p('<td class="cgr">Enter PMs!</td>');
          htp.p('<td class="crd">- %</td>');
          htp.p('<td class="c">--</td><td class="c">--</td></tr>');
  END IF;
  htp.p('</table></td></tr>');
  EXCEPTION
    when VALUE_ERROR then
      dbms_output.put_line('VALUE_ERROR exception raised');
end;
/

Similar Messages

  • Use a static file as HTML region source

    Hi All,
    Sorry for maybe trivial question, but is there a way to use static files as HTML region source? The files are simple enough but have to be translated so we'd rather keep them as static files, rather than paste them in multiple region sources to display conditionally.
    I tried something like
    <embed src="#WORKSPACE_IMAGES#&FSP_LANGUAGE_PREFERENCE.file01.txt" >
    This however is showing the HTML source on screen and not rendering it as html.
    The other option I tried is creating an URL region that would get the content from the same server, e.g.:
    http://localhost:9080/apex/wwv_flow_file_mgr.get_file?p_security_group_id=4874627831984398&p_fname=en_file01.txt
    ... but I'm running against an access control list (ACL) error. The file opens when one loads the link directly in a browser but localhost apparently is not allowed in ACL and I would not have sysdba access where I deploy.
    finally I saw recommendation to use an iframe in a similar discussion to display pdf file here Display PDF in Apex Region land tried
    <iframe src="#WORKSPACE_IMAGES#&FSP_LANGUAGE_PREFERENCE.file01.txt&embedded=true" style="" ></iframe>
    but receive "Not found
    The requested URL /apex/wwv_flow_file_mgr.get_file was not found on this server" as if the file name is not received at all? Same name is parsed correctly in the embed tag.
    Please help
    Atanas

    Hello Atanas,
    >> the shortcuts text does not get into the translations …
    Just so you know, and for future reference, the shortcuts of type Message are fully translatable (as mentioned in the documentation Jari pointed out to you).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Is it possible to convert PDF file into HTML

    Dear friends
    Is it possible to convert PDF file into HTML. I have few hundread PDF files i like to convert this files into HTML. I hope it can be done through Java but i don't know how to start this coding. anybody can give me a brief idea to go ahead.

    Why do you want to do this yourself? I quick search on Google showed several utilities to do this, some freeware, some commercial.

  • Converting PDF files to html

    I am trying to convert a number of .pdf files into html
    format for a webhelp project unfortunately when I convert them it
    makes several html pages unlike the MS word files which just
    produce one long page.
    I have downloaded a trail version of Adobe Acrobat 8 which
    allows you to convert the files into html but it does not hold the
    formatting of the original document and in one case some of the
    fonts turned white and you could not see the text. (I don’t
    seem to get this when converting MS Word documents)
    Is there anyway that individual html pages can be joined?

    Hi Molaa
    That's normally the way a conversion to HTML format works.
    Normally in the world of HTML, you want your information on several
    smaller "bite size" chunks. I suppose if you honestly want it all
    on a single page, you could perform a copy/paste to put it all
    together after it gets converted to HTML.
    Cheers... Rick

  • Converting PDF Files to Html or Xml

    how can i tranfrom the pdf file to html or xml using Acrobat's API? The software already have the function(http://tv.adobe.com/watch/learn-acrobat-x/converting-pdf-files-to-other-file-formats/). In C# ,I can use the acrobat's dll open the pdf file  and  can invoke the  MenuItem SaveAs;
    like this:
                AcroApp.Show();
                AcroAVDoc.Open(@"D:\xpdf\a.pdf","aaaa");
                AcroApp.MenuItemExecute("SaveAs");
                AcroApp.CloseAllDocs();
                AcroApp.Exit();
    But this is not automatic.

    Try the forum for Acrobat SDK.

  • Is there a way to embed PDF files within Captivate?

    Is there a way to embed PDF files within Captivate 5?
    I'm trying to avoid pop-ups.
    I know there's a widget out there, but it's for Captivate 3.
    I couldn't get it to work.
    Thoughts?

    Hello,
    Have a look at this widget from Jim Leichliter:
    http://captivatedev.com/2010/11/05/adobe-captivate-5-web-page-widget/
    Lilybiri

  • Generating PDF-files from HTML-page saved as Unicode?

    I have followed this Quick Start on how to generate a PDF-file from HTML using web services in .NET: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000093.html
    It works just fine when the html-page is saved as ANSI, but when it's saved as UNICODE I get problem. The code runs without errors but the PFD looks really strange. Any suggestions on how to solve this? I really need to use UNICODE as my application needs to handle different languages (including for example Chinese).

    I found out that UTF-8 worked as well so the problem is solved. :-)

  • Embed blob object into HTML region

    Hi everyone!
    I am interested in embedding a .swf file into an HTML region in ApEx. It's real easy when the source is a file or http server. However, could this be done if the source was a blob stored in the database?
    Below is the code that works for me now in the HTML region, but I wonder if I could get the embed code to extract the source file from the database instead of a file server.
    <object width="1024" height="768">
    <param name="movie" value="http://webfiles.abc.com/level2/some_xcelsius_dashboard.swf">
    <embed src="http://webfiles.abc.com/level2/some_xcelsius_dashboard.swf" width="1024" height="768">
    </embed>
    </object>
    Thanks!!!
    -Rudy

    Hi
    Yes, that is easily done. See this doc on how to download a blob from a table:
    Link
    When you have created your download function, put a reference to it in the src= parameter.
    Luis

  • How to embed PDF file within a parent PDF file

    Hi,
    I have created a button on my PDF document to open another PDF file in a new window. I want to sent this PDF to my client who will then mass email it out. My problem is that I want to embed the second file so it goes where ever the parent PDF goes and will open without file location errors, and not rely on both files being sent.
    I have read somewhere that this happens automatically if you attached a sound or movie clip??
    Thanks for any help.
    P.s I am using Acrobat Professional CS3
    I have also tried packaging files together, but it still seems to look of the external second file.

    Hi,
    I have created a button on my PDF document to open another PDF file in a new window. I want to sent this PDF to my client who will then mass email it out. My problem is that I want to embed the second file so it goes where ever the parent PDF goes and will open without file location errors, and not rely on both files being sent.
    I have read somewhere that this happens automatically if you attached a sound or movie clip??
    Thanks for any help.
    P.s I am using Acrobat Professional CS3
    I have also tried packaging files together, but it still seems to look of the external second file.

  • Problem with .PDF files from .html files at pagebreaks

    I am using DW CS5.  When I make a .pdf from the .html file it is not handling the images with captions correctly, or even consistently, at the bottom of the .pdf page.
    Here is the Link to the .html code:
    http://www.schembs.com/0_PDF_PAGE_PROBLEM.htm
    and to the .css, if you need it:
    http://www.schembs.com/0_PDF_files/2011_ZachBuch_No_Lines.css
    The test page repeats the same image with caption several times. 
    See at the bottom of page 1. There is not enough space for Image #3 so it correctly puts it at the top of page 2.  However it puts the caption for Image #3 in the vertical position as if there were no page break and Image #3 were positioned just below the caption for Image #2.  Here is a screenshot of the bottom of page 1:
    It then places image #4 below the caption for Image #3, which results in Image #4 being on top of Image #3.
    At the bottom of page 2 there is not space for Image #6 so it puts it at the top of page 3.  It properly places the caption below Image #6 and properly places Image #7.  Here is the bottom of page 2;
    At the bottom of page 3 there is not space for all the lines of the caption, so it puts the last line of the caption for Image #8 at the top of page 4.  This is o.k.  Here is the bottom of page 3:
    I can live with it breaking up the caption (not ideal) but not with the caption overwriting the image or images overwriting images. 
    Thanks very much for your ideas on how to fix this.
    jds zigzag

    Hello Jim,
    in my IE 8 your website looks great, I don't see any overlaps. To show you what I did, here you can follow and check my proceeding by using my (German) "Adobe Acrobat 9 Pro".
    Step 1:
    Step 2:
    Step 3:
    Step 4:
    I'm sure that you can understand the used German terms, if not, bitte frage mich nachher noch einmal.
    Good luck! (German: Glück auf!)
    Hans-Günter
    P.S.
    Would you say where in one of these countless "St. Alban's" did you find these "Fratzensteine"?

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

  • How to convert a pdf file to html, while retaining the exact formatting?

    I have a pdf file, need to convert it into html. while I do so, all the formatting is lost. Is there any other way?

    Save the pages of the document as images and create a HTML file with references to the images.

  • Create multiple pdf files from html pages

    I have 15 html pages that I need to convert (possibly several times a day) into pdf files, and I need to get the process as automated as possible. I own an Acrobat Pro 8 license.
    1) is there a command line I can launch to do this automatically?
    2) failing that, is there a way of launching several conversions at a time? There seems to be lot of talk about creating one pdf from several files, but what I want is to convert several html file into several pdf files
    thanks

    Managed it at last, was a bit of a hassle -
    (there was an erroneous error message saying I hadn't selected any files, when I had)
    Note For future readers: to do just a batch conversion, you have to ignore the "commands" section, which isn't intuitive, as it is bang in the middle and looks like the main feature...

  • How to generate PDF file from HTML file using Acrobat API's

    Hi,
    I want to generate a PDF file from an HTML file on server side(C# .Net).
    Their is a COM interop called "AcrobatWeb2PDF" availaible but could not find any document regarding how to use it.
    I cant use "Adobe live cycle PDF Generator" as we just have license for Adobe Acrobat 8 Professional.
    Please help...
    Thanks and Regards,
    Anand Mahadik.

    > It is hard to believe that Adobe doesn't provide a toolkit for generating PDF files, so many web based applications have vector based content that needs to be converted to PDF!!!!
    They do, it's just not free (A company in business to make money? I'm sure IBM would never think this way... ;)). As mentioned you have Adobe LiveCycle PDF Generator, which you can customize and extend with Java. You also have the Adobe PDF Library SDK, which is written for use with C/C++ although if you license it from Datalogics (the only company in NA Adobe allows to license the PDF Library) you will also get .NET and Java interfaces (part of the DLE - DataLogics Extensions).
    > There must be a way to generate PDF dynamically on a server or from Javascript!
    JavaScript? Not really, no. As far as I'm aware JavaScript has no file system access capabilities without some form of intermediary (like sending the data to a webservice that writes it out to file). How would you create a PDF file with JavaScript?
    The PDF Standard is also in ISOs hands now (ISO 32000-1:2008), it is no longer owned by Adobe - you can download a copy of the specification from them and write your own library based on that as well.

  • Icon issues when embed pdf file into a word document

    I recently updated my Acrobat Reader on my laptop with windows 2010 and no every time I need to embed a PDF file into a word document the ICON for the pdf file is not correct, I have to browse manually everytime and it is becoming very time consuming, specially when you need to embed large amount of documents.
    This problem it only happens with PDF files, I uninstalled office and the adobe acrobat reader and the problem continues, according to Microsoft support the problem is not word but the Adobe Reader, I do not know what to do since I tried everything on the internet.
    It looks to me that somehow when I updated my reader the link between the Reader and Office is broken and office is not correctly linked to the right folder were the PDF reader Icon is located.

    You can rebuild the icon database on your windows Vista/Windows 7 system by doing this:
    1) rename the hidden file named IconCache.db to IconCache-old.db.  this file is hidden so you may need to unhide it.  the file is in your profile folder <%userprofile%\AppData\Local> %userprofile% represents the path to user profile folder.
    Now Close all folder windows that are currently open and follow these steps.
    1. Launch Task Manager using the CTRL+SHIFT+ESC key sequence, or by running taskmgr.exe.
    2. In the Process tab, right-click on the Explorer.exe process and select End Process.
    3. Click the End process button when asked for confirmation.
    4. From the File menu of Task Manager, select New Task (Run…)
    5. Type EXPLORER.EXE, and click OK.
    Hope this helps and let us know if it worked or not.  If this doesn't work then File Association may be another method to try.
    Good luck.

Maybe you are looking for

  • No acceleration after stopping and starting wccp

    I acceleration was working fine between my data center and a branch.  (I was copying files from my data center PC to a PC at the branch).   I wanted to demonstrator how much slower CIFS copies are without acceleration so I stopped wccp on the branch

  • Video Herr kleinemeier von DSAG Jahrestreffen

    Hallo zusammen, ich hoffe ich bin hier im richtigen Forum mit meinem Anliegen. Am DSAG Jahrestreffen dieses Jahr in Leipzig zeigte Michael Kleinemeier (Managing Director SAP Deutschland) zu seiner Keynote ein nettes kleines Video, dass die Anglizisme

  • Forms 6i Reports

    I would like to know how to disable a field for modifying in the parameters windows before you execute a query for reports, not to be able to modify a parameter.

  • Does JavaFX support the TIFF-format?

    We are considering to use JavaFX to rewrite one of our C++ desktop apps. The app should be able to show TIFF-images though. Does JavaFX support the TIFF-format? The JavaFX-script below does not show the TIFF-image nor does it throw an Exception. java

  • Do I need separate thread for readObject() and writeObject()?

    Somehow, my Client/Server code behaves badly. A click on the GUI did not always send a message to the Server as intented (using writeObject(String)). Most of the times the message was sent. But not always.The Client (GUI) also uses readObject() to re