Forum Replies Created
-
AuthorPosts
-
in reply to: Overflow on right margin August 5, 2010 at 20:12#28167
Is it clipped because the right column is stretched by a non-breakable long word?
As a rule table without explicit width attribute may grow horizontally till it reaches the right edge of nesting element. (A right edge of
<body>element is defined by htmlWidth conversion parameter) However if there are big images or very long portions of unbreakable content, they will stretch the table cell to fit.A workaround depends on what you exactly faced with.
in reply to: pd4ml https image urls August 5, 2010 at 17:09in reply to: Create single pdf for multiple URLs. August 5, 2010 at 14:23#28154No. It is not possible for the time being.
A workaround is to merge HTML into a single one before passed to PD4ML. By the merge you would also need to remove
</body>and</html>closing tags as they stop further HTML parsing.in reply to: [.NET] HTML rendering problem August 5, 2010 at 13:21#28138Stefan, we’ve reproduced the issue and been working on it.
in reply to: language support problem in <title> tag August 5, 2010 at 12:52#28131<title>tag content is not shown in a document body. It impacts PDF meta-data only (TITLE property of PDF, Acroread window caption). Do you mean question marks in the meta data? Could you please send a PDF sample to support pd4ml com. Also it would be nice if you dump source HTML to see what is exactly passed to PD4ML.in reply to: CSS of a HTML string rendering problem – Java August 5, 2010 at 12:46#28124hmm… “up-side-down footer” is an old issue resolved in the recent versions. could you please send a PDF sample to analyze to support pd4ml com
in reply to: JSP taglib header/footer issue August 5, 2010 at 12:16#28156In the JSP you define headers and footers in HTML format. It requires PD4ML Pro. If the headers/footers are not in the resulting document, I would suspect you use PD4ML Std.
More info about headers/footers:
html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.htmlin reply to: direction=rtl not working August 5, 2010 at 12:11#28147please contact support pd4ml com and send the source HTML and the resulting PDF to analyze.
in reply to: pd4ml https image urls August 5, 2010 at 12:10#28160It is not a warning, it is not an error. It simply tells that the images are not in cache, so PD4ML loads them from the given URLs and saves to the cache.
You may create a simple HTML with a non-existent image URL and you’ll see how it reports problems with an image loading.
in reply to: pd4ml https image urls August 5, 2010 at 11:45#28158The log messages seems to be confusing.
As long as there is nothing like “cannot load image” in the log – it loads the images and places them to the cache successfully.
You can suppress the output if you switch PD4ML debug mode off.
in reply to: Create single pdf for multiple URLs. August 4, 2010 at 15:48#28152PD4ML API has a method, which takes an array of URLs as a parameter. It should do the trick for you.
in reply to: CSS of a HTML string rendering problem – Java July 29, 2010 at 20:38#28120When you define header via API, it does not inherit styles from the main document. So you need to explicitly refer the style from the HTML header code:
String headerBody = "<html><head>" + "<LINK href="/broker-module/BL.css" type=text/css rel=StyleSheet></head>" + "<body><DIV id="header"></DIV></body></html>"; header.setHtmlTemplate( headerBody );
in reply to: CSS of a HTML string rendering problem – Java July 28, 2010 at 19:36#28121A good starting point to analyze the problem reasons is to switch debug on:
pd4ml.enableDebugInfo();I suspect it will output to server’s log traces of attempts to load
file:/broker-module/BL.css
which is obviously incorrect. In order to let PD4ML interpret /broker-module/BL.css as a web path you would need to pass either the servlet context or HTTP request object to PD4ML. It could be done with the following API calls.
useServletContext(ServletContext ctx) useHttpRequest(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
in reply to: word-wrap: break-word doesn’t seem to work for tables July 27, 2010 at 22:32#28118I used your sample HTML code and got a correct result. See attached.
Which verion of PD4ML do you use?
in reply to: Rights permision July 21, 2010 at 04:27#28084You need to substitute pd4ml_demo.jar with downloaded pd4ml.jar and adjust the classpath where needed.
-
AuthorPosts
