Forum Replies Created
-
AuthorPosts
-
in reply to: Not required page break May 1, 2012 at 06:56#28983
Would be great if you could look into this issue. I am currently live with a customer which has this problem and want me to solve it.
Many thanks in advance,
Michaelin reply to: Not required page break May 1, 2012 at 09:38#28984Probably it is caused by BODY bottom margin, which does not fit the page.
Try to add
BODY { margin-bottom: 0; margin-top: 0 }
to the document styles.With something like
BODY { border: 1 solid tomato }
you could temporarily check where is the bottom content/whitespaces edge of the page.If your input HTML documents are read-only, the styles can be added with pd4ml.addStyle() API call.
in reply to: Not required page break May 1, 2012 at 10:03in reply to: HTML/CSS rendering issues May 1, 2012 at 21:10#26718I am seeing an odd issue where the occurrence of ‘, content’ will remove the space between the comma and the content. I am using Calibri font and it is loading (according to the debug messages in the logs). Attached is the PDF I render, using 380fx3 Pro/Volume.
This is the HTML:
<br /> <DIV><br /> <DIV style="font-family: Calibri, 'Times New Roman'"><br /> I am pleased to offer you the job of <SPAN style="; ">REQ TITLE FOR REQ 2</SPAN>, reporting to me.<br /> </DIV><br /> </DIV><br />
This is the core of the conversion code, the byte array is simply written to disk.
<br /> StringReader sr = new StringReader(content.toString());<br /> OutputStream os = new ByteArrayOutputStream();<br /> <br /> PD4ML pd4ml = new PD4ML();<br /> pd4ml.useTTF( "java:", true );<br /> pd4ml.enableDebugInfo();<br /> <br /> try {<br /> pd4ml.render(sr, os);<br /> } catch (Exception e) { }<br /> <br /> return ((ByteArrayOutputStream)os).toByteArray();<br />
in reply to: General questions / FAQ May 3, 2012 at 16:07#26719Is there anything in the Pd4ml software that we can do to optimize the sizes of the .tiff files? Any settings anywhere that we can take advantage of. Any methods that I am not understanding that, if invoked, will compress the .TIFF files?
We use PD4ML to create the .TIFF image files that we send to our clients. They are extremely large (1.65 MB). We had hoped that your software changes addressing PDF compression in the 3.8.ofx3 version which claims to shrink those files might have also contained help for .TIFF files.
We have clients who have sent us .TIFF files with much smaller sizes. We don’t know how they generated their TIFF files. They are now complaining that our .TIFF files are too large (and we send multiple at a time).
in reply to: TIFF Compression May 3, 2012 at 16:24#28989Please request support pd4ml com for a version supports TIFF compression.
in reply to: Rendering and HTML to PDF May 3, 2012 at 19:08#28941We’ve just fixed the issue in Java version. A .NET port is coming soon.
in reply to: HTML/CSS rendering issues May 7, 2012 at 06:57#26721Hi, Currently we are using trial edition of pd4ml. while trying to convert lotus notes dxl files, the mail subject, from and to contents are not converted to html. Is there limition in the trial edition. will it be converted in paid version. Or xsl file needs to modified.
in reply to: Anybody had problems with PD4ML on Lion for Mac? May 7, 2012 at 08:29in reply to: Anybody had problems with PD4ML on Lion for Mac? May 7, 2012 at 15:45#28953My colleague who also has just installed Lion has the same problem, exactly the same.
I have tried updating to 3.8.0fx4 but it made no difference.
in reply to: Troubleshooting May 7, 2012 at 16:33#26720After my application is working for a few hours, I start to get this exception:
[language=java:2e6pe1av]java.lang.NullPointerException
at java.util.StringTokenizer.(StringTokenizer.java:199)
at java.util.StringTokenizer.(StringTokenizer.java:221)
at org.zefer.cache.CookieManager.storeCookies(Unknown Source)
at org.zefer.cache.e.getResourceAsBytes(Unknown Source)
at org.zefer.html.doc.PD4MLHtmlParser.parse(Unknown Source)
at org.zefer.html.doc.PD4MLHtmlParser.buildDocument(Unknown Source)
at org.zefer.pd4ml.PD4ML.o00000(Unknown Source)
at org.zefer.pd4ml.PD4ML.render(Unknown Source)
at org.zefer.pd4ml.PD4ML.render(Unknown Source)[/language:2e6pe1av]It seems to be related to CookieManager. I don’t need any cookies in my PDFs, is there a way to turn this off?
in reply to: How to auto-split a table, that does not fit a single page? May 8, 2012 at 06:48#27222While using enableSmartBreakTable, I am getting unwanted space between header and data from the second page of the portlet.
In the first page for the same portlet it is good. Kindly help me with a best solution ASAP
in reply to: How to auto-split a table, that does not fit a single page? May 9, 2012 at 13:24#27223Can someone please help me on the above issue.
in reply to: How to auto-split a table, that does not fit a single page? May 9, 2012 at 14:13#27224More Inputs:
I am using the below two options for making header for the same portlet to appear on each page if data exceeds the page
pd4ml.addStyle(“TABLE,DIV {page-break-inside: auto !important}”, true);
pd4ml.enableSmartTableBreaks(true);This option is working with datagrid with normal header. But when it comes with multiple level of headers(mix of headers), then the issues arises.
Example Grid:
The above options is working for the below format
Header1 Header2 header 3
data1 data2 data3the above option does not work for the option
Header1 header2 GroupHeader1 GroupHeader2
SubGroupHeader1
Header3 Header4 Header5 Header6 Header7
data1 data2 data3 data4 data5 data6 data7in reply to: Paragraph indentation not working in generated RTF May 10, 2012 at 12:17#28764Hi PD4Ml
We’re now using version 380fx3, but still there is no indentation fixes on RTF document.
margin-left and text-indent css properties are both not working.An early reply will be highly appreciated.
Thanks,
Kunal -
AuthorPosts