AW: Vertical alignment on one page

2006-02-19 Thread Unger, Joachim
Hi Jeremias,

I tried that out. There are no keep-with properties. But the first rendered 
page has no content. 

Are the tabels coupled?

Regards,

Joachim

-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 3. Februar 2006 15:42
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Vertical alignment on one page

Joachim, please don't put me in the Cc. I'm always listening into fop-users 
when I'm available.

With FOP 0.91beta you can use space-before.minimum=0cm
space-before.optimum=10cm on the second table. The breaking algorithm should 
(in theory) automatically try to reduce the number of breaks by collapsing the 
space between the tables like that. No guarantees, though.
I haven't tried it in this particular situation. With 0.20.5 you won't have a 
chance to achive that.

On 03.02.2006 15:19:51 Unger, Joachim wrote:
 Hi Fop-Experts,
 
 I have a problem with vertical alignment of tables:
 
 If the conent fits in the first page, I want to use the bottom of a 
 page for a second table. This table should be placed as low as possible.
 
 if table 1 and 2 fit in first page
 #---#
 | TABLE 1 RoW 1 |
 | TABLE 1 RoW 2 |
 | TABLE 1 RoW 3 |
 |   |
 | TABLE 1 RoW n-1   |
 | TABLE 1 RoW n |
 | as much space as|
 | possible|
 | TABLE 2 RoW 1 |
 |   |
 | TABLE RoW n-1 |
 | TABLE RoW n   |
 #---#
 
 If the content doesn't fit into the first page, the second table 
 should append top aligned to (directly after) table 1.
 
 #---##---#
 | TABLE 1 RoW 1 || TABLE 2 RoW 4 |
 | TABLE 1 RoW 2 || ...   |
 | TABLE 1 RoW 3 || TABLE RoW n-1 |
 |   || TABLE RoW n   |
 | TABLE 1 RoW n-1   ||   |
 | TABLE 1 RoW n ||   |
 | no space||   |
 | TABLE 2 RoW 1 ||   |
 | TABLE 2 RoW 2 ||   |
 | TABLE 2 RoW 3 ||   |
 #---##---#
 
 How can I achieve it?
 
 Regards,
 
 Jo



Jeremias Maerki


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

addresses
	address
		companyString/company
		name title=1
			surnameJoachim/surname
			lastnameUnger/lastname
		/name
		streetString/street
		cityString/city
		stateString/state
		zipString/zip
		phone local=StringString/phone
		phone local=StringString/phone
	/address
/addresses


output0.91.pdf
Description: output0.91.pdf


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

space-before in a table(-cell)

2006-02-18 Thread Unger, Joachim
Hi,

the space-before behaviour inside a table(-cell) changed.

Have a look at output0.20.5.pdf and output0.91.pdf.

Which is right?

Regards,

Joachim
addresses
	address
		companyString/company
		name title=1
			surnameJoachim/surname
			lastnameUnger/lastname
		/name
		streetString/street
		cityString/city
		stateString/state
		zipString/zip
		phone local=StringString/phone
		phone local=StringString/phone
	/address
/addresses


output0.20.5.pdf
Description: output0.20.5.pdf


output0.91.pdf
Description: output0.91.pdf


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

Property id is unique but FOP 0.91 reports an error.

2006-02-17 Thread Unger, Joachim
Hi,

I have the master set:

fo:layout-master-set
fo:simple-page-master margin-bottom=0mm
margin-top=0mm margin-right=1cm margin-left=8mm
page-height=297mm page-width=210mm master-name=first-page
fo:region-body margin-left=12mm
margin-top=120mm margin-bottom=43.5mm/
fo:region-before extent=120mm
region-name=xsl-region-before-1/
fo:region-after
region-name=xsl-region-after-1 extent=41mm/
/fo:simple-page-master
fo:simple-page-master margin-bottom=0mm
margin-top=0mm margin-right=1cm margin-left=8mm
page-height=297mm page-width=210mm master-name=others
fo:region-body margin-left=12mm
margin-top=105mm margin-bottom=43.5mm/
fo:region-before extent=105mm
region-name=xsl-region-before-2/
fo:region-after
region-name=xsl-region-after-1 extent=41mm/
/fo:simple-page-master
fo:page-sequence-master master-name=standard
fo:repeatable-page-master-alternatives
fo:conditional-page-master-reference
master-reference=first-page page-position=first/
fo:conditional-page-master-reference
master-reference=others page-position=rest/
/fo:repeatable-page-master-alternatives
/fo:page-sequence-master
/fo:layout-master-set

There is a reference 

  fo:page-number//fo:page-number-citation ref-id=lastPage/

inside xsl-region-before-1 (1st page) and xsl-region-before-2 (others)
to a unique id=lastPage.

lastPage is only once defined in fo:root

.
/fo:table
/fo:block
fo:block id=lastPage/
/fo:flow
/fo:page-sequence
/fo:root

FOP 0.91 tells me org.apache.fop.fo.ValidationException: null:15463:26:
Property id lastPage previously used; id values must be unique in
document. for every pdf document that has more than 1 page.

Is this an bug issue?

Regards,

Joachim Unger



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



Vertical alignment on one page

2006-02-03 Thread Unger, Joachim
Hi Fop-Experts,

I have a problem with vertical alignment of tables:

If the conent fits in the first page, I want to use the bottom of a page
for a second table. This table should be placed as low as possible.

if table 1 and 2 fit in first page
#---#
| TABLE 1 RoW 1 |
| TABLE 1 RoW 2 |
| TABLE 1 RoW 3 |
|   |
| TABLE 1 RoW n-1   |
| TABLE 1 RoW n |
| as much space as|
| possible|
| TABLE 2 RoW 1 |
|   |
| TABLE RoW n-1 |
| TABLE RoW n   |
#---#

If the content doesn't fit into the first page, the second table should
append top aligned to (directly after) table 1.

#---##---#
| TABLE 1 RoW 1 || TABLE 2 RoW 4 |
| TABLE 1 RoW 2 || ...   |
| TABLE 1 RoW 3 || TABLE RoW n-1 |
|   || TABLE RoW n   |
| TABLE 1 RoW n-1   ||   |
| TABLE 1 RoW n ||   |
| no space||   |
| TABLE 2 RoW 1 ||   |
| TABLE 2 RoW 2 ||   |
| TABLE 2 RoW 3 ||   |
#---##---#

How can I achieve it?

Regards,

Jo

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