RE: Avoid Page break in Block

2005-03-04 Thread Rymasz Jacky
The break attribute works only for table-rows in FOP right now.
You need to put your block into a table if you want it to be protected from
page break.

Jack

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : ven. 4 mars 2005 07:53
À : [EMAIL PROTECTED]
Objet : Avoid Page break in Block




Hello

I there a attribute in FOP to protect an Block from Page breaks.
I use a Block Element with many nested Tabes in it.

The Block is used for drawing a Border.

I have tried the keep - attributes at the Block by nothing works.


Thanks for help.





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



Avoid Page break in Block

2005-03-04 Thread Joern . Karthaus


Hello

I there a attribute in FOP to protect an Block from Page breaks.
I use a Block Element with many nested Tabes in it.

The Block is used for drawing a Border.

I have tried the keep - attributes at the Block by nothing works.


Thanks for help.





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



Re: [re-request] avoiding empty page with page-break

2005-01-18 Thread Jeremias Maerki
Sounds like you're doing something strange, like spacing using empty
blocks or something like that. You might want to post an example that
produces that effect.

On 17.01.2005 18:55:57 Sönke Ruempler wrote:
> in some cases a "natural" page-break (the end of the page is reached) and a
> forced page-break (page-break-after=always) collide and that causes an empty
> page (because that are in fact 2 page-breaks). Is there a possibilty to
> avoid it?


Jeremias Maerki


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



[re-request] avoiding empty page with page-break

2005-01-17 Thread Sönke Ruempler
Hi,

in some cases a "natural" page-break (the end of the page is reached) and a
forced page-break (page-break-after=always) collide and that causes an empty
page (because that are in fact 2 page-breaks). Is there a possibilty to
avoid it?

thx, soenke.

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



avoiding empty page with page-break

2005-01-11 Thread Sönke Ruempler
Hi,

in some cases a "natural" page-break (the end of the page is reached) and a
forced page-break (page-break-after=always) collide and that causes an empty
page (because that are in fact 2 page-breaks). Is there a possibilty to
avoid it?

thx, soenke.

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



RE: Page Break ...

2004-08-02 Thread Ganesh Babu Nallamothu, Integra-India




Hi 
Varadha
 
