Forum Replies Created

Viewing 15 posts - 1,216 through 1,230 (of 1,410 total)
  • Author
    Posts
  • in reply to: How to change the directory where the temp file is stored
    #27929

    Java API offers an alternative method to create tmp file, which allows to specify tmp/ directory location:

    createTempFile(String prefix, String suffix, File directory)

    A call of the method may look like that:

    File file = File.createTempFile(“attachment”, “.” + fileName, new File(“e:\another\temp”));

    in reply to: About text-indent
    #27923

    If you consider the volume license, we could try to implement the feature within the next 2-3 days and provide you with a version to test asap.

    PD4ML Pro would mean the standard implementation cycle: we’ll start after v360fx1 is finally released (~Apr. 15) and it will be available with v361b1 (not later than 1st of May). However there is a possibility we’ll address the issue sooner.

    in reply to: About text-indent
    #27921

    The feature is currently not implemented. We could add it to one of the forthcomming releases. The priority would depend on particular PD4ML product you (are going to) order.

    in reply to: PDF loading crash in IE with Google Toolbar
    #27918

    I would do the following:

    1. Test if your instance of IE+Google toolbar can open other PDFs from the Web.

    2. Save a generated PDF and open it in a text editor. Does it start with %PDF- ? Are there any spaces or new line characters before the prefix?

    3. Try to define the following HTTP headers in the JSP:
    X-Download-Options: noopen
    X-Content-Type-Options: nosniff

    Here is some more headers to play with:
    http://stackoverflow.com/questions/1242900/problems-with-header-when-displaying-a-pdf-file-in-ie8

    In order to switch the default HTTP headers of PD4ML taglib off, you would need to instal v360fx1b1 and define http=”noheader” attribute to <pd4ml:transform>

    in reply to: PDF loading crash in IE with Google Toolbar
    #27916

    1. Do you use IE8?
    2. Do you load the PDF by HTTP or HTTPS?

    in reply to: "Pd4ml.render" take long time to process
    #27880

    In order to make sure you use not cached JAR version, please open the generated document in Acroread and go to File->Properties->Description->Producer. Is there really v360?

    in reply to: logo in an img tag blows up
    #27913

    Please give a try to the most recent beta, available for download from our site (v360fx1b1). It should resolve the issue.

    in reply to: Problem in applying margins
    #27899

    <pd4ml:transform> is a custom JSP tag, which works only in JSP container. Its attributes are mapped to PD4ML API calls. So in .JSP <pd4ml:transform pageFormat="A4" screenWidth="600" pageOrientation="portrait" pageInsets="10,30,20,20,mm"> implicitly invokes pd4ml.setPageInsetsMM(new Insets(10, 30, 20, 20));

    If you do not use PD4ML JSP taglib, a call like pd4ml.setPageInsetsMM(new Insets(10, 30, 20, 20)); is the only way to define the margins.

    in reply to: Fieldset Legend + Bold
    #27906

    I’ve just run the test with your sample and got layout identical to a rendered by MS IE. So I would say the issue is solved too.

    in reply to: Fieldset Legend + Bold
    #27904

    You defined the style correctly, but the actual version of PD4ML offers limited style flexibility for the legend text (actually you may change only color, text style it inherits from the current context).

    We’ve just fixed the problem in our development build. The version will be available for download in few days.

    in reply to: Another Evaluation Question
    #27897

    I tested the URL with v360 and was able to reproduce the issue, however the actual build, we are going to publish in few days, converted the document without problems. See attached.

    If you are interested to test the build, we could send it to you asap. Please contact PD4ML support by email.

    in reply to: Evaluation: Scaling
    #27896

    pd4ml.fitPageVertically(); should do the trick

    in reply to: Evaluating PD4ML
    #27894

    A lot of “other” converters use MS IE or Mozilla native DLLs to load and render HTML. So the site returns versions, adapted for the browsers.

    PD4ML uses our proprietary HTML rendering engine (100% Java, also ported to managed .NET code). It is PDF-output-oriented and it does not support JavaScript. Despite the product name “HTML-to-PDF converter”, PD4ML is not intended for web sites capture. Our goal is on PDF side: it is to allow you to define PDF layouts of any level of complexity with a language everybody knows – HTML.

    If you plan to convert popular interactive web sites to PDF, most probably the result will disappoint you. A specialized PDF print driver will do the job better.

    in reply to: Evaluating PD4ML
    #27892

    Obviously the site returns layouts and styles, optimized for particular client browser – which is actually good practice.

    PD4ML does not declare itself in HTTP request as any of the major browsers, so it receives a very basic HTML/CSS version (probably a version for mobile clients). As for me the HTML is converted correctly. See attached.

    in reply to: Problem using noimagesplit-Option
    #27891

    In order to avoid such issues, I would recommend not to use enableImgSplit(false).

    A better approach would be to apply “page-break-inside: avoid” CSS property to particular table rows. In most of the cases it is also harmless to apply

    TR {page-break-inside: avoid} to entire document.

Viewing 15 posts - 1,216 through 1,230 (of 1,410 total)