Forum Replies Created
-
AuthorPosts
-
in reply to: CSS of a HTML string rendering problem – Java August 18, 2010 at 16:45#28128
Have you seen a workarounf suggestion in my previous reply?
You define the footer correctly, but weither it is rendered correctly depends on cssTag value in the code. If there are absolute positioning and adding of as table cell backgrounds – it fails with the current version
in reply to: problems running agent in background with domino 7.0.4 August 18, 2010 at 08:03in reply to: JSP -> PDF conversion turkish char problem August 17, 2010 at 12:11#28110By default PD4ML supports Latin-1 charset only. In order to convert international documents you need to configure and utilize TTF embedding feature of PD4ML Pro.
in reply to: CSS of a HTML string rendering problem – Java August 17, 2010 at 12:03#28126For the time being it is not quite clear why it conflicts with background images in footer. Also an absolute positioning in footer was not foreseen when we implemented the feature.
I would recommend you to use inline footer definitions instead of your current approach.
You may place
<pd4ml:page.footer> <DIV id="footer"></DIV> </pd4ml:page.footer>
right after opening<body>tag or before<html>tag of your document. Also do not apply absolute poitioning to the element.More infor about footers in PD4ML:
html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.htmlin reply to: problems running agent in background with domino 7.0.4 August 17, 2010 at 10:31#28179> – the server seems to be unable to run in headless mode. It seems that domino 7 runs a 1.4 JVM which doesn’t support headless mode.
JDK introduced the headless mode starting from 1.4. However, as far as I remember, particular IBM’s JDK 1.4 implementations has problems with it. I would recommend to try to manage to run your JDK headless.
Regarding the exception. It looks like the only potential source of it is null returned by the code:
try { md5 = java.security.MessageDigest.getInstance("MD5"); } catch (Exception e) { return null; }Could you please create a minimalistic test in your environment and check if it returns an MD5 instance.
in reply to: Table borders disappear in default or low zoom ratio August 17, 2010 at 10:12#28182I guess it happens because of coordinates rounding by particular zoom factors. So cell background overlaps borders. A workaround is to define background not to table cells, but to rows.
For example:
.tb1a tr:first-child{background:#ddd;}in reply to: Dynamic Insets August 13, 2010 at 06:25#28057The feature is not supported. The reason is following: left and right insets are values, which define final HTML-to-PDF scale factor. If they change itself from page to page, it will cause the corresponding scale changes, which is not desired.
If you need to change only top and bottom insets/margins, you may achieve that with empty inline headers/footers. See and tags and their scope attribute.
in reply to: Problem when creating the PDF with Korean characters August 12, 2010 at 09:04#28177what does it output to server’s log?
in reply to: Problem when creating the PDF with Korean characters August 11, 2010 at 13:42#28175<pd4ml:usettf from="java:fonts" serif="Dotum" sansserif="Dotum" monospace="Dotum" />assumes the fonts are in fonts/ directory of the JAR. If the JAR has no internal directory structure, try<pd4ml:usettf from="java:" serif="Dotum" sansserif="Dotum" monospace="Dotum" />But I would recommend to start from a creation of a font directory not relative to /WEB-INF/lib (it does not work that way), but absolute to the file system. defug=”true” of
<pd4ml:transform>should help you to identify the font loading problems.in reply to: [.NET] HTML rendering problem August 10, 2010 at 18:27#28141I’ve sent only one file differs from v360b1 (the most recent version available for download). In theory it should work.
Ok, I’ll send the rest of the files.
in reply to: Nested CSS definitions not rendered August 7, 2010 at 00:59#27469The beta release is planned for tomorrow (Dec. 11)
in reply to: [.NET] HTML rendering problem August 6, 2010 at 19:38#28139We fixed the issue in the development build. I’m going to send it to you directly by email. Hopefully it is not going to be bounced by your mail filter.
in reply to: direction=rtl not working August 6, 2010 at 18:26#28149PD4ML provides only very limited support for RTL texts.
- For the time being it supports only dir=rtl attribute. direction: rtl CSS style is ignored.
- dir=rtl only changes default text alignment to right and defines start condition for RTL text ligaturizing.
- dir=rtl currently does not change table columns order and list bullets positions.
in reply to: Overflow on right margin August 5, 2010 at 20:39#28171The easiest solution would be to apply “word-wrap: break-word” CSS style to the table cell.
If word breaks are undesired, there is a workaround with adjustHtmlWidth() mode. Here is a copy-pasted text from another topic:
“adjustHtmlWidth() is needed in situations like the following: you have a wide table, whose width is not constant (depends on the table content). In order to avoid table cut right side, you may define very big htmlWidth value and trigger adjustHtmlWidth(). Lets’s say htmlWidth=1200, actual table width is 980. In the case PD4ML will render the document assuming htmlWidth=1200 and analyze a right edge location of the content. In our case it is 980, so it will auto-reduce htmlWidth to 980.
A drawback: the scale factor may change itself depending on the table content and width, which is not always desired. Also if any of the tables have width=”100%”, that means the right edge of the content is going to be 1200. So adjustHtmlWidth() takes no effect.”
in reply to: Overflow on right margin August 5, 2010 at 20:26 -
AuthorPosts