Yes, this is possible. Try the 
following format. Whenever you want you can use this element.
 

 
Srinivasan

  -Original Message-From: Varadharajan Sethuraman 
  [mailto:[EMAIL PROTECTED]Sent: Monday, August 02, 2004 5:04 
  PMTo: FOP-USERSubject: Page Break 
  ...
  Hi,
   
  IS IT POSSIBLE TO CALL THE PAGE BREAK WHENEVER I WANT ?
   
  Actually I have three lines of character/word/ text to write into a pdf 
  document. 
  But the thngs is I have to first like of text in the First 
  Page, second line of text in the Second Page and 
  third line of text in the Third Page.
   
  I mean i have to enforce the page the break option when each like of text 
  written.
   
  ---Varadha
   
  __Do You 
  Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 


Page Break ...

2004-08-02 Thread Varadharajan Sethuraman
Hi,
 
IS IT POSSIBLE TO CALL THE PAGE BREAK WHENEVER I WANT ?
 
Actually I have three lines of character/word/ text to write into a pdf document. 
But the thngs is I have to first like of text in the First Page, second line of text in the Second Page and third line of text in the Third Page.
 
I mean i have to enforce the page the break option when each like of text written.
 
---Varadha
 __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 

Re: Omit space-before/space-after after page break

2004-01-16 Thread Chris Bowditch
Dennis Myrén wrote:
Is it possible to omit any space when rendering continues on a new page?
The XSL-FO spec provides space-before.conditionality to control this 
behaviour. space-before.conditionality="discard" is the default and 
discards space before at the beginning of a new reference area. 
space-before.conditionality="retain" behaves as you observed.

Unfortunately this is not implemented by FOP, and space-before always 
behaves as though you set space-before.conditionality="retain" I'm not 
aware of any workarounds.


Chris

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


Omit space-before/space-after after page break

2004-01-16 Thread Dennis Myrén








Hi.

 

I use FOP to generate a PDF document from FO.

I use space-before/space-after to get space between objects.

When there is not room for an object on the current page, a
new page is created and the rendering continues at the new page.

Sometimes this results in objects starting a little further
down on the new page than specified by the page margin, because of the space-before/after
that I have specified on the current object.

Is it possible to omit any space when rendering continues on
a new page?

 

Maybe not well explained, but did you catch it?

 

Shortly, I want space between each object in the PDF, but I always
want to start on the same position on each page (page top margin)

 

Regards,

Dennis JD Myrén

Developer

Oslo Kode Bureau

Tel:  (+47) 98
00 11 92

Mail:   [EMAIL PROTECTED]

Web:   www.oslokb.no

 








Re: printing "continued.." on the next page after a page break

2003-12-12 Thread Roland Schroth
ï


 

  Hi,
   Iam a newbie to xsl:fo.  I would like to 
  print "Continued..." after a page break and only if a page break 
  occurred.  I currently have the text inside a table body but am flexible 
  to change it if needed.
   
  After going throug the mail archives, I found that this would require use 
  of markers.
   
     Could someone give a snippet of how exactly this could 
  be done...
Hi,
 
I think what you are looking for is 
this:
http://xml.apache.org/fop/extensions.html#table-continue-label
 
I do not know if you *must* use a 
table for this to work or if it works in page headers or footers 
too.
But as you are already using a table this 
should help you out perfectly.
 
Also have a look at the 
"Namespace" section on this page to make sure the extension will 
work.
 
Regards,
Roland


RE: printing "continued.." on the next page after a page break

2003-12-11 Thread Roland Neilands

In your fop dir:
examples\fo\markers\

Also search the archives for "marker" - there are several examples.

Cheers,
Roland

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 12 December 2003 10:48 AM
To: [EMAIL PROTECTED]
Subject: printing "continued.." on the next page after a page break


Hi,
 Iam a newbie to xsl:fo.  I would like to print "Continued..." after a page 
break and only if a page break occurred.  I currently have the text inside a 
table body but am flexible to change it if needed.

After going throug the mail archives, I found that this would require use of 
markers.

   Could someone give a snippet of how exactly this could be done...


Thanks,
Mani
Confidentiality Notice 

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.


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



printing "continued.." on the next page after a page break

2003-12-11 Thread manikandan.balasubramanian
Hi,
 Iam a newbie to xsl:fo.  I would like to 
print "Continued..." after a page break and only if a page break occurred.  
I currently have the text inside a table body but am flexible to change it if 
needed.
 
After going throug the mail archives, I found that this would require use 
of markers.
 
   Could someone give a snippet of how exactly this could be 
done...
 
 
Thanks,
ManiConfidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.



Re: premature page break inside text after table (with headers)

2003-10-31 Thread Mike Trotman
Thanks for the response.
I am using footnotes - but these work perfectly if just pure tables on page.
Problem only arises when also following block of text.
And space left on page when premature page break triggered is 
substantially more than the footnote depth.
Although it is always the same amount of space - which suggests it may 
be linked to the footnote - particularly as everything works OK if I 
omit the footnote.
Footnote is 1.5cm high, region-after is 0.5cm high and space from end of 
text to start  top of footnote is 5cm.

I have just tried it with shorter footnote and text does reach further 
down page.

Attached is somewhat smaller PDF + FO if it helps - but does sound like 
footnote problem - although more than twice footnote depth.

If current design is screwed then my chances of hacking a solution are 
slight - and for me not an urgent problem
as I don't often need following text and yesterday was 1st time I 
encountered it.
(Can probably include the text in a final table row.)

Thanks again.
J.Pietschmann wrote:
Mike Trotman wrote:
Example FO + PDFs are at 
Can't be bothered to look, but are you using footnotes? The footnote
space is actually allocated twice (chances to fix this are low, because
of a severly screwed desigen).
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Datalucid Limited
8 Eileen Road
South Norwood
London SE25 5EJ
tel :0208-239-6810
mob: 0794-725-9760
email: [EMAIL PROTECTED]
UK Co. Reg: 4383635
VAT Reg.:   798 7531 60


l4_fop.pdf
Description: Adobe PDF document

http://www.w3.org/1999/XSL/Format"; xmlns:svg="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/2000/svg"; xmlns:dl="http://www.datalucid.com/";>
  

  
  
  

  
  

  
http://www.datalucid.com)">

  Formatted by Datalucid Ltd.
  



  Page 

  


  

  
  
  
  

  

  
Previous Table
  

  
  

  
1st page of table
  

  
  

  
Next Table
  

  

  

  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  

  


  
  



  

  

  
Columns tested at 95% level: A,B,C,D,E,F,G,H - I,J,K,L
  


  
Prepared by: Julius Caesar - Fieldwork dates: ides March - ides May 0055 AD
  

  


  
  

  

  

  

  
  
  

Total

  
  
  

Geog (Standard) Region

  
  
  

Tmpl.'s main competitor (comp. mentioned most)

  
  


  

London
  
A

  
  

Other SE
  
B

  
  

XX
  
C

  
  

Midlands
  
D

  
  

North
  
E

  
  

Scotland
  
F

  
  

NI
  
G

  
  

Other
  
(islands
  
etc.)
  
H

   

Re: premature page break inside text after table (with headers)

2003-10-30 Thread J.Pietschmann
Mike Trotman wrote:
Example FO + PDFs are at 
Can't be bothered to look, but are you using footnotes? The footnote
space is actually allocated twice (chances to fix this are low, because
of a severly screwed desigen).
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: premature page break inside text after table (with headers)

2003-10-30 Thread Mike Trotman
Further testing with FOP on the problem below reveals:
- Surprisingly space left on page (when premature break occurs) seems to 
be almost constant - not affected by height of table-headers.
   (=~ 7cm to end of egion-after - height of footnote=1.5cm, height of 
region-after=0.5cm)

This has got me really puzzled - I can't imagine what else is 
determining where premature page-break occurs.

- Enclosing following text in an fo:block-container (and specifying 
height) shows text to the full height of the block-container
including reaching beyond after-edge of page without a page-break being 
thrown - but then maybe block-container is independent of page size?
(whereas XEP doesn't show block-container at all if extent falls outside 
page area)

My Java is very basic - so haven't managed yet to find relevant parts of 
source-code to examine.

If anyone has any ideas what might be causing this or similar problems 
I'd appreciate hearing about it.

Mike Trotman wrote:
I've done some further experiments and the problem described below 
goes away if I don't define the footnote in the table header.
(which is not a solution as I need that footnote.)

This is hard to provide a short example of (but easier to describe).
Example FO + PDFs are at 
http://www.datalucid.com/queries/XSLFO/text-after-table-overflow/.
(I don't necessarily expect anyone to read through the FO - the PDFs 
are just to make the example clear to see.)

I have a problem with text following tables (whether they overflow to 
next page or not).
A page-break occurs in the text well before the bottom of the page is 
reached.

The table has a header section for repeating on overflows which 
includes all titles + the column labels.
(and inside this header section I define a footnote to appear on any 
pages + overflow pages where it is repeated.)

It looks like something I am doing is causing FOP (but not XEP) to 
think there is less region-body available than is the case.

Anyone else encountered this problem - or can think of a likely cause?


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


Re: premature page break inside text after table (with headers)

2003-10-30 Thread Mike Trotman
I've done some further experiments and the problem described below goes 
away if I don't define the footnote in the table header.
(which is not a solution as I need that footnote.)

So - my guess is that FOP is getting confused and reserving space for 
the header as well as the footnote
(or something close to that)
but ONLY if there is an additional block of text on the page - as if 
starting this block somehow starts partially preparing for a new page.
(so subtracts the miscalculated reserved space from what is left on the 
current page.)

I will try other fo containers and see if everything triggers it - or 
just fo:block.

This is quite laborious to re-arrange - so if anyone has any similar 
experiences - let me know.
(I've searched the archive but can't find anything relevant that matches 
the keywords I've used for searching.)

Mike Trotman wrote:
Hi.
This is hard to provide a short example of (but easier to describe).
Example FO + PDFs are at 
http://www.datalucid.com/queries/XSLFO/text-after-table-overflow/.
(I don't necessarily expect anyone to read through the FO - the PDFs 
are just to make the example clear to see.)

I have a problem with text following tables (whether they overflow to 
next page or not).
A page-break occurs in the text well before the bottom of the page is 
reached.

The table has a header section for repeating on overflows which 
includes all titles + the column labels.
(and inside this header section I define a footnote to appear on any 
pages + overflow pages where it is repeated.)

It looks like something I am doing is causing FOP (but not XEP) to 
think there is less region-body available than is the case.

Anyone else encountered this problem - or can think of a likely cause?
(I don't often have trailing text - so not an urgent problem)
Any comments appreciated.

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

--
Datalucid Limited
8 Eileen Road
South Norwood
London SE25 5EJ
tel :0208-239-6810
mob: 0794-725-9760
email: [EMAIL PROTECTED]
UK Co. Reg: 4383635
VAT Reg.:   798 7531 60

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


premature page break inside text after table (with headers)

2003-10-30 Thread Mike Trotman
Hi.
This is hard to provide a short example of (but easier to describe).
Example FO + PDFs are at 
http://www.datalucid.com/queries/XSLFO/text-after-table-overflow/.
(I don't necessarily expect anyone to read through the FO - the PDFs are 
just to make the example clear to see.)

I have a problem with text following tables (whether they overflow to 
next page or not).
A page-break occurs in the text well before the bottom of the page is 
reached.

The table has a header section for repeating on overflows which includes 
all titles + the column labels.
(and inside this header section I define a footnote to appear on any 
pages + overflow pages where it is repeated.)

It looks like something I am doing is causing FOP (but not XEP) to think 
there is less region-body available than is the case.

Anyone else encountered this problem - or can think of a likely cause?
(I don't often have trailing text - so not an urgent problem)
Any comments appreciated.

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


RE: Page break in different version of fop

2003-10-14 Thread Nishma Jain
Thanks for the heads up...

-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 12:22 PM
To: [EMAIL PROTECTED]
Subject: RE: Page break in different version of fop


> -Original Message-
> From: Nishma Jain [mailto:[EMAIL PROTECTED]
>
> THANKS!!!
> This force-page-count="no-force" property fixed my problem.
>
>

Yeah! Thanks, Chris. I learned something I didn't know as well... (should
really catch up on them faqs :) )

Just for the record (to the original poster - concerning 0.20.4->.5
upgrade):
If you use embedded fonts with pdf encryption, you may get error messages
when viewing the pdf. Also, you will notice that the document info (author /
producer etc.) end up being undecodable by a mere human eye ;)
This is, for the moment, unavoidable but will be resolved in the 1.0
release...

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: Page break in different version of fop

2003-10-14 Thread Andreas L. Delmelle
> -Original Message-
> From: Nishma Jain [mailto:[EMAIL PROTECTED]
>
> THANKS!!!
> This force-page-count="no-force" property fixed my problem.
>
>

Yeah! Thanks, Chris. I learned something I didn't know as well... (should
really catch up on them faqs :) )

Just for the record (to the original poster - concerning 0.20.4->.5
upgrade):
If you use embedded fonts with pdf encryption, you may get error messages
when viewing the pdf. Also, you will notice that the document info (author /
producer etc.) end up being undecodable by a mere human eye ;)
This is, for the moment, unavoidable but will be resolved in the 1.0
release...

