Forum Replies Created

Viewing 15 posts - 796 through 810 (of 4,246 total)
  • Author
    Posts
  • in reply to: HTML/CSS rendering issues
    #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
    #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 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
    #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 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 ), but i saw no effect.

    What am I missing?

    in reply to: Overflow on right margin
    #28169

    > That is exactly the problem

    stretched by a word or by an image?

    in reply to: Overflow on right margin
    #28170

    @PD4ML wrote:

    > That is exactly the problem

    stretched by a word or by an image?

    Yes, by a long word.

    in reply to: Overflow on right margin
    #28171

    The 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
    #28164

    I am just executing the compiled java class again…

    in reply to: CSS of a HTML string rendering problem – Java
    #28125

    i’ve just sent to support a sample of PDF which has all the described problems in it.

    in reply to: direction=rtl not working
    #28148

    Attach is the rtl.zip contains HTML and generated pdf file.

    in reply to: General questions / FAQ
    #26436

    Hi PD4ML
    I have a URL, using which I create pdf using PD4ML. Is it possible to invoke background print using PD4ML?

    Regards
    Dinesh.N

    in reply to: direction=rtl not working
    #28149

    PD4ML 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
    #28139

    We 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
    #27469

    The beta release is planned for tomorrow (Dec. 11)

    in reply to: Unable to create the PDF file using PD4ML.NET
    #28111

    In 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
    #26438

    Hi,

    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

Viewing 15 posts - 796 through 810 (of 4,246 total)