RE: blind tables

2005-03-24 Thread martin.smith



This 
works for me now.
 
I had 
a  around my first piece of content (a table). I removed this, so 
nesting the table directly. 
 

  
 
    
    <<--- 
remove
   

  
...
   
    
   <<--- 
remove
 
 
  
  

 

 

  -Original Message-From: Smith, Martin 
  Sent: 24 March 2005 11:38To: 
  fop-users@xmlgraphics.apache.orgSubject: FW: blind 
  tables
  Hi,
   
  I noticed the 
  processing instruction to "page-break if less than X inches left" is 
  not implemented. Therefore I am trying to use "blind tables" to keep two 
  pieces of content together.  
   
  However this 
  doesn't seem to be working - if you render the attached document to PDF 
  you will see that the instrument varbiage is on page 1 and the related 
  data is on page 2. The two pieces of content are themselves tables, so 
  I'm wondering if this is allowed.
   
  Does anyone know 
  what I'm doing wrong? 
   
  I notice 
  bug#7241 looks similar but this talks about it working for the first page 
  break - but it doesn't even do that for me.
   
  thx.
   
  --
   
  fop 
  version: 0.20.5
   
  fop processes the 
  document without errors;
   
  OPC> fop.sh -fo 
  CA_73468_20040630.fo -pdf out.pdf[INFO] Using 
  org.apache.xerces.parsers.SAXParser as SAX2 Parser[INFO] FOP 
  0.20.5[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 
  Parser[INFO] building formatting object tree[INFO] setting up 
  fonts[INFO] [1][INFO] [2][INFO] [3][INFO] Parsing of document 
  complete, stopping renderer



PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



FW: blind tables

2005-03-24 Thread martin.smith



Hi,
 
I noticed the 
processing instruction to "page-break if less than X inches left" is 
not implemented. Therefore I am trying to use "blind tables" to keep two 
pieces of content together.  
 
However this doesn't 
seem to be working - if you render the attached document to PDF you will 
see that the instrument varbiage is on page 1 and the related data is on 
page 2. The two pieces of content are themselves tables, so I'm wondering 
if this is allowed.
 
Does anyone know 
what I'm doing wrong? 
 
I notice 
bug#7241 looks similar but this talks about it working for the first page break 
- but it doesn't even do that for me.
 
thx.
 
--
 
fop 
version: 0.20.5
 
fop processes the 
document without errors;
 
OPC> fop.sh -fo 
CA_73468_20040630.fo -pdf out.pdf[INFO] Using 
org.apache.xerces.parsers.SAXParser as SAX2 Parser[INFO] FOP 
0.20.5[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 
Parser[INFO] building formatting object tree[INFO] setting up 
fonts[INFO] [1][INFO] [2][INFO] [3][INFO] Parsing of document 
complete, stopping renderer



PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



keep-with.fo
Description: keep-with.fo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML Tables converted to FO Tables

2005-03-10 Thread Chris Bowditch
Eckbert P. Dollhofer wrote:

Hm? Are there any FO Formatters alternativ to apache-fop that will 
render tables with table-layout="auto" to pdf?
Would be off a big help!
Yes. Try XEP 4 from RenderX
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: HTML Tables converted to FO Tables

2005-03-09 Thread Eckbert P . Dollhofer
Am 31.01.2005 um 10:00 Uhr schrieb Chris Bowditch:
Chris Greene wrote:
Folks,
I'm hoping that someone has already solved this problem...
--- I have an input XML file that has a  tag which contains an 
HTML  as its content.
--- If I save the HTML content to a file and open it in a browser, 
the browser very nicely formats the table with, I suspect, some 
heuristically computed column widths.
--- Since FO requires that you explicitly specify the column-width of 
each column in a table I suppose that my XSL file needs to do 
something like a browser does to compute the column-widths.
This is not true, the property table-layout="auto" will compute column 
widths automatically. Note, however, that not all FO Formatters 
implement automatic table layouts.
Hm? Are there any FO Formatters alternativ to apache-fop that will 
render tables with table-layout="auto" to pdf?
Would be off a big help!


Chris
-
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]


Re: tei tables -> fo -> pdf through fop

2005-02-13 Thread J.Pietschmann
Eric Lease Morgan wrote:
roadblock when it comes to tables. It only seems to support fixed-width 
cells and wants to know exactly how many columns there will be in each 
table. Given the wide variety of table types I am to encounter, this 
seem rather limiting. I am having a tough time writing a TEI -> FO 
stylesheet that FOP can use. I'm getting desperate, and I'm about to 
mark up my tables as pre-formatted paragraph.
There's some code in the XSL list archives for determining
the number of columns for HTML and DocBooc (OASIS) tables,
TI tables shouldn't be much more difficult. As for the fixed
column width: this is indeed a problem, you might have to
guess or analyze the table content, using recursive templates.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tei tables -> fo -> pdf through fop

2005-02-13 Thread Eric Lease Morgan
Does anybody here have experience converting TEI tables -> FO -> PDF 
using fop?

I am (slowly) marking up sets of etexts in TEI/XML. I plan to provide 
full-text searching against the collection and disseminated the whole 
thing in various ebook formats. You can see what have done so far here:

  http://infomotions.com/alex2/
I have written various xslt stylesheets to convert my TEI to HTML, 
SHTML, and plain text. My stylesheet to convert TEI to FO has hit a 
roadblock when it comes to tables. It only seems to support fixed-width 
cells and wants to know exactly how many columns there will be in each 
table. Given the wide variety of table types I am to encounter, this 
seem rather limiting. I am having a tough time writing a TEI -> FO 
stylesheet that FOP can use. I'm getting desperate, and I'm about to 
mark up my tables as pre-formatted paragraph. Ick.

Does anybody here convert their TEI files into PDF documents, and if 
so, how do you handle table data?

--
Eric Lease Morgan
University Libraries of Notre Dame
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Users help users by using the Wiki (was: HTML Tables converted to FO Tables)

2005-01-31 Thread Jeremias Maerki
The topic about converting HTML to PDF comes up every now and then. I've
set up an initial page in our Wiki for this and hope that people
interested in this topic will add their ideas and tips to this page:

http://wiki.apache.org/xmlgraphics-fop/HowTo_2fHtmlToPdf

Editing this page is easy. Just register a username by clicking
"UserPreferences" in the upper left corner and then edit the page.
Documentation about the Wiki is available by clicking on "HelpContents".

Of course, you can also add additional pages to the Wiki to document
other topics. The FOP team might take content that's created on the Wiki
over into the main FOP website thus improving the overall documentation.

Everyone is invited to participate. Please share your experiences and
your ideas!


Jeremias Maerki


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



Re: HTML Tables converted to FO Tables

2005-01-31 Thread Chris Bowditch
Chris Greene wrote:
Folks,
I'm hoping that someone has already solved this problem...
--- I have an input XML file that has a  tag which contains an 
HTML  as its content.
--- If I save the HTML content to a file and open it in a browser, the 
browser very nicely formats the table with, I suspect, some 
heuristically computed column widths.
--- Since FO requires that you explicitly specify the column-width of 
each column in a table I suppose that my XSL file needs to do something 
like a browser does to compute the column-widths.
This is not true, the property table-layout="auto" will compute column widths 
automatically. Note, however, that not all FO Formatters implement automatic 
table layouts.


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


Re: HTML Tables converted to FO Tables

2005-01-29 Thread Glen Mazza
A Google (hint... ;) on "HTML tables to FO conversion"
yielded [1], as well as many other hits.

HTH,
Glen

[1]
http://www-106.ibm.com/developerworks/library/x-xslfo2app/

--- Chris Greene <[EMAIL PROTECTED]> wrote:

> Folks,
> 
> I'm hoping that someone has already solved this
> problem...
> 
> --- I have an input XML file that has a  tag
> which contains an 
> HTML  as its content.
> --- If I save the HTML content to a file and open it
> in a browser, the 
> browser very nicely formats the table with, I
> suspect, some 
> heuristically computed column widths.
> --- Since FO requires that you explicitly specify
> the column-width of 
> each column in a table I suppose that my XSL file
> needs to do something 
> like a browser does to compute the column-widths.
> 
> Has anyone written an XSL file to create FO tables
> from HTML tables?
> 
> Thanks,
> Chris
> 
>
-
> 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]



HTML Tables converted to FO Tables

2005-01-29 Thread Chris Greene
Folks,
I'm hoping that someone has already solved this problem...
--- I have an input XML file that has a  tag which contains an 
HTML  as its content.
--- If I save the HTML content to a file and open it in a browser, the 
browser very nicely formats the table with, I suspect, some 
heuristically computed column widths.
--- Since FO requires that you explicitly specify the column-width of 
each column in a table I suppose that my XSL file needs to do something 
like a browser does to compute the column-widths.

Has anyone written an XSL file to create FO tables from HTML tables?
Thanks,
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Trouble Shooting Tables

2005-01-13 Thread Luke Shannon
I have several complex layouts that are table based. Right now a few on them
don't produce the desired output. There are no errors. I can only assume
that there are problems in my table structure.

Are there any tricks or tips anyone can offer for working through table
related issues?

Thanks,

Luke



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



Re: setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread JBryant
Forgot to add the URL for the XSL list: 
http://www.mulberrytech.com/xsl/xsl-list/

Jay Bryant
Bryant Communication Services




robert frapples <[EMAIL PROTECTED]> 
11/30/2004 03:09 PM
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
setting up tables differently based on existance of xml tags. (static 
variables, recursion, templates, and intrigue)






Here's a (hopefully) interesting problem: (I've been editing this
email every day. Every time I can't figure out how to do something, I
come up with an alternate plan, assisted by a few people in #xml on
irc.freenode.net. (Thank you Bebabo).  I figured at this point I'd
share my experiences. If you can think of better, faster, cleaner ways
to do this, I'd love to hear from you.)

source xml:


a


b


c



d


e




What I want to happen is basically, for-each select="field", if
 has a  and the next  also has a value, have 4
cells in a row: field[n]/title, text , field[n+1]/title, 'text'.  If
 does not have a  or if the next  does not have
a , then have 2 cells: field[n]/title, and 'other text' with
number-columns-spanned=3.

My first thought was this:
/-\
. . .







text




text
 
 


 
 
 other text
 
  


 
  
  
 
 other text
 
  
   




\---/

This obviously will not work, because XSLT does not allow variables to
be reassigned.  After reading extensively from O'Reilly's XSLT book
and the w3c specs for XSLT and XPath, I decided I could achive my goal
with recursive template matches.  Here is what I arrived at:

/\


. . .
 
 
 
. . .
 










text






text












other text







\/

This works great.  Based on my understanding of the XSLT parsers, this
is pretty memory intensive, as applying "following-sibling::field[1]"
actually passes the remaining  nodes in  every time,
leaving a lot of stuff in the stack. Is that correct?

At any rate, any ideas on a better way to do this?  (Other than a SAX
parsing of the XML with a few variables and leaving an extra node in
select s.)

-
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]



Re: setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread JBryant
Couple things: First, I'd dump this topic on the XSL list. Those folks 
love this kind of question, and they are good at helping with this kind of 
issue. Second, I'd look at making a key to hold the 
field-that-has-a-value-and-whose-next-sibling-has-a-value combos. Then, 
rather than read the whole document, the processor would read the key. If 
it works, that should reduce memory usage and increase performance.

Jay Bryant
Bryant Communication Services




robert frapples <[EMAIL PROTECTED]> 
11/30/2004 03:09 PM
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
setting up tables differently based on existance of xml tags. (static 
variables, recursion, templates, and intrigue)






Here's a (hopefully) interesting problem: (I've been editing this
email every day. Every time I can't figure out how to do something, I
come up with an alternate plan, assisted by a few people in #xml on
irc.freenode.net. (Thank you Bebabo).  I figured at this point I'd
share my experiences. If you can think of better, faster, cleaner ways
to do this, I'd love to hear from you.)

source xml:


a


b


c



d


e




What I want to happen is basically, for-each select="field", if
 has a  and the next  also has a value, have 4
cells in a row: field[n]/title, text , field[n+1]/title, 'text'.  If
 does not have a  or if the next  does not have
a , then have 2 cells: field[n]/title, and 'other text' with
number-columns-spanned=3.

My first thought was this:
/-\
. . .







text




text
 
 


 
 
 other text
 
  


 
  
  
 
 other text
 
  
   




\---/

This obviously will not work, because XSLT does not allow variables to
be reassigned.  After reading extensively from O'Reilly's XSLT book
and the w3c specs for XSLT and XPath, I decided I could achive my goal
with recursive template matches.  Here is what I arrived at:

/\


. . .
 
 
 
. . .
 










text






text












other text







\/

This works great.  Based on my understanding of the XSLT parsers, this
is pretty memory intensive, as applying "following-sibling::field[1]"
actually passes the remaining  nodes in  every time,
leaving a lot of stuff in the stack. Is that correct?

At any rate, any ideas on a better way to do this?  (Other than a SAX
parsing of the XML with a few variables and leaving an extra node in
select s.)

-
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]



setting up tables differently based on existance of xml tags. (static variables, recursion, templates, and intrigue)

