PDF with Tomcat - guidelines for template editing

PDF generation with Tomcat using the standard template works fine - but is pretty bland.
Does anyone have any guidelines for editing the template - what may / may not be included?
Are there any GUI tools for this?
Thanks
Mike

Vadim,
Report queries and report region use the same generic report layout. However the processing is handled by different engines. The underlying technical problem with your case is that the substitution string #TEXT_ALIGN# is not substituted in all cases for report queries. This usually does not cause any problems, but appears not to work when using Cocoon.
I'll see that we can this resolved with the next version of APEX, however when working with report layouts, you would typically use your own RTF or XSL-FO stylesheets, where this problem would not occur. The option to use the generic report layout is only included so the data can be tested independently from the layout and is not really intended to be used as the actual layout at runtime.
The generic report layout function is mainly designed to be used for report regions.
Regards,
Marc

Similar Messages

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

    Hi,
    this weekend I set up a virtualbox with Ubuntu 8.04 OS; APEX 3.12 @ Oracle 10gXE; Tomcat 6.014; Cocoon 2.1.11; fop_post sitemap file according to Carl Backstrom blogpost ([http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html]); to experiment with APEX & PDF printing.
    Tomcat is configured to listen to port 8888; APEX to 8080.
    I have setup APEX according to Carl's blogpost. All is working fine; I can generate PDF reports using the standard templates. I'm new to XSL, but decided to go wild. I decided to include a JPG graphic.
    I followed the example in Scott & Spendolini, Pro Oracle Application Express, page 399. However the image is not shown in the PDF, nor is there an error message produced. What is wrong?
    This is the relevant section of source code I have used:
    <fo:static-content flow-name="region-footer">
    <fo:block xsl:use-attribute-sets="text footer">
    <fo:inline xsl:use-attribute-sets="body-font page-number">
    <fo:external-graphics width="50px" height="50px" src='url("http://www.fiat128.nl/images/fiat128.jpg")'/>
    <fo:page-number/>
    </fo:inline>
    </fo:block>
    <fo:block xsl:use-attribute-sets="text text_2 #PAGE_FOOTER_ALIGNMENT#">
    <fo:inline xsl:use-attribute-sets="page-footer">#PAGE_FOOTER#</fo:inline>
    </fo:block>
    </fo:static-content>
    all help is appreciated. Is there a problem with Cocoon and Linux?
    many regards,
    Ronald van Dijk
    Edited by: user614694 on Oct 6, 2008 3:09 AM
    Edited by: Ronald van Dijk on Oct 6, 2008 3:10 AM

    Hello Ronald,
    Your code looks fine to me. Although xsl-fo is not very friendly for a slight change...
    This is an example I use during my PDF printing presentation:
    <fo:static-content flow-name="region-header">
    <fo:block xsl:use-attribute-sets="text text_2 text_0 #PAGE_HEADER_ALIGNMENT#">
    <fo:inline xsl:use-attribute-sets="page-header">#PAGE_HEADER#</fo:inline>
    </fo:block>
    <fo:block border="0.5pt solid silver"
    background-image="url('http://o11g1.apex-evangelists.com:7779/i/htmldb/apex_logo.gif')"
    padding="12pt"
    text-align="center">Apex Evangelists
    </fo:block>
    </fo:static-content>
    Does that work for you?
    (change o11g1.apex-evangelists.com:7779 to your hostname:port - and see that you get the image by using the url)
    I've sometimes seen problems displaying certain pictures or specifying the width.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • PDF with Tomcat/Cocoon Problem !!!

    Hi,
    I am having problem with Tomcat/Cocoon combination for APEX PDF printing which I installed following Carl Backstrom instructions.
    When a report is a region report it all works fine, but when I create a report based on a query from the reports section in Shared Components choosing report layout 'Use Generic Report Layout' I get the following error.
    javax.xml.transform.TransformerException: attribute-set named #TEXT_ALIGN# does not exist
    cocoon://fop_post/xsl - 148:58
    Cocoon stacktrace[hide]
    attribute-set named #TEXT_ALIGN# does not exist
    cocoon://fop_post/xsl - 148:58
    I will appreciate any feedback. I saw threads related to the same issue on this forum but they ended up covering something irrelevant.
    Regards,
    Vadim

    Vadim,
    Report queries and report region use the same generic report layout. However the processing is handled by different engines. The underlying technical problem with your case is that the substitution string #TEXT_ALIGN# is not substituted in all cases for report queries. This usually does not cause any problems, but appears not to work when using Cocoon.
    I'll see that we can this resolved with the next version of APEX, however when working with report layouts, you would typically use your own RTF or XSL-FO stylesheets, where this problem would not occur. The option to use the generic report layout is only included so the data can be tested independently from the layout and is not really intended to be used as the actual layout at runtime.
    The generic report layout function is mainly designed to be used for report regions.
    Regards,
    Marc

  • Export as PDF with embedded profiles for Grayscale images

    Does InDesign CS6 export pages with Grayscale images as PDF with embedded profiles?
    Possible profiles, for instance:
    – Gamma 2.2
    – Dot gain 20%
    – Black Ink ISO Coated v2 (ECI)
    Export mode:
    – Acrobat 5 or higher
    – No color conversion
    – Embed all profiles
    Test by Acrobat Pro
    Advanced > Print production > Preflight > PDF analysis > List objects using ICC/Lab/Calibrated Color
    [The question is not about the export of Color images as Grayscales]
    Best regards --Gernot Hoffmann

    I wouldn't ever use different RGB profiles and different CMYK profiles and
    different Gray profiles in one doc – it's just necessary for tests.
    If you had a hypothetical case where your InDesign document's assigned CMYK profile and intended output was ISOcoated_v2_300_eci and you recieved grayscales for placement with different gray profiles assigned, I think you would have to make the conversion in Photoshop if you want the grayscales to be converted to your ISOcoated_v2_300_eci output intent space.
    So in this case I have a grayscale image with Dot Gain 10% assigned and you can see the 50% patch is reading as 50% in Info panel:
    If set my Working Gray space to the ISO Coated profile as above and do a Convert to Profile with the Destination set to Working Gray:
    The preview doesn't change but I get converted gray values—50% is now 44%:
    If I place the grayscale in an InDesign doc with ISOcoated_v2_300_eci assigned as the CMYK profile, the preview won't change (you have to turn on Overprint /Sep Preview), and the converted numbers will show in Separation Preview. The preview and numbers will also be unchanged in Acrobat if you export to default PDF/X-4

  • Firefox not opening PDF with Adobe Reader for Mac

    I can't open PDF in Firefox with Adobe Reader for Mac, what should i do?

    I have come across this problem, but i have solved my problem. The default PDF viewer with Firefox browser on Mac is Preview, so you can't use adobe reader to open PDF files, if you want to use Adobe Reader to open pdf with Firefox on mac, you need set adobe reader as your mac's default pdf viewer. Do as follows:
    1. Select any PDF file and choose File > Get Info.
    2. Choose Adobe Reader as your default PDF files viewer from the Browser in Download Action window.
    3. Click OK to set Adobe Reader as your default PDF files viewer.
    If you want to learn more, you can go to this website,
    http://www.downloadatoz.net/download/adobe-reader-for-mac/
    http://www.downloadatoz.net/download/adobe-reader-for-mac/using-the-adobe-reader -plugin-with-firefox-on-mac_g.html

  • CS Review with Premiere Pro for studio editing

    Hi, this is a really great idea that perhaps will be taken to the next step for professional editing use.
    This would be great if we could use it to review edits/animatics over long distance however the studios are very strict when it comes to material getting anywhere outside the studio.
    In the past I've used a combination of Cinesync and Skype to collaborate over an edit and Cinesync is ok with studios because the content is hosted locally, everyone in the session has a copy of the video that was transferred through VPN connection.
    The only way this would work is if we could do that without hosting any material on Acrobat.com, Thats the only way the studio would go for it.
    Hopefully this will be put under some consideration as I believe it would help Premiere make some inroads into being used in more studios.
    So many movies are being done over long distances this sort of app could be pretty invaluable if it fit the requirements.
    Thanks for listening!
    Tom

    Thanks, ibrahimashmawey. That error report gives us enough information to investigate this crash. Our offices are closed all next week, so it will be at least July 8 before we have any answer. In the meantime, you might want to try downloading the CC trial to test whether this issue is fixed in the new version. Also, I suggest Googling: ".cpp-193" premiere. I got several hits, including one on these very forums that moving an audio clip to another track resolved the problem.

  • Is it possible to create a PDF with different colors for screen and printing?

    I'm working on a document that features light colored text on a dark background. I'll be sending this document as a PDF to someone who will likely want to print it. Is it possible to set up the document such that it will display this way when viewed on screen, but will print as black text on a white background, without requiring any special action on the part of the recipient?
    Printing a color separation of just the text color produces exactly the results I'm after, but I can't ask the recipient to do that. I need it to happen automatically any time it's printed.
    I've tried setting up a duplicate text layer in black and placing it under the background layer, then setting the background layer and colored text to 'never print'. This works within Acrobat Pro, but not when I print the same document from Preview.
    Is there an acrobat equivalent of a CSS print stylesheet?
    Thanks.

    Create the document in layers with the background on a seperate layer than the text. Export the PDF with"Create Acrobat Layers" selected (it will need to be at least version 1.5).
    Open the PDF in Acrobat, choose the background layer then Options>Properties>Initial State and under "print" choose "Never prints".

  • "Placing" linked PDF File in Illustrator for Markup Edits?

    When I highlight text in a PDF file that is linked to an Illustrator file (PDF is "Placed" in the Illustrator file as a linked object), text highlights in the PDF file do not show up in Illustrator when I update the link.  Does anybody know why, or is there some setting or workaround to force the PDF markups to show up in Illustrator?
    Reason for Question
    I often use Illustrator as a PDF editor because it is much more flexible than Acrobat's clunky editing tools.  There are some significant problems however.  If you open a PDF page in Illustrator, you lose some stuff like paragraph formatting, which Illustrator wants to left justify (same problem when opening an AutoCAD file in Illustrator).  You can also have trouble with missing fonts like Helvetica, which isn't a default system font because it is licensed and expensive.  Illustrator will swap the missing font out with a substitute so it can edit the text.  (Acrobat will do the same thing if you try to edit a font that isn't loaded in your system).
    A workaround to maintain exact registration if I just want to mark up a PDF file (rather than changing the text) is to "Place" the PDF file in Illustrator.  When Placed, the file behaves like an object the isn't editable in Illustrator (you can edit a Placed object from Illustrator, but Illustrator will use the authoring application to do the edits, in this case, Acrobat).  I you are interested doing the same thing,... when I use Illustrator to mark up another file like PSD, JPG or PDF, I initially open the file in Illustrator to capture the dimensions, and then delete everything, and then "Place" the file back into Illustrator.  You can optionally link or embed the Placed object.  After Placing, I use the transform tool to move the Placed Object's upper left corner to 0,0 (XY Coordinates) to acquire registration, lock the layer, and do my markups on separate layers.
    This procedure is a bit clunky and requires multiple construction files but Illustrator's vector tools are much better than the most of the markup tools (but not all) in Photoshop or Acrobat.  A Photoshop file will link to Illustrator, and you can export it back to Photoshop, but the Illustrator construction file will not be "linked" into Photoshop, so if you need to make changes with Illustrator you have a couple of options.  You can open the Illustrator smart object from Photoshop (Photoshop will launch Illustrator to do the edits), or you can delete the smart object and work on the Illustrator construction file directly and re-import.
    Since you can't select the text of a Placed PDF file object in Illustrator to highlight text, I'd like to do some of the text highlighting in the linked Acrobat file upstream of Illustrator.  I should be able to bounce back and forth with both files open, the Illustrator construction file and the linked PDF file.  Problem is that when I add a highlight to the PDF file, it does not show up in the Illustrator placed object that is linked to the PDF file.
    So back to my original question.  Does anybody know why PDF text highlights do not show up in Illustrator when the PDF file is placed as an object in Illustrator?  Is there a workaround to force the PDF text highlights to display in Illustrator?
    FYI, I working on a business presentation and need to mark up a few pages of IRS publication 463, which is a 58 page PDF document with a bunch of "destination" links (10 to 20 links per page).  I can extract a page, do my markup edits, and then "replace" the page back into the original Acrobat file and all the links and bookmarks will still work, but registration is critical.
    I'm using CS6
    Thanks in advance for your insight.

    Mylenium, Thank you for your on-point explanation of why the markups don't import into Illustrator.  Based on your input, I did some digging and discovered:
    I can export the Acrobat "Comments" (text highlights, but not markups?) to a FDF file
    http://help.adobe.com/en_US/acrobat/pro/using/WS40A4853E-0D48-46a6-8AB6-6B9A27A22D83.html
    and then optionally re-import them to another PDF, including a blank document (with the same dimensions to maintain registration) or the final output file.  I can then open the PDF (that contains the comments only) using Photoshop and save as a PSD file.  Photoshop captures the text highlight color graphic without the white background or text so I am able to achieve transparency.  I can then "Place" the Photoshop file as an object on its own layer in the Illustrator construction file as either an embed object or a linked object, but I tend to link for a number of workflow reasons.
    Quite clunky, but it seems to maintain exact registration (although for some reason, whenever I place an object in either Illustrator or Photoshop I need to move (transform) the object corner to 0,0 because it is typically off by a pixel or 2).  Not sure if there is a way to also export PDF "Markups", but my objective was to use Acrobat's highlighting tools combined with Illustrator's vector graphic tools for markups, so even if I can only export the Acrobat text highlights and not the "Markups", I can still achieve my objective.
    From a work flow perspective, I may optionally choose to use the text highlights only as a reference in the Illustrator construction file and turn them off when saving back to PDF.  I would then import the text highlights (FDF file) into the final PDF so they are actual Acrobat highlights rather than raster objects, but I do have the option.
    I have also noted that I can print an Acrobat file to PDF to capture the text highlights, but that method introduces problems with registration and transparency (the white paper background).  I'll often print my final output to PDF rather than saving to achieve a small flat file that will render consistently on different computers, but in this case registration is important so it is better to save to PDF and live with the larger files size.
    Why all the fuss?  Acrobat is good at highlighting text and Illustrator is good at drawing stuff like curvy paths with variable strokes.  Illustrator also has layers and stacking order control.  (Acrobat has clunky wannabe layers that are good for limited stuff like multiple versions, but not much help with graphic composition or stacking order).  I need workflows that can merge tools from multiple programs (Acrobat, Photoshop, Illustrator, Autocad, and Solidworks).  I could do my vector markups in Illustrator, then save to PDF and do the highlights in the final Acrobat file, but if I need to change the vector graphics later I would lose the highlights.  Doing the highlights in a separate PDF file and then exporting to a FDF file lets me make changes in Illustrator without having to recreate the highlights from scratch.
    Thank you for your assistance.  If you have any additional suggestions I am always striving to improve my workflows.  btw, I've experimented with some of the 3rd party PDF editor's, but not the expensive ones (less than a few hundred dollars).  Most of them do a few things better than Acrobat, but they all have their shortcomings and I'm leery of investing my time in applications that might be obsolete in few years.  Perhaps this discussion is better suited to the Acrobat Forum, but I do a lot of PDF editing with Illustrator despite its limitations.

  • Linked PDF with Open Doc password- false, Edit Permissions- true, requires password to open AI doc

    I would like to password protect editing of a placed PDF. I have set the PDF Open Doc password to false and the Edit permissions to true. Illustrator still requires the permissions password to OPEN the Illustrator document. This would defeat the purpose, no?

    Well, it does seem to work, sort of. The Illustrator document with a placed, protected PDF asks for the password when opening. The password is also required when attempting to embed (edit) the linked PDF, as expected.
    I would think the correct behavior should be  for the Open Document password protection (or lack of) to control opening the Illustrator document and the Edit Permissions password to be applied when embedding or flattening the linked PDF, making it accessable to editing. Acrobat seems to be able to make this distinction.
    This would be a significant feature for users who need to restrict editing of sensitive portions of their layouts while allowing necessary prepress work downstream.

  • PDF with Tomcat - failing with isHexDigit conversion

    Hi
    I've built a small report writer with printed output using Tomcat.
    All works fine until a '%' is used in a parameter in the report.
    I then get a Tomcat Error
    2007/05/22 06:57:36 org.apache.tomcat.util.http.Parameters processParameters
    WARNING: Parameters: Character decoding failed. Parameter skipped.
    java.io.CharConversionException: isHexDigit
    Once that happens all subsequent attempts to print - with our without the wildcard give the same error.
    Does anyone know how to trap the contents of the XML passed to Tomcat to see what it's complaining about? Or what APEX is generating?
    Thanks
    Mike

    Vadim,
    Report queries and report region use the same generic report layout. However the processing is handled by different engines. The underlying technical problem with your case is that the substitution string #TEXT_ALIGN# is not substituted in all cases for report queries. This usually does not cause any problems, but appears not to work when using Cocoon.
    I'll see that we can this resolved with the next version of APEX, however when working with report layouts, you would typically use your own RTF or XSL-FO stylesheets, where this problem would not occur. The option to use the generic report layout is only included so the data can be tested independently from the layout and is not really intended to be used as the actual layout at runtime.
    The generic report layout function is mainly designed to be used for report regions.
    Regards,
    Marc

  • How to create a PDF with markup enabled for Reader users?

    I have a bunch of Word 2007 documents containing project specs. I would like to be able to turn them into PDF documents that other people can markup using Reader. Is this possible?
    I tried using the built-in PDF output module. It creates a PDF document, but it is not enabled for comments.
    About halfway down on this comparison page,
         http://www.adobe.com/products/acrobat/matrix.html
    there is a row that says,
         "Review documents using familiar commenting tools such as sticky
         notes, highlighting, lines, shapes, and stamps"
    In the Reader column, there is a symbol in the Reader column that I guess is
    supposed to be some sort of half-full container or something. At the
    bottom, it says
         "When enabled by Acrobat Pro or Acrobat Pro Extended."
    This seems to indicate that Acrobat Standard cannot create comment-enabled PDF documents, but either Pro or Pro Extended can. Is that correct?
    If I buy Acrobat Pro, will I be able to use it to create comment-enabled PDF documents from my Word 2007 documents?
    If so, how does it work? Will it convert the Word document? Will it convert the PDF document I create using the Word add-in? Can I invoke it from inside Word?
    Thanks

    Ragg Mopp wrote:
    This seems to indicate that Acrobat Standard cannot create comment-enabled PDF documents, but either Pro or Pro Extended can. Is that correct?
    If I buy Acrobat Pro, will I be able to use it to create comment-enabled PDF documents from my Word 2007 documents?
    Yes and yes.
    Ragg Mopp wrote:
    If so, how does it work? Will it convert the Word document? Will it convert the PDF document I create using the Word add-in? Can I invoke it from inside Word?
    Thanks
    It's very simple. Create your PDF from Word, open in Acrobat and use the Comments>Enable for commenting and analysis in Adobe Reader. You cannot invoke it from within Word no.

  • How to create a PDF with clickable links for iPad?

    Hi,
    I need to create PDF files that contain hyperlinks which will work when opened on ipads.  I've tried several programs elsewhere but the hyperlinks do not work when clicked on ipad devices.  Does any of the Adobe software create hyperlinks that are clickable on ipads, please?

    I really am most grateful for the information.  I've been trying to resolve this issue for a few days.
    Just to be certain, will Adobe Acrobat create hyperlinks that will open in the default ipad PDF reader, or do users need to open the PDF in Acrobat Reader?

  • Create ID PDF with Audio (multimedia) for Reader

    Does anyone know how I can properly code my InDesign file so that the audio that I choose to embed will play back properly in Adobe Reader AS WELL AS Adobe Acrobat.  So far I am getting conflicting results:  In Acrobat the audio plays back once a particular page loads and then continues to play even if I navigate away from that page.  In Reader if I navigate away then the audio stops.
    Furthemore I cannot seem to get audio to play on Reader for mobile devices such as the iPhone, iPad, or HP TouchPad or even Android Phones and tablets.
    How do I encode audio in my ID file for Reader for mobile devices?  I'd rather ask in one thread instead of having to repeat myself in multiple threads across the various mobile OS Reader Forums.
    Thanks in advance

    Ragg Mopp wrote:
    This seems to indicate that Acrobat Standard cannot create comment-enabled PDF documents, but either Pro or Pro Extended can. Is that correct?
    If I buy Acrobat Pro, will I be able to use it to create comment-enabled PDF documents from my Word 2007 documents?
    Yes and yes.
    Ragg Mopp wrote:
    If so, how does it work? Will it convert the Word document? Will it convert the PDF document I create using the Word add-in? Can I invoke it from inside Word?
    Thanks
    It's very simple. Create your PDF from Word, open in Acrobat and use the Comments>Enable for commenting and analysis in Adobe Reader. You cannot invoke it from within Word no.

  • Need to create a PDF with submit button for Wordpress Website.

    I need to create a restaurant's employment application in PDF form with fields that user can fill out and a submit button to send the form to a specified email. I then need to put this PDF online on client's website. Is this possible with ID?

    Yes, but you may have to tweak it in Acrobat Pro.
    That said, you may be better off just creating the form right in the
    site. My guess is that there are a ton of WordPress plugins to do this.

  • How do I crop a PDF with Preview.

    How do I crop a PDF with Preview.
    For some strange reason, when I crop a PDF using preview the rest of the PDF is still “their” when opened using other software.
    I truly want to crop a PDF and have the uncropped portions completely go away.  Do I really have to open Photoshop to do this?

    "there" not "their"  -  unless I am really confused about what you are doing !
    I put a white rectangle over what I wanted to crop out of the pdf I was working on.
    Not a  proper solution, i then needed to use "export as PDF" of my PDF so that the next user of the document couldn't simply lift off the rectangle I had put on the document to cover what ideally I would have removed.
    Add mark up is something else I tried, to black out the text that I wanted concealed, but we are limited to a slim choice of colours, not including black.
    I would like to see a function "crop" with "crop inside" and "crop outside" options. I am not familiar with Adobe or other software. Presumably since they invented it, Adobe is the place to go if you have repeated exercises requiring meddling with Adobe documents.

Maybe you are looking for

  • Fast refresh of a materialized view works incorrect

    Hi All, I have created a MV using the sql below: create materialized view WLS refresh fast enable query rewrite as SELECT Employees.USER_NAME,        Permissions.ROLE_NAME,        Vouchers.VOUCHER_ID,        EmployeeRoles.FROM_DATE,        EmployeeRo

  • External Hard Drive Won't Unlock?

    Hello All, I have an external hard drive that I'm using with my MacBook Air (2012) that refuses to unlock. When I type in the password to unlock the hard drive, the box freezes and doesn't do anything unless I unplug the connection cord or until I wa

  • Report - Status of a specific advertisement showing 900 resources when only deployed to 100

    we have a strange problem where we run the "Status of a specific advertisment" is showing some bogus data. We deployed to a collection containing 100 PCs and the report for that collection ID shows: Accepted = 300 Rejected = 5 No Status = 600 I found

  • The result is empty for the XPath expression

    Hi friends Please, could anyone help-me with this issue? My BPEL process was working yesterday and stoped today... I think I´m facing a namespace problem. If I start my process using BPEL Console, filling the "HTML form" option, all works ok. If my p

  • Manipulations with physical and logical names

    Hello ppl, Is there any way to see/change phisical and logical names of object in one place/screen? I mean I want to set them to different values and see that change, but without fuzzu, complex way of changing naming and propagate modes. TIA, Alex