External-graphic not shown in PDF with Tomcat / Cocoon / Ubuntu

Hello

This weekend I put in place a virtualbox with Ubuntu 8.04 OS; 3.12 @ Oracle-10gXE APEX; Tomcat 6.014; Cocoon 2.1.11; sitemap fop_post according to Carl Backstrom blogpost ([http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html]) file; to experiment with the APEX & PDF printing.

Tomcat is configured to listen on port 8888; APEX to 8080.

I have APEX facility according to Carl blogpost. All works well; I can generate PDF reports using the standard templates. I'm new to XSL, but decided to lash out. I decided to include a JPG image.

I followed the example of Scott & Spendolini, Pro Oracle Application Express, page 399. However, the image does not appear in the PDF file, nor is it a produced error message. What's wrong?

It comes to the relevant section of the source code, I used:

& lt; fo:static - name of content stream = "region-footer" & gt;
& lt; fo:block xsl: Use-attribute-sets = "footer text" & gt;
& lt; fo:inline xsl: Use-attribute-sets = "policy of the body-page number" & gt;
& lt; fo: external width chart = "50px" height = "50px" src = "url ("http://www.fiat128.nl/images/fiat128.jpg")" / & gt;
& lt; fo:page - number / & gt;
& lt; / fo:inline & gt;
& lt; / fo:block & gt;
& lt; fo:block xsl: Use-attribute-sets = "text text_2 #PAGE_FOOTER_ALIGNMENT #" & gt;
& lt; fo:inline xsl: Use-attribute-sets = "footer" & gt; #PAGE_FOOTER #& lt; / fo:inline & gt;
& lt; / fo:block & gt;
& lt; / fo:static - content & gt;

any help is appreciated. Is there a problem with Cocoon and Linux?

many ways,

Ronald van Dijk

Published by: user614694 on October 6, 2008 03:09

Published by: Ronald van Dijk on October 6, 2008 03:10

Hello Ronald.

Your code looks fine to me. Although xsl - fo is not very friendly for a slight change...

It is an example I used in my presentation of PDF print:


#PAGE_HEADER #.


background-image = ' url ('http://o11g1.apex-evangelists.com:7779/i/htmldb/apex_logo.gif')).
padding = "12pt".
text-align = "center" > Apex evangelists

It works for you?
(replace your hostname: port - o11g1.apex - evangelists.com:7779 and see that you get the image using the url)

I've occasionally seen problems viewing some pictures or specifying the width.

Kind regards
Dimitri
----------------------------------
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/

Tags: Database

