RE: problem with positioning of fo:block-container

2003-12-11 Thread Bachork Michal
Thx for reply, but :) ..  (see below)



-+   i found solution - to manually change the order of the 
-+   fo:block-container elements. but it sometimes results 
-+  to shifting another fo:block-containers.
-+  
-+  This may be due to inherited margin settings. Be sure to 
-+  placeabsolutely positioned block containers only as 
-+  immediate children of the flow, and that there are no 
-+  margins set on the flow element. I also have reasons to 
-+  believe that asbolutely positioned block containers don't 
-+  mix well with footnotes.

I have all margins set to 0cm and all block-containers are immediate childern 
of the flow. It seems to me there's some bug in FOP implementation (something 
like overwriting of variable or so ..).


-+  
-+  
-+   i have another problem, which i managed to solve, but i 
-+  do not like my 
-+   solution :). i have this piece of code :
-+   
-+fo:block
-+fo:inline font-family=ariala/fo:inline   
-+  fo:inline font-family=courrierb/fo:inline
-+fo:inline font-family=arialc/fo:inline   
-+  fo:inline font-family=courrierd/fo:inline
-+/fo:block
-+   
-+is there any way to get 'a' 'b' 'c' 'd' to render on one line?
-+  
-+  There is no reason why it won't be rendered on one line. If 
-+  you mean you don't want the whitespace between a and b and 
-+  so on, then no, there is no way to do this without keeping 
-+  the line breaks out of the text content.
-+  

You're right, there's no reason. But it is. My output seems like this:
a
b
c
d


-+when i tried to use inline-container, nothing was rendered.
-+  
-+  This element isn't implemented. There is an error logged, 
-+  and the content is dropped. I also don't think it would 
-+  help with your problem if it was implemented.

Thanx for explaining. But my FOP doesn't show any error mentioning 
inline-conainer not implemented yet.
I also built FOP from CVS (10.12), but it was able to render only simple files 
from examples (and also not all of them).
Aaand - if you want to try my file, I can send it to you as an attachement. 

-+  
-+  J.Pietschmann
-+  
-+  
-+  
-+  -
-+  To unsubscribe, e-mail: [EMAIL PROTECTED]
-+  For additional commands, e-mail: [EMAIL PROTECTED]
-+  
-+  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



problem with positioning of fo:block-container

2003-12-10 Thread Bachork Michal



Hello!

I'm using fop 0.25 
for quite complex design and output to pdf. i had some problems which i managed 
to solve, but one remains :

in some files, fop 
has problem with element fo:block-container and positioning it on X 
axis. I mean - i have several fo:block-container elements with the same 
value in left attribute and different values in top attribute. One or more 
(smaller part of all) are rendered rather strange - x position of the 
block-container is badly shifted to right.
i found solution - 
to manually change the order of the fo:block-container elements. but it 
sometimes results to shifting another 
fo:block-containers.

is this known 
problem for fop 0.25? i need it for rather big project - i think it would be 
really good testing for fop .. :)

ps:

i have another 
problem, which i managed to solve, but i do not like my solution :). i have this 
piece of code :

fo:block
fo:inline 
font-family="arial"a/fo:inline
fo:inline 
font-family="courrier"b/fo:inline
fo:inline 
font-family="arial"c/fo:inline
fo:inline 
font-family="courrier"d/fo:inline
/fo:block

is there any way to get 'a' 'b' 'c' 'd' to render on one line? i mean, 
without putting all fo:inline on the same line (i have looong lines), 
like this:


fo:blockfo:inline 
font-family="arial"a/fo:inlinefo:inline 
font-family="courrier"b/fo:inline...

when i tried to use inline-container, nothing was 
rendered.

my solution is something like this:

fo:block 
font-family="arial"
afo:inline 
font-family="courrier"b/fo:inlinecfo:inline 
font-family="courrier"d/fo:inline
/fo:block

thanx for 
anything.

Ing. Michal Bachork, 
Product Specialist
email: [EMAIL PROTECTED]
phone: +421 903 43 43 46

Exprit s.r.o., Jilemnickho 2
911 01 Trenn SLOVAKIA