2004-11-30 Thread robert frapples
Here's a (hopefully) interesting problem: (I've been editing this
email every day. Every time I can't figure out how to do something, I
come up with an alternate plan, assisted by a few people in #xml on
irc.freenode.net. (Thank you Bebabo).  I figured at this point I'd
share my experiences. If you can think of better, faster, cleaner ways
to do this, I'd love to hear from you.)

source xml:


a


b


c



d


e




What I want to happen is basically, for-each select="field", if
 has a  and the next  also has a value, have 4
cells in a row: field[n]/title, text , field[n+1]/title, 'text'.  If
 does not have a  or if the next  does not have
a , then have 2 cells: field[n]/title, and 'other text' with
number-columns-spanned=3.

My first thought was this:
/-\
. . .







text




text
 
 


 
 
 other text
 
  


 
  
  
 
 other text
 
  
   




\---/

This obviously will not work, because XSLT does not allow variables to
be reassigned.  After reading extensively from O'Reilly's XSLT book
and the w3c specs for XSLT and XPath, I decided I could achive my goal
with recursive template matches.  Here is what I arrived at:

/\


. . .
 
 
 
. . .
 










text






text












other text







\/

This works great.  Based on my understanding of the XSLT parsers, this
is pretty memory intensive, as applying "following-sibling::field[1]"
actually passes the remaining  nodes in  every time,
leaving a lot of stuff in the stack. Is that correct?

At any rate, any ideas on a better way to do this?  (Other than a SAX
parsing of the XML with a few variables and leaving an extra node in
select s.)

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



RE: Question about full page tables

2004-11-23 Thread Pascal Sancho
Hi Jon

> -Message d'origine-
> De : Jon Steeves [mailto:[EMAIL PROTECTED] 
>   
> 
>   
> 
>
>  
> 
>  
Here you can use this enstead
 

> 
>
>  
> 
> 
And here you can use this enstead
 

> 
>
>   


>   
>   
> 


Your templates should be:
  
  ...


  
  ...




Hope this helps you

Pascal

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



RE: Question about full page tables

2004-11-23 Thread Jon Steeves
Thanks Andreas.  That worked perfectly.

I have one other problem.  The way make it so that the items print 3 across is 
by putting the following inside a "for" loop (the code has been stripped down 
to make it more legible):

  

  

   
 

 

   
 



   
  

I use "apply-templates" for the row X, col 1 item, but I have to use "value-of" 
on the second and third items in the row.

This is satisfactory for getting the text, but there are some formatting tags 
within the  tags which are implemented when I use "apply-templates" but 
which are ignored by "value-of". 

 What I would really like to use is something like:



but it doesn't work, because xslfo won't let me create a template of the form

  
  


as following-sibling:: is not allowed within "match"s attribute value.

Anybody have any ideas what I can do here.

Cheers

Jon


-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 10:13 AM
To: [EMAIL PROTECTED]
Subject: RE: Question about full page tables


> -Original Message-
> From: Jon Steeves [mailto:[EMAIL PROTECTED]
> 
Hi,

>  
> The problem I'm having is each item has a different amount of 
> text so that some rows are thinner than others.  Can anyone help me?
>  

IIUC, the best way to solve this is by setting the row-height explicitly to the 
height necessary for the item with the largest content. If the row that 
contains the largest item is actually 20mm in height, set them all to 20mm, like


  ...
  

...

Use the 'display-align' property on the individual fo:table-cells to make sure 
the smaller items are neatly centered, if necessary.

Hope this helps!

Greetz,

Andreas


-
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]



RE: Question about full page tables

2004-11-22 Thread Andreas L. Delmelle
> -Original Message-
> From: Jon Steeves [mailto:[EMAIL PROTECTED]
> 
Hi,

>  
> The problem I'm having is each item has a different amount of 
> text so that some rows are thinner than others.  Can anyone help me?
>  

IIUC, the best way to solve this is by setting the row-height explicitly to the 
height necessary for the item with the largest content. If the row that 
contains the largest item is actually 20mm in height, set them all to 20mm, like


  ...
  

...

Use the 'display-align' property on the individual fo:table-cells to make sure 
the smaller items are neatly centered, if necessary.

Hope this helps!

Greetz,

Andreas


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



Question about full page tables

2004-11-22 Thread Jon Steeves
Hello:
 
  I've been trying to solve the following problem that has stumped me.
 
1. I have an .xml file that looks like this:
 
 
   blah blah blah blah
   blah 
   blah blah blah blah blah blah blah blah blah blah
  
   blah blah blah

 
  There 210 's.
 
 
 2. I want to format a pdf so that each 8x11 page consists of 21 of these items 
and that they are printed in a 7 row by 3 column grid that fills the whole page 
evenly.  I want to then take the ten pages to a paper cutter and cut the stack 
so that all 210 cards are the same size.
 
The problem I'm having is each item has a different amount of text so that some 
rows are thinner than others.  Can anyone help me?
 
Cheers
 
Jon

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



RE: Adjacent tables

2004-09-29 Thread Mark Donnelly
Thanks again Chris.

-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 14:26
To: [EMAIL PROTECTED]
Subject: Re: Adjacent tables


Mark Donnelly wrote:

> Been looking through the FO documentation and cant find anything to do
with
> creating adjacent tables.
> 
> Id like to have one table on the left and then two tables on top of each
> other next to the first (ie to the right of the first).
> 
> Anyone know of any methods?

Create an outer table with two columns and two rows and nest the 3 inner 
tables in the table cells of the outer table. You will need to put 
number-rows-spanned="2" on the first cell of the first column to merge the
two 
cells in the first column.

Chris


-
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]



Re: Adjacent tables

2004-09-29 Thread Chris Bowditch
Mark Donnelly wrote:
Been looking through the FO documentation and cant find anything to do with
creating adjacent tables.
Id like to have one table on the left and then two tables on top of each
other next to the first (ie to the right of the first).
Anyone know of any methods?
Create an outer table with two columns and two rows and nest the 3 inner 
tables in the table cells of the outer table. You will need to put 
number-rows-spanned="2" on the first cell of the first column to merge the two 
cells in the first column.

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


Adjacent tables

2004-09-29 Thread Mark Donnelly
Been looking through the FO documentation and cant find anything to do with
creating adjacent tables.

Id like to have one table on the left and then two tables on top of each
other next to the first (ie to the right of the first).

Anyone know of any methods?

Mark

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



Re: FW: FOP with large tables

2004-08-31 Thread Chris Bowditch
Benzi Zadik wrote:

My XML can contain dynamic data which I want to display as a table. The number of columns and rows of the table can change and can be many. It is important that the generated PDF will be printer friendly - when printing the pdf no data is lost and columns and rows are not broken in the middle. I dont mind though that if there is not enough room for all the columns in the printed page that  the next page will print the columns that couldnt fit in the previous page. The same goes for rows.
XSL-FO provides no facility to allow columns to spill onto subsequent pages if 
there is insufficient room for columns on previous page. Extra rows will 
naturally flow onto the next page when a page is filled.


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


FW: FOP with large tables

2004-08-31 Thread Benzi Zadik

> Hi,
>
> I am looking into export to PDF tools for my project and after looking into 
> the FOP documentation I cannot figure out if its functionality complies with 
> my requirement.
>
> My XML can contain dynamic data which I want to display as a table. The 
> number of columns and rows of the table can change and can be many. It is 
> important that the generated PDF will be printer friendly - when printing the 
> pdf no data is lost and columns and rows are not broken in the middle. I dont 
> mind though that if there is not enough room for all the columns in the 
> printed page that  the next page will print the columns that couldnt fit in 
> the previous page. The same goes for rows.
>
> Is there a way to do this using FOP?
>
> thanks.
>

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

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



Re: Problems with tables and templates

2004-08-27 Thread Chris Pratt
Yup, you're wrong =8^).  As long as the begin and end are in the same template, 
it's valid.  In other words, you can't have the  tag in one template and 
the matching  in another, but you can have the  and  around 
an  that puts in the rows.  The same is true for fo.
  (*Chris*)

Original Message ---
Hi,

the problem is that you can't create some elements of a table without ending it.
In html you can begin a table and in the next template you can add rows and 
cells and in another template you can close
the table, that's not possible in pdf. Or am i on the wrong way?

In the meantime i changed my xsl script completely, so it works in a completely 
other way.
It's rather a problem of xsl.

Thanks

Sven



Chris Pratt wrote:
> How about something like this:
>
> 
>   
> 
>   
> 
> 
>   
> 
>
> 
>   
> 
> 
> 
>   
> 
>
> That's obviously an HTML example, but it should be easy to change to FO table 
> layout if you need.
>   (*Chris*)
>
>
> Original Message ---
> Hi,
>
> i have a table with 3 columns.
>
> Example:
>
> Table:TestStatus  Priority
>   Theme1
>   Test1   ok  1
>   Test2   fail1
>   
>   Theme2
>   Test1   ok  3
>   Test2   ok  2
>
>
> The xml file:
>   
>  
>   
>   
>   
>   
>   
>   
>  
>   
>
>
>
> Now my problem is the following:
>
> How can i achieve that the table will be filled up correctly?
>
> In my xsl-fo file i have a template that matches "theme" and calls template 
> matching "test".
>
> So looks the table after filling it up with my solution:
>
>
>
> Table:TestStatus  Priority
>   
>   Test1   
>   ok  1
>   Test2   
>   fail1
>   
>   
>   Test1
>   ok  3
>   Test2   
>   ok  2
>
>
> Thanks in advance
>
> Sven
>
>
> -
> 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]
>
>
>

-
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]



Re: Problems with tables and templates

2004-08-27 Thread Sven Waibel
Hi,

the problem is that you can't create some elements of a table without ending it.
In html you can begin a table and in the next template you can add rows and 
cells and in another template you can close
the table, that's not possible in pdf. Or am i on the wrong way?

In the meantime i changed my xsl script completely, so it works in a completely 
other way.
It's rather a problem of xsl.

Thanks

Sven



Chris Pratt wrote:
> How about something like this:
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
> 
> That's obviously an HTML example, but it should be easy to change to FO table 
> layout if you need.
>   (*Chris*)
> 
> 
> Original Message ---
> Hi,
> 
> i have a table with 3 columns.
> 
> Example:
> 
> Table:TestStatus  Priority
>   Theme1
>   Test1   ok  1
>   Test2   fail1
>   
>   Theme2
>   Test1   ok  3
>   Test2   ok  2
> 
> 
> The xml file:
>   
>  
>   
>   
>   
>   
>   
>   
>  
>   
> 
> 
> 
> Now my problem is the following:
> 
> How can i achieve that the table will be filled up correctly?
> 
> In my xsl-fo file i have a template that matches "theme" and calls template 
> matching "test".
> 
> So looks the table after filling it up with my solution:
> 
> 
> 
> Table:TestStatus  Priority
>   
>   Test1   
>   ok  1
>   Test2   
>   fail1
>   
>   
>   Test1
>   ok  3
>   Test2   
>   ok  2
> 
> 
> Thanks in advance
> 
> Sven
> 
> 
> -
> 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]
> 
> 
> 

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



RE: Problems with tables and templates

2004-08-26 Thread Chris Pratt
How about something like this:


  

  


  



  



  


That's obviously an HTML example, but it should be easy to change to FO table 
layout if you need.
  (*Chris*)


Original Message ---
Hi,

i have a table with 3 columns.

Example:

Table:  TestStatus  Priority
Theme1
Test1   ok  1
Test2   fail1

Theme2
Test1   ok  3
Test2   ok  2


The xml file:

   






   




Now my problem is the following:

How can i achieve that the table will be filled up correctly?

In my xsl-fo file i have a template that matches "theme" and calls template 
matching "test".

So looks the table after filling it up with my solution:



Table:  TestStatus  Priority

Test1   
ok  1
Test2   
fail1


Test1
ok  3
Test2   
ok  2


Thanks in advance

Sven


-
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]



Re: Problems with tables and templates

2004-08-26 Thread J.Pietschmann
Sven Waibel wrote:
How can i achieve that the table will be filled up correctly?
This looks like an XSLT problem. Ask on the XSL list:
 http://www.mulberrytech.com/xsl/xsl-list/
You'll probably have to supply a slightly more complete
problem description for a really helpful answer.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Problems with tables and templates

2004-08-26 Thread Sven Waibel
Hi,

i have a table with 3 columns.

Example:

Table:  TestStatus  Priority
Theme1
Test1   ok  1
Test2   fail1

Theme2
Test1   ok  3
Test2   ok  2


The xml file:

   






   




Now my problem is the following:

How can i achieve that the table will be filled up correctly?

In my xsl-fo file i have a template that matches "theme" and calls template 
matching "test".

So looks the table after filling it up with my solution:



Table:  TestStatus  Priority

Test1   
ok  1
Test2   
fail1


Test1
ok  3
Test2   
ok  2


Thanks in advance

Sven


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



Re: Specifying Line Spacing in tables

2004-08-11 Thread Gordon Ross
My table is made of mostly single line rows. Each cell is a single block. By 
default, the spacing between the rows is a tad bit too close for my liking, so 
I would like to spread them out about.

GTG