Greetz,

Andreas


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



RE: Page break in different version of fop

2003-10-14 Thread Nishma Jain
THANKS!!! 
This force-page-count="no-force" property fixed my problem.


-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 2:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Page break in different version of fop


>From: Nishma Jain <[EMAIL PROTECTED]>
>
>I have been using fop 0.20.4 since couple of months and my page break have
>been working fine. Recently I switched to fop 0.20.5 since I wanted to add
>password protection for my pdf document. I'm using the same xsl which I 
>used
>with older version. Using this latest version of fop, some extra blank 
>pages
>are getting added in the document. Is it a bug or normal behavior for this
>version?

This is normal behaviour. The default value for force-page-count property on

fo:page-sequence changed in version 0.20.5 to "auto" You will have to set it

to "no-force" This is a FAQ, see for more details;

http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences



>   
>   master-reference="default-page"> //Start each st with page 1

You will have to add force-page-count="no-force" to your page-sequence 
elements.



Chris

_
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger


-
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: Page break in different version of fop

2003-10-14 Thread Chris Bowditch
From: Nishma Jain <[EMAIL PROTECTED]>
I have been using fop 0.20.4 since couple of months and my page break have
been working fine. Recently I switched to fop 0.20.5 since I wanted to add
password protection for my pdf document. I'm using the same xsl which I 
used
with older version. Using this latest version of fop, some extra blank 
pages
are getting added in the document. Is it a bug or normal behavior for this
version?
This is normal behaviour. The default value for force-page-count property on 
fo:page-sequence changed in version 0.20.5 to "auto" You will have to set it 
to "no-force" This is a FAQ, see for more details;

http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences


 //Start each st with page 1
You will have to add force-page-count="no-force" to your page-sequence 
elements.


Chris
_
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger

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


RE: Page break in different version of fop

