Fitting large gaphics to page

2007-11-13 Thread Michael Niemann
hello,
I'm using this code to sale large graphis so they will fit to the page:
fo:external-graphic src=[EMAIL PROTECTED] content-width=scale-to-fit 
content- 
 height=100% width=100% scaling=uniform

my poblem with this code is that the attibute width is set to 100% which makes 
small graphics having only whitespace to their right although they're small 
inline graphics.

is there a way to solve this in xsl:fo ?

regards michael

   
-
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.

Re: Column balancing issue

2007-11-13 Thread Jeremias Maerki
It's a known issue [1] that column balancing does not always work as it
should. I'm afraid there's no work-around except for trying to tweak the
FO document somehow.

[1] http://xmlgraphics.apache.org/fop/knownissues.html#Layout+Engine

Jeremias Maerki



On 12.11.2007 23:18:40 Puppala, Kumar (LNG-CON) wrote:
 I am noticing some white space in the last two pages of a PDF document
 that I am trying to render using 0.94. Also, the columns are not
 balanced properly (using dual column layout). The weird thing about this
 test is that the problem disappears once I reduce some text in the .FO
 file. The only suspicious message I see during rendering is as shown
 below:
 
  
 
 Nov 12, 2007 5:05:04 PM org.apache.fop.layoutmgr.PageBreaker
 doPhase3WithColumnBalancing
 
 WARNING: Breaking algorithm produced more columns than are available.
 
  
 
 I tried to cut down the .FO file to recreate the issue but could not do
 so. The file is about 692 Kb and hence I am hesitant to attach it,
 unless needed. Any idea what might be causing this?
 
  
 
 Thanks,
 
 Kumar Puppala
 


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



Re: Fitting large gaphics to page

2007-11-13 Thread Jeremias Maerki
XSL 1.1 offers scale-down-to-fit but that's not implemented in FOP,
yet. Furthermore, inline-progression-dimension.minimum/optimum/maximum
could also help here but that functionality is not available, either.

Patches welcome (scale-down-to-fit should be easy to implement,
min/opt/max is tricky.

Jeremias Maerki



On 13.11.2007 09:23:58 Michael Niemann wrote:
 hello,
 I'm using this code to sale large graphis so they will fit to the page:
 fo:external-graphic src=[EMAIL PROTECTED] content-width=scale-to-fit 
 content- 
  height=100% width=100% scaling=uniform
 
 my poblem with this code is that the attibute width is set to 100%
 which makes small graphics having only whitespace to their right although
 they're small inline graphics.
 
 is there a way to solve this in xsl:fo ?
 
 regards michael


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



Two successive columns in a table -- problem with the page-break

2007-11-13 Thread jorgito

Hi,

I am encountered with the following problem, would be great if anyone has an
idea how to solve it.
The table to be desplayed in my pdf looks like this:

year |   name   || year |   name
===
2007Tom2011 Nick
2008Brenda2012  Carl
2009Andy   2013 Emmi
2010Mitch

and so on. I don't know the length of the table (number of years, there may
be 50 or so)) and I don't know the position on the page where the table
starts because the PDF consists of dynamic content.
If there ist a page-break I would like to have this:

year |   name   || year |   name
===
2007Tom2009 Andy 
2008Brenda2010  Mitch
- page break --
2011Nick   2013  Emmi
2012Carl

But, maybe needless to say, I get this:

year |   name   || year |   name
===
2007Tom2011 Nick
2008Brenda2012  Carl
-page break--
2009Andy  2013  Emmi
2010Mitch

I was searching for getting to know my current position on a page, so that I
can split the table into two. But obviously there is no way for that. Any
other ideas?

jorgito
-- 
View this message in context: 
http://www.nabble.com/Two-successive-columns-in-a-table---%3E-problem-with-the-page-break-tf4797601.html#a13725292
Sent from the FOP - Users mailing list archive at Nabble.com.


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



RE: Two successive columns in a table -- problem with the page-break

2007-11-13 Thread Winterflood, Jonathan

Hi,

Maybe you could use a two-column page, and a table with only two columns.

So you should get:
Year | name : 2010  Mitch 
=== : 2011  Nick 
2007  Tom   : 2012  Carl 
2008  Brenda: 2013  Emmi
2009  Andy  :

You might also want to ask the headers to repeat on a break.