Gordon Ross,
Network Manager/Rheolwr Rhydwaith
Countryside Council for Wales/Cyngor Cefn Gwlad Cymru
>>> [EMAIL PROTECTED] 08/10/04 21:11 PM >>>
Gordon Ross wrote:
> I'm trying to adjust the line spacing between fo:table-rows.

Are you sure you mean what you have written?

If you want to have a well defined space between table rows,
insert an additional row with a heigth property of your choice.

You can also try to add properly choosen space-before and
space-after to the block in the table cells (if there are
cells with potentially more than one block, enclose them
in a single block). This is almost always preferred if all
cells have borders.

J.Pietschmann



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



Re: Tables and Columns Question

2004-08-11 Thread J.Pietschmann
Michael Sachau wrote:
I don't want to create a Nx3 Table and put 1 table in one cell,
is there a more elegant solution?
Why don't you want to create an outer table? It's
the way it is supposed to be done (the XSLFO table
should have really be named grid-layout or something
like this).
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tables and Columns Question

2004-08-11 Thread Pascal Sancho

In your 3 columns document, You can use a block with a span="all" attribute 
between 3rd & 4th tables.
This should resolve your demand.

Bye,
Pascal

-Message d'origine-
De : Michael Sachau [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 11 août 2004 13:56
À : [EMAIL PROTECTED]
Objet : Tables and Columns Question


Hi,

I want to create a three column document. In this document there are tables, 
that are generated from an XML file.

I want the tables in that order

Column 1 | Column 2 | Column 3
Table 1  | Table 2  | Table 3
Table 4 ...

I don't want to create a Nx3 Table and put 1 table in one cell, is there a more 
elegant solution?


-
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]



Tables and Columns Question

2004-08-11 Thread Michael Sachau

Hi,

I want to create a three column document. In this
document there are tables, that are generated from
an XML file.

I want the tables in that order

Column 1 | Column 2 | Column 3
Table 1  | Table 2  | Table 3
Table 4 ...

I don't want to create a Nx3 Table and put 1 table in one cell,
is there a more elegant solution?


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



Re: Specifying Line Spacing in tables

2004-08-10 Thread J.Pietschmann
Gordon Ross wrote:
I'm trying to adjust the line spacing between fo:table-rows.
Are you sure you mean what you have written?
If you want to have a well defined space between table rows,
insert an additional row with a heigth property of your choice.
You can also try to add properly choosen space-before and
space-after to the block in the table cells (if there are
cells with potentially more than one block, enclose them
in a single block). This is almost always preferred if all
cells have borders.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tables not indented in lists

2004-08-10 Thread J.Pietschmann
Sönke Ruempler wrote:
I have the problem that tables are not indented within lists.
Tables are block elements, and therefore can't be indented at all
(or so they say). Don't use tables in a list. You can use a two
column table instead of the list, and put the visible tables into
the outer table's table cells.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Specifying Line Spacing in tables

2004-08-10 Thread Clay Leeds
On Aug 10, 2004, at 7:40 AM, Gordon Ross wrote:
Hi,
I'm trying to adjust the line spacing between fo:table-rows.
I've played with the padding-* attributes, but they don't appear to do 
much (expect, when I use them in a fo:table-heading)

Can anyone point me in the right direction ?
Thanks,
GTG
This thread might help:
http://marc.theaimsgroup.com/?l=fop-user&m=108914876406883&w=2
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Specifying Line Spacing in tables

2004-08-10 Thread Gordon Ross
Hi,

I'm trying to adjust the line spacing between fo:table-rows.

I've played with the padding-* attributes, but they don't appear to do much 
(expect, when I use them in a fo:table-heading)

Can anyone point me in the right direction ?

Thanks,

GTG

Gordon Ross,
Network Manager/Rheolwr Rhydwaith
Countryside Council for Wales/Cyngor Cefn Gwlad Cymru


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



RE: tables not indented in lists

2004-08-10 Thread Sönke Ruempler
Pascal Sancho  wrote on Tuesday, August 10,
2004 9:39 AM:

> I resolve this emdeding my table in a single cell table, and
> I compute the table-cell/@padding-left regarding ancestors lists.
> You can probably find an easier method using from-parent() method.

Heh, i guessed that is a bug in FOP, isn't it?


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



RE: tables not indented in lists

2004-08-10 Thread Pascal Sancho
Hi,
I resolve this emdeding my table in a single cell table, and I compute the 
table-cell/@padding-left regarding ancestors lists.
You can probably find an easier method using from-parent() method.

Here follows my code:











 

Pascal

-Message d'origine-
De : Sönke Ruempler [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 10 août 2004 09:24
À : [EMAIL PROTECTED]
Objet : tables not indented in lists

Hi,

I have the problem that tables are not indented within lists. Here the fo
sniplet:

3.





 http://www.w3.org/1999/XSL/Format";>
Kontonummer:

  

http://www.w3.org/1999/XSL/Format";>
BLZ:

  

http://www.w3.org/1999/XSL/Format";>
Bank:

  


...


This code is generated by a XSLT stylesheet. It should be

1.  Blah


But it is:

2.  Blub


--

Soenke



-
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]



tables not indented in lists

2004-08-10 Thread Sönke Ruempler
Hi,

I have the problem that tables are not indented within lists. Here the fo
sniplet:

3.






http://www.w3.org/1999/XSL/Format";>
Kontonummer:


 

http://www.w3.org/1999/XSL/Format";>
BLZ:


 

http://www.w3.org/1999/XSL/Format";>
Bank:


 


...


This code is generated by a XSLT stylesheet. It should be

1.  Blah


But it is:

2.  Blub


--

Soenke



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



Re: Adding Blind Tables for Figures

2004-07-22 Thread Chris Bowditch
David Shevitz wrote:
Thanks. I hadn't realized there have been so few updates to FOP.
I noticed on a post that to implement a blind table within a template, I 
should add the following to my customization layer:
customization layer? Isnt that a docbook term? I'm not familiar with 
docbook.
The basic concepts of a table-caption in FOP are very simple. table-caption 
isnt implemented, so to keep a piece of text, either above or below a table, 
simply create an outer table that has no borders (aka 'blind table'). The 
outer table will need a single column and 2 rows. The inner table is then 
placed either inside the top or bottom cell and the caption in the other cell 
depending on whether the caption is required above or below the original 
table. Make sense?

How to achieve this within docbook is another issue, which I suggest you ask 
on the docbook user list.


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


Re: Adding Blind Tables for Figures

2004-07-22 Thread David Shevitz
Thanks. I hadn't realized there have been so few updates to FOP.
I noticed on a post that to implement a blind table within a template, I 
should add the following to my customization layer:


 
 
   
 

  
  
   
 
   

   
   

  

  

   

   
  

  
 
   
 


 
 
   
 
   
 

I did so, only to find that it had no effect. By no effect, I mean I 
looked into the FO file that was generated, and did not see any tables 
around my figure and captions.

I then thought that perhaps my customization layer was in error somehow, 
so I created a separate customization layer using only the above 
template. Still, no effect.

Finally, I modified the formal.xsl stylesheet with this template, and 
still did have any results.

Clearly, I'm applying something incorrectly. But I'm at a loss as to 
where to begin. I did notice that, in the formal.xsl template, the 
formal.object template is very different from the above XSL markup. That 
is why I wondered if I was working off old material.

I'm happy to provide further information, if that would be helpful. I 
also freely admit that I'm unsure if this is an XSL issue, appropriate 
for the DocBook lists, or a FOP issue. But I figured I should start 
somewhere.

Thanks very much for any assistance,
Dave Shevitz
Chris Bowditch wrote:
David Shevitz wrote:

I understand that if I want to keep my captions with my figures in a 
given document, I should use a "blind table." However, all the 
examples I see were posted around 2 years ago (granted I might be 
looking in the wrong place). I tried using them, but they don't seem 
to work.

Doesnt matter that its 2 years old, there have been very few releases 
of FOP in that time. The "blind table" approach should work to keep a 
figure with FOP. Perhaps you should explain why it doesnt work for 
you, and we will try to help solve the problem.


Chris
-
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]


Re: Adding Blind Tables for Figures

2004-07-22 Thread Chris Bowditch
David Shevitz wrote:

I understand that if I want to keep my captions with my figures in a 
given document, I should use a "blind table." However, all the examples 
I see were posted around 2 years ago (granted I might be looking in the 
wrong place). I tried using them, but they don't seem to work.
Doesnt matter that its 2 years old, there have been very few releases of FOP 
in that time. The "blind table" approach should work to keep a figure with 
FOP. Perhaps you should explain why it doesnt work for you, and we will try to 
help solve the problem.


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


Adding Blind Tables for Figures

2004-07-21 Thread David Shevitz
Hello all,
I realize this must be a very popular question. However, the only 
information I can find is dated nearly 2 years ago, and those solutions 
do not seem to work.

Here is my question:
I understand that if I want to keep my captions with my figures in a 
given document, I should use a "blind table." However, all the examples 
I see were posted around 2 years ago (granted I might be looking in the 
wrong place). I tried using them, but they don't seem to work.

I'm using Docbook 1.64.2. Does anyone have a suggestion or examples that 
I could use to implement this workaround?

Thanks in advance,
Dave Shevitz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Freezing columns in tables / span columns over multiple pages

2004-06-25 Thread mka

I want to print a rather large table
and would like to be able to:

1) span the columns of the table over
several pages and 
2) repeat curtain columns on every page

much like it is possible in spreadsheets.

One possible solution would be the following:

1) Aqquire the columns to be frozen
and pages to span (from user, configuration file etc.)
2) Given the page width and number of
pages to span - each columns relative width can be calculated (through
physical page size and JTable's getColumnWidth() and some relative simple
math)
3) Generate a XML-FO table for each
page to span adding the frozen columns to each table (and of course the
columns calculated to be on that page) and insert these tables in the XML-FO
document.

F.x. if the table had rows for 2 pages
and columns were to be spanned over 2 pages the above solution would generate
4 pages where the first page would be the tables "upper left"
corner, the second page the "lower left" corner, the third page
the "upper right" corner and finally the fourth page the "lower
right" corner (table header and frozen columns being present on each).
In short the pages would be printed
as (number is page number):

13
24 
(upper left, lower left, upper right,
lower right)

Now my questions are:
* Does any of you know any solution
smarter than this that accomplishes the same ?
* Is it possibly using FOP (XML-FO)
to create the above print where the pages are printed as follows:
12
34
(upper left, upper right, , lower left,
lower right) ?

/Mikael

Re: FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-21 Thread anders . malmborg