2003-10-13 Thread Andreas L. Delmelle
> -Original Message-
> From: Nishma Jain [mailto:[EMAIL PROTECTED]

> ... Using this latest version of fop, some extra
> blank pages
> are getting added in the document. Is it a bug or normal behavior for this
> version?
>

>
>   
>   

Probably have a few of these in your other templates as well ?

Difficult to tell whether it's a bug or normal behaviour... Can you
reproduce the corresponding files with dummy data & post them here?

Greetz,

Andreas Delmelle


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



Page break in different version of fop

2003-10-13 Thread Nishma Jain
I have been using fop 0.20.4 since couple of months and my page break have
been working fine. Recently I switched to fop 0.20.5 since I wanted to add
password protection for my pdf document. I'm using the same xsl which I used
with older version. Using this latest version of fop, some extra blank pages
are getting added in the document. Is it a bug or normal behavior for this
version?

 //List of statements












 //Start each st with page 1


// Put static info(page number..) and st number at the top





//Add a page break before stating the new st.








It's adding an extra page before each statement except the first statement.
How can I change the code so that it won't add an extra page? Is there any
better way of doing the same? Appreciate any help.

Thanks.





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



Re: Dynamic page break control

2003-09-05 Thread Chris Bowditch
From: Kuba Królikowski <[EMAIL PROTECTED]>
Hello!
I'm new Fop user. Now I'm recognizing this utility and analyzing if it is 
suitable for my needs. I'm afraid about page break controling in Fop. I 
need such functionality as:
1.  I want to print tables. Content in some cells has a lof of rows (more 
than one) - I don't know how many before printout generating because it 
depends on text length and font size. One table row should be on one side 
(it can't be breaking).
The XSL-FO mechanism for this is keep-* properties, e.g. keep-together. In 
general, FOP doesnt implement these properties. However, you're in luck, 
they are implemented on fo:table-row.

At the end of site I
want to put summary - for example the sum of values in one column. To count 
this summary I have to know where will be page break. This summary should 
be printed on the start of next page too.
This is possible using a combination of xsl transform and fo:marker. But it 
is not straight forward and there are limitations. You can ask on this list 
for help with the specifics.

2. Otherwise there shouldn't be summary when on first page, for example, 
there is only header of the table (first row is on the next page) - I have 
to know how many rows of table is printed on page and then put summary or 
not.
You dont need to worry about where a page breaks, fo:marker and 
fo:retrieve-marker take care of this for you.

3. Otherwise I want to send some special steering codes at end of the page 
to the printer like 'print diacritic code' or 'change paper feeder' e.t.c.
You're out of luck, there is no way to achieve this using FOP out of the 
box. XSL-FO does provide an extensions mechanism, but you will have to write 
code yourself to implement insertion of the codes into Postscript, etc.


Chris
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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


Dynamic page break control

2003-09-05 Thread Kuba Królikowski
Hello!
I'm new Fop user. Now I'm recognizing this utility and analyzing if it 
is suitable for my needs. I'm afraid about page break controling in Fop. 
I need such functionality as:
1.  I want to print tables. Content in some cells has a lof of rows 
(more than one) - I don't know how many before printout generating 
because it depends on text length and font size. One table row should be 
on one side (it can't be breaking). At the end of site I want to put 
summary - for example the sum of values in one column. To count this 
summary I have to know where will be page break. This summary should be 
printed on the start of next page too.
2. Otherwise there shouldn't be summary when on first page, for example, 
there is only header of the table (first row is on the next page) - I 
have to know how many rows of table is printed on page and then put 
summary or not.
3. Otherwise I want to send some special steering codes at end of the 
page to the printer like 'print diacritic code' or 'change paper feeder' 
e.t.c.

So I have some questions:
1. Is there any method for page break control in java, such as 
'listeners' or 'handlers'?
2. Can I dynamically, during printout generating, do some actions at the 
end of page and make some changes in content?
3. How can I send escape sequences, steering codes to the printer from Fop?

Kuba Królikowski

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


Even column headers are not repeated across page break

2003-07-07 Thread Morrison, John
Hi All,

I'm having problems with tables when they run across a page break,
every other column header is not output'd.  For example...

column 1column 2column 3column 4
blahblahblahblah
blahblahblahblah
blahblahblahblah
blahblahblahblah
--- page break ---
column 1column 3
blahblahblahblah
blahblahblahblah
blahblahblahblah
blahblahblahblah

Attached are some examples.

Using cvs version of FOP (as of 13:33 7/7/03) and the commandline
$ ./fop.sh -d -xml sample.xml -xsl sample.xsl -pdf sample.pdf

Thanks for any help, if there's any other information you require
please, just ask.

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 commitment through the use
of this email.
Experian Limited (registration number 653331).
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF



sample.xml
Description: Binary data


sample.xsl
Description: Binary data


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

Re: information about done an page break

2003-04-27 Thread J.Pietschmann
Jan Zmitko wrote:
However I don?t know 
how to solve the Problem, that each side of the PDF begin with a grey line. 
I can?t calculate the number of assets per side, because the the lines per 
asset can be different. Is in XSL of FO any tag that told me, "now is a new 
side beginning"?
No.
Or has someone any other ideas?
There is no easy way to solve this problem.
Keep in mind that XSLT and XSLFO are releated but different
technologies, and are used at different processing stages.
Don't mix them up.
J.Pietschmann

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


information about done an page break

2003-04-26 Thread Jan Zmitko
Hello together,

can anyone help me with the following Problem. We have to generate PDF 
among other thing some lists for example an depot with the complete 
portfolio. For better determinating the different stocks and bond we swap 
the background color between grey and white. I?ve solved it with the mod 
operator, depending of the position of the context. However I don?t know 
how to solve the Problem, that each side of the PDF begin with a grey line. 
I can?t calculate the number of assets per side, because the the lines per 
asset can be different. Is in XSL of FO any tag that told me, "now is a new 
side beginning"? Or has someone any other ideas? I?m thankful for any 
ideas.

Jan

 

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



Re: Page Break Before a Row in a Table

2003-04-21 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
I want to delibrately insert a page break before the start of a  row in a table which has 
the "pagebreak" attribute set to "Y"

Can i use the Following Code to do the same??


	
	
		page
	
.
 

It seems break-before is not applied on table-rows. You'll have to use
break-after on the previous row:
 
   
 
   page
 
 .
   
 
BTW inline-progression-dimension.minimum has no effect at all.
If the first row can have a pagebreak="Y", test this before the
whole table.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Page Break Before a Row in a Table

2003-04-21 Thread balajeec
Hi , 
I want to delibrately insert a page break before the start of a  row in a table 
which has 
the "pagebreak" attribute set to "Y"

Can i use the Following Code to do the same??




page

.
 


Thanks for your help.
 

bala
---
Balajee Chandrasekaran 
Software Engineer 
Majesco Software Inc. 
Phone: 91-22-5695  Extn No 7911 

Motivation
We promise according to our hopes and perform according to our fears.
Francois De La Rochefoucauld, 1613-1680, French Classical Writer.
--- 


MASTEK
Investing in relationships
In the US, we're called MAJESCO

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
all computers.
~~


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



RE: page break in table row

2003-04-10 Thread Partridge, Michael
It looks like the keep-together property should be partially supported.
 
http://xml.apache.org/fop/compliance.html#fo-property-keep-together

-Original Message- 
From: Bargel, Britta [mailto:[EMAIL PROTECTED] 
Sent: Thu 4/10/2003 8:17 AM 
To: '[EMAIL PROTECTED]' 
Cc: 
Subject: AW: page break in table row



Thank you.

It works.

I had tried it before with keep-together.within-page="always" but it 
seems
FOP doesn't work with this.

Greets
Britta

> -UrsprÃngliche Nachricht-
> Von: Hau, Carsten [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 10. April 2003 15:02
> An: '[EMAIL PROTECTED]'
> Betreff: AW: page break in table row
>
>
> Hi, try
>
> 
>
> Greetz
> Carsten
>
> -UrsprÃngliche Nachricht-
> Von: Bargel, Britta [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 10. April 2003 14:55
> An: '[EMAIL PROTECTED]'
> Betreff: page break in table row
>
>
> Hello,
>
> I want the contents of my table rows always to be on the same page.
>
> Sometimes the contents of one or more table cells is two or
> more lines long.
> When a table row with this content is at the end of the page
> it happens that
> the first line of the content is on one page and the rest on
> the other.
>
> How can I avoid this?
>
> Britta
>
> -
> 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]

AW: page break in table row

2003-04-10 Thread Bargel, Britta
Thank you.

It works.

I had tried it before with keep-together.within-page="always" but it seems
FOP doesn't work with this.

Greets
Britta

> -Ursprüngliche Nachricht-
> Von: Hau, Carsten [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 10. April 2003 15:02
> An: '[EMAIL PROTECTED]'
> Betreff: AW: page break in table row
> 
> 
> Hi, try
> 
> 
> 
> Greetz
> Carsten
> 
> -Ursprüngliche Nachricht-
> Von: Bargel, Britta [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 10. April 2003 14:55
> An: '[EMAIL PROTECTED]'
> Betreff: page break in table row
> 
> 
> Hello,
> 
> I want the contents of my table rows always to be on the same page.
> 
> Sometimes the contents of one or more table cells is two or 
> more lines long.
> When a table row with this content is at the end of the page 
> it happens that
> the first line of the content is on one page and the rest on 
> the other.
> 
> How can I avoid this?
> 
> Britta
> 
> -
> 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]



AW: page break in table row

2003-04-10 Thread Hau, Carsten
Hi, try



Greetz
Carsten

-Ursprüngliche Nachricht-
Von: Bargel, Britta [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. April 2003 14:55
An: '[EMAIL PROTECTED]'
Betreff: page break in table row


Hello,

I want the contents of my table rows always to be on the same page.

Sometimes the contents of one or more table cells is two or more lines long.
When a table row with this content is at the end of the page it happens that
the first line of the content is on one page and the rest on the other.

How can I avoid this?

Britta

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



page break in table row

2003-04-10 Thread Bargel, Britta
Hello,

I want the contents of my table rows always to be on the same page.

Sometimes the contents of one or more table cells is two or more lines long.
When a table row with this content is at the end of the page it happens that
the first line of the content is on one page and the rest on the other.

How can I avoid this?

Britta

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



RE: page break or paper size ?

2003-03-06 Thread Calero, Roberto
Title: RE: page break or paper size ?





GOLDEN RULE: DON'T SHOUT AND BE POLITE.


-Original Message-
From: Asim Nazir [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 06, 2003 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: page break or paper size ?



read a word document paragraph by paragraph and write it to a file .xml 
nothing else.
IS IT CLEAR?
ASIM



>From: "MARTIN Franck" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: page break or paper size ?
>Date: Wed, 5 Mar 2003 13:38:09 +0100
>
>I know my contribution won't help you much but how did you convert a word
>document to an xsl:fo??
>- Original Message -
>From: "Asim Nazir" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, March 05, 2003 6:12 AM
>Subject: page break or paper size ?
>
>
> >
> > hello , i have converted word to xsl:fo, now while converting it to pdf,
>the
> > contents of second page are displayed on first page as well. i have to
> > mention the paper size or page break or ?
> > looking for help
> > AsIm NaZiR JaNjUa
> >
> > _
> > MSN 8 with e-mail virus protection service: 2 months FREE*
> > http://join.msn.com/?page=features/virus
> >
> >
> > -
> > 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]
>



AsIm NaZiR JaNjUa


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus



-
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: page break or paper size ?

2003-03-06 Thread Asim Nazir
read a word document paragraph by paragraph and write it to a file .xml 
nothing else.
IS IT CLEAR?
ASIM


From: "MARTIN Franck" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: Re: page break or paper size ?
Date: Wed, 5 Mar 2003 13:38:09 +0100
I know my contribution won't help you much but how did you convert a word
document to an xsl:fo??
- Original Message -
From: "Asim Nazir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 6:12 AM
Subject: page break or paper size ?
>
> hello , i have converted word to xsl:fo, now while converting it to pdf,
the
> contents of second page are displayed on first page as well. i have to
> mention the paper size or page break or ?
> looking for help
> AsIm NaZiR JaNjUa
>
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
>
> -
> 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]

AsIm NaZiR JaNjUa
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

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


Réf. : Re: page break or paper size ?

2003-03-05 Thread s-oualid
>> I know my contribution won't help you much but how did you convert a 
word
>> document to an xsl:fo??

Have a look at http://wh2fo.sourceforge.net ! I think that is what you are 
looking for.

Cheers,

Simon

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



Re: page break or paper size ?

2003-03-05 Thread MARTIN Franck
I know my contribution won't help you much but how did you convert a word
document to an xsl:fo??
- Original Message -
From: "Asim Nazir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 6:12 AM
Subject: page break or paper size ?


>
> hello , i have converted word to xsl:fo, now while converting it to pdf,
the
> contents of second page are displayed on first page as well. i have to
> mention the paper size or page break or ?
> looking for help
> AsIm NaZiR JaNjUa
>
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
>
> -
> 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: page break or paper size ?

2003-03-05 Thread Oleg Tkachenko
Asim Nazir wrote:
hello , i have converted word to xsl:fo, now while converting it to pdf, 
the contents of second page are displayed on first page as well. i have 
to mention the paper size or page break or ?
looking for help
Sounds very weird, show us your xsl-fo document.
--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


page break or paper size ?

2003-03-05 Thread Asim Nazir
hello , i have converted word to xsl:fo, now while converting it to pdf, the 
contents of second page are displayed on first page as well. i have to 
mention the paper size or page break or ?
looking for help
AsIm NaZiR JaNjUa

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


Re: AW: Detect page break in fo:flow

2003-02-24 Thread J.Pietschmann
Mirko Sertic wrote:
Hello!
Yes, i need a partial sum. How would this be done using markers ?
Is there an example available ?
Try
--- XML ---


  
prod 110.0
  
  
prod 25.0
  
  
prod 32.0
  
  
prod 41.1
  
  
prod 53.4
  
  
prod 65.9
  
  
prod 74.88
  
  
prod 820.04
  

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

  

  
  

  
  

  



  

  

  


  

  

  

  


  



  

  

  

  
  

  

  

  
total
  
  
subtotal
  

  
  

  
  

  
  

  

  

  

No, you can't have subtotals *per page*, only cumulated subtotals.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: Detect page break in fo:flow

2003-02-24 Thread Mirko Sertic
Hello!

Yes, i need a partial sum. How would this be done using markers ?
Is there an example available ?

Thanks a lot

Mirko

-Ursprungliche Nachricht-
Von: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 24. Februar 2003 10:55
An: [EMAIL PROTECTED]
Betreff: Re: Detect page break in fo:flow


Mirko Sertic wrote:

> i need to detect a page break when i generate the fo:flow area of my
> document.
> How can this be done?
No way unless you force page break yourself.

> The background is that i need to generate a counting sum on the top of my
> page.
Are you talking about partial sum? It's quite complicated, but feasible
using
markers.
--
Oleg Tkachenko
Multiconn Technologies, Israel


-
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: Detect page break in fo:flow

2003-02-24 Thread Oleg Tkachenko
Mirko Sertic wrote:
i need to detect a page break when i generate the fo:flow area of my
document.
How can this be done?
No way unless you force page break yourself.
The background is that i need to generate a counting sum on the top of my
page.
Are you talking about partial sum? It's quite complicated, but feasible using 
markers.
--
Oleg Tkachenko
Multiconn Technologies, Israel

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


Detect page break in fo:flow

2003-02-24 Thread Mirko Sertic
Hello folks!

i need to detect a page break when i generate the fo:flow area of my
document.
How can this be done?

The background is that i need to generate a counting sum on the top of my
page.
Please help!

Cheers

Mirko Sertic


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



Re: Writing top to bottom and controlling page break

2003-02-14 Thread Jeremias Maerki
Have you considered using SVG to do something like that? I've done
similar things like that with SVG in the past.

On 13.02.2003 13:02:10 s-oualid wrote:
> Hello,
> 
> I need to write some text from the top to the bottom of the page to make a 
> border... like that :
> 
> E
> X
> A
> M
> P
> L
> E
> 
> I wanted to use the "writing-mode" properties (Values: lr-tb | rl-tb | tb-rl 
> | lr | rl | tb | inherit) but 
> I saw it was not implemented in the FOP API yet.
> 
> I finally managed to do that with an XSL transformation which output that 
> :
> 
>font-family="Helvetica"
>   font-style="normal"
>   font-weight="bold"
>   line-height="20pt"
>   space-after.optimum="0pt"
>   color="#A8A5A5"
>   text-align="center"
>   white-space-collapse="false">
>   C
>   U
>   R
>   R
>   E
>   N
>   T
>  
>   A
>   F
>   F
>   A
>   I
>   R
> 
> 
> I used the XPath text() function to do that :
> 
> 
> 
>  
> 
> I putted the  tags during the XML serialization of my datas.
> 
> Thanks to help me if you have better idea ! =)
> 
> Another question, I have to work those days on a new XSL:FO layout that 
> must manage fine page break system.
> 
> Is there a better way for handling that than using the XSL string-length() 
> and sum() with an xsl:if tag ? Maybe with the space-after properties ?
> 
> Again, if you have better idea on the way to manage that ! Your help would 
> be appreciated here ! :)


Jeremias Maerki


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



RE: Writing top to bottom and controlling page break

2003-02-14 Thread Kielen, Agnes



Hi,
 
 is a HTML-thing. I don't think it has anything to do with 
XSL-FO. Why don't you place each character in it's own ? That's 
what I should do.
 
Cheers,
Agnes

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: donderdag 13 februari 2003 
  13:02To: [EMAIL PROTECTED]Subject: Writing top to 
  bottom and controlling page breakHello, I 
  need to write some text from the top to the bottom of the page to make a 
  border... like that : E 
  X A M P L 
  E I wanted to use the "writing-mode" properties (Values: 
  lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit) but I saw it was not 
  implemented in the FOP API yet. I 
  finally managed to do that with an XSL transformation which output that 
  :           
  font-family="Helvetica"   
          font-style="normal"           
  font-weight="bold"     
        line-height="20pt"           space-after.optimum="0pt" 
            
  color="#A8A5A5"     
        text-align="center"           
  white-space-collapse="false">   C   U 
    R   R   E   N 
    T     A   F 
    F   A   I   R 
  I used the 
  XPath text() function to do that :     
  I putted the  tags during the 
  XML serialization of my datas. Thanks to help me if you have better idea ! =) Another question, I have to work those days on a new 
  XSL:FO layout that must manage fine page break system. Is there a better way for handling that than using the 
  XSL string-length() and sum() 
  with an xsl:if tag ? Maybe with the 
  space-after properties ? Again, if 
  you have better idea on the way to manage that ! Your help would be 
  appreciated here ! :) 
  


   
  --Simon 
OUALID--ARTE 
FRANCEAnalyste Programmeur[EMAIL PROTECTED]Tél : 
01.55.00.70.70Fax : 
01.55.00.73.89--
<>-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Writing top to bottom and controlling page break

2003-02-13 Thread s-oualid

Hello,

I need to write some text from the top to the bottom of the page to make a border... like that :

E
X
A
M
P
L
E

I wanted to use the "writing-mode" properties (Values: lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit) but I saw it was not implemented in the FOP API yet.

I finally managed to do that with an XSL transformation which output that :


          font-family="Helvetica"
          font-style="normal"
          font-weight="bold"
          line-height="20pt"
          space-after.optimum="0pt"
          color="#A8A5A5"
          text-align="center"
          white-space-collapse="false">
  C
  U
  R
  R
  E
  N
  T
  
  A
  F
  F
  A
  I
  R


I used the XPath text() function to do that :



 

I putted the  tags during the XML serialization of my datas.

Thanks to help me if you have better idea ! =)

Another question, I have to work those days on a new XSL:FO layout that must manage fine page break system.

Is there a better way for handling that than using the XSL string-length() and sum() with an xsl:if tag ? Maybe with the space-after properties ?

Again, if you have better idea on the way to manage that ! Your help would be appreciated here ! :)





