RE: Inline blocks in fop 0.94 (not block with inlines)
Sean thank you very much for your proposed solution... Just, I applied carefully non-breaking-spaces (fo:chartacter=#xA0;) within inlines and breaking-spaces ( ) between inlines, and i take the desired result... Thanks again - I appreciate your help! George Tsopouridis wrote: Thanks again where is my wrong in this case fo:block fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / /fo:block because i am using xslt, between inlines i put this character fo:character character=#xA0;/ where is my false; Griffin,Sean wrote: I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Example (inlines seprated by coma(,)) NOT |||Test1 Test1, Test2 Test2, Test3 Te |||st3 BUT |||Test1 Test1, Test2 Test2, |||Test3 Test3 Thanks in advance!!! -- View this message in context: http://www.nabble.com/Inline-blocks-in-fop-0.94-%28not-block-with-inlines%29-tp18234290p18234290.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such
RE: Inline blocks in fop 0.94 (not block with inlines)
I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Example (inlines seprated by coma(,)) NOT |||Test1 Test1, Test2 Test2, Test3 Te |||st3 BUT |||Test1 Test1, Test2 Test2, |||Test3 Test3 Thanks in advance!!! -- View this message in context: http://www.nabble.com/Inline-blocks-in-fop-0.94-%28not-block-with-inlines%29-tp18234290p18234290.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Inline blocks in fop 0.94 (not block with inlines)
Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Example (inlines seprated by coma(,)) NOT |||Test1 Test1, Test2 Test2, Test3 Te |||st3 BUT |||Test1 Test1, Test2 Test2, |||Test3 Test3 Thanks in advance!!! -- View this message in context: http://www.nabble.com/Inline-blocks-in-fop-0.94-%28not-block-with-inlines%29-tp18234290p18234290.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/fo%3Ablock-with-inlines--%28in-fop-0.94%29-tp18234290p18237454.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Inline blocks in fop 0.94 (not block with inlines)
I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Example (inlines seprated by coma(,)) NOT |||Test1 Test1, Test2 Test2, Test3 Te |||st3 BUT |||Test1 Test1, Test2 Test2, |||Test3 Test3 Thanks in advance!!! -- View this message in context: http://www.nabble.com/Inline-blocks-in-fop-0.94-%28not-block-with-inlines%29-tp18234290p18234290.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/fo%3Ablock-with-inlines--%28in-fop-0.94%29-tp18234290p18237454.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,
RE: Inline blocks in fop 0.94 (not block with inlines)
Thanks again where is my wrong in this case fo:block fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / /fo:block because i am using xslt, between inlines i put this character fo:character character=#xA0;/ where is my false; Griffin,Sean wrote: I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Example (inlines seprated by coma(,)) NOT |||Test1 Test1, Test2 Test2, Test3 Te |||st3 BUT |||Test1 Test1, Test2 Test2, |||Test3 Test3 Thanks in advance!!! -- View this message in context: http://www.nabble.com/Inline-blocks-in-fop-0.94-%28not-block-with-inlines%29-tp18234290p18234290.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
RE: Inline blocks in fop 0.94 (not block with inlines)
Griffin,Sean THANK YOU VERY maybe it'so simple, but i cannot understand you. can you send me mini fo:example... I need it... thanks Griffin,Sean wrote: It's not the spaces *between* inlines where you want the non-breaking spaces, it's the spaces *within* the inline. What you want to say is that this inline is an entire string of non-breaking characters, and since hyphentation is not set on the parent block, it shouldn't be hyphenating those strings either. Given this setup, FOP will only find break opportunities between the inlines, which is exactly what you want. -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 9:26 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks again where is my wrong in this case fo:block fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / /fo:block because i am using xslt, between inlines i put this character fo:character character=#xA0;/ where is my false; Griffin,Sean wrote: I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Example (inlines seprated by coma(,)) NOT |||Test1 Test1, Test2 Test2, Test3 Te |||st3 BUT |||Test1 Test1, Test2 Test2, |||Test3 Test3 Thanks in advance!!! -- View this message in context: http://www.nabble.com/Inline-blocks-in-fop-0.94-%28not-block-with-inlines%29-tp18234290p18234290.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe,
RE: Inline blocks in fop 0.94 (not block with inlines)
fo:block fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;4/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;5/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;6/fo:inline /fo:block -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 10:34 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Griffin,Sean THANK YOU VERY maybe it'so simple, but i cannot understand you. can you send me mini fo:example... I need it... thanks Griffin,Sean wrote: It's not the spaces *between* inlines where you want the non-breaking spaces, it's the spaces *within* the inline. What you want to say is that this inline is an entire string of non-breaking characters, and since hyphentation is not set on the parent block, it shouldn't be hyphenating those strings either. Given this setup, FOP will only find break opportunities between the inlines, which is exactly what you want. -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 9:26 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks again where is my wrong in this case fo:block fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / /fo:block because i am using xslt, between inlines i put this character fo:character character=#xA0;/ where is my false; Griffin,Sean wrote: I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut
RE: Inline blocks in fop 0.94 (not block with inlines)
no result nothing---thanks..i cannot understand where is my problem;; Griffin,Sean wrote: fo:block fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;4/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;5/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;6/fo:inline /fo:block -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 10:34 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Griffin,Sean THANK YOU VERY maybe it'so simple, but i cannot understand you. can you send me mini fo:example... I need it... thanks Griffin,Sean wrote: It's not the spaces *between* inlines where you want the non-breaking spaces, it's the spaces *within* the inline. What you want to say is that this inline is an entire string of non-breaking characters, and since hyphentation is not set on the parent block, it shouldn't be hyphenating those strings either. Given this setup, FOP will only find break opportunities between the inlines, which is exactly what you want. -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 9:26 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks again where is my wrong in this case fo:block fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / /fo:block because i am using xslt, between inlines i put this character fo:character character=#xA0;/ where is my false; Griffin,Sean wrote: I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually. -Original Message- From: gtsopour [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 5:15 AM To: fop-users@xmlgraphics.apache.org Subject: Inline blocks in fop 0.94 (not block with inlines) fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I
Re: Inline blocks in fop 0.94 (not block with inlines)
On Jul 2, 2008, at 12:15, gtsopour wrote: fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Not sure if this was already working in 0.94, but in 0.95 I know you can do: fo:block fo:inline keep-together.within-line=alwaysText1/fo:inline fo:inline keep-together.within-line=alwaysText2/fo:inline /fo:block A break between the two inlines is always possible, but the inlines themselves will not be broken. HTH! Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Inline blocks in fop 0.94 (not block with inlines)
I'm afraid I don't know either. I've tried the below example in FOP 0.20.5, 0.94, and 0.95beta, and all 3 seem to work just fine. -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 11:05 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) no result nothing---thanks..i cannot understand where is my problem;; Griffin,Sean wrote: fo:block fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;4/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;5/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;6/fo:inline /fo:block -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 10:34 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Griffin,Sean THANK YOU VERY maybe it'so simple, but i cannot understand you. can you send me mini fo:example... I need it... thanks Griffin,Sean wrote: It's not the spaces *between* inlines where you want the non-breaking spaces, it's the spaces *within* the inline. What you want to say is that this inline is an entire string of non-breaking characters, and since hyphentation is not set on the parent block, it shouldn't be hyphenating those strings either. Given this setup, FOP will only find break opportunities between the inlines, which is exactly what you want. -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 9:26 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks again where is my wrong in this case fo:block fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / /fo:block because i am using xslt, between inlines i put this character fo:character character=#xA0;/ where is my false; Griffin,Sean wrote: I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1 Test2 but Test1Test2, so if you do want a break opportunity between those inlines, you'll need to insert them manually.
RE: Inline blocks in fop 0.94 (not block with inlines)
For some reason I had the mistaken impression that keep-together only applied to blocks and not inlines. Guess I'm wrong! And yes, that would certainly be an easier way to make it work. -Original Message- From: Andreas Delmelle [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 11:12 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Inline blocks in fop 0.94 (not block with inlines) On Jul 2, 2008, at 12:15, gtsopour wrote: fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Not sure if this was already working in 0.94, but in 0.95 I know you can do: fo:block fo:inline keep-together.within-line=alwaysText1/fo:inline fo:inline keep-together.within-line=alwaysText2/fo:inline /fo:block A break between the two inlines is always possible, but the inlines themselves will not be broken. HTH! Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Inline blocks in fop 0.94 (not block with inlines)
this doesn't work for fop 0.94 Griffin,Sean wrote: For some reason I had the mistaken impression that keep-together only applied to blocks and not inlines. Guess I'm wrong! And yes, that would certainly be an easier way to make it work. -Original Message- From: Andreas Delmelle [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 11:12 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Inline blocks in fop 0.94 (not block with inlines) On Jul 2, 2008, at 12:15, gtsopour wrote: fo:block fo:inlineText1/fo:inline fo:inlineText2/fo:inline /fo:block I have a block and i put in it some inlines, as shown in the example. I want the inlines untouched-solid in a single line if they fit and if they don't feet , then change line main whole(do not get cut at the end of current line and continue at the next line). I How to keep the last inline in a single line, in case that it is too large too fit; Not sure if this was already working in 0.94, but in 0.95 I know you can do: fo:block fo:inline keep-together.within-line=alwaysText1/fo:inline fo:inline keep-together.within-line=alwaysText2/fo:inline /fo:block A break between the two inlines is always possible, but the inlines themselves will not be broken. HTH! Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/fo%3Ablock-with-inlines--%28in-fop-0.94%29-tp18234290p18241674.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Inline blocks in fop 0.94 (not block with inlines)
please mail me to [EMAIL PROTECTED] this demo fo: file -i want to run it...thanks Griffin,Sean Griffin,Sean wrote: I'm afraid I don't know either. I've tried the below example in FOP 0.20.5, 0.94, and 0.95beta, and all 3 seem to work just fine. -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 11:05 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) no result nothing---thanks..i cannot understand where is my problem;; Griffin,Sean wrote: fo:block fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;4/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;5/fo:inline fo:inlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;6/fo:inline /fo:block -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 10:34 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Griffin,Sean THANK YOU VERY maybe it'so simple, but i cannot understand you. can you send me mini fo:example... I need it... thanks Griffin,Sean wrote: It's not the spaces *between* inlines where you want the non-breaking spaces, it's the spaces *within* the inline. What you want to say is that this inline is an entire string of non-breaking characters, and since hyphentation is not set on the parent block, it shouldn't be hyphenating those strings either. Given this setup, FOP will only find break opportunities between the inlines, which is exactly what you want. -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 9:26 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks again where is my wrong in this case fo:block fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / fo:inlineToday is a beuatiful day1/fo:inline fo:character character= / /fo:block because i am using xslt, between inlines i put this character fo:character character=#xA0;/ where is my false; Griffin,Sean wrote: I haven't tried this, but I still think using non-breaking spaces is the way to go. So if you did this: blockinlineToday#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;1/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;2/inline inline Today#xA0;is#xA0;a#xA0;beautiful#xA0;day#xA0;3/inline/block And Today is a beautiful day 1 Today is a beautiful day 2 fit on the line but Today is a beautiful day 3 did not, then you'd get: Today is a beautiful day 1 Today is a beautiful day 2 Today is a beautiful day 3 My method of inserting space characters between the inlines probably won't work exactly as I have it, and you'll have to translate/replace the space characters from your input into non-breaking-space characters, but it seems like it could work... -Original Message- From: George Tsopouridis [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 8:28 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Inline blocks in fop 0.94 (not block with inlines) Thanks Griffin,Sean for your answer but i think that my problem is more complicated I'll give you a better example I have this text* in an inline. --- *Today is a beautiful day # ok;; SO, blockinlineToday is a beautiful day 1/inlineinlineToday is a beautiful day 2/inlineinlineToday is a beautiful day 3 /inlineblock. Line width is an unknown parameter and i want text Today is a beautiful day # always together in the same line... If my line has space only for Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 I don't want this but this Today is a beautiful day 1, Today is a beautiful day 2, Today is a beautiful day 3 Do you understand me ;;; thanks a lot... Griffin,Sean wrote: I'm not exactly sure I follow the question, but I think (hope) I understand it well enough to answer. The example you gave seems a bit off, though, as I don't see how the word Test3 would ever break in the middle. The only break opportunity in the Test3 Test3 inline would be at the space between the first Test3 and second Test3. If you truly don't want spaces within inlines to be treated as break opportunities, it seems a possible solution would be to replace all space characters (#x20;) with non-breaking space characters (#xA0;). Also... block inlineTest1/inline inlineTest2/inline /block Will not create Test1