Forum Replies Created
-
AuthorPosts
-
in reply to: Date Formatting problems October 1, 2009 at 15:44#27543
Hmm… Here I can only guess. Of course, PD4ML does not try to logically interpret source documents and recognize date info there.
Obviously the source HTML is generated dynamically. The web resource (JSP, PHP etc), which generates the HTML probably takes care about locale info comes with HTTP request.
PD4ML does not send any locale info, so the page is generated with the locale defaults.
P.S. Sorry for the delay with the reply.
in reply to: images cache and evaluation copy sentence October 1, 2009 at 15:33#274891. The cache disabling is possible again since v351b14. Please give a try.
2. JAR names of commercial and evaluation version differ: pd4ml.jar vs. pd4ml_demo.jar. Please make sure that you removed pd4ml_demo.jar from the classpath, shared lib directories and flushed any cached copies of it.
in reply to: font-size=x-large October 1, 2009 at 15:27#27548Yes, it is supported. But from CSS syntax perspective “font-size=x-large” is incorrect. It should use a colon symbol like that:
Test
Also please take into account: the resulting font size in PDF also depends on HTML-to-PDF scale factor. The scale factor is calculated this way:
htmlToPdfScale = ( pageFormat.width – pageInsets.left – pageInsets.right ) / htmlWidth
See:
pd4ml-html-css-pdf-tips-tricks-f7/can-i-pre-define-font-sizes-in-resulting-pdf-documents-t19.htmlin reply to: disabling web links in pdf output September 24, 2009 at 11:50#27547Did you try disableHyperlinks() API call?
https://pd4ml.com/api/org/zefer/pd4ml/PD4ML.html#disableHyperlinks()
in reply to: request sample code html to image in .NET September 11, 2009 at 15:43#27496Currently it is not possible to do.
We work on the feature to be also available in .NET version.
in reply to: java.lang.StackOverflowError ( pd4ml ) September 11, 2009 at 15:40#27539It looks like there is a multi-repeating unclosed tag in your document. However I may be wrong with it.
It would be very helpful if you send an email to PD4ML support with the document sample – hopefully there is no sensitive info in it.
in reply to: Automatic kerning September 11, 2009 at 15:37#27498For the time being PD4ML does not support the feature.
There is a technical problem: for HTML layouting PD4ML needs to have a possibility to measure PDF string widths from Java. In regular mode it is easy to do – it is just a sum of string character widths. The character widths can be taken from TTF fonts metrics or from Acroread built-in fonts metrics (The acroread font metrics are hardcoded to PD4ML lib).
If we rely to the autokerning feature of PDF format – we cannot get anymore the exact width of a particular string, until we re-implemented kerning algorithms of Acroread, for example. We did not address the issue yet.
in reply to: image rotation September 11, 2009 at 15:25#27492PD4ML does support the feature. However it is undocumented – we use it only in special applications.
Please contact support by email for the details.
in reply to: generated bookmarks not accessible with URL parameters September 11, 2009 at 15:23#27538will work correctly in the final release of version 351
in reply to: <pd4ml:transform outline="headings"> Example (?) September 11, 2009 at 15:21#27537We’ve just cleaned up the outline generation code and now it works correctly in all modes. The fix will be available with v351b12 (or most probably we’ll skip b12 and publish it as the final release)
in reply to: Is PD4ML can work with other PDF Conversion Software? September 10, 2009 at 11:36#27541PD4ML deos not rely to any native components or shared resources, so I see no reason for the conflicts.
If the document merging is the only need for the DLL, I would recommend to use open source iText Java library to process documents, generated by PD4ML.
in reply to: <pd4ml:transform outline="headings"> Example (?) September 7, 2009 at 15:44#27536I used your exact sample HTML code and got a result as expected (see attachment).
I would suspect there are some unclosed
<h2>tags in your original document.If the reason of the corrupted bookmarks structure is still not clear, please send to PD4ML support the document to analyze.
in reply to: page-break-inside:avoid; on divs August 25, 2009 at 22:54#27380No. page-break-inside:avoid currently works only for images, tables, table rows and some HTML form elements.
in reply to: PDF rendition appears to not honor CSS August 25, 2009 at 18:36#27487@dvanwest wrote:
May I suggest that the javadocs include something that indicates which methods are active for the standard versus professional versions.
PD4ML javadoc includes the info in method description details. Probably a separate document (a kind of PD4ML API method chart) with explicit Pro or Std marks is not a bad idea. I added the request to our TODO list.
in reply to: PDF rendition appears to not honor CSS August 25, 2009 at 17:50#27485FYI: addStyle() works only with PD4ML Pro binaries.
-
AuthorPosts