--
Simon OUALID
--
ARTE FRANCE
Analyste Programmeur
[EMAIL PROTECTED]
Tél : 01.55.00.70.70
Fax : 01.55.00.73.89
--


The best way to control page break.

2003-02-12 Thread s-oualid

Hi mates,

I'm now using FOP for 2 months, we really appreciate this way to automatically generate our catalogs here.

I have to work those days on a new XSL:FO layout that must manage fine page break system.

Is there a better way for handling that than using the XSL string-length() and sum() with an xsl:if tag ? Maybe with the space-after properties ?

Thanks for your help on this question.




--
Simon OUALID
--
ARTE FRANCE
Analyste Programmeur
[EMAIL PROTECTED]
Tél : 01.55.00.70.70
Fax : 01.55.00.73.89
--


Re: AW: AW: page-break in block

2003-01-21 Thread Oleg Tkachenko
Zieseniß, Markus wrote:
I've to generate a .pdf-letter (up to 3 pages) . The flow text is brought by
xml-file.
So the text on a page is variable. Some text-sections (fo:blocks) are not
allowed to be separated
by a page-break, they have to be written on the next page. I heard of the
"page-break-inside"-attribute, which should do it, but up to now it doesn't
work ("page-break-inside is not implemented yet").
No, what you need is keep-together property. Put your blocks into a blind 
table and set keep-together="always" on appropriate table rows.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AW: AW: page-break in block

