Forum Replies Created

Viewing 15 posts - 736 through 750 (of 1,410 total)
  • Author
    Posts
  • in reply to: UTF – 8 char issue
    #28569

    Please try the following:
    https://pd4ml.com/i/allfonts.zip (34 MB!)
    I assume you own at least one license of MS Win, so there is going to be no font licensing issues.

    in reply to: Table cell border not drawn after page break
    #28850

    It seems to be an interference between “border-collapse: collapse” style and previous borderless row.

    We’ll check what could be done to fix the issue.

    in reply to: Cache issue
    #28743

    Does it mean, the CSS link in your scenario remains the same, but the document, it returns, changes from time to time?

    in reply to: Exclude a couple of H1 and H2 Tags, but not all of them
    #28740

    PD4ML can generate TOC and bookmarks (outlines) from H1-H6 structure.

    Bookmark structure usually appears in a side frame of Acroread viewer; TOC is inserted as a substitution of tag into the document body.

    pd4ml-bookmark-visibility property impacts generation of bookmarks only.

    Currently we work on the documentation update, the work is not done yet. But you may take a look to the relevant sections – hopefully it helps:

    TOC: https://pd4ml.com/cookbook/pd4ml_table_of_contents.htm
    Bookmarks: https://pd4ml.com/cookbook/pdf_bookmarks.htm

    in reply to: Generating PDFs with huge number of pages
    #28868

    Hmm… if you can split the huge document to smaller portions, probably even a PD4ML.render( URL[], … ) or PD4ML.render( StringReader[], … ) method should help. It will render each of multiple HTMLs one-by-one, deallocating parsed structures after a portion is converted to PDF.

    The following code should reduce RAM utilization if your document has bulky images.

    Map m = new HashMap();
    m.put(PD4Constants.PD4ML_CACHE_IMAGES_IN_TMP_DIR, "true");
    pd4ml.setDynamicParams(m);

    in reply to: Generating PDFs with huge number of pages
    #28867

    There are relatively new PD4ML API methods merge(), intended for that. A PDF parser behind them has a limited functionality for the time being and cannot read some third-party PDF documents. But it reads/merges PDFs produced by PD4ML with no problems. So your idea should work.

    in reply to: Generating PDFs with huge number of pages
    #28865

    In general it is not possible to implement the “endless data” PDF output in HTML-to-PDF conversion scenarios.

    PD4ML does all the layout of all the pages in memory, before it writes anything out. The reason is following: let’s say the source HTML layout is built as a single huge table. Any cell, let’s say, on page #350 whose width is a bit wider than previous cells of the same column requires re-layouting of previous 349 pages – as it impacts the entire table layout. If the 349 pages are already written to an output stream – the re-layouting is not possible anymore.

    in reply to: I can´t apply css
    #28806

    Glad it works for you now.

    > But i don´t understand why with 8080 port it works in local…

    I suspect network issues: probably the remote server blocks outgoing 8080 requests etc.

    in reply to: Generating editable PDF forms
    #28823

    Yes. Here is an example how to implement it in JSP scenario and to receive submitted data on the server side:
    pd4ml-html-css-pdf-tips-tricks-f7/pdf-forms-t422.html

    If you prefer to use PD4ML API, you need to trigger pd4ml.generatePdfForms() API call to enable HTML forms to PDF forms conversion.

    in reply to: Absolute positioning within a padded parent
    #28833

    Few minutes ago I replied to another your question and referenced the issue as well.

    in reply to: Positioning – bottom ignored
    #28690

    Viktor,

    we’ve just added CSS “right” and “bottom” properties support, however I am afraid they are still not 100% identically interpreted by PD4ML, comparing to the major web browsers.

    Could you please create and send us an HTML document, with your most wanted currently unsupported CSS features we could use for our internal tests?

    (including html-css-to-pdf-rendering-issues-f3/absolute-positioning-within-a-padded-parent-t524.html test case)

    in reply to: Css style inheritance
    #28810

    We’ve just added the support. In few days it will be available for download/test.

    in reply to: display current date every time the PDF is opened
    #28792

    Most probably it will be available for download tomorrow or day after tomorrow.

    If you want to test the actual development build right now – please send a request to support pd4ml com

    in reply to: I can´t apply css
    #28804

    Severe CSS error may fail the entire stylesheet applying. However, most probably, it is not your case, but I definitely makes sense to solve the issue.

    > why it works in development and doesn´t work in production? i have same code…

    Try to generate PDFs with bot versions and check in the PDF document properties PD4ML version numbers. Are they the same?

    #28759

    > even though obviously these days a doc-type declaration is important.

    Not in PD4ML scenario. By a PDF generation the browser expects to receive PDF bytes only. If the response is leaded by the XML declaration, first: the data is misleading, as it is not “xhtml-strict” in fact; second: the declaration bytes break all object offsets in the document. Acroread can recover it on-a-fly, but it is not safe and by slow systems a pop-up with “rebuilding xref table” (or something like that) may appear.

    PD4ML itself simply ignores the declaration.

    The enable=”false” issue is in our TODO list for the next beta.

Viewing 15 posts - 736 through 750 (of 1,410 total)