Forum Replies Created

Viewing 15 posts - 1,021 through 1,035 (of 1,410 total)
  • Author
    Posts
  • in reply to: PDF from multiple urls
    #27786

    Unfortunately the API does not allow to define individual settings for each document.

    The only possible workaround is to create PDFs one-by-one using PD4ML and to merge them into a single doc with free iText library (http://itextpdf.com/)

    in reply to: Content inside table is not justified
    #28174

    Could you please publish an HTML sample of such document or send it to support pd4ml com

    in reply to: [.NET] HTML rendering problem
    #28145

    Just use the standard PayPal or ShareIT order link. After that please contact support pd4ml com and we’ll send you the most recent version.

    in reply to: how to merge array of pdf
    #28291

    For the time being it is not possible.

    The only workaround is to merge HTMLs and to pass the resulting document to PD4ML as a single body.

    in reply to: CSS text-align Property Issuse
    #27871

    1. The feature is currently not supported for PDF form elements. We can add it in the nearest future.
    2. We cannot reproduce the issue – with our test documents it always works correctly. Please send your HTML sample to PD4ML support.

    in reply to: How to create bookmarks in PDF?
    in reply to: how can i give powered by options
    #28032

    With PD4ML Pro you may do that by inline footer definition:

    <b>All rights reserved. Powered by PD4ML</b>

    With PD4ML Std it could be done via API call. See more about footers/header:

    html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html

    in reply to: Url graph not displayed
    #27828

    I tried a variety of JDK versions, but was not able to provocate an with any of them URL-length problem.

    Now I suspect encoded URL parts wrolly interpreted. For example “%25” is auto-replaced with 0x25 character there. Could it be a problem?

    Try a long chart path without such %NN patterns. Does it work?

    in reply to: How to display Greek letters θ, ß in generated PDF for Java
    #28295

    You need to utilize TTF Embedding feature of PD4ML Pro

    pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html

    in reply to: HTML-styled String to pdf using streams
    #28294

    Among PD4ML examples https://pd4ml.com/examples.zip there is PD4MLBySslServlet.java class, which ilustrates how to use PD4ML in web scenarios (just ignore SSL stuff there).

    At first glance your Java code seems to be correct. So I would suspect source HTML as a reason of blank PDFs. Do you really have opening tag at the end of your HTML code? Please try to remove it – it may confuse the HTML parser.

    in reply to: Optimalization of PDF for printing
    #28252

    Unfortunately PDF standard provides not much control to optimize device-specific print jobs.

    For example: if your PDF document has bulky images it depends on the printer supported features and the printer driver whether the image will be sent to print as an unpacked array of pixels or in its original compact format (JPEG, PNG).

    in reply to: Adobe Reader Version Problem
    #28067

    PDF format versions are backward compatible. PD4ML outputs PDFs compatible with Acroread 5 and newer. (Even if you use Acroread 4, it will ignore all features it does not “understand”)

    Acroread 9.1 should introduce no problems at all, so no PD4ML update is necessary.

    in reply to: fix_base_path: multiple patterns
    #28292

    Try do define multiple nested tags with needed patterns.

    <pd4ml:fix_base_path pattern="/css/" ... >
    <pd4ml:fix_base_path pattern="/img/" ... >
    <pd4ml:fix_base_path pattern="/js/" ... >
    Content to apply the tags to
    </pd4ml:fix_base_path>
    </pd4ml:fix_base_path>
    </pd4ml:fix_base_path>

    On the other hand recent versions of PD4ML are able to resolve absolute web paths via ServletContext. I would recommend to add debug=”true” to <pd4ml:transform> and ispect STDOUT what it tries to load and whether the URLs are correct.

    in reply to: Content not flowing properly around images
    #28290

    For the time being there is no workaround.

    HTML-to-PDF conversion process consists of 2 phases: Initially PD4ML renders HTML document layout for a “screen device”, whose height is unlimited. At this point page breaks are not taken into account. After that the rendered content is “printed” to PDF output device (or Image device, or RTF device etc) and depending on a particular output media nature and dimensions, page breaks (or “page-break-inside: avoid” directives) applied.

    What you actually need is to reflow the text depending on an actual image position, and the actual image position depends on a page break position. So during the phase 1 we need a position info, which will be known only during the phase 2. That is a very big challenge to the current PD4ML architecture and we are even not ready to estimate needed efforts yet.

    in reply to: Content not flowing properly around images
    #28288

    Steph,

    it is an implicit page break issue. We’ve been checking if it is possible to implement a fix. (it is quite tricky: PD4ML prints floats after the main content, so a page break “signal” comes from a float too late – when a portion of a text, supposed to go to the next page, is already printed on the current one).

    As a workaround I would recommend to add a conditional page break tag between <div>s:

    ...
    </div>
    </div>
    
    <pd4ml:page.break ifSpaceBelowLessThan=300>
    
    <div class="Entry" style="...">
    <img alt="Image from the forum topic: Content not flowing properly around images" class="Image"
    ...

    where “300” more-less matches the image height.

Viewing 15 posts - 1,021 through 1,035 (of 1,410 total)