Forum Replies Created

Viewing 15 posts - 646 through 660 (of 4,243 total)
  • Author
    Posts
  • in reply to: CSS div positioning bug
    #27961

    Hello,

    I have pd4ml.pro.trial.360fx1 version and class PD4Constants doesn’t contain PD4ML_ABSOLUTE_ADDRESS_SPACE.
    Is it possible?

    Regards,
    pk

    in reply to: How auto splite image inpd4ml
    #27355

    If the image dimensions fit a single page, there is a couple of methods should help:

    • PD4ML API call pd4ml.enableImgSplit(false)
    • CSS style IMG { page-break-inside: avoid }. In most of situations it is better to apply style page-break-inside: avoid not to an image directly, but to its hosting container (div, table row, etc).

    Of course, if a particular image does not fit a single page, both methods take no effect for it.

    From the two alternatives we would recommend to use the CSS approach. If your HTML documents are read-only, you may define the extra styles with addStyle() PD4ML API call.

    in reply to: pdf resize problem
    #27925

    Normally the issue only impacts a screen view of documents. Print must be ok.

    If you define cell background, by small zoom factors the background may partially overlap cell borders (it is an issue of coordinate rounding by a rendering of PDF in Acroread). A workaround is to un-define table cell background colors.

    in reply to: HTML/CSS rendering issues
    #26399

    Hi,

    I am using PD4ML Pro.

    The HTML file I want to convert into a PDF file contains a table formatted by CSS.
    Obviously, the rendered PDF file does not respect the width and padding properties I specified in my CSS file.

    Also, the following warning message appears several times:
    Warning: Invalid syntax in CSS selector: “”

    Can you explain this behaviour and suggest a fix/workaround ?

    Thank you.


    Part of HTML file generating the table:
    [language=HTML:3hpogtmq]

    Selection Object Full Name Metric Name User First Snapshot Last update Justify

    TESTADGMS25ADG.TST_PCHIT_KB..APM_SCOPE_FORMS
    Avoid Too Many Copy Pasted Artifacts CAST ADG auto snap 8 05-26-2010 this is my comment for exclusion et je raconte ma vie

    [/language:3hpogtmq]


    Part of CSS file formatting the table:
    [language=CSS:3hpogtmq].checkbox {
    display: none;
    }
    .ViolationListDataTable {
    font-size: 8px;
    margin: 0 0 18px 0;
    width: 100%;
    table-layout: fixed;
    }
    .ViolationListDataTable td {
    border-top: #999999 1px dotted;
    height: 16px;
    }
    .ViolationListDataTable .metric,
    .ViolationListDataTable .objfullname,
    .ViolationListDataTable .comment,
    .ViolationListDataTable .user,
    .ViolationListDataTable .snapname {
    white-space: nowrap; text-overflow: ellipsis; overflow: hidden; text-align: left; padding-left: 1%;
    }
    .ViolationListDataTable .selstatus,
    .ViolationListDataTable .date,
    .ViolationListDataTable .checkbox,
    .ViolationListDataTable .auto {
    text-align: center;
    }
    .ViolationListDataTable .metric {
    width: 15%;
    }
    .ViolationListDataTable .objfullname {
    width: 18%;
    }
    .ViolationListDataTable .user {
    width: 10%;
    }
    .ViolationListDataTable .snapname {
    width: 6%;
    }
    .ViolationListDataTable .checkbox {
    width: 2%;
    }
    .ViolationListDataTable .selstatus {
    width: 6%;
    }
    .ViolationListDataTable .comment {
    width: 12%;
    }
    .ViolationListDataTable .date {
    width: 10%;
    }[/language:3hpogtmq]

    in reply to: General questions / FAQ
    #26400

    I am using pd4ml.lib.trial.360fx1 evaluation version

    when I enter URL like http://www.google.co.in. In that case blank pdf is generated of only 2 kb. Why I am not getting content.

    Same URL if I type in website http://www.html-to-pdf.net/free-online-pdf-converter.aspx

    I am able to generate PDF I have attached that here. We want to buy this before 31st May But we need generic PDF conversion like any url I enter it should generate into PDF.

    in reply to: General questions / FAQ
    #26401

    I am using pd4ml.lib.trial.360fx1 evaluation version. I have Issue that when HTML page is long and I generate PDF in that case my remaining contents are skipped. Is there any way by which it automatically fits my html content into pdf using scale down or something like that.

    I set following properties

    pd4ml.setPageSize( 768,1024);
    pd4ml.setPageInsets( new Insets(10,10,10,10));
    pd4ml.setHtmlWidth(768 );

    Now If my html page size is greater than 1024px in that case my remaining contents are skipped rather then to add new pahe in PDF. I am not able to generate new page in PDF any how.

    in reply to: URL not rendering content
    #28045

    Hmm… I opened the attached PDF and it does not appear blank. It is google.co.in start page.

    Please take into account, 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.

    in reply to: When HTML page is large generated pdf skipping contents
    #28046

    A doument sample would help to analyze the issue. Could you please attach it to a post or send to PD4ML support by email.

    in reply to: When HTML page is large generated pdf skipping contents
    #28047

    Here I have attached test.zip file.

    Can you please check that why contents are skipping and even Body ‘s stylesheet that gray colour is not coming in PDF file

    in reply to: pd4browser.properties
    #27688

    1. Actually viewer.params is intended to make possible to open generated PDFs by exotic PDF viewers (if any). Let’s say the viewer requires to put an extra switch before PDF name:

    myexoticpdfreader.exe -input output.pdf

    In the case you would need to define

    viewer.params=-input

    in pd4browser.properties. If you want to use the property to pass PDF open parameters, you need to specify them fully:

    viewer.params=/A “page=3=OpenActions”

    (the above makes sense only in offline scenarios!)

    2. You may define desired page format in pd4browser.properties

    page.format=LETTER

    but why don’t you use Pd4Php for that?

    http://pd4ml.com/php.htm

    In the case you may pass the open parameter (from your first question) like that:

    http://myserver.de/mypdfgenerating.php#page=3

    in reply to: When HTML page is large generated pdf skipping contents
    #28048

    The issue is caused by “OVERFLOW: hidden” style of body element.

    You need either to remove the style, or to allocate space with not absolutely positioned content. For example by adding of

    after

    in reply to: including external html
    #28043

    tag has been implemented for special use (conversion of lotus notes documents), so for the time being it accepts base64-encoded tag body only. SRC attribute is not currently implemented.

    in reply to: not generating pdf for html page with contains frame
    #28038

    Please send us (or attach to a post) such PDF sample.

    The message reminds me the default apache web server page. So I would suspect network or proxy configuration issues on your side.

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

    Use longer file names than 9 characters. It’ll help.

    in reply to: Problem in displaying Japanese characters
    #27804

    The information in that link is helpful. Thank you.

Viewing 15 posts - 646 through 660 (of 4,243 total)