2003-01-20 Thread Chris Bowditch
Hi Markus,
the correct way in XSL-FO is to use keep-together="always" property on the 
blocks that you don't want to be broken across pages. However, this is not 
implemented in general within FOP.

Only work around available is to put your blocks inside a blind table, since 
keep-together property is implemented on table-rows.


From: "Zieseniß, Markus" <[EMAIL PROTECTED]>
I've to generate a .pdf-letter (up to 3 pages) . The flow text is brought 
by
xml-file.
So the text on a page is variable. Some text-sections (fo:blocks) are not
allowed to be separated
by a page-break, they have to be written on the next page. I heard of the
"page-break-inside"-attribute, which should do it, but up to now it doesn't
work ("page-break-inside is not implemented yet").

thanks
Markus
> -Ursprüngliche Nachricht-
> Von:   Oleg Tkachenko [SMTP:[EMAIL PROTECTED]
> Gesendet am:   Montag, 20. Januar 2003 14:58
> An:[EMAIL PROTECTED]
> Betreff:   Re: AW: page-break in block
>
> Zieseniß, Markus wrote:
> > inline-container does not work (the table in the block is pushed
> together).
> > Does the actual version solve this problem (the whole block appears on
> the
> > next page?)
> Well, right, inline-container is not implemented. What are you trying to
> achieve actually?
>
> --
> Oleg Tkachenko
> eXperanto team
> Multiconn Technologies, Israel
>
>
> -
> 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]

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