So you should get:
Year | name : Year | name 
=== : === 
2007  Tom   : 2011  Nick
2008  Brenda: 2012  Carl
2009  Andy  : 2013  Emmi
2010  Mitch :

On a page-break, the data would first fill both columns on page 1, then the 
second page would also have two columns (if necessary), repeated headers, etc.

Problems:
* I believe you can use multiple columns inside a page, although I don't know 
how...
* Also, I'm not sure you can change the number of columns, within the same page.

OTOH, it's standard practice (just pick up a newspaper), so I expect both to be 
possible.

HTH,

Jonathan

-Message d'origine-
De : jorgito [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 13 novembre 2007 13:59
À : fop-users@xmlgraphics.apache.org
Objet : Two successive columns in a table -- problem with the page-break


Hi,

I am encountered with the following problem, would be great if anyone has an
idea how to solve it.
The table to be desplayed in my pdf looks like this:

year |   name   || year |   name
===
2007Tom2011 Nick
2008Brenda2012  Carl
2009Andy   2013 Emmi
2010Mitch

and so on. I don't know the length of the table (number of years, there may
be 50 or so)) and I don't know the position on the page where the table
starts because the PDF consists of dynamic content.
If there ist a page-break I would like to have this:

year |   name   || year |   name
===
2007Tom2009 Andy 
2008Brenda2010  Mitch
- page break --
2011Nick   2013  Emmi
2012Carl

But, maybe needless to say, I get this:

year |   name   || year |   name
===
2007Tom2011 Nick
2008Brenda2012  Carl
-page break--
2009Andy  2013  Emmi
2010Mitch

I was searching for getting to know my current position on a page, so that I
can split the table into two. But obviously there is no way for that. Any
other ideas?

jorgito
-- 
View this message in context: 
http://www.nabble.com/Two-successive-columns-in-a-table---%3E-problem-with-the-page-break-tf4797601.html#a13725292
Sent from the FOP - Users mailing list archive at Nabble.com.


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


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Re: Problem generating PDF with FOP 0.20.5 and Latin Modern fonts

2007-11-13 Thread Jeremias Maerki
This should now be fixed in FOP Trunk.

On FOP 0.20.5 you can try setting flags34/flags in the XML metric
file. Use flags98flags for the italic variants.

Jeremias Maerki



On 08.11.2007 20:24:54 Daniel Rosenberg wrote:
 Hi,
 
 I'm trying to use the Latin Modern Type 1 fonts (v1.010) to generate a
 PDF file with FOP 0.20.5. Generating font metrics with PFMReader works
 fine (I guess), and the fonts get embedded into the PDF document. But,
 every time the PDF document is opened in Adobe Reader (v7.0.8 on
 Gentoo Linux) I get a warning saying The font 'LMSans10-Bold'
 contains bad /Flags. Any ideas of what the problem is?
 
 Thanks,
 
 Daniel


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



how to set the logger?

2007-11-13 Thread Gregan, Miroslav
Hi,
 
I need to use FOP 0.94 embedded, in a big project composed by different 
Eclipse's plug-ins where 2 of them define an org.apache.commons.logging.Log 
library, which causes me the following error:
 
Invalid class loader hierarchy. You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.

Is there a way how to set the logger manually like it was done before in FOP 
0.20.5 by setting the Driver object?

Thank you.

Miro

__

 

Ing. Miroslav Gregáň

Member of the Siemens IT Solutions and Services department
from the PSE SK SES TEC SK2 team

Program and System Engineering
Slovakia
Software Engineering Services
Technology Competences
Skupina 2 (Java and OpenSource Technologies)

Siemens Program and System Engineering s.r.o.
Dubravska cesta 4
845 37 Bratislava
Slovak Republic

 


RE: Two successive columns in a table -- problem with the page-break

2007-11-13 Thread jorgito

Thanks!
So far I can't see solutions to these two problems, but will try to find
them.
column-count is an attribute of region-body, I don't know how to change this
inside a page.
jorgito


Winterflood, Jonathan wrote:
 
 
 
 Problems:
 * I believe you can use multiple columns inside a page, although I don't
 know how...
 * Also, I'm not sure you can change the number of columns, within the same
 page.
 
 OTOH, it's standard practice (just pick up a newspaper), so I expect both
 to be possible.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Two-successive-columns-in-a-table---%3E-problem-with-the-page-break-tf4797601.html#a13729100