Thanks to the input from the honorable fop-user's and the posting
http://www.biglist.com/lists/xsl-list/archives/200212/msg00917.html I
managed to put something together.
To make the thread complete here is the Perl script to generate the XML
(again, you might has to change the first line of table.pl
(#!/usr/local/bin/perl)) and a XSL stylesheet generating multiple page
sequences. The pages are numbered, I was suprised that the numbering works
without tampering the initial-page-number...

Regards,
Anders Malmborg
---  table.pl -
#!/usr/local/bin/perl

use strict;

if ($#ARGV != 0) {
   die "Usage $0 positions \n";
}

open POS, ">table.xml" or die $!;
print POS ''."\n";

print POS "\n";

for (my $i = 0;$i < $ARGV[0];$i++) {
   print POS "$iPosition$i\n";
}
print POS "\n";
close POS;
-
---  table.xsl -

http://www.w3.org/1999/XSL/Transform";
  xmlns:fo="http://www.w3.org/1999/XSL/Format";>


  
  
http://www.w3.org/1999/XSL/Format";>

  

  
  


   

  

  
 


   
  Seite 
   



   
  
  
  
 
 
 
  
   

 
  


  


   
  
 

 
  
  
 

 
  
   




-


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



RE: FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-15 Thread Andreas L. Delmelle
> -Original Message-
> From: [EMAIL PROTECTED]
>

Hi,

> There are some items where I am still a bit confused.
>

> As to splitting up the table:
> J.Pietschmann wrote:
> > It's not enough to reduce memory consumption. In order to
> > reclaim memory locked up in Area objects related to the
> > table, the FOs itself have to be reclaimed, which only
> > happens at the end of a page sequence.
>
> I am quite new to XSL:FO but I think that you can only have one
> "body-flow" inside a page-sequence?

> If so, and it has no (positive) impact if I have more tables or not, then
> the only possibility is to split the source (xml) and run more times?
>

Not at all. You just need to rewrite your XSL to produce, one page-sequence
for every N rows or tables. Where you now apply-templates to *all* tables in
the document, you could opt to apply-templates to groups of tables, let's
assume 3 tables per page-sequence. This would lead to the following
pseudocode:

...
  
...

  

  

  


etc.

HTH!

Greetz,

Andreas


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



Re: FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-15 Thread Glen Mazza
Another option for generating PDF, if you don't need all the advanced 
functionality of an XSL processor, could be iText:  
http://www.lowagie.com/iText/, http://sourceforge.net/projects/itext/.  
I have not worked with this product before, but it *may* be able to 
handle very large and relatively simple/repetitive documents better.  
However, you'll no longer be working with XML & XSL documents as input.

Glen
[EMAIL PROTECTED] wrote:

Thanks for the answers.
There are some items where I am still a bit confused.
First, I must agree that it might not make sence to render 2 rows into
PDF. The problem is, that the user can pick bad criteria and I can not
interact with him at that time.
As to splitting up the table:
J.Pietschmann wrote:
"It's not enough to reduce memory consumption. In order to
reclaim memory locked up in Area objects related to the
table, the FOs itself have to be reclaimed, which only
happens at the end of a page sequence."
I am quite new to XSL:FO but I think that you can only have one "body-flow"
inside a page-sequence? Snipet:

 
   

 
If so, and it has no (positive) impact if I have more tables or not, then
the only possibility is to split the source (xml) and run more times?
Regards,
Anders Malmborg

-
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]


Re: FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-15 Thread anders . malmborg




Thanks for the answers.

There are some items where I am still a bit confused.

First, I must agree that it might not make sence to render 2 rows into
PDF. The problem is, that the user can pick bad criteria and I can not
interact with him at that time.

As to splitting up the table:
J.Pietschmann wrote:
"It's not enough to reduce memory consumption. In order to
reclaim memory locked up in Area objects related to the
table, the FOs itself have to be reclaimed, which only
happens at the end of a page sequence."

I am quite new to XSL:FO but I think that you can only have one "body-flow"
inside a page-sequence? Snipet:

  

 
  

If so, and it has no (positive) impact if I have more tables or not, then
the only possibility is to split the source (xml) and run more times?

Regards,
Anders Malmborg



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



Re: FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-11 Thread J.Pietschmann
Chris Bowditch wrote:
Is it mean , closing the  and once again opening the
 in the xsl file. ?
Yes, this is what I mean.
It's not enough to reduce memory consumption. In order to
reclaim memory locked up in Area objects related to the
table, the FOs itself have to be reclaimed, which only
happens at the end of a page sequence.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-11 Thread Chris Bowditch
[EMAIL PROTECTED] wrote:
Hi Chris,
What do you mean by splitting the table?
Is it mean , closing the  and once again opening the
 in the xsl file. ?
Yes, this is what I mean. You will need to redefine the columns for each new 
table you open.


Chris

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


Re: OutOfMemoryError by large tables: Alternative solution?

2004-06-11 Thread Peter B. West
Pascal,
The number of rows is not a problem in alt-design, with the usual 
proviso about forward references.  Pages are built up as rows are 
encountered.  There may be other valid reasons to break up huge tables 
into sub-tables, but memory consumption will not be one of them.

Peter
Pascal Sancho wrote:
Hi,
I wonder weither you can easily read a 1 rows table. Even in a pdf form. 
Probably you should crunch your source file in multiple subtables.
Other engines than FOP could be have similar limitations... Beginning with 
human reader;)
Regards,
Tcho
--
Peter B. West <http://www.powerup.com.au/~pbwest/resume.html>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


FW: OutOfMemoryError by large tables: Alternative solution?

2004-06-11 Thread KS.Bhaskar
Hi Chris,

What do you mean by splitting the table?
Is it mean , closing the  and once again opening the
 in the xsl file. ?

Please tell me this.
Because I am also come across 'OutOfMemoryError by large tables'
problem.

With Regards
Bhaskar
 


-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 09, 2004 7:16 PM
To: [EMAIL PROTECTED]
Subject: Re: OutOfMemoryError by large tables: Alternative solution?

[EMAIL PROTECTED] wrote:

> 
> 
> 
> Greetings,
> 
> I have a XML file containing data to be formatted as table rows. The
number
> of rows will exceed 1. As the FOP processes the data the
"Exception in
> thread "main" java.lang.OutOfMemoryError" occurs.

This is a common problem.

> 
> As I've seen in the discussion forums, one possibility is to increase
the
> memory that the java environment will use (the -Xm switch). I have
set
> it to -Xmx512m. The transformation then succeeds. So whats the
problem?
> 
> Well, I am not very happy with the possibilty that the XML data file
> contains say 2 "rows". What then? Increase the memory limit again?

I understand your concerns, but there is no way to generically handle an

XSL-FO of infinite size. There are some things you can do to reduce the
ratio 
memory:input size.

> 
> I would like a more robust solution. Has anyone splitted a table? Or
is it
> better to try some inline formatting or even white-space handling,
possibly
> using some printf extention from PerlScript.

Splitting the table up is the best way to reduce the ratio memory:input
size. 
Also, there have been some tweaks made to the maintenance code in CVS
that 
help improve the memory usage of tables. To use this latest code, you
will 
need to install a CVS client, download the 0.20.5 code from the
maintainance 
branch and then re-compile. See website for further info:

http://xml.apache.org/fop/download.html#source



Chris



-
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]



RE: OutOfMemoryError by large tables: Alternative solution?

2004-06-10 Thread Pascal Sancho
Hi,
I wonder weither you can easily read a 1 rows table. Even in a pdf form. 
Probably you should crunch your source file in multiple subtables.
Other engines than FOP could be have similar limitations... Beginning with 
human reader;)

Regards,
Tcho

-Message d'origine-
De : Peter B. West [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 10 juin 2004 11:32
À : [EMAIL PROTECTED]
Objet : Re: OutOfMemoryError by large tables: Alternative solution?

I would like to answer this question now by saying, "Alt-design". 
However, I cannot - yet.  The layout work has just begun, and is aiming 
initially at a Java 2D solution.  When that is complete, unless someone cares 
to work in parallel on PDF rendering from the Java 2D representation, that PDF 
rendering work will have to follow.  The initial version will require Java 
1.4.2, a serious drawback for many, and may move forward from there if the text 
layout facilities improve in
1.5 and its sub-releases.

Alt-design starts page layout as soon as an fo:flow is encountered, and a page 
is completed as soon as enough of the flow has been read to fill that page.

Obviously, forward references cannot be resolved until the reference is 
resolved in the course of layout (e.g. Page n of m), but the existing solution 
of caching the incomplete page to disk will apply in alt-design.

Anyone who wishes to contribute to the development of alt-design would be most 
welcome.  Experience has already shown that ideas from alt-design can be very 
fruitfully applied to the main line of development.  In saying this I have no 
desire to distract those, especially those new and productive committers, who 
are dedicated to HEAD development.

I mention this here because of the ongoing concern about memory usage.

Peter
--
Peter B. West <http://www.powerup.com.au/~pbwest/resume.html>

-
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]



Re: OutOfMemoryError by large tables: Alternative solution?

2004-06-10 Thread Peter B. West
I would like to answer this question now by saying, "Alt-design". 
However, I cannot - yet.  The layout work has just begun, and is aiming 
initially at a Java 2D solution.  When that is complete, unless someone 
cares to work in parallel on PDF rendering from the Java 2D 
representation, that PDF rendering work will have to follow.  The 
initial version will require Java 1.4.2, a serious drawback for many, 
and may move forward from there if the text layout facilities improve in 
1.5 and its sub-releases.

Alt-design starts page layout as soon as an fo:flow is encountered, and 
a page is completed as soon as enough of the flow has been read to fill 
that page.

Obviously, forward references cannot be resolved until the reference is 
resolved in the course of layout (e.g. Page n of m), but the existing 
solution of caching the incomplete page to disk will apply in alt-design.

Anyone who wishes to contribute to the development of alt-design would 
be most welcome.  Experience has already shown that ideas from 
alt-design can be very fruitfully applied to the main line of 
development.  In saying this I have no desire to distract those, 
especially those new and productive committers, who are dedicated to 
HEAD development.

I mention this here because of the ongoing concern about memory usage.
Peter
--
Peter B. West 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: OutOfMemoryError by large tables: Alternative solution?

2004-06-10 Thread Thorbjørn Ravn Andersen
Chris Bowditch wrote:
Splitting the table up is the best way to reduce the ratio 
memory:input size. Also, there have been some tweaks made to the 
maintenance code in CVS that help improve the memory usage of tables. 
To use this latest code, you will need to install a CVS client, 
download the 0.20.5 code from the maintainance branch and then 
re-compile. See website for further info:
We found that for a complex 23 page print, the memory usage fell from 
100 Mb to 75 Mb (rough measurement) by using the CVS-version.  The 
overall performance is much more influenced by the memory usage of the 
many pages (when rendering to a PageSet  which we do instead of 
rendering to e.g. a PDF) than by the complexity of the tables.

--
 Thorbjoern Ravn Andersen  "...plus...Tubular Bells!"
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: OutOfMemoryError by large tables: Alternative solution?

2004-06-09 Thread scott gabelhart




[EMAIL PROTECTED] wrote:

  


Greetings,

I have a XML file containing data to be formatted as table rows. The number
of rows will exceed 1. As the FOP processes the data the "Exception in
thread "main" java.lang.OutOfMemoryError" occurs.

As I've seen in the discussion forums, one possibility is to increase the
memory that the java environment will use (the -Xm switch). I have set
it to -Xmx512m. The transformation then succeeds. So whats the problem?

Well, I am not very happy with the possibilty that the XML data file
contains say 2 "rows". What then? Increase the memory limit again?

I would like a more robust solution. Has anyone splitted a table? Or is it
better to try some inline formatting or even white-space handling, possibly
using some printf extention from PerlScript.

I have created a test XSL and a perl script that creates the XML input. To
create the input, invoke table.pl 2 (or some other number of
iterations). You might has to change the first line of table.pl
#!/usr/local/bin/perl
to something else if your Perl is installed somewhere else.

Thanks in advance.

Anders Malmborg
(See attached file: table.pl)(See attached file: table.xsl)
  

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

XSLFormatter from AntennaHouse




Re: OutOfMemoryError by large tables: Alternative solution?

2004-06-09 Thread Chris Bowditch
[EMAIL PROTECTED] wrote:

Greetings,
I have a XML file containing data to be formatted as table rows. The number
of rows will exceed 1. As the FOP processes the data the "Exception in
thread "main" java.lang.OutOfMemoryError" occurs.
This is a common problem.
As I've seen in the discussion forums, one possibility is to increase the
memory that the java environment will use (the -Xm switch). I have set
it to -Xmx512m. The transformation then succeeds. So whats the problem?
Well, I am not very happy with the possibilty that the XML data file
contains say 2 "rows". What then? Increase the memory limit again?
I understand your concerns, but there is no way to generically handle an 
XSL-FO of infinite size. There are some things you can do to reduce the ratio 
memory:input size.

I would like a more robust solution. Has anyone splitted a table? Or is it
better to try some inline formatting or even white-space handling, possibly
using some printf extention from PerlScript.
Splitting the table up is the best way to reduce the ratio memory:input size. 
Also, there have been some tweaks made to the maintenance code in CVS that 
help improve the memory usage of tables. To use this latest code, you will 
need to install a CVS client, download the 0.20.5 code from the maintainance 
branch and then re-compile. See website for further info:

http://xml.apache.org/fop/download.html#source

Chris

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


OutOfMemoryError by large tables: Alternative solution?

2004-06-09 Thread anders . malmborg




Greetings,

I have a XML file containing data to be formatted as table rows. The number
of rows will exceed 1. As the FOP processes the data the "Exception in
thread "main" java.lang.OutOfMemoryError" occurs.

As I've seen in the discussion forums, one possibility is to increase the
memory that the java environment will use (the -Xm switch). I have set
it to -Xmx512m. The transformation then succeeds. So whats the problem?

Well, I am not very happy with the possibilty that the XML data file
contains say 2 "rows". What then? Increase the memory limit again?

I would like a more robust solution. Has anyone splitted a table? Or is it
better to try some inline formatting or even white-space handling, possibly
using some printf extention from PerlScript.

I have created a test XSL and a perl script that creates the XML input. To
create the input, invoke table.pl 2 (or some other number of
iterations). You might has to change the first line of table.pl
#!/usr/local/bin/perl
to something else if your Perl is installed somewhere else.

Thanks in advance.

Anders Malmborg
(See attached file: table.pl)(See attached file: table.xsl)

table.pl
Description: Binary data


table.xsl
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems visualing tables

2004-05-25 Thread J.Pietschmann
Juan Manuel Bellina wrote:
/***
[WARNING] table-layout=auto is not supported,  using
fixed!
[WARNING] current implementation of tables requires a
table-column for each column,  indicating column-width
Read the warning carefully. FOP 0.20.5 requires you to
supply definitions for all table rows:
 
   
   ...
I put a little peace of code,  as you ask.
/***

I can't tell from you code snippet, but you should check this
FAQ too:
 http://xml.apache.org/fop/faq.html#table-missing
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problems visualing tables

2004-05-25 Thread Clay Leeds
It looks like you're missing fo:table-column and, perhaps 
fo:table-body. There's a FAQ about this:

http://xml.apache.org/fop/faq.html#table-missing
Make certain you've added fo:table-column. There's another FAQ 
immediately preceding the table-missing issue which has a complete 
example of a table:

http://xml.apache.org/fop/faq.html#keep-with
Good luck!
Web Maestro Clay
On May 25, 2004, at 1:24 PM, Juan Manuel Bellina wrote:
Andres:
   First of all,  thanks for your sooner response.
Let me tell that I found this mesage in the console
when i executed the redering.
/***
[WARNING] table-layout=auto is not supported,  using
fixed!
[WARNING] current implementation of tables requires a
table-column for each column,  indicating column-width
***/
What do you think the problem is?
I put a little peace of code,  as you ask.
/***


TITLE COL 1



TITLE COL 2



TITLE COL 3



/
--- "Andreas L. Delmelle" <[EMAIL PROTECTED]>
wrote:
-Original Message-
From: Juan Manuel Bellina
[mailto:[EMAIL PROTECTED]
Sent: dinsdag 25 mei 2004 21:41
I am using FOP 0.20.5 to make a report to a PDF
file.
I make a table with some data but when I open the
pdf
file generated,  the table are not showed.
Any ideas?
Could mean a number of things, so, not immediately,
no...
Is it possible to send us a stripped-down version of
the source FO
demonstrating the problem?
Greetz,
Andreas

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



__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
-
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]


RE: Problems visualing tables

2004-05-25 Thread Juan Manuel Bellina
Andres:
   First of all,  thanks for your sooner response.
Let me tell that I found this mesage in the console
when i executed the redering.
/***
[WARNING] table-layout=auto is not supported,  using
fixed!
[WARNING] current implementation of tables requires a
table-column for each column,  indicating column-width
***/

