Forum Replies Created
-
AuthorPosts
-
in reply to: java.lang.NullPointerException – Not picking up CSS file October 7, 2010 at 15:33#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;
#28230The 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 October 7, 2010 at 17:31#28234I 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 October 7, 2010 at 20:04#26464I 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 October 8, 2010 at 09:26in reply to: java.lang.NullPointerException – Not picking up CSS file October 8, 2010 at 09:27#28236Attached Document.
in reply to: General questions / FAQ October 8, 2010 at 13:07#26465I 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 October 9, 2010 at 11:15#26466When font-family in css file is coded with Chinese name, exception will come out.
Would you support that in future ?
in reply to: Troubleshooting October 11, 2010 at 16:44#26467Good 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 October 12, 2010 at 08:29#26468What 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 October 12, 2010 at 10:04#28246Answer 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 October 12, 2010 at 10:07#28247I 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 October 12, 2010 at 10:14#28248Obviously 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.htmin reply to: installation / getting started October 12, 2010 at 10:27#28249Thank you. Which is the correct file to download please?
in reply to: installation / getting started October 12, 2010 at 10:38#28250pd4ml.pro.trial.361b1.zip is a good choice.
You need pd4ml_demo.jar and ss_css2.jar from it. -
AuthorPosts