Sent from the FOP - Users mailing list archive at Nabble.com.


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



How to keep pagenumber over several page-sequences

2007-11-13 Thread Michael Niemann
hello,
I've split up my document into several page-sequences for better performance.

xsl:for-each select=documentContent/chapter
fo:page-sequence master-reference=ContentPageMaster 
initial-page-number=1 force-page-count=no-force
  fo:static-content flow-name=xsl-region-after
fo:blockfo:page-number //fo:block 
  /fo:static-content
  fo:flow flow-name=xsl-region-body 
fo:block font-size=24 font-weight=bold border-bottom=solid 
black 1px id={generate-id()} margin-bottom=20pxxsl:value-of 
select=@page //fo:block
fo:blockxsl:apply-templates //fo:block
  /fo:flow  
/fo:page-sequence
  /xsl:for-each
/fo:root
  /xsl:template

As you can easily see each chapter now starts with page 1. Is it possible to 
pass the pagenumber between those sequences without losing all the performance 
gain I got from spolitting up the chapter into sequences?

best regards
michael

   
-
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.

RE: How to keep pagenumber over several page-sequences

2007-11-13 Thread Puppala, Kumar (LNG-CON)
Having just the force-page-count property on the subsequent page
sequences should do the trick.

 

fo:page-sequence master-reference=ContentPageMaster
force-page-count=no-force

 

The page number on subsequent page sequences is a continuation from the
previous page sequence in this case.

 



