Forum Replies Created

Viewing 15 posts - 901 through 915 (of 4,246 total)
  • Author
    Posts
  • in reply to: java.lang.NullPointerException – Not picking up CSS file
    #28233

    Thanks for the response. I have been investigating further and I figured out that it was passing the CSS.
    I have cut down the CSS to just a couple of classes and it seemed to work.
    Is there an easy way for me to debug which CSS makes it fail?

    I have spotted one, FILTER statement for IE.

    Is there issues like browser specific styles used for progressive enhancements:

    -webkit-box-shadow: 4px 4px 3px #888;

    in reply to: Columns
    #28230

    The feature available since v351b7

    In your code sample you would also need to add “height” attibute.

    in reply to: java.lang.NullPointerException – Not picking up CSS file
    #28234

    I have been going through trial and error and have resolved most issues of the CSS/HTML issues mentioned above.

    Can you confirm if the following HTML will be supported:

    1) FIELDSET & LEGEND
    2) P (Paragraph)

    These are important HTML to us.

    in reply to: HTML/CSS rendering issues
    #26464

    I have a header section that uses rowspan and colspan tags, yet neither are being rendered when converting html to pdf.

    The top cell spans 9 columns.
    The second row has one cell spanning two *rows*, and every other cell spanning two columns.
    The third row’s first cell should be included with the rowspan above, and there are 8 additional literal cells.

    <br /> <table class="report"><br /> <tr><br /> <th colspan="9">Report</th><br /> </tr><br /> <tr><br /> <th rowspan="2">text</th><br /> <th colspan ="2">text</th><br /> <th colspan ="2">text</th><br /> <th colspan ="2">text</th><br /> <th colspan ="2">text</th><br /> </tr><br /> <tr><br /> <th>text</th><br /> <th>text</th><br /> <th>text</th><br /> <th>text</th><br /> <th>text</th><br /> <th>text</th><br /> <th>text</th><br /> <th>text</th><br /> </tr><br /> </table><br />

    However, the result is that the rowspan does not span 2 rows, and none of the colspans span 2 columns, which generates misaligned headers.

    From another thread I tried using the table css property: empty-cells: show; but no luck. I have also seen suggestions to add   to empty cells, but that is not necessary here as it does not work with text in each cell.

    Also, using

    in place of

    produces the same behavior.

    Please advise.

    in reply to: java.lang.NullPointerException – Not picking up CSS file
    #28235

    I have added example FIELDSET HTML + STYLES:

    HTML:

    Information Group

    CSS:

    .fieldsetGroup .fieldsetGroupLabelBackground, .fieldsetGroup .groupLabelBackground
    {
    padding: 2px 10px 2px 10px;
    margin: 3px 3px 3px 15px !IMPORTANT;
    border: 1px solid #9bb8ea;
    background: url(../images/hsg_demo_theme/folder_tools_bg.gif) repeat-x left top;
    height: 18px;
    }
    .fieldsetGroup LEGEND .label, .fieldsetGroupLabel
    {
    font-size: 12px;
    font-weight: bold;
    color: #004677;
    }

    Neither of these styles get applied in the PDF.

    Below is the paragraph styles that don’t get applied:

    HTML:
    Enter your rich text here

    CSS:

    /* PARAGRAPH – This is the actual P HTML element used */
    .main_body .form P, .main_body .form DIV.customControl
    {
    font-weight : bold;
    color: #004677;
    line-height: normal;
    margin: 0px !IMPORTANT;
    padding: 1px 3px 1px 3px !IMPORTANT;
    vertical-align: top;
    }

    Please see screenshots attached.

    in reply to: java.lang.NullPointerException – Not picking up CSS file
    #28236

    Attached Document.

    in reply to: General questions / FAQ
    #26465

    I have used the AllowAnnotate Constant to enable commenting in the PDF.

    When opeing the PDF in Adobe Reader the allow commenting is still “not allowed” on the document security tab

    Is is possible to enable commenting for reader using the API?

    in reply to: HTML/CSS rendering issues
    #26466

    When font-family in css file is coded with Chinese name, exception will come out.

    Would you support that in future ?

    in reply to: Troubleshooting
    #26467

    Good evening,

    We have downloaded the latest version (3.6.0Fx1) to get the;

    tag working within the body of our document (we had an older version of PD4ML in use before), however it still will not work.

    We also checked the tag library, it does not appear in there for any versions we could find, should it be in the tag library, and if so which version? We have the ‘volume license’.

    Maybe I have simply got the code wrong? I noticed on a previous post something to do with ‘multicolumn’ is this something else I needed to add into the header for the ‘layoutbox’ to work or should it just work on it’s own?

    in reply to: Deployment / Configuration issues
    #26468

    What am I supposed to know/understand/have installed to make this work on command line?

    “Java is not a recognized as an internal or external command, operable program or batch file.”

    Thanks.

    in reply to: installation / getting started
    #28246

    Answer to previous question was have java installed. But now I’m getting this error

    C:Exedxl2pdf>cd C:tmpdxl2pdf

    C:tmpdxl2pdf>java -Xmx512m -cp xml.jar;notes.jar;pd4ml_demo.jar;. Dxl2PdfE:We
    bsites_tmpbpl1454.html 800 -debug -usetmpfiles -out E:Websites_tmpbpl1454.h
    tml.pdf -xsl dxl4pd4ml.xsl
    Exception in thread “main” java.lang.NoClassDefFoundError: Dxl2PdfE:Websites_t
    mpbpl1454/html
    Caused by: java.lang.ClassNotFoundException: Dxl2PdfE:Websites_tmpbpl1454.htm
    l
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: Dxl2PdfE:Websites_tmpbpl1454.html. Program wi
    ll exit.

    C:tmpdxl2pdf>pause
    Press any key to continue . . .

    in reply to: installation / getting started
    #28247

    I noticed the missing space before %1 in the batch file, the error now reads

    Exception in thread “main” java.lang.NoClassDefFoundError: Dxl2Pdf
    Caused by: java.lang.ClassNotFoundException: Dxl2Pdf
    at java.net.URLClassLoader$1.run(Unknown Source)

    in reply to: installation / getting started
    #28248

    Obviously it must be a space between Java class name and the document path:
    Dxl2Pdf E:Websites_tmpbpl1454/html
    instead of
    Dxl2PdfE:Websites_tmpbpl1454/html

    (as I just noticed – you resolved the problem)

    Well, Dxl2Pdf is a Java class, designated to convert Lotus Notes documents in XML form (DXL) to PDF. Is it your intention? “html” at the end of the command line makes me suspect it is not.

    If you need to convert HTML to PDF, take a look to the info:
    http://pd4ml.com/html-to-pdf-command-line-tool.htm

    in reply to: installation / getting started
    #28249

    Thank you. Which is the correct file to download please?

    in reply to: installation / getting started
    #28250

    pd4ml.pro.trial.361b1.zip is a good choice.
    You need pd4ml_demo.jar and ss_css2.jar from it.

Viewing 15 posts - 901 through 915 (of 4,246 total)