What do you think the problem is?
I put a little peace of code,  as you ask.

/***


TITLE COL 1



TITLE COL 2



TITLE COL 3



/

--- "Andreas L. Delmelle" <[EMAIL PROTECTED]>
wrote:
> > -Original Message-
> > From: Juan Manuel Bellina
> [mailto:[EMAIL PROTECTED]
> > Sent: dinsdag 25 mei 2004 21:41
> >
> > I am using FOP 0.20.5 to make a report to a PDF
> file.
> > I make a table with some data but when I open the
> pdf
> > file generated,  the table are not showed.
> > Any ideas?
> 
> Could mean a number of things, so, not immediately,
> no...
> Is it possible to send us a stripped-down version of
> the source FO
> demonstrating the problem?
> 
> 
> Greetz,
> 
> Andreas
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 





__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



RE: Problems visualing tables

2004-05-25 Thread Andreas L. Delmelle
> -Original Message-
> From: Juan Manuel Bellina [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 25 mei 2004 21:41
>
> I am using FOP 0.20.5 to make a report to a PDF file.
> I make a table with some data but when I open the pdf
> file generated,  the table are not showed.
> Any ideas?

Could mean a number of things, so, not immediately, no...
Is it possible to send us a stripped-down version of the source FO
demonstrating the problem?


Greetz,

Andreas


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



Problems visualing tables

2004-05-25 Thread Juan Manuel Bellina
I am using FOP 0.20.5 to make a report to a PDF file.
I make a table with some data but when I open the pdf
file generated,  the table are not showed.
Any ideas?
Anybody had the some problem?




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Re: tables question

2004-03-15 Thread Benjohn P. Villedo
hi all,

Good Day!!!

thanks for giving me that bright idea i was able to achieve what i 
wanted... hmm... i shouldn't have looked at at block-container in the 
first place it made me all the more confused hehehe :-) here is what 
i did though

using the existing xsl-fo "table" tag i omitted the  of the table 
cell in the xml file thus giving me this 








 
 
 







then inserted this table inside each column






test







which now looked like this








 






test row 1


test row 2


test row 3







 






test 2






 






test 3













this one worked :-) thanks once more for the patience in teaching 
me this technique... all the best!!!

pal,
benjohn



On 15 Mar 2004 at 4:04, J.Pietschmann wrote:

> Benjohn P. Villedo wrote:
> > i came across this property tag 
> >  
> > and tried to implement it however the tables still don't get 
> > horizontally aligned with each other
> 
> Absolut positioning isn't implemented for tables.
> Use another blind table and put your for tables in it.
> 
> 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]



Re: tables question

2004-03-15 Thread J.Pietschmann
Benjohn P. Villedo wrote:
i came across this property tag 
 
and tried to implement it however the tables still don't get 
horizontally aligned with each other
Absolut positioning isn't implemented for tables.
Use another blind table and put your for tables in it.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tables question

2004-03-15 Thread Benjohn P. Villedo
hi there all,

Good Day!!!

i came across this property tag 
 
and tried to implement it however the tables still don't get 
horizontally aligned with each other

on the .xsl file
~~

  

  



  

  



  

  

~~


now on the .xml file






test 










test 2 










test 3






however, instead the output becomes horizontally aligned, they turn 
out to become still vertically aligned... hmm i thought i had the 
solution already... hope to hear again from you all thanks... all the 
best!!!

pal,
benjohn

On 13 Mar 2004 at 15:06, Andreas L. Delmelle wrote:

> > -Original Message-
> > From: Benjohn P. Villedo [mailto:[EMAIL PROTECTED]
> > >
> > > i was wondering if anyone could teach me the easiest way to
> > output 3 to 4 tables that are
> > > horizontally aligned with each other... hmm am so lost in this
> > XSL-FO thingy though i am able to
> > > print tables but they are in vertical alignment if possible
> > it would be like
> > >
> > > __ __ __ __
> > > |table 1| |table 2| |table 3| |table 4|
> > >
> 
> Hi,
> 
> Can you create a phantom table for this with 4 columns? Each of the columns
> contains one of the above specified tables...
> 
> 
> Hope this helps!
> 
> Cheers,
> 
> Andreas
> 
> 
> -
> 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]



RE: tables question

2004-03-13 Thread Andreas L. Delmelle
> -Original Message-
> From: Benjohn P. Villedo [mailto:[EMAIL PROTECTED]
> >
> > i was wondering if anyone could teach me the easiest way to
> output 3 to 4 tables that are
> > horizontally aligned with each other... hmm am so lost in this
> XSL-FO thingy though i am able to
> > print tables but they are in vertical alignment if possible
> it would be like
> >
> > __ __ __ __
> > |table 1| |table 2| |table 3| |table 4|
> >

Hi,

Can you create a phantom table for this with 4 columns? Each of the columns
contains one of the above specified tables...


Hope this helps!

Cheers,

Andreas


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



Re: tables question

2004-03-13 Thread Benjohn P. Villedo
i forgot to mention the process of conversion its

XML -> XSL <-> FOP -> PDF

thanks in advance...

- same

> hi all,
> 
> Good Day!!!
> 
> i was wondering if anyone could teach me the easiest way to output 3 to 4 
> tables that are 
> horizontally aligned with each other... hmm am so lost in this XSL-FO thingy 
> though i am able to 
> print tables but they are in vertical alignment if possible it would be 
> like
> 
> __ __ __ __
> |table 1| |table 2| |table 3| |table 4|
> 
> appreciate any help out there... all the best!!!
> 
> pal,
> benjohn




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



tables question

2004-03-13 Thread Benjohn P. Villedo

hi all,


Good Day!!!


i was wondering if anyone could teach 
me the easiest way to output 
3 to 4 tables that are horizontally aligned with each other... hmm am 
so lost in this XSL-FO thingy though i am able to print tables but 
they are in vertical alignment if possible it would be like


__  __ __  __
|table 1| |table 2| |table 
3| |table 4|


appreciate any help out  there... 
all the best!!!


pal,
benjohn



RE: tables that end page

2003-11-09 Thread Andreas L. Delmelle
> -Original Message-
> From: Valeiko, Michael [mailto:[EMAIL PROTECTED]
>
> I am running into a problem when I have a table that ends a page. An extra
line is printed on a
> second page.  I've test awt and pdf, and it only happens with awt.  I am
using java 1.4.1_02-b06
> and fop 0.20.4.  It does not appear to be the same problem discussed in
Sept. but has the same
> symptoms.

Since this has not been answered after 4 days... Have you tried this with
the latest fop version (0.20.5)? Besides this, the output of the AWTRenderer
normally doesn't exactly resemble the PDF output, since these renderers use
a different font base - this might well be the source of the stated problem,
and I think there's no workaround for the moment.


Greetz,

Andreas


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



tables that end page

2003-11-06 Thread Valeiko, Michael



Hi,
 
I am running into a 
problem when I have a table that ends a page. An extra line is printed on a 
second page.  I've test awt and pdf, and it only happens with awt.  I 
am using java 1.4.1_02-b06 and fop 0.20.4.  It does not appear to be the 
same problem discussed in Sept. but has the same symptoms.
 
Thanks
-Mike


test1.fo
Description: test1.fo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: tables in fo:static-content

2003-10-31 Thread Mike Trotman
I have just tested a table inside a table header cell on a table that 
overflows pages in FOP.0.20.5 - and it works fine.
(Haven't got time to try your XSL - but save the FO output and either 
check or post that (as long as it's small enough))

(My usual guess when nothing appears for tables is that I have forgotten 
to enclose table-cell contents with an fo:block)

Daniel Easton wrote:
So confirmation that 2 independent developers have tables in headers and
footers that appear on multiple pages (although no confirmation as to
whether they format using FOP).  I've tried adding a table to the header
with hard-coded content and it does not appear (suggesting its not a problem
with the dynamically generated header table just a problem with the table
itself).
So I'm thinking there's a problem with my page sequencing definitions or a
problem with FOP or a problem with header/footer margins ???
If anyone can see anything obviously wrong with my XSL it would be much
appreciated - already spent over a day trying to debug this thing.
Many Thanks in advance
Daniel Easton
- Original Message - 
From: "Frank Daly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 31, 2003 2:07 PM
Subject: RE: tables in fo:static-content

 

I have a table in a header so it's not the first cause.
Frank
-Original Message-
From: Daniel Easton [mailto:[EMAIL PROTECTED]
Sent: 31 October 2003 10:14
To: [EMAIL PROTECTED]
Subject: fo:tables in fo:static-content
Dear all,
Not sure if this is the correct list to write to (if it is incorrect
please
accept my apologies) but am having some difficulty with an XSL FO
document.
Briefly my current development set up involves formatting my initial
data
into my own ML and then transforming into the fo namespace so I can
transform to a pdf using FOP.  My problem specifically is that I am
generating header and footer content (in the static-content tags) from
the
intermediary ML which is only showing on the first page and not on any
subsequent pages.  The intermediary ML uses a table (based closely on
the
html table syntax) to layout the header and footer (for convenience) and
the
XSL file converts the header and footer tables into fo:tables in the
xsl-region-before and xsl-region-after.  Unfortunately these tables only
show on the first page and not on any of the others :-(
I have narrowed this problem down to 2 possible causes:
1) fo:static-content is not able to handle fo:tables in the header and
footer (this could be a FOP problem?)
2) I am not correctly defining the page sequence and page templates
correctly (I think I have fixed this)
Attached is the input xml (called mrml) and the xslfo stylesheet to
convert
to valid fo.
Many thanks for any help in advance,
Cheers
Daniel
PS If you have received this mail already, many apologies (some
confusion
over which is the correct list)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---Legal
Disclaimer---
The above electronic mail transmission is confidential and intended only
for the person to whom it is addressed. Its contents may be protected by
legal and/or professional privilege. Should it be received by you in
error please contact the sender at the above quoted email address. Any
unauthorised form of reproduction of this message is strictly
prohibited. The Institute does not guarantee the security of any
information electronically transmitted and is not liable if the
information contained in this communication is not a proper and complete
record of the message as transmitted by the sender nor for any delay in
its receipt.


---Legal
   

Disclaimer---
 

The above electronic mail transmission is confidential and intended only
   

for the person to whom it is addressed. Its contents may be protected by
legal and/or professional privilege. Should it be received by you in error
please contact the sender at the above quoted email address. Any
unauthorised form of reproduction of this message is strictly prohibited.
The Institute does not guarantee the security of any information
electronically transmitted and is not liable if the information contained in
this communication is not a proper and complete record of the message as
transmitted by the sender nor for any delay in its receipt.
 

--
   

--
 

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

   


-
To unsubscribe, e-mail: [EMAIL PROTECTE

Re: tables in fo:static-content

2003-10-31 Thread Daniel Easton
So confirmation that 2 independent developers have tables in headers and
footers that appear on multiple pages (although no confirmation as to
whether they format using FOP).  I've tried adding a table to the header
with hard-coded content and it does not appear (suggesting its not a problem
with the dynamically generated header table just a problem with the table
itself).

So I'm thinking there's a problem with my page sequencing definitions or a
problem with FOP or a problem with header/footer margins ???

If anyone can see anything obviously wrong with my XSL it would be much
appreciated - already spent over a day trying to debug this thing.

Many Thanks in advance

Daniel Easton

- Original Message - 
From: "Frank Daly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 31, 2003 2:07 PM
Subject: RE: tables in fo:static-content


> I have a table in a header so it's not the first cause.
>
> Frank
>
> -Original Message-
> From: Daniel Easton [mailto:[EMAIL PROTECTED]
> Sent: 31 October 2003 10:14
> To: [EMAIL PROTECTED]
> Subject: fo:tables in fo:static-content
>
> Dear all,
>
> Not sure if this is the correct list to write to (if it is incorrect
> please
> accept my apologies) but am having some difficulty with an XSL FO
> document.
>
> Briefly my current development set up involves formatting my initial
> data
> into my own ML and then transforming into the fo namespace so I can
> transform to a pdf using FOP.  My problem specifically is that I am
> generating header and footer content (in the static-content tags) from
> the
> intermediary ML which is only showing on the first page and not on any
> subsequent pages.  The intermediary ML uses a table (based closely on
> the
> html table syntax) to layout the header and footer (for convenience) and
> the
> XSL file converts the header and footer tables into fo:tables in the
> xsl-region-before and xsl-region-after.  Unfortunately these tables only
> show on the first page and not on any of the others :-(
>
> I have narrowed this problem down to 2 possible causes:
> 1) fo:static-content is not able to handle fo:tables in the header and
> footer (this could be a FOP problem?)
> 2) I am not correctly defining the page sequence and page templates
> correctly (I think I have fixed this)
>
> Attached is the input xml (called mrml) and the xslfo stylesheet to
> convert
> to valid fo.
>
> Many thanks for any help in advance,
>
> Cheers
>
> Daniel
>
> PS If you have received this mail already, many apologies (some
> confusion
> over which is the correct list)
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---Legal
> Disclaimer---
>
> The above electronic mail transmission is confidential and intended only
> for the person to whom it is addressed. Its contents may be protected by
> legal and/or professional privilege. Should it be received by you in
> error please contact the sender at the above quoted email address. Any
> unauthorised form of reproduction of this message is strictly
> prohibited. The Institute does not guarantee the security of any
> information electronically transmitted and is not liable if the
> information contained in this communication is not a proper and complete
> record of the message as transmitted by the sender nor for any delay in
> its receipt.
>
> 
> 
>
>
> ---Legal
Disclaimer---
>
> The above electronic mail transmission is confidential and intended only
for the person to whom it is addressed. Its contents may be protected by
legal and/or professional privilege. Should it be received by you in error
please contact the sender at the above quoted email address. Any
unauthorised form of reproduction of this message is strictly prohibited.
The Institute does not guarantee the security of any information
electronically transmitted and is not liable if the information contained in
this communication is not a proper and complete record of the message as
transmitted by the sender nor for any delay in its receipt.
>
> --
--
>
>
> -
> 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]



RE: tables in fo:static-content

2003-10-31 Thread Frank Daly
I have a table in a header so it's not the first cause.

Frank

-Original Message-
From: Daniel Easton [mailto:[EMAIL PROTECTED] 
Sent: 31 October 2003 10:14
To: [EMAIL PROTECTED]
Subject: fo:tables in fo:static-content

Dear all,

Not sure if this is the correct list to write to (if it is incorrect
please
accept my apologies) but am having some difficulty with an XSL FO
document.

Briefly my current development set up involves formatting my initial
data
into my own ML and then transforming into the fo namespace so I can
transform to a pdf using FOP.  My problem specifically is that I am
generating header and footer content (in the static-content tags) from
the
intermediary ML which is only showing on the first page and not on any
subsequent pages.  The intermediary ML uses a table (based closely on
the
html table syntax) to layout the header and footer (for convenience) and
the
XSL file converts the header and footer tables into fo:tables in the
xsl-region-before and xsl-region-after.  Unfortunately these tables only
show on the first page and not on any of the others :-(

I have narrowed this problem down to 2 possible causes:
1) fo:static-content is not able to handle fo:tables in the header and
footer (this could be a FOP problem?)
2) I am not correctly defining the page sequence and page templates
correctly (I think I have fixed this)

Attached is the input xml (called mrml) and the xslfo stylesheet to
convert
to valid fo.

Many thanks for any help in advance,

Cheers

Daniel

PS If you have received this mail already, many apologies (some
confusion
over which is the correct list)


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


---Legal
Disclaimer---

The above electronic mail transmission is confidential and intended only
for the person to whom it is addressed. Its contents may be protected by
legal and/or professional privilege. Should it be received by you in
error please contact the sender at the above quoted email address. Any
unauthorised form of reproduction of this message is strictly
prohibited. The Institute does not guarantee the security of any
information electronically transmitted and is not liable if the
information contained in this communication is not a proper and complete
record of the message as transmitted by the sender nor for any delay in
its receipt.





---Legal  Disclaimer---

The above electronic mail transmission is confidential and intended only for 
the person to whom it is addressed. Its contents may be protected by legal 
and/or professional privilege. Should it be received by you in error please 
contact the sender at the above quoted email address. Any unauthorised form of 
reproduction of this message is strictly prohibited. The Institute does not 
guarantee the security of any information electronically transmitted and is not 
liable if the information contained in this communication is not a proper and 
complete record of the message as transmitted by the sender nor for any delay 
in its receipt.




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



RE: tables in fo:static-content

2003-10-31 Thread Kielen, Agnes
Hi,
About having tables in the footer. I have that in several documents without any 
problem. I've never tried tables in the header.

Cheers,
Agnes

-Original Message-
From: Daniel Easton [mailto:[EMAIL PROTECTED]
Sent: vrijdag 31 oktober 2003 11:14
To: [EMAIL PROTECTED]
Subject: fo:tables in fo:static-content


Dear all,

Not sure if this is the correct list to write to (if it is incorrect please
accept my apologies) but am having some difficulty with an XSL FO document.

Briefly my current development set up involves formatting my initial data
into my own ML and then transforming into the fo namespace so I can
transform to a pdf using FOP.  My problem specifically is that I am
generating header and footer content (in the static-content tags) from the
intermediary ML which is only showing on the first page and not on any
subsequent pages.  The intermediary ML uses a table (based closely on the
html table syntax) to layout the header and footer (for convenience) and the
XSL file converts the header and footer tables into fo:tables in the
xsl-region-before and xsl-region-after.  Unfortunately these tables only
show on the first page and not on any of the others :-(

I have narrowed this problem down to 2 possible causes:
1) fo:static-content is not able to handle fo:tables in the header and
footer (this could be a FOP problem?)
2) I am not correctly defining the page sequence and page templates
correctly (I think I have fixed this)

Attached is the input xml (called mrml) and the xslfo stylesheet to convert
to valid fo.

Many thanks for any help in advance,

Cheers

Daniel

PS If you have received this mail already, many apologies (some confusion
over which is the correct list)


-
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]



Re: Indenting of tables

2003-10-21 Thread J.Pietschmann
Chris Bowditch wrote:
The only way to shift the whole table in FOP is to nest your table 
inside a blind table with two columns.
Well, the other way is to add an invisible column to the table itself.
I found one message
http://sources.redhat.com/ml/docbook-apps/2003-q3/msg00070.html
that stated that there might be a bug in fop.
The spec is somewhat fuzzy on this issue, I still have no idea
whether it is really a bug or whether the spec indeed meant tables
can't be indented by setting a  margin.
J.Pietschmann

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


Re: Indenting of tables

2003-10-21 Thread Chris Bowditch
From: Niklas Koponen <[EMAIL PROTECTED]>
Hi!
I'm using fop version 0.20.5.
I'm trying to indent a table. The problem is that the contents of the
table cells are indented but not the borders. Im using the attribute
margin-left. I've tried wrapping the table inside a block and giving the
attribute to the block. I've also tried giving the table the same
attribute. The result is the same. The borders are not intented.
The only way to shift the whole table in FOP is to nest your table inside a 
blind table with two columns. The first column having the width of the 
required indent and the second column being the total width of the inner 
table.

I found one message
http://sources.redhat.com/ml/docbook-apps/2003-q3/msg00070.html
that stated that there might be a bug in fop.
This behaviour is a limitation in the current version of FOP
Chris
_
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Indenting of tables

2003-10-21 Thread Niklas Koponen
Hi!

I'm using fop version 0.20.5.

I'm trying to indent a table. The problem is that the contents of the
table cells are indented but not the borders. Im using the attribute
margin-left. I've tried wrapping the table inside a block and giving the
attribute to the block. I've also tried giving the table the same
attribute. The result is the same. The borders are not intented.

I found one message 

http://sources.redhat.com/ml/docbook-apps/2003-q3/msg00070.html

that stated that there might be a bug in fop.

Does anybody know if this is fixed or is it a bug?

- Niklas
-- 
Niklas Koponen   | Hietapellontie 3 B 7 | [EMAIL PROTECTED]
+358 40 757 1459 | 02400 KIRKKONUMMI| http://www.iki.fi/niklas.koponen


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



Re: extra space at the beginning of tables within table cells

2003-09-29 Thread J.Pietschmann
Gisbert Amm wrote:
I've asked Robert Stayton about this (to change the DocBook XSL
stylesheets), but he replied:
"...FOP
should be ignoring that space above when it is at
the beginning of a table cell..."
FOP is not conformant here, putting space unconditionally
even at the start of a reference area (table cells create
reference areas), which violates the spec. There is no work
around nor an intention to fix this in the near future. I
think there are already multiple entries in Buxzilla for
this and related issues.
What can I do further to get this problem solved?
The style sheets can be hacked to avoid defining spaces
at the beginning of page sequences, table cells and so on,
but they'll get kind of ugly in the process.
J.Pietschmann

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


extra space at the beginning of tables within table cells

2003-09-29 Thread Gisbert Amm
Hi,

I have a table within a table-cell, produced by the DocBook XSL stylesheets:








WebServer Plattform mit spezifischen
Erweiterungsmodulen







When processing this with Fop 0.20.5, there is an extra space (looking like
an empty line) inserted into the table cell in PDF before the beginning of
the text.

I've asked Robert Stayton about this (to change the DocBook XSL
stylesheets), but he replied:

"This problem applies to more than simplelist, it applies
to all block elements inside a table cell.
Almost all block elements output some space above, and FOP
should be ignoring that space above when it is at
the beginning of a table cell.  That is what XEP does.
I think you should file the RFE with FOP."

So here I am. I've already searched the archives and Bugzilla for this
problem, but didn't find anything appropriate (perhaps oversighted
something?).

What can I do further to get this problem solved?

Kind regards,
Gisbert Amm
http://web.de/

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



Re: Creating multiple tables using a single XSL stylesheet?

2003-09-16 Thread Clay Leeds
Kevin K. wrote:
How about this time :-)
Every time you've posted one of these, it puts characters all over the 
window. I use COURIER for my viewing, and it still looked funny. Perhaps 
it would be better to create an HTML version of what you want, and post 
a _link_ to the page. That way, people can see what you want?

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


Re: Creating multiple tables using a single XSL stylesheet?

2003-09-16 Thread Abhijit Junnare
I dont think I am following you and may be other arent
too. 
Sorry about that but just doesnt enter my head :)

--- "Kevin K." <[EMAIL PROTECTED]> wrote:
> How about this time :-)
>  
>
==
> =   
> =   
>   =
> =   
> =   
>   =
> ==  
>=
> =   
> =   
>   =
> =   
> =   
>   = 
>  =  
> 
> =  =
> =   
> =   
>   =
> =   
> =   
>   =
>
==
>  
>  
>  
>
==
> =   
> 
>=
> =   
> 
>=
>
==
> =   = = 
>  =  =   
>=
> =   = = 
>  =  =   
>=
> =   = = 
>  =  =   
>=
> =   = = 
>  =  =   
>=
> =   = = 
>  =  =   
>    =
>
==
> 
>  
>  
>  
> 
> "Kevin K." <[EMAIL PROTECTED]> wrote:
> Opps
>  
> I mean the following tables:
> Thanks,
> Kevin
> 
>
===
> =  ==
> =  ==
> =  ==
> =  ==
> =   
> = 
> =  = =
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
> =  ==
>
===
>  
>
===
> =  =
> =  =
>
===
> =  =   ===
> =   =  =  ==
> =   =  =  ==
> =  =   ===
> =   =  =  =    =
> =   =  =  ==
> =  =   ===
> =   =  =  ==
> =   =  =  ==
> =  =   ===
> =   =  =  ==
> =   =  =  ==
>
===
> 
> Abhijit Junnare <[EMAIL PROTECTED]> wrote:
> What two different tables do you want? You said
> something about both categories. Do you mena to say
> that you want two tables exactly similar to each
> other? Didnt quite understand the problem.
> Thanks,
> abhi
> --- "Kevin K." wrote:
> > Hello,
> > 
> > My knowledge is limited about XML technologies. I
> > am trying creating PDF files from Value
> Objects(VO).
> > I am following the following way:
> > 1. VO -> XML 
> > 2. Create XSL Stylesheet then
> > 3. Use FOP with XML and XSL Stylesheet files to
> > create PDF file.
> > I am having problem with creating XSL Stylesheet.
> I
> > am trying to create it manually. How can I create
> > XSL Stylesheet? Is there any good tutorial about
> it?
> > Now, I want to output two tables. Both catego

Re: Creating multiple tables using a single XSL stylesheet?

2003-09-16 Thread Kevin K.
How about this time :-)
 
====  =
==  =
==  =
=    =  =
==  =   
    =    =  =
=    =  =
=    =  =
==
 
 
 

===    =
=    =
==
=   = =   =  =   =
=   = =   =  =   =
 =   = =   =  =   =
=   = =   =  =   =
=   = =   =  =   =
==
 
 
 
"Kevin K." <[EMAIL PROTECTED]> wrote:

Opps I mean the following tables:
Thanks,
Kevin
  =    ==  =    ==  =    ==  =    ==    = =  =     ==  =    ==  =    ==  =    ==  =   
 ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    
 
  ==  =  =   =    =    ==   =  =  =    ==   =  =  =    ==  =   =    =    ==   =  =  =    ==   =  =  =    ==  =   =    =    == 
  =  =  =    ==   =  =  =    ==  =   =    =    ==   =  =  =    ==   =  =  =    Abhijit Junnare <[EMAIL PROTECTED]> wrote:
What two different tables do you want? You saidsomething about both categories. Do you mena to saythat you want two tables exactly similar to eachother? Didnt quite understand the problem.Thanks,abhi--- "Kevin K." <[EMAIL PROTECTED]>wrote:> Hello,> > My knowledge is limited about XML technologies. I> am trying creating PDF files from Value Objects(VO).> I am following the following way:> 1. VO -> XML > 2. Create XSL Stylesheet then> 3. Use FOP with XML and XSL Stylesheet files to> create PDF file.> I am having problem with creating XSL Stylesheet. I> am trying to create it manually. How can I create> XSL Stylesheet? Is there any good tutorial about it?> Now, I want to output two tables. Both categories> are found within the same XML source but need to
 be> placed in separate tables. Here is my xsl Stylesheet> code:> > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> xmlns:fo="http://www.w3.org/1999/XSL/Format"> exclude-result-prefixes="fo">> > omit-xml-declaration="no" indent="yes"/>> > > > xmlns:fo="http://www.w3.org/1999/XSL/Format">> > > master-name="simpleA4" page-height="29.7cm"> page-width="21cm" margin-top="2cm"> margin-bottom="2cm" margin-left="2cm"> margin-right="2cm">> > > > > > > font-weight="bold" space-after="5mm">Project:> > > > > > column-width=&

Re: Creating multiple tables using a single XSL stylesheet?

2003-09-16 Thread Kevin K.
Opps I mean the following tables:
Thanks,
Kevin
  =    ==  =    ==  =    ==  =    ==    = =  =     ==  =    ==  =    ==  =    ==  =   
 ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    
 
  ==  =  =   =    =    ==   =  =  =    ==   =  =  =    ==  =   =    =    ==   =  =  =    ==   =  =  =    ==  =   =    =    == 
  =  =  =    ==   =  =  =    ==  =   =    =    ==   =  =  =    ==   =  =  =    Abhijit Junnare <[EMAIL PROTECTED]> wrote:
What two different tables do you want? You saidsomething about both categories. Do you mena to saythat you want two tables exactly similar to eachother? Didnt quite understand the problem.Thanks,abhi--- "Kevin K." <[EMAIL PROTECTED]>wrote:> Hello,> > My knowledge is limited about XML technologies. I> am trying creating PDF files from Value Objects(VO).> I am following the following way:> 1. VO -> XML > 2. Create XSL Stylesheet then> 3. Use FOP with XML and XSL Stylesheet files to> create PDF file.> I am having problem with creating XSL Stylesheet. I> am trying to create it manually. How can I create> XSL Stylesheet? Is there any good tutorial about it?> Now, I want to output two tables. Both categories> are found within the same XML source but need to
 be> placed in separate tables. Here is my xsl Stylesheet> code:> > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> xmlns:fo="http://www.w3.org/1999/XSL/Format"> exclude-result-prefixes="fo">> > omit-xml-declaration="no" indent="yes"/>> > > > xmlns:fo="http://www.w3.org/1999/XSL/Format">> > > master-name="simpleA4" page-height="29.7cm"> page-width="21cm" margin-top="2cm"> margin-bottom="2cm" margin-left="2cm"> margin-right="2cm">> > > > > > > font-weight="bold" space-after="5mm">Project:> > > > > > column-width="proportional-column-width(3)"/>> > column-width="proportional-column-width(1)"/>> > column-width="proportional-column-width(3)" />> > > > > padding="1em" border-collapse="collapse">> > font-weight="bold">Column 1> > > > padding="1em" border-collapse="collapse">> >
 font-weight="bold">Column 2> > > > padding="1em" border-collapse="collapse">> > font-weight="bold">Column 3> > > > > > > > > > > > > > > > > > > padding="1em" border-collapse="collapse">> > > > > > > padding="1em"
 border-collapse="collapse">> > > > > > > padding="1em" border-collapse="collapse">> > > > > > > > > > Thanks in advance...> > Kevin> > > > -> Do you Yahoo!?> Yahoo! SiteBuilder - Free, easy-to-use web site> design software__Do you Yahoo!?Yahoo! SiteBuilder - Free, easy-to-use web site design softwarehttp://sitebuilder.yahoo.com-To unsubscribe, e-mail:
 [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Creating multiple tables using a single XSL stylesheet?

2003-09-16 Thread Kevin K.
Hi Abhijit,
 
I would like to output the following tables.
 
Thanks,
 
Kevin
 
  =    ==  =    ==  =    ==  =    ==    = =  =     ==  =    ==  =    ==  =    ==  =   
 ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    ==  =    
 
  ==  =  =   =    =    ==   =  =  =    ==   =  =  =    ==  =   =    =    ==   =  =  =    ==   =  =  =    ==  =   =    =    == 
  =  =  =    ==   =  =  =    ==  =   =    =    ==   =  =  =    ==   =  =  =    
 
Abhijit Junnare <[EMAIL PROTECTED]> wrote:
What two different tables do you want? You saidsomething about both categories. Do you mena to saythat you want two tables exactly similar to eachother? Didnt quite understand the problem.Thanks,abhi--- "Kevin K." <[EMAIL PROTECTED]>wrote:> Hello,> > My knowledge is limited about XML technologies. I> am trying creating PDF files from Value Objects(VO).> I am following the following way:> 1. VO -> XML > 2. Create XSL Stylesheet then> 3. Use FOP with XML and XSL Stylesheet files to> create PDF file.> I am having problem with creating XSL Stylesheet. I> am trying to create it manually. How can I create> XSL Stylesheet? Is there any good tutorial about it?> Now, I want to output two tables. Both categories> are found within the same XML source but need to
 be> placed in separate tables. Here is my xsl Stylesheet> code:> > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> xmlns:fo="http://www.w3.org/1999/XSL/Format"> exclude-result-prefixes="fo">> > omit-xml-declaration="no" indent="yes"/>> > > > xmlns:fo="http://www.w3.org/1999/XSL/Format">> > > master-name="simpleA4" page-height="29.7cm"> page-width="21cm" margin-top="2cm"> margin-bottom="2cm" margin-left="2cm"> margin-right="2cm">> > > > > > > font-weight="bold" space-after="5mm">Project:> > > > > > column-width="proportional-column-width(3)"/>> > column-width="proportional-column-width(1)"/>> > column-width="proportional-column-width(3)" />> > > > > padding="1em" border-collapse="collapse">> > font-weight="bold">Column 1> > > > padding="1em" border-collapse="collapse">> >
 font-weight="bold">Column 2> > > > padding="1em" border-collapse="collapse">> > font-weight="bold">Column 3> > > > > > > > > > > > > > > > > > > padding="1em" border-collapse="collapse">> > > > > > > padding="1em"
 border-collapse="collapse">> > > > > > > padding="1em" border-collapse="collapse">> > > > > > > > > > Thanks in advance...> > Kevin> > > > -> Do you Yahoo!?> Yahoo! SiteBuilder - Free, easy-to-use web site> design software__Do you Yahoo!?Yahoo! SiteBuilder - Free, easy-to-use web site design softwarehttp://sitebuilder.yahoo.com-To unsubscribe, e-mail:
 [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Creating multiple tables using a single XSL stylesheet?

2003-09-16 Thread Abhijit Junnare
What two different tables do you want? You said
something about both categories. Do you mena to say
that you want two tables exactly similar to each
other? Didnt quite understand the problem.
Thanks,
abhi
--- "Kevin K." <[EMAIL PROTECTED]> wrote:
> Hello,
>  
> My knowledge is limited about XML technologies.  I
> am trying creating PDF files from Value Objects(VO).
> I am following the following way:
> 1. VO -> XML 
> 2. Create XSL Stylesheet then
> 3.  Use FOP with XML and XSL Stylesheet files to
> create PDF file.
> I am having problem with creating XSL Stylesheet. I
> am trying to create it manually. How can I create
> XSL Stylesheet? Is there any good tutorial about it?
> Now, I want to output two tables. Both categories
> are found within the same XML source but need to be
> placed in separate tables. Here is my xsl Stylesheet
> code:
>  
>  
> 
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> xmlns:fo="http://www.w3.org/1999/XSL/Format";
> exclude-result-prefixes="fo">
>omit-xml-declaration="no" indent="yes"/>
>   
>   
>  xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>   
>  master-name="simpleA4" page-height="29.7cm"
> page-width="21cm" margin-top="2cm"
> margin-bottom="2cm" margin-left="2cm"
> margin-right="2cm">
>   
> 
>   
>   
> 
>font-weight="bold" space-after="5mm">Project:
> 
>   
>   
> 
>   column-width="proportional-column-width(3)"/>
>column-width="proportional-column-width(1)"/>
>  column-width="proportional-column-width(3)" />
>   
>   
>  
>  padding="1em" border-collapse="collapse">
> font-weight="bold">Column 1
> 
>   
>  padding="1em" border-collapse="collapse">
>  font-weight="bold">Column 2
> 
>   
>  padding="1em" border-collapse="collapse">
>  font-weight="bold">Column 3
> 
>  
>   
>   
>   
> 
>   
> 
>   
> 
>   
> 
>   
>   
>   
> 
>   
>padding="1em" border-collapse="collapse">
>
>
> 
>   
>   
>padding="1em" border-collapse="collapse">
>  
>  
>   
>   
>   
>padding="1em" border-collapse="collapse">
>  
>  
>   
>   
>   
> 
>   
> 
>  
> Thanks in advance...
>  
> Kevin
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Creating multiple tables using a single XSL stylesheet?

2003-09-16 Thread Kevin K.

Hello,
 
My knowledge is limited about XML technologies.  I am trying creating PDF files from Value Objects(VO). I am following the following way:
1. VO -> XML 2. Create XSL Stylesheet then3.  Use FOP with XML and XSL Stylesheet files to create PDF file.
I am having problem with creating XSL Stylesheet. I am trying to create it manually. How can I create XSL Stylesheet? Is there any good tutorial about it?
Now, I want to output two tables. Both categories are found within the same XML source but need to be placed in separate tables. Here is my xsl Stylesheet code:
 
 
http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="fo">          http://www.w3.org/1999/XSL/Format">       
               Project:                        Column 1          Column 2          Column 3                            
                                                                           
 
Thanks in advance...
 
Kevin
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Different VM causes different printing of Blanks in tables

2003-09-12 Thread Clay Leeds
Matthias Schäfer wrote:
Clay Leeds wrote:
J.Pietschmann wrote:
I never used any IBM JVM with AWT stuff, others reported this
last year, look into the mailing list archives. The solutions
were "upgrade" or "switch to Sun JVM" (unless on AIX, where
the IBM JVM is the only viable choice).
Upgrade to ??? Is there a IBM-JVM other than 1.3.0 or 1.3.1 without that 
problems ?
I don't know which version of AIX you're using, but IBM apparently now 
offers a Java 1.4 for AIX 5.1 & 5.2. More info can be found here:

http://www-106.ibm.com/developerworks/java/jdk/aix/index.html
NOTE: I haven't used this release (I'll be looking into whether or not 
this may be useful to us and/or our clients)

If you switch to Sun's JVM: some 1.3.0 releases and basically
all 1.4.0 beta releases are said to have a variety of problems
with AWT text rendering, the latter most notable with
character width calculations. Use 1.3.1 or 1.4.1/1.4.2.
For details, consult Sun's BugParade.
In my experience, Sun JVM 1.4.0_06 and later correctly output 
font-kerning using -awt (and -print, since it uses AWT). On the "IBM" 
side, IBM JVM 1.3.x worked OK on AIX. In fact, we've been telling our 
clients to use Sun Java 1.4.0_06+, or IBM Java 1.3+.

However, since you're having problems, with IBM Java 1.3.x, I may have 
to revisit that advice. Out of curiosity, are all fonts affected or is 
it just one or two, and if so, which font(s) have you tested?
The problems occur, when I choose no font (wich seems to be Helvetica) 
and with Helvetica. Using Courier or Times in the table-rows is ok, but 
produces problems on my table-header. So I tested to use Helvetica on 
table-header and Times on the rows. In this combination I see no 
problems. Of course it is not ideal to mix fonts. Is there any other 
font shipped with fop I can use, or is "importing" a font a solution ?
FOP's Fonts page contains much of the information I think you're looking 
for:
http://xml.apache.org/fop/fonts.html

Of particular note, is the point, that (I believe) FOP is shipped with 
no fonts. Instead, it relies on the system/renderer combination. As for 
AWT/Print, according to the chart:


Base-14 Fonts
The Adobe PDF Specification specifies a set of 14 fonts that must be 
available to every PDF reader: Helvetica (normal, bold, italic, bold 
italic), Times (normal, bold, italic, bold italic), Courier (normal, 
bold, italic, bold italic), Symbol and ZapfDingbats.

AWT/Operating System Fonts
The AWT family of renderers (AWT, Print, SVG), use the Java AWT 
libraries for font metric information. Through operating system 
registration, the AWT libraries know what fonts are available on the 
system, and the font metrics for each one.


FWIW, I've used Sun 1.4.1_01-b01 successfully on Win32, and as 
mentioned java130 on AIX. Our Linux box is using 1.4.0_02. All of 
these installations output "Courier" and "Times" acceptably.

I have yet to run any tests with Sun 1.4.2...
Hope someone finds at least a portion of this informative...
BTW, in your original msg you mentioned using fop-0.20.5rc2... Have you 
tried using the release version: fop-0.20.5 (fop-0.20.5rc2 is a few 
months old...):

http://xml.apache.org/fop/download.html
HTH!
Web Maestro Clay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Different VM causes different printing of Blanks in tables

2003-09-12 Thread Matthias Schäfer
Clay Leeds wrote:
J.Pietschmann wrote:
Matthias Schäfer wrote:
I guess you had problems with this in the past.

I never used any IBM JVM with AWT stuff, others reported this
last year, look into the mailing list archives. The solutions
were "upgrade" or "switch to Sun JVM" (unless on AIX, where
the IBM JVM is the only viable choice).
Upgrade to ??? Is there a IBM-JVM other than 1.3.0 or 1.3.1 without that 
problems ?
If you switch to Sun's JVM: some 1.3.0 releases and basically
all 1.4.0 beta releases are said to have a variety of problems
with AWT text rendering, the latter most notable with
character width calculations. Use 1.3.1 or 1.4.1/1.4.2.
For details, consult Sun's BugParade.

In my experience, Sun JVM 1.4.0_06 and later correctly output 
font-kerning using -awt (and -print, since it uses AWT). On the "IBM" 
side, IBM JVM 1.3.x worked OK on AIX. In fact, we've been telling our 
clients to use Sun Java 1.4.0_06+, or IBM Java 1.3+.

However, since you're having problems, with IBM Java 1.3.x, I may have 
to revisit that advice. Out of curiosity, are all fonts affected or is 
it just one or two, and if so, which font(s) have you tested?
The problems occur, when I choose no font (wich seems to be Helvetica) 
and with Helvetica. Using Courier or Times in the table-rows is ok, but 
produces problems on my table-header. So I tested to use Helvetica on 
table-header and Times on the rows. In this combination I see no 
problems. Of course it is not ideal to mix fonts. Is there any other 
font shipped with fop I can use, or is "importing" a font a solution ?
FWIW, I've used Sun 1.4.1_01-b01 successfully on Win32, and as mentioned 
java130 on AIX. Our Linux box is using 1.4.0_02. All of these 
installations output "Courier" and "Times" acceptably.

I have yet to run any tests with Sun 1.4.2...
Hope someone finds at least a portion of this informative...
Web Maestro Clay
-
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]


Re: Different VM causes different printing of Blanks in tables

2003-09-11 Thread Clay Leeds
J.Pietschmann wrote:
Matthias Schäfer wrote:
I guess you had problems with this in the past.
I never used any IBM JVM with AWT stuff, others reported this
last year, look into the mailing list archives. The solutions
were "upgrade" or "switch to Sun JVM" (unless on AIX, where
the IBM JVM is the only viable choice).
If you switch to Sun's JVM: some 1.3.0 releases and basically
all 1.4.0 beta releases are said to have a variety of problems
with AWT text rendering, the latter most notable with
character width calculations. Use 1.3.1 or 1.4.1/1.4.2.
For details, consult Sun's BugParade.
In my experience, Sun JVM 1.4.0_06 and later correctly output 
font-kerning using -awt (and -print, since it uses AWT). On the "IBM" 
side, IBM JVM 1.3.x worked OK on AIX. In fact, we've been telling our 
clients to use Sun Java 1.4.0_06+, or IBM Java 1.3+.

However, since you're having problems, with IBM Java 1.3.x, I may have 
to revisit that advice. Out of curiosity, are all fonts affected or is 
it just one or two, and if so, which font(s) have you tested?

FWIW, I've used Sun 1.4.1_01-b01 successfully on Win32, and as mentioned 
java130 on AIX. Our Linux box is using 1.4.0_02. All of these 
installations output "Courier" and "Times" acceptably.

I have yet to run any tests with Sun 1.4.2...
Hope someone finds at least a portion of this informative...
Web Maestro Clay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Different VM causes different printing of Blanks in tables

2003-09-11 Thread J.Pietschmann
Matthias Schäfer wrote:
I guess you had problems with this in the past.
I never used any IBM JVM with AWT stuff, others reported this
last year, look into the mailing list archives. The solutions
were "upgrade" or "switch to Sun JVM" (unless on AIX, where
the IBM JVM is the only viable choice).
If you switch to Sun's JVM: some 1.3.0 releases and basically
all 1.4.0 beta releases are said to have a variety of problems
with AWT text rendering, the latter most notable with
character width calculations. Use 1.3.1 or 1.4.1/1.4.2.
For details, consult Sun's BugParade.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


XSL-FO Performance issue - Tables in particular

2003-09-11 Thread Ganesh
Title: Message



 
Dear 
techies,
I am trying to 
generate a Large PDF in a multi-user environment.
 
Details of large 
PDF- [with 31 pages, 11 images (each 2KB size), 20 
tables each with 20 rows with 2 cells, PDF 
Size:140KB ]
 
To generate this PDF 
it takes 16 secs to create this PDF with just a single thread. This number 
increase as more no. of concurrent threads come into play.

 
I guess I read 
it in this group that fo table is a performance deterrent? If so is there any 
alternative for it?
In general is there 
is any benchmark / guidelines for writing the best XSL-FO 
possible?
 
Thanks,
Ganesh
 


Re: Different VM causes different printing of Blanks in tables

2003-09-11 Thread Matthias Schäfer
J.Pietschmann wrote:
Matthias Schäfer wrote:
I use fop 0.20.5RC2 on a german W2K from a java-application. Printing 
text inside and outside a table shows differences on blanks. Inside 
the table the words have different distances (from normal to 
overlapping last and first letter) when running with

What's your output? I guess AWT?
java version "1.3.0"

That's *old* and has a huge number of known bugs, in particular
the IBM version is known to mangle AWT text rendering. 
I guess you had problems with this in the past. How did you solve them ? 
I tried also "Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build 
cn131-20021107 (JIT enabled: jitc))" which is Part of "IBM WebSphere SDK 
for Web Services", but it shows the same effect. Is there a Patch or a 
newer Version (this is from 7.11.2002) available for the IBM-VM ?
Is there any Solution with a IBM-VM ? Can I use a Workaround ?
The Sun
VM has its own number of problems.
If you are tied to JDK 1.3, you should upgrade to the last patch
level of a 1.3.1 VM.
So I experimented with addional "de.hyp" and "de_DR.hyp" build from 
"de.xml" and "de_DR.xml" of fop 0.20.3 and a setting of 
"hyphenation-dir" in "userconfig.xml" without success.

Nice try, but what kind of success did you expect? Hyphenation
is, well, for hyphenation only, not for character placement
calculation.
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]


Re: Different VM causes different printing of Blanks in tables

2003-09-10 Thread Matthias Schäfer
Thanks for your reply...
J.Pietschmann wrote:
Matthias Schäfer wrote:
I use fop 0.20.5RC2 on a german W2K from a java-application. Printing 
text inside and outside a table shows differences on blanks. Inside 
the table the words have different distances (from normal to 
overlapping last and first letter) when running with

What's your output? I guess AWT?
Yes.

java version "1.3.0"

That's *old* and has a huge number of known bugs, in particular
the IBM version is known to mangle AWT text rendering. 
If I know this sooner...
The Sun
VM has its own number of problems.
If you are tied to JDK 1.3, you should upgrade to the last patch
level of a 1.3.1 VM.
I suggest my cosutomer to use a newer VM. If possible the latest 1.4.2.

So I experimented with addional "de.hyp" and "de_DR.hyp" build from 
"de.xml" and "de_DR.xml" of fop 0.20.3 and a setting of 
"hyphenation-dir" in "userconfig.xml" without success.

Nice try, but what kind of success did you expect? Hyphenation
is, well, for hyphenation only, not for character placement
calculation.
Your right, but while I guess it was dependet on the language of the VM 
I try this.
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]


Re: Different VM causes different printing of Blanks in tables

2003-09-08 Thread J.Pietschmann
Matthias Schäfer wrote:
I use fop 0.20.5RC2 on a german W2K from a java-application. Printing 
text inside and outside a table shows differences on blanks. Inside the 
table the words have different distances (from normal to overlapping 
last and first letter) when running with
What's your output? I guess AWT?
java version "1.3.0"
That's *old* and has a huge number of known bugs, in particular
the IBM version is known to mangle AWT text rendering. The Sun
VM has its own number of problems.
If you are tied to JDK 1.3, you should upgrade to the last patch
level of a 1.3.1 VM.
So I experimented with addional "de.hyp" and "de_DR.hyp" build from 
"de.xml" and "de_DR.xml" of fop 0.20.3 and a setting of 
"hyphenation-dir" in "userconfig.xml" without success.
Nice try, but what kind of success did you expect? Hyphenation
is, well, for hyphenation only, not for character placement
calculation.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Different VM causes different printing of Blanks in tables

2003-09-08 Thread Matthias Schäfer
Hello,
I use fop 0.20.5RC2 on a german W2K from a java-application. Printing 
text inside and outside a table shows differences on blanks. Inside the 
table the words have different distances (from normal to overlapping 
last and first letter) when running with
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010925 (JIT 
enabled: jitc))
Running the same with
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
everything is ok.

I found the following difference between the VMs: The IBM-VM bring up 
german Buttons in JOptionPane. The SUN-VM shows english Buttons at this 
point.

So I experimented with addional "de.hyp" and "de_DR.hyp" build from 
"de.xml" and "de_DR.xml" of fop 0.20.3 and a setting of 
"hyphenation-dir" in "userconfig.xml" without success.

The System-Property "user.language" is "de" and 
"System.out.println(Locale.getDefault())" prints "de_DE".

Executing this Snippet show also no change in the described behavior.

Locale.setDefault(Locale.GERMANY);
UIManager.setLookAndFeel(UIManager.getLookAndFeel()); // !!

Is there anybody who can point me towards a solution where I can use the 
IBM-VM ?

Matthias

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


RE: Images at the side of tables

2003-09-02 Thread Morrison, John
Chris Bowditch wrote:
> I recommend creating a parent table with two columns and nesting the
> inner table in the second column.

Thanks, that worked easier than I expected.

J.


==
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF


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



Re: Images at the side of tables

2003-09-02 Thread Chris Bowditch
From: "Morrison, John" <[EMAIL PROTECTED]>

I can't absolutely position the image (as I've done previously)
because I don't know the amount of data in the table.  I could
(possibly?) create a table...
-
|   | A | B | C |
| Image | x | x | x |
|   | x | x | x |
|---| x | x | x |
|   | x | x | x |
|   | x | x | x |
|   | x | x | x |
|   | x | x | x |
-
I recommend creating a parent table with two columns and nesting the inner 
table in the second column.

(assuming that images can be nested inside a table), but the
column-width for the image would be in mm and the other columns
are "proportional-column-width".  I don't know if this is a
problem.
As long as you define the width of both columns in the parent table, and 
specify the width of the second column as the width of the inner table, I 
think it should work.

I was also hoping I wouldn't need to do a rowspan.
I dont think you will need to.

Chris
_
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess

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


Images at the side of tables

2003-09-02 Thread Morrison, John
Hi all,

I need to create a pdf file with an image (chart) at the side
of a table of data...


-   -
|   |   | A | B | C |
| Image |   | x | x | x |
|   |   | x | x | x |
-   | x | x | x |
| x | x | x |
| x | x | x |
| x | x | x |
| x | x | x |
-

I can't absolutely position the image (as I've done previously)
because I don't know the amount of data in the table.  I could
(possibly?) create a table...

-
|   | A | B | C |
| Image | x | x | x |
|   | x | x | x |
|---| x | x | x |
|   | x | x | x |
|   | x | x | x |
|   | x | x | x |
|   | x | x | x |
-

(assuming that images can be nested inside a table), but the
column-width for the image would be in mm and the other columns
are "proportional-column-width".  I don't know if this is a
problem.

I was also hoping I wouldn't need to do a rowspan.

Is there any options I've missed?

Any help is appreciated.

Thanks,

J.


==
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF


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



Re: Question about tables and (colored) borders

2003-07-29 Thread Chris Bowditch

From: "Leonard Wolters" <[EMAIL PROTECTED]>

This produces a table something like:
-
| asdasd|
-
| asdasd
-
As one can see, the lower left column misses the right border, and the
upper
right misses the bottom border. What I want is the following:
-
| asdasd|
-
| asdasd|
-
This may have something to do with border-collapse, i.e. even though borders 
are different coolors, FOP thinks it can merge them together (collapse) IIRC 
border-collapse="collapse" by default, try setting 
border-collapse="separate" on your fo:table element.

Chris
_
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband

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


  1   2   3   >