PDF export format options are ignored when exporting

I can't get the PDF export format options to work.  No exception is thrown; it's as though the export format options are simply ignored.  In broad terms, the relevant code looks like this:
ExportOptions exportOptions = new ExportOptions();
exportOptions.setExportFormatType(ReportExportFormat.PDF);
PDFExportFormatOptions pdfExportOptions = new PDFExportFormatOptions();
pdfExportOptions.setCreateBookmarksFromGroupTree(true);
exportOptions.setFormatOptions(pdfExportOptions);
ByteArrayInputStream byteArrayInputStream =
    (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(exportOptions);
Other options (setting start and end pages for export) are also ignored.
Curiously, I am able to apply export format options just fine for other formats; e.g. when setting the export format type to ReportExportFormat.characterSeparatedValues and using a CharacterSeparatedValuesExportFormatOptions object as appropriate, I am able to set options like delimiter and separator just fine.
How can I prevent the PDF export format options from being ignored?

hi
Are you using RAS or Crystal Report runtime? and what's the version? It might be a bug. Have you tried:
ByteArrayInputStream byteArrayInputStream =
    (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
and does it work?

Similar Messages

  • Pipeline tracking options are discarded when deploying a new ressource (with overwrite to true)

    Hi,
    In BizTalk 2013 CU2, when I deployed via the "Add resource" option in the Admin console a DLL with Overwrite set to true, sometimes the PassThroughReceive/Transmit pipelines tracking settings are discarder and all tracking options becomes unchecked...
    I already got this strange behaviour with BizTalk 2010 but it was fixed in a CU : http://support.microsoft.com/kb/2728652

    Hi David,
    Thanks for your feedback in BizTalk forum.
    From your description above, I can hardly give precise troubleshooting for this issue. <o:p></o:p>
    If you cannot determine your answer here or on your own, consider opening a support case with us. Visit this link to see the various support options that are available to better meet your needs: 
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • New Portal User options are disabled when trying to create a new User

    Hi All,
    I am trying to create a new portal user profile using the administrator login. While doing that, I am getting all the options ( used to create the new user ) as disabled. Can anybody let me know the reason & solution of such a problem.
    or
    Anyone can provide me the document on how to create the new profile on portal. Thanks.
    Best Regards,
    Chander Kararia
    Edited by: Chander Kararia on Jan 15, 2009 7:26 AM

    Hi Chander,
    I just want to know if you are able to modify the attributes of an existing user. If not then you have been assigned the User Admin role (read only). Please check that. If yes then revert.
    Regards.
    Rajat

  • Format precision apparently ignored when using read from spreadsheet file

    I hope there is ridiculously simple solution to this problem but so far I can't find it. Using the Read from Spreadsheet File function in LabVIEW7.1, I can't get the floating point format (%f) to work; the decimal (%d) seems to work fine. For example, the first value in the attached file is 399.5853. When I read it in using %.2f format I would think I should get 399.58 but instead I get 399.58529663... Oddly if I use %d as the format, I get an as expected value of 399. Can anyone see what I am missing?
    Attachments:
    ReadFileTEST.vi ‏23 KB
    test.txt ‏1 KB

    The solution to the problem is the internal representation of floating point numbers: with a limited number of bytes only a limited number of the (infinitely many) real numbers can be represented. The nearest representable number to 399.5853 is 399.58529663 if the so-called single precision representation (abbr. SGL in Labview) is used.
    It seems that (ridiculously!) NI has chosen to use SGL as the data format in the Read from Spreadsheet VI which causes the unexpected behaviour you observed.
    You can change the representation from SGL (which uses 4 bytes) to DBL (double precision, using 8 bytes) in the Read from Spreadsheet VI and you will observe a better approximation then, but still not 'exact' since the number now reads 399.585300000000018. (With t
    he EXT representation, 10 bytes, you could go to even higher precision)
    I hope someone from NI reads this and they fix the unnecessary limitation of the precision in the Read from Spreadsheet VI.

  • How do I change the Latest Headlines bookmark from BBC to RTE so that similar options are displayed when I click the icon?

    I want to change the Latest Headlines bookmark to RTE and have similar options re. articles pop up when I click the icon. I've tried right clicking and changing the site location but nothing changes.

    You can visit the RSS Feed site of RTE and subscribe to that feed to create a bookmark:
    http://www.rte.ie/rss/news.xml

  • What PDF settings are used when creating DPS articles?

    When you create a PDF file using Acrobat Distiller or InDesign you can modify settings such as font subsets, image down-sampling and compression which will have an impact on the final file size. Does anyone know what settings are used when articles are rendered in PDF format in DPS and can the settings be modified? Specifically, what type of compression is applied to images? If I were to place two images on a page, a png and a jpg with medium quality, would they be embedded in the PDF as is or re-compressed in another format and/or level of quality?

    Thanks for your help.
    So images placed in an InDesign retain their original file format and are unzipped when the article is loaded in the app.
    I'm assuming that if compression is applied to the original image files it can have an impact on performance. If you were to use jpeg files in a document they would need to be unzipped and decompressed. I've read other forum posts that suggest the iOS jpeg decompression engine is too slow to present a fluid user experience in a DPS app. The combined processing time of unzipping and decompressing jpegs files may steer me towards the png format.

  • PDFs Using Formatting Objects Processor

    I'm having problems rendering pdf documents using FOP as detailed in your document 'Rendering Oracle HTML DB Reports as PDFs Using Formatting Objects Processor'.
    When I call the pdf_GrabXML to send the XML report output to the htmldb_fop_render.jsp file I get the following error:
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:/opt/oracle/midtier/9.0.4/j2ee/home/application-deployments/default/defaultWebApp/persistence/_pages//_htmldb__fop__render.java
    8 package org.apache.fop.apps does not exist import org.apache.fop.apps.Driver;
    93 [jsp src:line #:44] cannot resolve symbol symbol : class Driver location: class htmldb_fop__render Driver driver = new Driver();
    93 [jsp src:line #:44]cannot resolve symbol symbol : class Driver location: class htmldb_fop__render Driver driver = new Driver();
    96 [jsp src:line #:47] cannot resolve symbol symbol : variable Driver location: class htmldb_fop__render driver.setRenderer(Driver.RENDER_PDF);
    NOTE:
    We did not have a oc4j directory under $ORACLE_HOME. We have, therefore, placed htmldb_fob_render.jsp and htmldb_example.xslt in the following directory: $ORACLE_HOME/2jee/home/default-web-app. The var g_Render_URL in javascript file (htmldb_pdf.js) was modified to http://<host name>:<port>/j2ee/htmldb_fop_render.jsp.

    Kris,
    I placed the three jar files into the $ORACLE_HOME/j2ee/home/default-web-app/WEB-INF/lib directory (recall that I don't have a oc4j directory) and I changed the library entries in the application.xml file to point to this directory. The htmldb_pdf.js now seems to find the jar files but I now get an error that indicates I'm not able to make a connection:
    java.net.ConnectException: Connection refused     at java.net.PlainSocketImpl.socketConnect(Native Method)     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)     at java.net.Socket.connect(Socket.java:452)     at java.net.Socket.connect(Socket.java:402)     at sun.net.NetworkClient.doConnect(NetworkClient.java:139)     at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)     at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)     at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)     at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)     at sun.net.www.http.HttpClient.New(HttpClient.java:339)     at sun.net.www.http.HttpClient.New(HttpClient.java:320)     at sun.net.www.http.HttpClient.New(HttpClient.java:315)     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512)     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:489)     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:617)     at java.net.URL.openStream(URL.java:913)     at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2133)     at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:257)     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:200)     at oracle.xml.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:557)     at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:230)     at htmldb_fop__render._jspService(_htmldb__fop__render.java:76)     [SRC:/htmldb_fop_render.jsp:27]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    QUESTIONS:
    1. Should I place all jar files in the $ORACLE_HOME/j2ee/home/default-web-app/WEB-INF/lib directory . . . there are several jar files that are not referenced in the application.xml file.
    2. Should the port number that is defined in the htmldb_pdf.js and htmldb_fop_render.jsp files be the HTTP Server Listener port.
    Thanks,
    David

  • My illustrator effects options are disabled.

    Hi,
    My illustrator effects options are disable when I type a text and goto Effect > 3D > Extrude and Bevel the options are disabled. I'm using Adobe Illustrator CS4...
    Please help....
    Thanks

    Is the text object selected with the selection tool?

  • Error messages ignored when saving an invoice

    Hello,
    Error messages are ignored when an approver saves an invoice. Though messages are still displayed after the check action - It doesn't stop the approver from saving the invoice.
    Thanks,
    Chris.

    Raised an OSS.

  • Errors in Export to PDF for web use - some images are lost when PDF is enlarged & in browser

    I have a multi-page PDF in InDesign CS6 that I want to export to view on the web. I need the file to stay under 2MB, and I need it to be crisp and nice enough to read the type on the page (as small as 9pt type).
    The errors that are occurring are the following:
    On some browsers, some images will entirely not show up. Some of the missing images have been pasted into the document, some placed. I cannot think of a correlation.
    When the PDF is enlarged (Adobe Acrobat X 10.1.10) to more than ~200%, there is one placed image that will mostly disappear. What I mean by "mostly" is that little bits of it are still visible, like I masked it carelessly or something. Since this is only occurring with one image it seems that it would be a problem with the image itself, yes? I'm all ears if I'm making a mistake. It is a placed .ai file with no link errors. Should I not be placing directly from illustrator? It renders wonderfully from 100% all the way up to 188%, and then if you enlarge by margins of 1% little bits of it disappear, almost a chunk at a time.
    The way I've been exporting is:
    File > Export > Adobe PDF (Print)
    Adobe PDF Preset: Smallest File Size
    Standard: None
    Compatinility: Acrobat 6 (PDF 1.5)
    Options: Optimize for Fast Web View
    Export Layers: Visible & Printable Layers
    Compression
    I always change the downsampling from [100/150] to [150/225]. I usually leave the JPG image quality low. I leave both bottom boxes checked (compress text and line art, crop image data to frames)
    Output
    Color Conversion: convert to destination
    Destination: sRGB 1EC61966-2.1
    Profile Inclusion Policy: Include Destination Profile
    However, after reading a few other forum questions I started trying to export as Acrobat 4 so that it would flatten. When I do that, problem #2 still persists although I didn't test problem #1. I haven't tried using Distiller, and using the "prepare for web publishing" action within Acrobat itself makes the PDF too artifacted.
    At the heart of my question is this: I am a young designer at an old company that is not necessarily keeping up with the times. I REALLY want to know what the best, most efficient way to export a pdf for web viewing is. Does this exist in InDesign, outside of InDesign? Does it exist at all? Tell me what I'm doing wrong so that I can get better!
    Thank you in advance.

    Show Large Images is a preference inside of Acrobat which might be disabled.
    Acrobat - File > Preferences

  • When creating a DVD face in Photoshop 13 my save options are limited to .PSE and .PDF.  Why can I not save as a jpeg or other file format?  This was never an issues in Elements 10 (my previous version).

    I just recently purchased Elements 13. I am in the process of creating a DVD face for a video. The design is complete and I would like to be able to save it as a JPEG so I can use it in another program that prints my DVD's. The problem is that it only allows me to save the file as at PSE or a PDF. No other options are available. Why is this?  I upgraded from Elements 10. In Elements 10 I have never had a problem saving this type of project as a JPEG.  Any help would be greatly appreciated.  Thanks!

    ANSWER FOUND!
    Once I finished composing my question I went back and spent some time to figure out the problem. Rather than choosing the "save as" option, which doesn't work, or attempting to choose "export" (grayed out), the correct option is to choose "export creation", which is near the very bottom of the initial drop down options. That works!  I still think it would make sense to have it as an option in the "save as" area.

  • Hyperlinks are dead when Pages file is exported as a PDF

    When I export a file from Pages '09, version 4.0.5, to a PDF file, the hyperlinks do not work. The Pages help menu states "Hyperlinks in your Pages document are exported to the PDF file. Hyperlinks are also created in the PDF file for table of contents entries, footnotes and endnotes, webpages, email addresses, and bookmarks." I am opening the PDF files in Acrobat Reader. What is the problem here?

    Markleynt wrote:
    I discovered the problem. Being new to Pages, I did not realize that the text layer had to be in front of the transparent shapes that I was using as backgrounds, in order for the links to be clickable in a pdf file.
    For sure, putting background objects *_at front_* is not a good idea
    Yvan KOENIG (VALLAURIS, France) lundi 28 février 2011 10:09:48

  • CS3: PDF-Export Transparency Issue when Image-Links are missing

    I have a Layout with a transparent Frame on the top most Layer. For this Workflow-Step I do not have access to the original Image-Links, so I guess that all I see are the embedded Preview-Pictures and InDesign reports that all Object-Links are missing.
    If I export this Layout as JPG, the resulting JPG looks like the WYSIWYG in InDesign, which is suitable for this workflow-step. However when I export as pdf, the Frame is not transparent anymore. Instead it is filled with white color and covers the rest of the Layout. In Adobe Reader I can actually select the wrongly covered Picture at the border of the frame and copy&paste it somewhere and it looks fine.
    When I provide the original Frame-Picture and repair the missing Link in InDesign, PDF-Export works fine.
    I have installed & updated InDesign on a new Mac OS X 10.4.11, so all settings should be default.
    Transparency Blend Space is set to CMYK. I tried all default PDF-Export Profiles and tried a lot of different settings in the pdf-export dialogue including different PDF-File-Versions, Simulate Overprint on/off, Color-Conversion disabled, disabling Picture-Compression and much more. I also tried to Print a PS-File and then use the Distiller: same result.
    I use Adobe InDesign CS3 V 5.0.2 and tried Adobe Reader 8.1.2 and Adobe Acrobat Pro 8 to display.
    Any Ideas?

    Transparency flattening REQUIRES having access to the high-resolution images to get good results. One of the slogans I teach printers is "Fatten before you flatten." Meaning, replace the low-res images with high-res images.

  • Why are the images on my screen in InDesign so crisp/clear and when I export to PDF to print they are blurry?

    Top Picture is while the program, bottom is when exported as a PDF

    Hi Kathdepew,
    You are checking the PDF in Preview, please look it at Adobe Reader/Acrobat. Preview is not a recommended soft-proofing application.
    Also, check you PDF export settings, it seems the images are being down-sampled. To know better, export the PDF with "High quality presets" and then check.
    -Manish

  • My texts are highlighted when exported to a PDF file...

    Hello,
    I am new to In Design. I have to update a large poster created with this software.
    I copied/pasted the new texts and everything is fine on the screen. But when I export the file to a PDF, the text are highlighted with a yellow color.
    Does anybody know what is hapening?
    Thank you
    Sinequa

    Dear Peter,
    This is much easier.
    I tried to print the In
    Design file to see if the text was also highlighted but I did not succeed.
    I only printed a tiny part of the file.
    As I told you on my last
    post, the PDF file is also correct but when I print it aprt of the text is
    highlighted. I mean the titles are OK but the bulk of the text is not.
    A+
    S
    Le Mar 28 septembre 2010 15:14, Peter Spier a
    écrit :
    I think you better post some screen shots of the
    ID file and the PDF. Use
    the cameraicon to embed them in a post:
    >
    http://forums.adobe.com/servlet/JiveServlet/showImage/42798/CameraIcon.pn
    g
    >

Maybe you are looking for

  • Partner profile generation

    Hi,   while generating the partner profile it is askimg for partner no but i don't have any partner system is there any option to configure the same system as seneder and receiver , if it is possible tell me the procedure how can we do that. Thanks i

  • CS4 PS won't print to USB Epson 4900

    It does, however, print happily to a USB Epson 2200 plugged into the same machine. All other apps on this Mountain Lion Mac Mini, including CS4 Illustrator, print fine to the 4900.  I have tried both a USB and a network connection to the printer with

  • Lost all saved passwords. how do I retreive them?

    I have lost all of my saved passwords in my Tools, Options, Security. How do I go about restarting this so it will save passwords from here forward, or if possible retrieving all of the passwords that were lost. Thank you for any help I can get on th

  • How to handle screen resolution in ME21 fro a bdc programme

    I need to use BDC program for ME21 for that how to handle the screen resolution, i know CTU_PARAMS structure is there ,but how to use them, please send the model code. Thanks & Regards krishna

  • Device Manager is blank

    Everything started when I tried to use a Huawei EC168 USB Stick to connect to the Internet. When it installs the program used to run this device into the computer, and tries to install the drivers for this purpose it installs everything but what I su