OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Re: Table cell text overlapes with table border...docbook 1.74.3


Bela Patel wrote:
> On Tue, Oct 27, 2009 at 10:36 AM, Bela Patel <belaramani@gmail.com> wrote:
>> Vincent,
>> I dont quite understand what you are suggesting.
>> I just want the text to automatically break in next line within the cell
>> depending on the cell size so that it does not overlap with Table border.
>> Can you please explain this?

You have to insert those characters wherever you are happy for the text
to break, possibly between every letter. The XSL-FO processor will then
choose one of those places to break the text into two lines. For

Basically by inserting that character (or the soft hyphen), you’re
giving the XSL-FO processor opportunities to break the text. The more of
those there are, the less risk there is that the text is going to
overlap the cell. Ideally you would somehow automate that process,
inserting those characters by hand is obviously tedious.


>> Thanks,
>>   On Tue, Oct 27, 2009 at 5:55 AM, Vincent Hennebert <vhennebert@gmail.com
>>> wrote:
>>> Hi,
>>> Since it’s not a regular word it can’t be hyphenated; you must specify
>>> yourself the places where it is allowed to break. If you want a hyphen
>>> to be visible when the text is broken you can use the soft hyphen
>>> character (U+00AD). Otherwise you can use a zero-width space (U+200B).
>>> HTH,
>>> Vincent
>>> Bela Patel wrote:
>>>> Does anybody know how to resolve the following issue? How to make the
>>> text
>>>> string stay within the table cell so that it does not overlap with table
>>>> border?
>>>> Any help will be greatly appreciated.
>>>> Thanks,
>>>> On Mon, Oct 12, 2009 at 3:36 PM, Bela Patel <belaramani@gmail.com>
>>> wrote:
>>>>> Hi,
>>>>> I am using docbook version 1.74.3 for PDF report generation.
>>>>> I have 50 chnaracter long text in a table cell but it overlapes with
>>> the
>>>>> table border.
>>>>> for example :
>>> in
>>>>> one table cell but it overlapes with the table border and goes outside
>>> of
>>>>> the table.
>>>>> 2. But if I modify it as "*
>>>>> overlap with the border but after 26 character it breaks and goes to
>>> second
>>>>> line within the same cell as shown below.
>>>>> ABCDEFGHIJKLMNO123456789
>>>>> how can I make the text string shown in first option to stay within the
>>>>> same cell so that it does not overlap with the table border.
>>>>> Thanks,
>>>>> BRAMANI.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]