PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) HTML/CSS rendering issues Incorrect table rendering in PDF file

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #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]

    #28044

    “Warning: Invalid syntax in CSS selector:” may cause the entire CSS stylesheet interpretation to fail. Your CSS sample should not cause the exception, obviously it comas from another stylesheet used in your documents.

    CSS parser, supplied with the most recent v361b2, addresses the issue.

    PD4ML does not support paddings, given in percents. But for width it should work. Please test it with the most recent version.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.