RE: Urgent Question about FOP-hyphenation-wrap
Hello, The issue is fixed for _. But it still cannot wrap for a few other special characters, one of that being @. So I also surrounded that with a zero width space for now. But is there any hyphenation pattern that will work on these characters? So we don't need to make these special changes. Thanks Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Tuesday, February 03, 2009 1:23 PM To: fop-users@xmlgraphics.apache.org Cc: Ashwini Sawant Subject: Re: Urgent Question about FOP-hyphenation-wrap The FAQ entry I gave you doesn't mention keep-together at all. As you noticed, it won't help you with this. What you should look at is inserting zero-width spaces. Please note, this topic has been discussed numerous times on this list. You'll also find those threads in the mailing list archives. On 03.02.2009 19:08:01 Ashwini Sawant wrote: Thanks for the reply Jeremias. However like I said in my post setting keep-together.within-column=always for fo:table-cell did not work for me. The only thing that seems to work in my case is the hyphenation. However the hyphenation pattern I am using (the only setting I have done for this is language=en) does not hyphenate words that have _ in them. Is there any other hyphenation pattern to be used? I also tried using the keep-together.within-column=always without the hyphenation, that worsened the situation. Since then all the text that was being hyphenated before also overflows the cells. Following is my code block for a cell: fo:table-cell border-start-style=solid border-after-style=solid border-before-style=solid border-end-style=solid keep-together.within-column=always fo:block font-weight=normal text-align=left hyphenate=true xsl:value-of select=object_name/ /fo:block /fo:table-cell anything I can change in this that will help? ..Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Tuesday, February 03, 2009 12:00 PM To: fop-users@xmlgraphics.apache.org Cc: Ashwini Sawant Subject: Re: Urgent Question about FOP-hyphenation-wrap Please see: http://xmlgraphics.apache.org/fop/faq.html#cells-overflow You've reached the right place, BTW. However, you can reach the mailing list more quickly if you subscribe to it. Otherwise, your posts have to go through moderation first. This time you were lucky. ;-) More info: http://xmlgraphics.apache.org/fop/maillist.html#fop-user On 03.02.2009 17:39:26 Ashwini Sawant wrote: Hi, I am trying to wrap data within a cell so it does not overflow to the next column. I have tried the following already (which do not work for me): keep-together.within-column=always for cell or for block wrap-option=wrap for cell or for block I am also using hyphenation. It works perfectly for everything except data that has an _ (underscore in it). I have attached my resulting PDF as an example. What can I do to get this data that has underscores in it to wrap within the cell? I am using FOP 0.95 Any help is much appreciated. If this is not the correct email address for such a question, please let me know the exact email address where I can post such a question. Thanks, Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Urgent Question about FOP-hyphenation-wrap
FOP implements Unicode UAX#14 line breaking rules. That specification defines how words are broken. Using a custom hyphenation patterns (i.e. built by you) you could probably (I've never done it) customize the work-breaking behaviour a bit. But I don't know if there's a readily available hyphenation pattern that would allow what you want (there probably isn't). My earlier recommendation still stands: use zero-width spaces (or soft hyphens) to add additional word-breaking possibilities. Various people on this list have done it this way. For example: http://markmail.org/message/jecf2fzs4gecsjiz On 06.02.2009 18:56:44 Ashwini Sawant wrote: Hello, The issue is fixed for _. But it still cannot wrap for a few other special characters, one of that being @. So I also surrounded that with a zero width space for now. But is there any hyphenation pattern that will work on these characters? So we don't need to make these special changes. Thanks Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Tuesday, February 03, 2009 1:23 PM To: fop-users@xmlgraphics.apache.org Cc: Ashwini Sawant Subject: Re: Urgent Question about FOP-hyphenation-wrap The FAQ entry I gave you doesn't mention keep-together at all. As you noticed, it won't help you with this. What you should look at is inserting zero-width spaces. Please note, this topic has been discussed numerous times on this list. You'll also find those threads in the mailing list archives. On 03.02.2009 19:08:01 Ashwini Sawant wrote: Thanks for the reply Jeremias. However like I said in my post setting keep-together.within-column=always for fo:table-cell did not work for me. The only thing that seems to work in my case is the hyphenation. However the hyphenation pattern I am using (the only setting I have done for this is language=en) does not hyphenate words that have _ in them. Is there any other hyphenation pattern to be used? I also tried using the keep-together.within-column=always without the hyphenation, that worsened the situation. Since then all the text that was being hyphenated before also overflows the cells. Following is my code block for a cell: fo:table-cell border-start-style=solid border-after-style=solid border-before-style=solid border-end-style=solid keep-together.within-column=always fo:block font-weight=normal text-align=left hyphenate=true xsl:value-of select=object_name/ /fo:block /fo:table-cell anything I can change in this that will help? ..Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Tuesday, February 03, 2009 12:00 PM To: fop-users@xmlgraphics.apache.org Cc: Ashwini Sawant Subject: Re: Urgent Question about FOP-hyphenation-wrap Please see: http://xmlgraphics.apache.org/fop/faq.html#cells-overflow You've reached the right place, BTW. However, you can reach the mailing list more quickly if you subscribe to it. Otherwise, your posts have to go through moderation first. This time you were lucky. ;-) More info: http://xmlgraphics.apache.org/fop/maillist.html#fop-user On 03.02.2009 17:39:26 Ashwini Sawant wrote: Hi, I am trying to wrap data within a cell so it does not overflow to the next column. I have tried the following already (which do not work for me): keep-together.within-column=always for cell or for block wrap-option=wrap for cell or for block I am also using hyphenation. It works perfectly for everything except data that has an _ (underscore in it). I have attached my resulting PDF as an example. What can I do to get this data that has underscores in it to wrap within the cell? I am using FOP 0.95 Any help is much appreciated. If this is not the correct email address for such a question, please let me know the exact email address where I can post such a question. Thanks, Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional
Urgent Question about FOP-hyphenation-wrap
Hi, I am trying to wrap data within a cell so it does not overflow to the next column. I have tried the following already (which do not work for me): keep-together.within-column=always for cell or for block wrap-option=wrap for cell or for block I am also using hyphenation. It works perfectly for everything except data that has an _ (underscore in it). I have attached my resulting PDF as an example. What can I do to get this data that has underscores in it to wrap within the cell? I am using FOP 0.95 Any help is much appreciated. If this is not the correct email address for such a question, please let me know the exact email address where I can post such a question. Thanks, Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com image001.jpg dmadmin_02-03-2009_105731.pdf Description: Adobe PDF document - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Urgent Question about FOP-hyphenation-wrap
Please see: http://xmlgraphics.apache.org/fop/faq.html#cells-overflow You've reached the right place, BTW. However, you can reach the mailing list more quickly if you subscribe to it. Otherwise, your posts have to go through moderation first. This time you were lucky. ;-) More info: http://xmlgraphics.apache.org/fop/maillist.html#fop-user On 03.02.2009 17:39:26 Ashwini Sawant wrote: Hi, I am trying to wrap data within a cell so it does not overflow to the next column. I have tried the following already (which do not work for me): keep-together.within-column=always for cell or for block wrap-option=wrap for cell or for block I am also using hyphenation. It works perfectly for everything except data that has an _ (underscore in it). I have attached my resulting PDF as an example. What can I do to get this data that has underscores in it to wrap within the cell? I am using FOP 0.95 Any help is much appreciated. If this is not the correct email address for such a question, please let me know the exact email address where I can post such a question. Thanks, Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Urgent Question about FOP-hyphenation-wrap
Thanks for the reply Jeremias. However like I said in my post setting keep-together.within-column=always for fo:table-cell did not work for me. The only thing that seems to work in my case is the hyphenation. However the hyphenation pattern I am using (the only setting I have done for this is language=en) does not hyphenate words that have _ in them. Is there any other hyphenation pattern to be used? I also tried using the keep-together.within-column=always without the hyphenation, that worsened the situation. Since then all the text that was being hyphenated before also overflows the cells. Following is my code block for a cell: fo:table-cell border-start-style=solid border-after-style=solid border-before-style=solid border-end-style=solid keep-together.within-column=always fo:block font-weight=normal text-align=left hyphenate=true xsl:value-of select=object_name/ /fo:block /fo:table-cell anything I can change in this that will help? ..Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Tuesday, February 03, 2009 12:00 PM To: fop-users@xmlgraphics.apache.org Cc: Ashwini Sawant Subject: Re: Urgent Question about FOP-hyphenation-wrap Please see: http://xmlgraphics.apache.org/fop/faq.html#cells-overflow You've reached the right place, BTW. However, you can reach the mailing list more quickly if you subscribe to it. Otherwise, your posts have to go through moderation first. This time you were lucky. ;-) More info: http://xmlgraphics.apache.org/fop/maillist.html#fop-user On 03.02.2009 17:39:26 Ashwini Sawant wrote: Hi, I am trying to wrap data within a cell so it does not overflow to the next column. I have tried the following already (which do not work for me): keep-together.within-column=always for cell or for block wrap-option=wrap for cell or for block I am also using hyphenation. It works perfectly for everything except data that has an _ (underscore in it). I have attached my resulting PDF as an example. What can I do to get this data that has underscores in it to wrap within the cell? I am using FOP 0.95 Any help is much appreciated. If this is not the correct email address for such a question, please let me know the exact email address where I can post such a question. Thanks, Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Urgent Question about FOP-hyphenation-wrap
The FAQ entry I gave you doesn't mention keep-together at all. As you noticed, it won't help you with this. What you should look at is inserting zero-width spaces. Please note, this topic has been discussed numerous times on this list. You'll also find those threads in the mailing list archives. On 03.02.2009 19:08:01 Ashwini Sawant wrote: Thanks for the reply Jeremias. However like I said in my post setting keep-together.within-column=always for fo:table-cell did not work for me. The only thing that seems to work in my case is the hyphenation. However the hyphenation pattern I am using (the only setting I have done for this is language=en) does not hyphenate words that have _ in them. Is there any other hyphenation pattern to be used? I also tried using the keep-together.within-column=always without the hyphenation, that worsened the situation. Since then all the text that was being hyphenated before also overflows the cells. Following is my code block for a cell: fo:table-cell border-start-style=solid border-after-style=solid border-before-style=solid border-end-style=solid keep-together.within-column=always fo:block font-weight=normal text-align=left hyphenate=true xsl:value-of select=object_name/ /fo:block /fo:table-cell anything I can change in this that will help? ..Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Tuesday, February 03, 2009 12:00 PM To: fop-users@xmlgraphics.apache.org Cc: Ashwini Sawant Subject: Re: Urgent Question about FOP-hyphenation-wrap Please see: http://xmlgraphics.apache.org/fop/faq.html#cells-overflow You've reached the right place, BTW. However, you can reach the mailing list more quickly if you subscribe to it. Otherwise, your posts have to go through moderation first. This time you were lucky. ;-) More info: http://xmlgraphics.apache.org/fop/maillist.html#fop-user On 03.02.2009 17:39:26 Ashwini Sawant wrote: Hi, I am trying to wrap data within a cell so it does not overflow to the next column. I have tried the following already (which do not work for me): keep-together.within-column=always for cell or for block wrap-option=wrap for cell or for block I am also using hyphenation. It works perfectly for everything except data that has an _ (underscore in it). I have attached my resulting PDF as an example. What can I do to get this data that has underscores in it to wrap within the cell? I am using FOP 0.95 Any help is much appreciated. If this is not the correct email address for such a question, please let me know the exact email address where I can post such a question. Thanks, Ashwini Ashwini Sawant Impact Systems, Inc. 20 Montchanin Road Suite A-5 Greenville, DE 19807 302-573-6864 ext 206 office ashwini.saw...@impactinfosys.com Jeremias Maerki - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org