Similar Questions

  • Floppy drive icon not shown in "Devices with removable storage" in Windows 7

    I have a floppy drive connected to my motherboard, and it has been activated on my board Super IO Configuration in my UEFI.  I have a hard drive with Windows 7 installed, and a hard drive with Windows XP installed.

    In Windows XP, in the window my computer , under "Devices with removable storage", my floppy drive icon here and I can access the drive.  But in Windows 7, the floppy icon is not there, and when I type "A:" in the search bar, I get "the system cannot find the drive specified."

    I checked the HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices registry, and I see the A: drive among the mounted devices.  I checked my Device Manager window, and I see 'floppy drive controllers' in the list, but not "floppy drive", I see in Windows XP.

    How can I get my floppy drive activated or reactivated in Windows 7, with the floppy disk icon showing?

    Never mind.  I received my floppy drive in Windows 7.

    Here's what I did:

    I'm back in my UEFI and disabled the floppy controller in my Super IO Configuration and starts in the two Windows operating systems.  The floppy drive, of course, disappeared in Windows XP.

    I tucked my UEFI and re-activated my floppy controller.  Now, the drive appears in Windows XP and Win7.

  • FrameMaker 10.0.2 still does not print to PDF with registration marks

    I have spend FrameMaker 10.0 to 10.0.2 this weekend and was able to print a test page with registration marks. Today, I can't. The page size is larger than the document. The message "registration marks are outside the page size" appeared once.

    My book is 3.5 "x 6" and the Format > Page Layout > Page size is 8.5 "x 11". The print driver is Adobe PDF. Western brands are turned on.

    I'm doing something wrong?

    I turned off to generate Acrobat data in the Print Setup dialog box, and it works!

  • GeoGebra prints a PDF with printer acrobat, its text that can be selected or not searchable.

    I want to join the pdf but it does not seem possible. So I'll put a link http://elinkage.net/1.pdf here.

    The created pdf file is certainly not an image. Nice looking for smooth fonts which is fully scalable.  Just can't believe that the text is not selectable or searchable.

    Thanks for all comments and solutions to correct the issue.

    The characters associated with the field points are represented by actual fonts.

    The rest is shown characters (an image using vector graphics).

    Open the PDF with Acrobat Pro (any version).

    Go to the content panel.

    Lotsa - Lotsa entries 'Path '.  Almost all are these characters Graphic image.

    In short - nothing can do a 'find' or a 'research' on as it is not more not less than an 'image' - no 'real' text (a prerequisite for any search engine to 'find' or 'Search' or built a search index).

    If a problem of 'author' and not an Acrobat / Adobe Reader / software application problem.

    Be well...

  • Use of the external graphics card with Satellite A205-s4797

    Also, can I use this external graphics card, it's "Asus XG Station", with my laptop, Satellite A205-s4797?

    Why not???

    If it s possible to plug this card into the laptop, then I see no serious reasons why you shouldn't t be able to use it.

    But as much as I know as the external card can only be used with the external display (monitor) because the portable computers internal display is already taken by internal graphics card.

  • Can you get a sata adapter and replace it with a PCI Express so I can install a graphics card in the caddy hd for my laptop. Y at - it means to get an internal or external graphics card?

    Hey!

    I know that you can remove a dvd cart and replace it with a HD you can get a sata adapter and change a PCI express so I can install a graphics card in the caddy hd for my laptop. y at - it means to get an internal or external graphics card? I do not have a slot express pci laptop because a laptop is relatively new.

    Original title: laptop computer graphics card
    other cool mods I can do for my laptop. I've already upgraded to ssd and ram and processor.

    Hello

    I do not know such an adapter exists, but it's a hardware problem - I suggest you contact the manufacturer of your laptop with this issue, as well as questions about additional upgrades, you could do.

    These are all the hardware problems, and this site deals with software issues related to the Windows operating system. I'm sorry this isn't the answer you're looking for, but...

    Let me know if this helps you.

    Kind regards

    BearPup

  • dc Acrobat subscription - android app opens the pdf with external application?

    Hello

    The adobe app for android (Lenovo ideapad10) dc opens pdf documents with an external application since a few days - why is this? Why adobe would need an external application for that?

    What happened to the pro-fonctions? I can't edit the pdf documents more. But I need it for the University.

    What can I do? Help, please!

    Thank you

    Falk

    I have a theory based on the screenshots:

    1. The files do not have the .pdf extensions on their behalf. Can you try renaming one of them to ensure that they end in .pdf?
    2. Some file names have a '. ' in them. If the addition of a .pdf extension does not work, can you please try to remove the '. '?

    I don't have my camera android with me today so I can not test this theory. Thank you for your answer!

    Pat

  • Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?

    Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?

    The 29.0.1 firefox solved my problem!

    Please check: Firefox-> Preferences-> tab-> applications (option) Portable document Format (PDF)-> Preview in firefox

    Good luck!

  • Windows Live Mail will not open attachments PDF - error message: there is no file associated with this extension

    My Dell Inspiron 560 with win7 Home premium 64-bit, windows live Mail worm 2009 and software adobe reader 9.3.4 will not open a .pdf attachment.  I get a window saying there is no file associated with this extension.  If I copy the file to the desktop and double click it opens.  Go to control panel, default programs, type of file associated with specific programs, the. PDF file for Adobe 9.3 How can I do so. PDF attachments will be open in Win Live Mail?  Thank you

    I read the investigation. If you read my reply you would ask in the correct forum now.

    If this is not enough, ask in the appropriate forum. This isn't a problem with Internet Explorer.

    Windows Live Mail Forum
    http://www.windowslivehelp.com/forums.aspx?ProductID=15

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • Pdf with visible sticky note comments print

    It is possible to print a PDF with text reminder watch comments?

    Hi SushiKat,

    Please perform the steps given in this link: Print the sticky on a PDF Notes

    Let us know if you face any problem.

    Thank you!

    Shivam

  • I had windows 7 and it has been updated to windows 10. After the update, I opened a PDF with adobe reader. The sign economy is idle. When I click on save slot, it is said that he can save a blank document. Earlier, I have not any problem to save a pdf d

    I had windows 7 and it has been updated to windows 10. After the update, I opened a PDF with adobe reader. The sign economy is idle. When I click on save slot, it is said that he can save a blank document. Earlier, I have not a problem to save a pdf document with adobe reader on my hard drive. I found no updates available for my adobe reader software. Is adobe still to make the drive compatible with windows 10?

    Govind B S

    Bernd, these rights are not necessary to the reader XI. Unless the file has been secured, then it should be savable.

    I recommend that upgrade you to the latest version of the XI player that is available and if this does not work, try to run a repair installation (or upgrade to DC).

  • Not easier to scan to PDF with the drive?

    I already have a bunch of PDF files, I created just documents on this computer - remained down on the scanner and easily saved in PDF format.  Now I don't seem to be able to do and get directed to go online to BUY something to do.  I change an Epson on a Canon Pixma MG2220 printer.  Not sure if this could be the problem or creating a PDF with Adobe is now pay-to-play only?  This laptop has Windows 7.

    No version of Reader, past or present, could create PDFs (leave a scanner or other). If you have had this ability while not using Reader (possibly Acrobat, or some third party applications). Reader can only view PDF files and run some very basic editing features.

  • With adobe export how to convert PPT to pdf with notes pages it only makes the slides

    With adobe export how to convert PPT to pdf with notes pages it only makes the slides

    Hi Robert,.

    We understand your problem, but with the subscription online, we can only convert the slides in PDF format. Speaker's notes would not get converted to PDF.

    If you want to convert the speaker notes with slides, then you need to buy the complete PDF solution: Adobe Acrobat

    Hope that answers your question. I would like to know if you have any other questions.

    Kind regards

    ~ Dominique

  • Windows 8 Adobe Reader does not open fully compiled with multiple PDFs in one alone - why pdf?

    Windows 8 Adobe Reader does not open fully compiled with multiple PDFs in one alone - why pdf?

    You can not post attachments in the forum; only insert images in the post.

    Regarding the Flash Player message; If this document contains all the rich media, you will need to install the Flash Player plugin (and not the control ActiveX that is already installed in Windows 8 IE10).

    Download http://download.macromedia.com/pub/flashplayer/current/support/install_flash_player.exe plugin setup

  • Why can I not print a PDF (NS train ticket) once downloaded with Firefox? (file (SECURE)

    When you place your order and pay a ticket by internet, they send a pdf file, you must download and print. When this download with Firefox (from my e-mail account), the PDF says (SECURED) and I can't print the ticket (pdf file). (Adobe program stops automatically).
    When you download this same PDF in Safari, I don't encounter any problem.

    Have you tried using an application with Firefox instead of use a plugin or Firefox itself to deal with? Other people have reported problems with the reading of PDFs with Firefox.

Maybe you are looking for