From: Michael Niemann [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 13, 2007 10:45 AM
To: fop-users@xmlgraphics.apache.org
Subject: How to keep pagenumber over several page-sequences

 

hello,
I've split up my document into several page-sequences for better
performance.

xsl:for-each select=documentContent/chapter
fo:page-sequence master-reference=ContentPageMaster
initial-page-number=1 force-page-count=no-force
  fo:static-content flow-name=xsl-region-after
fo:blockfo:page-number //fo:block 
  /fo:static-content
  fo:flow flow-name=xsl-region-body 
fo:block font-size=24 font-weight=bold
border-bottom=solid black 1px id={generate-id()}
margin-bottom=20pxxsl:value-of select=@page //fo:block
fo:blockxsl:apply-templates //fo:block
  /fo:flow  
/fo:page-sequence
  /xsl:for-each
/fo:root
  /xsl:template

As you can easily see each chapter now starts with page 1. Is it
possible to pass the pagenumber between those sequences without losing
all the performance gain I got from spolitting up the chapter into
sequences?

best regards
michael

  



Get easy, one-click access to your favorites. Make Yahoo! your homepage.
http://us.rd.yahoo.com/evt=51443/*http:/www.yahoo.com/r/hs  



Capturing FOP logging message event in an embedded application using FOP 0.94

2007-11-13 Thread Michael Tracey Zellmann
I have developed an application that generates PDFs of documentation in an
eclipse environment controlled by a variety of SWT widgets.

My customer would like his users to know when FOP has encountered a problem,
but give them a simple message. We are already trapping exceptions, so I am
interested in the kinds of events where FOP may generate a WARNING or SEVERE
logging message. Like - the text has exceeded the allowed width and is
overwriting another area, or the bookmark ids are pointing to a null
view-port, for instance. I know how to write a File Handler to route those
message to a file. Is there a way I can capture an event that will tell us
to pop a dialog to the user, and hopefully get part of the logging message ?


Re: Two successive columns in a table -- problem with the page-break

2007-11-13 Thread Andreas L Delmelle

On Nov 13, 2007, at 17:10, jorgito wrote:



Thanks!
So far I can't see solutions to these two problems, but will try to  
find

them.
column-count is an attribute of region-body, I don't know how to  
change this

inside a page.


You can't change the column-count mid-page, but you can make  
exceptions for certain fo:blocks, by using span=all.


[OP:]
---
If there ist a page-break I would like to have this:

year |   name   || year |   name
===
2007Tom2009 Andy
2008Brenda2010  Mitch
- page break --
2011Nick   2013  Emmi
2012Carl

But, maybe needless to say, I get this:

year |   name   || year |   name
===
2007Tom2011 Nick
2008Brenda2012  Carl
-page break--
2009Andy  2013  Emmi
2010Mitch
---

This result does not seem correct to me. I can't say for sure,  
though, but it looks a bit 'off'. As though the column-break is  
computed /after/ the page-break..?



Anyone?

Cheers

Andreas


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



Re: Capturing FOP logging message event in an embedded application using FOP 0.94

2007-11-13 Thread Andreas L Delmelle

On Nov 13, 2007, at 18:29, Michael Tracey Zellmann wrote:

Hi

I have developed an application that generates PDFs of  
documentation in an eclipse environment controlled by a variety of  
SWT widgets.


My customer would like his users to know when FOP has encountered a  
problem, but give them a simple message. We are already trapping  
exceptions, so I am interested in the kinds of events where FOP may  
generate a WARNING or SEVERE logging message. Like - the text has  
exceeded the allowed width and is overwriting another area, or the  
bookmark ids are pointing to a null view-port, for instance. I know  
how to write a File Handler to route those message to a file. Is  
there a way I can capture an event that will tell us to pop a  
dialog to the user, and hopefully get part of the logging message ?


I fear you have stumbled upon a well-known shortcoming of FOP 0.9x:  
the error-reporting is not really what it should be. We all know it,  
but haven't found the time so far to take steps towards implementing  
something better, so exceptions and log messages are all there is to  
catch FTM... :(



Sorry

Andreas

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



Re: how to set the logger?

2007-11-13 Thread Andreas L Delmelle

On Nov 13, 2007, at 16:35, Gregan, Miroslav wrote:

I need to use FOP 0.94 embedded, in a big project composed by  
different Eclipse's plug-ins where 2 of them define an  
org.apache.commons.logging.Log library, which causes me the  
following error:


Invalid class loader hierarchy. You have more than one version  
of 'org.apache.commons.logging.Log' visible, which is not allowed.
Is there a way how to set the logger manually like it was done  
before in FOP 0.20.5 by setting the Driver object?


More or less the same answer as another thread I just posted a reply  
in...
In short: currently, no. The loggers are static, class-based, and  
cannot be overridden. They are more meant for debug info during  
development.


OTOH, I don't believe we use any specific version of Commons logging,  
so maybe you could try to make FOP use the other version (or make the  
other plugins use the jar that is distributed with FOP) Have you  
already tried removing one version from the classpath?



Cheers

Andreas


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



Unexplained space

2007-11-13 Thread Kamal Bhatt

Hi,
I have a block with another block of text within and within it, I have 
another block of text. I do this to maintain spacing in certain 
circumstances (defined by the XSLT).


Unfortunately one of the sideffects of this is a very large space after 
the enclosed block. If I run the example below in FOP 0.93, I get some 
chunky spacing  after flight enquiries to check that your aircraft will 
be.


?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; 
xmlns:str=http://exslt.org/strings;

 xmlns:datetime=http://exslt.org/dates-and-times;
 fo:layout-master-set
   fo:simple-page-master margin-right=7mm margin-left=7mm 
margin-bottom=10mm margin-top=6mm

 page-height=297mm page-width=210mm master-name=A4-first
 fo:region-body region-name=itin-body margin-right=10mm 
margin-bottom=17mm margin-top=40mm /

 fo:region-before extent=40mm region-name=itin-before-first /
 fo:region-after extent=17mm region-name=itin-after /
   /fo:simple-page-master
   fo:simple-page-master margin-right=7mm margin-left=7mm 
margin-bottom=10mm margin-top=6mm

 page-height=297mm page-width=210mm master-name=A4-itin
 fo:region-body region-name=itin-body margin-right=10mm 
margin-bottom=17mm margin-top=69.9mm /

 fo:region-before extent=69.9mm region-name=itin-before-rest /
 fo:region-after extent=17mm region-name=itin-after /
   /fo:simple-page-master
   fo:page-sequence-master master-name=A4
 fo:repeatable-page-master-alternatives
   fo:conditional-page-master-reference page-position=first 
master-reference=A4-first /
   fo:conditional-page-master-reference page-position=rest 
master-reference=A4-itin /

 /fo:repeatable-page-master-alternatives
   /fo:page-sequence-master
 /fo:layout-master-set
 fo:page-sequence master-reference=A4
   fo:static-content flow-name=itin-before-first
 fo:block
   fo:wrapper font-size=37mm
 fo:basic-link external-destination=http://www.tt.com.au;
   fo:external-graphic content-height=37mm 
src=C:\workspace\FOP\united.jpg scaling=uniform /

 /fo:basic-link
   /fo:wrapper
 /fo:block
 fo:block /
   /fo:static-content
   fo:static-content flow-name=itin-before-rest
 fo:block
   fo:wrapper font-size=37mm
 fo:basic-link external-destination=http://www.tt.com.au;
   fo:external-graphic content-height=37mm 
src=C:\workspace\FOP\united.jpg scaling=uniform /

 /fo:basic-link
   /fo:wrapper
 /fo:block
 fo:block
   fo:table border-bottom-width=1.7mm 
border-bottom-color=#d6d3cf border-bottom-style=solid
 border-top-width=1.7mm border-top-color=#d6d3cf 
border-top-style=solid padding-bottom=3.5mm

 padding-top=3.5mm table-layout=fixed width=100%
 fo:table-column column-width=27mm /
 fo:table-column column-width=90mm /
 fo:table-column column-width=75mm /
 fo:table-body font-family=sans-serif font-size=10pt 
color=#333 margin-bottom=3mm

   fo:table-row
 fo:table-cell
   fo:block margin-left=3mmItinerary for/fo:block
 /fo:table-cell
 fo:table-cell
   fo:blockMR A TEST/fo:block
   fo:blockAND PARTY/fo:block
 /fo:table-cell
 fo:table-cell
   fo:table table-layout=fixed width=100%
 fo:table-column column-width=50mm /
 fo:table-column column-width=25mm /
 fo:table-body
   fo:table-row
 fo:table-cell padding-after=2.2mm
   fo:block border-bottom-color=#333 
border-bottom-width=thin border-bottom-style=solid

 Booking
   /fo:block
 /fo:table-cell
 fo:table-cell padding-after=2.2mm
   fo:block border-bottom-color=#333 
border-bottom-width=thin border-bottom-style=solid

 text-align=right
 AA/BBB
   /fo:block
 /fo:table-cell
   /fo:table-row
   fo:table-row
 fo:table-cell padding-after=2.2mm
   fo:blockIssued/fo:block
 /fo:table-cell
 fo:table-cell padding-after=2.2mm
   fo:block text-align=right13 Nov 2007/fo:block
 /fo:table-cell
   /fo:table-row
 /fo:table-body
   /fo:table
 /fo:table-cell
   /fo:table-row
 /fo:table-body
   /fo:table
 /fo:block
   /fo:static-content
   fo:static-content flow-name=itin-after
 fo:block margin-top=5mm
   fo:leader rule-thickness=0.05pt leader-length=195.5mm 
leader-pattern=rule /

 /fo:block
 fo:table table-layout=fixed width=100%
   fo:table-column column-width=89.5mm /
   fo:table-column column-width=120.5mm /

Re: Unexplained space

2007-11-13 Thread Andreas L Delmelle


On Nov 13, 2007, at 21:52, Kamal Bhatt wrote:

Hi Khamal


Hi,
I have a block with another block of text within and within it, I  
have another block of text. I do this to maintain spacing in  
certain circumstances (defined by the XSLT).


Unfortunately one of the sideffects of this is a very large space  
after the enclosed block. If I run the example below in FOP 0.93, I  
get some chunky spacing  after flight enquiries to check that your  
aircraft will be.


The effect you describe is to be expected, I think, if you look at  
this snippet (simply cp; should be an exact copy of your original):


---
fo:block linefeed-treatment=preserve margin-bottom=5mm margin- 
top=0  fo:block padding=0  
margin-bottom=0 white-space-collapse=false white-space- 
treatment=preserve  flight enquiries to check that your aircraft  
will be   /fo:block


departing at the time shown on your ticket and itinerary.
---

The first series of 34 spaces in the outer block will be suppressed.

Note that you have both enabled white-space-preserve and disabled  
white-space-collapse on the inner block. This means that, if FOP  
decides to break the line after the trailing spaces, they will be  
considered relevant when aligning the text flight enquiries Is  
that what you mean by 'chunky space'?
Or is it maybe the effect of the preserved linefeeds in the outer  
block, that generate an empty line, because the second one is the  
only character in that line?


Getting preserved white-space correct can be very tricky. Perhaps you  
wanted this:


---
fo:block linefeed-treatment=preserve margin-bottom=5mm margin- 
top=0fo:block padding=0 margin-bottom=0 white-space- 
treatment=preserve  flight enquiries to check that your aircraft  
will be   /fo:blockdeparting at the time shown on your ticket and  
itinerary.

---

Do you have control over the stylesheet? In that case, it should be a  
simple matter of adapting the template in question to produce the  
below version.



HTH!

Cheers

Andreas


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



Re: Two successive columns in a table -- problem with the page-break

2007-11-13 Thread jorgito



Andreas L Delmelle wrote:
 
 
 [OP:]
 ---
 If there ist a page-break I would like to have this:
 
 year |   name   || year |   name
 ===
 2007Tom2009 Andy
 2008Brenda2010  Mitch
 - page break --
 2011Nick   2013  Emmi
 2012Carl
 
 But, maybe needless to say, I get this:
 
 year |   name   || year |   name
 ===
 2007Tom2011 Nick
 2008Brenda2012  Carl
 -page break--
 2009Andy  2013  Emmi
 2010Mitch
 ---
 
 This result does not seem correct to me. I can't say for sure,  
 though, but it looks a bit 'off'. As though the column-break is  
 computed /after/ the page-break..?
 
 

So far I don't really have a column-break but a single table with 4 columns.
I am iterating from 1 to (n + n mod 2) div 2 and writing in row m: year m
and year  m + (n + n mod 2) div 2.  So the page-break is not done by me.

Any ideas?
-- 
View this message in context: 
http://www.nabble.com/Two-successive-columns-in-a-table---%3E-problem-with-the-page-break-tf4797601.html#a13735403
Sent from the FOP - Users mailing list archive at Nabble.com.


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



Re: Two successive columns in a table -- problem with the page-break

2007-11-13 Thread Andreas L Delmelle

On Nov 13, 2007, at 22:52, jorgito wrote:



snip /
So far I don't really have a column-break but a single table with 4  
columns.
I am iterating from 1 to (n + n mod 2) div 2 and writing in row m:  
year m
and year  m + (n + n mod 2) div 2.  So the page-break is not done  
by me.


I see. In that case, the output is precisely as I'd expect.


Any ideas?


Seems like a tough nut to crack in pure XSL-FO, at first glance...
What you seem to need is the possibility to have a fo:block-container  
with a given maximum-height that spans all columns, and a descendant  
two-column table that flows over two region-columns, but this is not  
possible. Either the block-container spans all columns, and the table  
does too, or vice versa.



Cheers

Andreas

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



Re: Two successive columns in a table -- problem with the page-break

2007-11-13 Thread Andreas L Delmelle

On Nov 14, 2007, at 00:20, Andreas L Delmelle wrote:


snip /

Any ideas?


Seems like a tough nut to crack in pure XSL-FO, at first glance...
What you seem to need is the possibility to have a fo:block- 
container with a given maximum-height that spans all columns, and a  
descendant two-column table that flows over two region-columns, but  
this is not possible. Either the block-container spans all columns,  
and the table does too, or vice versa.


Come to think of it: this could turn out to be a piece of cake, if  
only we had an XHTML plugin for fo:instream-foreign-object...


Ideas? Plenty :-)

Cheers

Andreas


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



Re: Images and NullPointerExceptions

2007-11-13 Thread Jeremias Maerki
No, changing the JVM is the best idea. Please note that OpenJDK is
probably not complete, yet, and could still lack in certain areas. I
assume that in your case it's some lack of functionality in the color
space or color profile area.

Jeremias Maerki



On 13.11.2007 22:47:21 Jared Smith wrote:
 On Mon, 2007-11-12 at 17:12 +0100, Pascal Sancho wrote:
  I do not reproduce your problem (with your FO file and your PNG image)
  I use JRE 1.6 from Sun, Win platform.
 
 For better or worse, I'm stuck on Linux for the time being.  I'll try it
 with the Sun JRE, as I'm currently using the new open-source OpenJDK
 stuff.
 
  Have you tried FOP with command line?
 
 Yes, all my tests were from the command-line.  See my log.txt file for
 the commands I ran.
 
 Does anyone else happen to have any other ideas, besides changing
 versions of Java.
 
 -Jared
 
 
 -
 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]