xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Griffin,Sean" <SGRIF...@CERNER.COM>
Subject RE: Inline blocks in fop 0.94 (not block with inlines)
Date Wed, 02 Jul 2008 16:12:37 GMT
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:gtsopour@gmail.com] 
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:inline>Today&#xA0;is&#xA0;a&#xA0;beautiful&#xA0;day&#xA0;1</fo:inline>
>      
> <fo:inline>Today&#xA0;is&#xA0;a&#xA0;beautiful&#xA0;day&#xA0;2</fo:inline>
>      
> <fo:inline>Today&#xA0;is&#xA0;a&#xA0;beautiful&#xA0;day&#xA0;3</fo:inline>
>      
> <fo:inline>Today&#xA0;is&#xA0;a&#xA0;beautiful&#xA0;day&#xA0;4</fo:inline>
>      
> <fo:inline>Today&#xA0;is&#xA0;a&#xA0;beautiful&#xA0;day&#xA0;5</fo:inline>
>      
> <fo:inline>Today&#xA0;is&#xA0;a&#xA0;beautiful&#xA0;day&#xA0;6</fo:inline>
>     </fo:block>
> 
> -----Original Message-----
> From: George Tsopouridis [mailto:gtsopour@gmail.com] 
> 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:gtsopour@gmail.com] 
>> 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:inline>Today is a beuatiful day1</fo:inline>
>> <fo:character character=" "/>
>> <fo:inline>Today is a beuatiful day1</fo:inline>
>> <fo:character character=" "/>
>> <fo:inline>Today 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:
>>> 
>>> <block><inline>Today&#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:gtsopour@gmail.com] 
>>> 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,
>>> 
>>> <block><inline>Today is a beautiful day 1</inline><inline>Today
is a
>>> beautiful day 2</inline><inline>Today is a beautiful day 3
>>> </inline><block>.
>>>  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>
>>>> <inline>Test1</inline>
>>>> <inline>Test2</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:gtsopour@gmail.com] 
>>>> 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:inline>Text1</fo:inline>
>>>> <fo:inline>Text2</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: fop-users-unsubscribe@xmlgraphics.apache.org
>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>> 
>>>> ----------------------------------------------------------------------
>>>> 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: fop-users-unsubscribe@xmlgraphics.apache.org
>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>> 
>>>> 
>>>> 
>>> 
>>> -- 
>>> 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: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>> 
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/fo%3Ablock-with-inlines--%28in-fop-0.94%29-tp18234290p18238691.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/fo%3Ablock-with-inlines--%28in-fop-0.94%29-tp18234290p18240363.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/fo%3Ablock-with-inlines--%28in-fop-0.94%29-tp18234290p18241084.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

Mime
View raw message