Forum Replies Created
-
AuthorPosts
-
in reply to: HTML/CSS rendering issues August 5, 2010 at 18:09#26435
Hi,
I am currently evaluating pd4ml.
I have a two-column table where the left column contains a single word and the right column contains a lot of text.
When rendering to PDF, the right column sometimes is clipped at the right margin. How can I avoid this problem?
in reply to: Overflow on right margin August 5, 2010 at 20:12#28167Is 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: Overflow on right margin August 5, 2010 at 20:24#28168@PD4ML wrote:
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.
That is exactly the problem. I experimented with changing the table width, and with htmlWidth (within a
<pd4ml:transform>), but i saw no effect.What am I missing?
in reply to: Overflow on right margin August 5, 2010 at 20:26in reply to: Overflow on right margin August 5, 2010 at 20:28in 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: pd4ml https image urls August 6, 2010 at 08:59#28164I am just executing the compiled java class again…
in reply to: CSS of a HTML string rendering problem – Java August 6, 2010 at 13:37#28125i’ve just sent to support a sample of PDF which has all the described problems in it.
in reply to: direction=rtl not working August 6, 2010 at 13:43#28148Attach is the rtl.zip contains HTML and generated pdf file.
in reply to: General questions / FAQ August 6, 2010 at 14:29#26436Hi PD4ML
I have a URL, using which I create pdf using PD4ML. Is it possible to invoke background print using PD4ML?Regards
Dinesh.Nin 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: [.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: Nested CSS definitions not rendered August 7, 2010 at 00:59#27469The beta release is planned for tomorrow (Dec. 11)
in reply to: Unable to create the PDF file using PD4ML.NET August 7, 2010 at 01:21#28111In fact ASP.NET pages are works under IIS with limited user creentials; so please check the following:
1. Please check your application have writing permissions. Usually it are disabled.
2. If your folder is out of IIS folders scope, please check you set write access to everyone or to at least local IUSR_* users.
in reply to: HTML/CSS rendering issues August 9, 2010 at 06:03#26438Hi,
I am using rich editor for entering the data. In that data there will be tables with contents inside. The contents inside the table is justified and the same has been converted to html and this html is converted to pdf using pd4ml. But in the pdf document, the contents inside the table is not justified.
The same html format is converted to an rtf document where the content inside the table is justified correctly.
Can you please let me know what has to be done to solve this issue?
Thanks in Advance,
Alex Philip
-
AuthorPosts
