I feel right now the absolute positoned fo:block-container is
only useful in header and footer. Inside body, the absoulted
positioned block-container is only relative to the beginning of
the body. This is totally useless. 

Attached please find one example. I have two tables and I want
to put some abosulte positioned block-containers between these
two tables. But I can not do it in FOP. 

In real application, I want to put some formatted data, some
free form date(text or image) and  some other formatted data.
For example:

         REPORT-HEADING 
| COLUMN1 | COLUMN2 | COLUMN3 | COLUMN 4 |
  [subcategory  value 1]
|  data1  |  data2  |  data3  |  data4   |
|  data1  |  data2  |  data3  |  data4   |
|  data1  |  data2  |  data3  |  data4   |
|  data1  |  data2  |  data3  |  data4   |
[ subtotal information
   subtotal-chart1     some descrition
              subtotal-chart2
        subtotal-chart3      ]
[  subcategory  value 2      ]
|  data1  |  data2  |  data3  |  data4   |
|  data1  |  data2  |  data3  |  data4   |
|  data1  |  data2  |  data3  |  data4   |
|  data1  |  data2  |  data3  |  data4   |
[ subtotal information
   subtotal-chart1     some descrition
              subtotal-chart2
        subtotal-chart3   ]
[ Grandtotal information
   Grandtotal-chart1        
    some-descrition  Grandtotal-chart2   ]

Where [ ] sections are free form data. 
It is easy to implement it in HTML with table and absolute
positioned <div> inside <td>. But I am unable to implement it
using FOP.  By the way, we have a GUI to let user to position
the text and images. The GUI generates the setting xml file, and
the xslt file. We also have another tool to merge the xslt file
and the dynamic data to generate a html and a fo file and then
to convert fo file to pdf file. 

Do you have any way to solve this issue?

Thanks a lot.

Jay

---- On Fri, 5 Sep 2003, Andreas L. Delmelle
([EMAIL PROTECTED]) wrote:

> > From: Jay Chiu [mailto:[EMAIL PROTECTED]
> >
> > We are trying to create reports for multiple nested
categories.
> > Each category has free form header and footer. But they all
> > share the same column headings. We have no problem with the
HTML
> > reports, because <div> can be put inside table cell.
> >
> 
> I'm no expert in HTML, so I must shamefully admit I had to
look up what the
> <div>-tag is used for. To my surprise - or should I say
exactly the
> contrary? -  "Beyond defining a block, <DIV ...> itself
doesn't do
> anything".
> Still I lack sufficient info to help you out on this, I
fear... although I'm
> sure there *is* a perfectly working XSL-FO-construct to obtain
the desired
> results.
> 
> (Note on the side: In common word-processors, like MS Word,
you have the
> option of showing all punctuation marks. Look at this like
'viewing the
> source' of a web page - well, it's not completely the same, I
know, but
> stick with me. You open a document created by someone else.
Looks neatly
> layed out & all that. You make a few changes, and suddenly
that nice layout
> goes down the drain... Why? Because that 'someone' used spaces
in a
> proportional font (instead of using tabs), or because he used
tabs (instead
> of defining columns)... Catch the drift? There are always many
ways to reach
> a certain end, but most of them merely give you what you want,
*nothing
> more*...)
> 
> Is it possible for you to 'draw' an example of the layout you
are trying to
> create? I'd be more than happy to provide you with a few hints
& tips to
> help you achieve your goal. Forgive my ignorance where it
comes to HTML. [ I
> studied computer science for a while (no cert, however), but
abandoned it
> for a few years, so I guess I missed out on the whole
HTML-hype. Java & XML
> redrew my attention, though... ] As I indicated above, I still
don't see why
> you absolutely need *that* particular construct, so my advice
in this case
> would be to stop thinking HTML for a minute... ?
> 
> > I also tried to use SVG, but also got some problem. I will
send
>                                                   ^^^^^^^^^^
> 
> Hmmm, where have we heard that one before? ;) I don't mean to
be rude but
> could you please specify? Otherwise, my answer would be 'Use
the force!' :)
Please see the messages under "Re: Batik Extension/FOP problem"
subject. I am also sending the message to
[EMAIL PROTECTED] Thomas DeWeese have given me some
help, but could not totally help me solve the problem.

> 
> > my java code for batik extension for you to check.
> >
> 
> I think I'll leave this one to dev for the moment... :) (By
far enough
> knowledge about the Batik API, I'm afraid)
> 
> 
> > Thanks.
> >
> 
> You're welcome
> 
> greetz,
> 
> a_l.delmelle
> 
> ps : Watch out for an upcoming poll on this list... Oops,
seems I missed
> that 'Reply All...' button by a millipoint again...
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

Attachment: p22.fo
Description: Binary data

Attachment: p22.pdf
Description: Adobe PDF document

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

Reply via email to