AW: AW: page-break in block

2003-01-20 Thread "Zieseniß, Markus"
I've to generate a .pdf-letter (up to 3 pages) . The flow text is brought by
xml-file.
So the text on a page is variable. Some text-sections (fo:blocks) are not
allowed to be separated
by a page-break, they have to be written on the next page. I heard of the
"page-break-inside"-attribute, which should do it, but up to now it doesn't
work ("page-break-inside is not implemented yet").

thanks
Markus   

> -Ursprüngliche Nachricht-
> Von:  Oleg Tkachenko [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Montag, 20. Januar 2003 14:58
> An:   [EMAIL PROTECTED]
> Betreff:  Re: AW: page-break in block
> 
> Zieseniß, Markus wrote:
> > inline-container does not work (the table in the block is pushed
> together).
> > Does the actual version solve this problem (the whole block appears on
> the
> > next page?)
> Well, right, inline-container is not implemented. What are you trying to 
> achieve actually?
> 
> -- 
> Oleg Tkachenko
> eXperanto team
> Multiconn Technologies, Israel
> 
> 
> -
> 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: AW: page-break in block

2003-01-20 Thread Oleg Tkachenko
Zieseniß, Markus wrote:
inline-container does not work (the table in the block is pushed together).
Does the actual version solve this problem (the whole block appears on the
next page?)
Well, right, inline-container is not implemented. What are you trying to 
achieve actually?

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: page-break in block

2003-01-20 Thread "Zieseniß, Markus"
inline-container does not work (the table in the block is pushed together).
Does the actual version solve this problem (the whole block appears on the
next page?)

thanks
Markus

> -Ursprüngliche Nachricht-
> Von:  Oleg Tkachenko [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Montag, 20. Januar 2003 14:24
> An:   [EMAIL PROTECTED]
> Betreff:  Re: page-break in block
> 
> Zieseniß, Markus wrote:
> 
> > I use fop 0.20.4 and want to produce a pdf-file of .xml and .xsl.
> > What can I do, that a fo:block is not be separated by an automatic 
> > page-break.  
> Don't use it or encapsulate into fo:inline-container.
> 
> -- 
> Oleg Tkachenko
> eXperanto team
> Multiconn Technologies, Israel
> 
> 
> -
> 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: page-break in block

2003-01-20 Thread Oleg Tkachenko
Zieseniß, Markus wrote:
I use fop 0.20.4 and want to produce a pdf-file of .xml and .xsl.
What can I do, that a fo:block is not be separated by an automatic 
page-break.  
Don't use it or encapsulate into fo:inline-container.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


page-break in block

2003-01-20 Thread "Zieseniß, Markus"
Hello,

I use fop 0.20.4 and want to produce a pdf-file of .xml and .xsl.
What can I do, that a fo:block is not be separated by an automatic 
page-break.  

thanks in advance
Markus

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



RE: OT: page break problem

2003-01-13 Thread Mihael Knezevic
thanx to both of you.

this really is a great list. very good and very quick support.

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 11, 2003 6:40 PM
To: [EMAIL PROTECTED]
Subject: Re: OT: page break problem


Chris Bowditch wrote:
Somewhat easier:

   
 page
 
 
...

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: OT: page break problem

2003-01-11 Thread J.Pietschmann
Chris Bowditch wrote:
Somewhat easier:

  
page


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


Re: OT: page break problem

2003-01-10 Thread Chris Bowditch
Ive amended your sample xsl below. So that page-break should only be output 
if its not the last occurrence of page element in the input xml. Note, I 
havent tested this, but it should get you started on the right track

From: "Mihael Knezevic" <[EMAIL PROTECTED]>






	















how do i get the page break without the last blank page.
sorry for the newbie question.
thanx in advance.
mk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_
MSN 8: advanced junk mail protection and 2 months FREE*. 
http://join.msn.com/?page=features/junkmail

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


OT: page break problem

2003-01-10 Thread Mihael Knezevic
hi,

sorry for posting this on the wrong list but i think everybody (except
me) on the list knows enough to help me.

this is my xml file in a very short form:






























...
...
...


now i'm doing a transformation fo -> pdf with fop and an xsl file and i
want to make a page break after each  tag. the problem is that i
now get an empty page cause it also makes a page break after the last
page.

the section in my xsl file looks like this at the moment.




















how do i get the page break without the last blank page.

sorry for the newbie question.

thanx in advance.

mk

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



Re: page break and tables

2003-01-08 Thread J.Pietschmann
Stefan Arn wrote:
It breaks the tables. My wish is that if there is no space left on the
site for a whole table, it should break and add the whole table on the
following site.
Is this possible??
See the spec for keep-with-* properties, and the FOP FAQ
for caveats:
 http://xml.apache.org/fop/faq.html#faq-N101F7
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


page break and tables

2003-01-08 Thread Stefan Arn
Hi List

I've coded a pdf with several little tables and the whole pdf fills a few
pages. I am using the fo:flow for automated page breaks, but one thing
disturbs me.
It breaks the tables. My wish is that if there is no space left on the
site for a whole table, it should break and add the whole table on the
following site.
Is this possible??

thanks
stefan



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



Re: Table header and footer and page break

2002-11-20 Thread Philippe Chaléat
>> I asked a similar question some days ago... But not nobody answered on
this
>> particular point.
>
> Look back to the archive, you've got 2 negative answers.
You're right, there are 2 negative answers about using marker in table
header. I just want to point that there was no answer giving a way to solve
the issue I mention in my example.

> If you don't mind "Last line..." text to be in region-after, not in table
> footer as you asked before, you can do it using markers. Take a look at
> docs/examples/markers folder within fop distribution for example of usage.
Ok, that the solution I'm looking at at the moment. Not sure that it will be
ok in any case.

Thank you very much any way.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel





Re: Table header and footer and page break

2002-11-20 Thread Oleg Tkachenko
Philippe Chaléat wrote:
I asked a similar question some days ago... But not nobody answered on this
particular point.
Look back to the archive, you've got 2 negative answers.
Say I want it to have this kind of printing (needed for example for invoice
printing) :
  line1 a
  line2 b
  line3 c
--
  Last line in this page is "line3"
----- PAGE BREAK -
  Last line in previous page was "line3"
--
  line4 d
  line5 e
  line6 f
Is there an acceptable solution to this using XSL-FO ?
If you don't mind "Last line..." text to be in region-after, not in table 
footer as you asked before, you can do it using markers. Take a look at 
docs/examples/markers folder within fop distribution for example of usage.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


Table header and footer and page break

2002-11-20 Thread Philippe Chaléat
I asked a similar question some days ago... But not nobody answered on this
particular point.

Say I want it to have this kind of printing (needed for example for invoice
printing) :

  line1 a
  line2 b
  line3 c
--
  Last line in this page is "line3"

- PAGE BREAK -

  Last line in previous page was "line3"
--
  line4 d
  line5 e
  line6 f

Is there an acceptable solution to this using XSL-FO ?

Thanks Philippe



Re: page break problem

2002-05-29 Thread J.Pietschmann
Bill Collins wrote:
I have a xsl-fo with block-containers that are absolute-positioned. Is there
a way to page break when the block contained within the block-container is
full (overflow).
No. I understand the specification that the content in absolute
positioned FO stays on the page on which the element started.
Any overflow will be clipped. See the opening paragraph of:
 http://www.w3.org/TR/xsl/slice7.html#section-N43268-Keeps-and-Breaks-Properties
J.Pietschmann


page break problem

2002-05-29 Thread Bill Collins
I have a xsl-fo with block-containers that are absolute-positioned. Is there
a way to page break when the block contained within the block-container is
full (overflow).

Example:




 






Thanks,
Bill



Re: page break

2002-04-30 Thread J.Pietschmann
Jens Posingies wrote:
this may sound very easy for fop-cracks, but it's killing beginners like us:
How can I generate page-breaks in fo? There seem to be fitting fo-markups
(page-break-after, page-break-before etc.), but sadly they are not
implemented yet. Ideas?
Use break-before="page" or break-after="page" on a block
level element for this purpose. The properties you cited
are shorthands for this.
J.Pietschmann


page break

2002-04-30 Thread Jens Posingies
Hi,

this may sound very easy for fop-cracks, but it's killing beginners like us:
How can I generate page-breaks in fo? There seem to be fitting fo-markups
(page-break-after, page-break-before etc.), but sadly they are not
implemented yet. Ideas?

Thanks,
Jens

___

 COMMODORE 64 BASIC V2 

64K RAM SYSTEM  38911 BASIC BYTES FREE

READY.
_
___



RE: fo:block and page break using in fop

2002-02-26 Thread svailati
Ciao Paolo, forse in italiano ci capiamo meglio.
Se ho capito bene tu hai la necessità di non fare interrompere un blocco
dall'interruzione di pagina. Anch'io è da qualche giorno che sto cercando
una soluzione ma purtroppo non l'ho ancora trovata.

So che esiste la proprietà: page-break-inside="avoid" riferita al fo:block,
putroppo però non è ancora stata implementata nella corrente versione di
FOP.

Bisogna anche constatare che in questa mailing list non si riescono a reperire
utili informazioni. Proporrei di formare una piccola "comunità italiana"
 di utilizzatori di FOP. Quantomeno in italiano si riesce a spiegare meglio
le proprie esigenze.

A tal proposito io ho alcuni dubbi irrisolti se dovessi avere delle idee
risolutive te ne sarei veramente grato.

- come si fa a centrare una tabella all'interno di un'area?Perchè per un
blocco c'è text-align="center" ma se metto all'interno di un blocco una
tabella non la centra

- come faccio a fissare le dimensioni di un fo:block?? io ho dei campi memo
da stampare ma voglio stamparne solo una parte (per intenderci tantao quanto
può stare su una riga). Ho provato wrap-option="no-wrap" e overflow="hidden"
ma non va...???

- E poi sarò sfigato ma a me non funziona il posizionamento assoluto

Se riuscirai a rispondere ad alcuni dei miei dubbi amletici te ne saro'
molto grato altrimenti e scusa per aver invaso la tua mail privata.
Stefano Vailati.





__
Abbonati a Tiscali!
Con Tiscali By Phone puoi anche ascoltare ed inviare email al telefono.
Chiama Tiscali By Phone all' 892 800http://byphone.tiscali.it






fo:block and page break using in fop

2002-02-22 Thread Paolo Torricelli
Hi all,
I've some problem on using some break properties.
my problem is to mantain a block in a page and it must not be broken between 
two pages.
I dont get with this wont run:


Anyway if someone can send me a href of an examples it's ok for me
tnx all
bye