Forum Replies Created

Viewing 15 posts - 2,896 through 2,910 (of 4,243 total)
  • Author
    Posts
  • in reply to: Turn off warnings
    #29742

    It will be clear with the release date in about 2 weeks.

    If it is critical, we could build for you an “unofficial” ss_css2.jar patch with the warning/error messages cleaned up.

    in reply to: closed border line in each page
    #29746

    Now I see.

    Well, you cannot define the border line with HTML/CSS. But it is possible:

    1. to define a page background image with a painted border line and to apply the image to all pages.

    [language=Java:1rjzncx5]PD4PageMark footer = new PD4PageMark();
    footer.setPageBackgroundImageUrl(“file:./frame.jpeg”);
    pd4ml.setPageFooter(footer);[/language:1rjzncx5]

    2. to create a static PDF page with a border line. It can be done from an HTML like the following:

    [language=xml:1rjzncx5]

     

    [/language:1rjzncx5]
    (height value is to be adjusted there)

    After that you could combine(underlay) the static PDF with your dynamically created PDF document.

    http://pd4ml.com/cookbook/pdf-overlay-underlay.htm

    in reply to: closed border line in each page
    #29747

    Thank you, that helps 🙂

    in reply to: Inconsistent character font family on list
    #29686

    Thanks!! That will be good news for us. I will check it once it will be realeased

    #29736

    For the given document type a possible solution is to define an extra style to shrink a table and to ensure, it makes no undesired line-wraps:

    [language=css:2estpj1l]table { width: 200 }
    td { white-space: nowrap; }[/language:2estpj1l]

    The style can be passed via pd4ml.addStyle(css, true) API call.

    See http://pd4ml.com/api/org/zefer/pd4ml/PD4ML.html#addStyle(java.lang.String,%20boolean)

    #29677

    Hello,

    we suffer from the same issue in PD4ML 3.9.5. We try to merge two or more PDF files both/all created with PD4ML. It seems that this issue was introduced in PD4ML 3.9.4 or 3.9.5. With PD4ML 3.9.3 it works. I didn’t try 3.9.4 because in the release notes you mentioned changes in PDF merge logic. So I suppose version 3.9.4 is also corrupted.

    Kind regards,
    Norman Seidel

    This is what PD4ML logs in debug mode:
    2015-05-28 15:53:33,425 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 0 0 conversion begin<br /> 2015-05-28 15:53:33,434 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 9 4 html parsed<br /> 2015-05-28 15:53:33,443 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 18 16 document tree structure built<br /> 2015-05-28 15:53:33,446 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 20 16 layouting...<br /> 2015-05-28 15:53:33,447 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 22 17 layouting...<br /> 2015-05-28 15:53:33,447 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 22 18 layouting...<br /> 2015-05-28 15:53:33,448 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 23 19 layouting...<br /> 2015-05-28 15:53:33,448 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 23 20 layouting...<br /> 2015-05-28 15:53:33,449 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 24 21 layouting...<br /> 2015-05-28 15:53:33,449 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 24 22 layouting...<br /> 2015-05-28 15:53:33,449 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 24 23 layouting...<br /> 2015-05-28 15:53:33,450 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 25 24 layouting...<br /> 2015-05-28 15:53:33,450 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 25 25 layouting...<br /> 2015-05-28 15:53:33,451 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 26 26 layouting...<br /> 2015-05-28 15:53:33,451 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 26 27 layouting...<br /> 2015-05-28 15:53:33,451 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 26 28 layouting...<br /> 2015-05-28 15:53:33,452 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 27 29 layouting...<br /> 2015-05-28 15:53:33,452 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 27 30 layouting...<br /> 2015-05-28 15:53:33,453 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 28 31 layouting...<br /> 2015-05-28 15:53:33,453 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 28 32 layouting...<br /> 2015-05-28 15:53:33,454 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 29 33 layouting...<br /> 2015-05-28 15:53:33,454 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 29 34 layouting...<br /> 2015-05-28 15:53:33,454 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 29 35 layouting...<br /> 2015-05-28 15:53:33,455 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 30 36 layouting...<br /> 2015-05-28 15:53:33,455 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 30 37 layouting...<br /> 2015-05-28 15:53:33,455 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 30 38 layouting...<br /> 2015-05-28 15:53:33,456 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 31 39 layouting...<br /> 2015-05-28 15:53:33,456 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 31 40 layouting...<br /> 2015-05-28 15:53:33,456 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 31 41 layouting...<br /> 2015-05-28 15:53:33,457 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 32 42 layouting...<br /> 2015-05-28 15:53:33,457 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 32 43 layouting...<br /> 2015-05-28 15:53:33,458 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 32 44 layouting...<br /> 2015-05-28 15:53:33,458 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 33 45 layouting...<br /> 2015-05-28 15:53:33,458 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 33 46 layouting...<br /> 2015-05-28 15:53:33,459 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 34 47 layouting...<br /> 2015-05-28 15:53:33,460 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 35 48 layouting...<br /> 2015-05-28 15:53:33,460 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 35 49 layouting...<br /> 2015-05-28 15:53:33,460 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 35 50 layouting...<br /> 2015-05-28 15:53:33,461 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 36 51 layouting...<br /> 2015-05-28 15:53:33,461 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 36 52 layouting...<br /> 2015-05-28 15:53:33,461 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 36 53 layouting...<br /> 2015-05-28 15:53:33,462 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 37 54 layouting...<br /> 2015-05-28 15:53:33,462 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 37 55 layouting...<br /> 2015-05-28 15:53:33,462 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 37 56 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 57 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 58 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 59 layouting...<br /> 2015-05-28 15:53:33,463 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 38 60 layouting...<br /> 2015-05-28 15:53:33,464 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 39 61 layouting...<br /> 2015-05-28 15:53:33,464 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 39 62 layouting...<br /> 2015-05-28 15:53:33,464 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 39 63 layouting...<br /> 2015-05-28 15:53:33,465 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 40 64 layouting...<br /> 2015-05-28 15:53:33,465 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 40 65 layouting...<br /> 2015-05-28 15:53:33,465 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 40 66 layouting...<br /> 2015-05-28 15:53:33,466 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 41 67 layouting...<br /> 2015-05-28 15:53:33,466 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 41 68 layouting...<br /> 2015-05-28 15:53:33,466 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 41 69 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 70 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 71 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 72 layouting...<br /> 2015-05-28 15:53:33,467 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 42 73 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 74 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 75 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 76 layouting...<br /> 2015-05-28 15:53:33,468 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 43 77 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 78 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 79 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 80 layouting...<br /> 2015-05-28 15:53:33,469 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 44 81 layouting...<br /> 2015-05-28 15:53:33,470 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 45 82 layouting...<br /> 2015-05-28 15:53:33,470 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 45 83 layouting...<br /> 2015-05-28 15:53:33,470 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 45 84 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 85 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 86 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 87 layouting...<br /> 2015-05-28 15:53:33,471 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 46 88 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 89 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 90 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 91 layouting...<br /> 2015-05-28 15:53:33,472 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 47 92 layouting...<br /> 2015-05-28 15:53:33,474 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 49 92 layout done<br /> 2015-05-28 15:53:33,475 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 50 92 layouting...<br /> 2015-05-28 15:53:33,482 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 57 92 generating PDF... 1<br /> 2015-05-28 15:53:33,483 INFO [http-0.0.0.0-8080-1] PDFServiceImpl 58 92 layouting...<br /> 2015-05-28 15:53:33,743 ERROR [http-0.0.0.0-8080-1] com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor PDFCreateException: java.io.IOException: PDF Merge: Parsing of PDF failed: null CallStack:<br /> de.mms_dresden.zvs.unterstuetzung.bl.impl.dokument.PdfTemplateServiceImpl.createPDF<br /> <br /> java.io.IOException: PDF Merge: Parsing of PDF failed: null<br /> at org.zefer.pd4ml.PD4ML.o00000(Unknown Source) ~[pd4ml.jar:396]<br /> at org.zefer.pd4ml.PD4ML.render(Unknown Source) ~[pd4ml.jar:396]<br /> at PDFServiceImpl.mergeToPDFFromHTML(PDFServiceImpl.java:89)

    in reply to: Turn off warnings
    #29743

    Okay, thank you again for your help. I think we’ll wait for the official release.

    #29629

    It’s still not working.

    We’ve tried using the new version and defining “pd4ml.document.id” :

    System.setProperty(“pd4ml.document.id”, “0123456789abcdef”);

    but it doesn’t allow us to override the JDK version or either the OS version.

    Any other idea or other version in preparation ?

    Best regards,

    #29630

    Please publish a sample PDF, generated with your actual PD4ML version, which illustrates the problem.

    #29737

    Thanks for your answer.

    Unfortunately this solution is only suitable for exactly the example provided but not for any table that may have to be rendered.
    The problem with the empty tags may occur in tables with cells of arbitrary content length, thus I may neither prohibit line breaks nor shrink the table.

    Are there any plans to fix this problem in PD4ML library?

    #29678

    Could you please publish a PDF sample, you unsuccessfully tried to merge with a dynamically generated PDF?

    in reply to: Troubleshooting
    #27023

    Hi,
    PD4ML is not able to render the JPG image attached

    version: PD4ML 396 Pro
    loaded CSS from cache for file:css/bv-form-pdf.css
    Stylesheet parsed. ‘file:.’ [1ms]
    image not yet in cache: file:form/downloadimage/5/1433936330578.jpg
    not yet in cache: file:form/downloadimage/5/1433936330578.jpg
    image size: 122870
    image type of file:form/downloadimage/5/1433936330578.jp is unknown/unsupported.
    can not load image: form/downloadimage/5/1433936330578.jp
    done in 18516ms.

    in reply to: JPG image type is unknown/unsupported
    #29751

    the jpeg is missing – could you please publish it?

    #29738

    We’ve been working on the issue. If everything ok, the fix will be available with the forthcoming maintenance release in few days.

    in reply to: JPG image type is unknown/unsupported
    #29752

    I found that this image may be using CMYK

Viewing 15 posts - 2,896 through 2,910 (of 4,243 total)