Re: Page HEader

2003-04-07 Thread Peter Solberg

You should take a look at the examples included in the FOP package 
FOP/docs/examples/pagination/basic1.fo
Many of the questions you have are answered quite extensively in the examples. Set up you environment to run FO files to product PDF's directly. Then test all of the examples.
java.exe -Xms64m -Xmx768m -classpath fop.jar;xml-apis.jar;xercesImpl-2.2.1.jar;xalan-2.4.1.jar;batik.jar;avalon-framework-cvs-20020806.jar;bsf.jar;jimi-1.0.jar;jai_core.jar;jai_codec.jar org.apache.fop.apps.Fop (FileName).fo -pdf (OutFileName).pdf
Hope that helps.
Pete Solberg

From: [EMAIL PROTECTED] 
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Page HEader 
Date: Mon, 7 Apr 2003 15:17:35 -0400 
 
 
Hai, 
 
I nedd to add header to all the pages.Could anyone tell me how to do it. 
 
Thanks 
Vikram 
 
 
 
- 
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*.

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



Re: number-rows-spanned

2003-03-17 Thread Peter Solberg

You can achieve this table layout by using nested tables...

fo:tablefo:table-column/fo:table-column/fo:table-bodyfo:table-rowfo:table-cell!-- NESTED TABLE --
fo:tablefo:table-column/fo:table-column/fo:table-bodyfo:table-rowfo:table-cell/fo:table-cellfo:table-cell/fo:table-cell/fo:table-rowfo:table-rowfo:table-cell/fo:table-cellfo:table-cell/fo:table-cell/fo:table-row/fo:table-body/fo:table
/fo:table-cellfo:table-cell/fo:table-cell/fo:table-rowfo:table-rowfo:table-cell/fo:table-cellfo:table-cell/fo:table-cell/fo:table-row/fo:table-body/fo:table

From: Clay Leeds <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Re: number-rows-spanned 
Date: Mon, 17 Mar 2003 08:57:05 -0800 
 
Lou, 
 
Thanks for the quick reply. That's GREAT! A couple of questions: 
 
1. Does it work in 0.20.4 and/or 0.20.5x? 
2. Can you give me an example? I'd like to do something like this: 
 
|===| 
| | | | 
| | | | 
| | | | 
|===| | 
| | | | 
| | | | 
| | | | 
|===| 
| | | 
| | | 
| | | 
|===| 
 
Many thanks! 
 
[EMAIL PROTECTED] wrote: 
I use "number-rows-spanned" in 0.20.3: 
 
 
 
 
-Lou 
 
 
-- 
Clay Leeds - [EMAIL PROTECTED] 
Web Developer - Medata, Inc. - http://www.medata.com 
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc 
 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
Add photos to your messages with  MSN 8.  Get 2 months FREE*.

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



Re: Best Image Format for FOP for printing and viewing?

2003-03-11 Thread Peter Solberg

SVG is the best for printing It is a vector graphic and will sustain it's quality throughout... However, the source MUST be from a vector based application such as Adobe Illustrator.
SVG's can import other raster images inside of an SVG and are NOT vector based. Therefore you must sustain the vector characteristics of the image throughout the rendering process
Pete

From: [EMAIL PROTECTED] 
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Best Image Format for FOP for printing and viewing? 
Date: Tue, 11 Mar 2003 12:31:40 -0500 (EST) 
 
This is for reports that people can view on-line and to print. So it's not a 
either "view or print" situation. It's like I need the best of both worlds. I 
need to have print quality and view quality in the same document. 
 
I am trying to get quality images in FOP, but have not been pleased with 
jpeg,png formats. 
 
If I use SVG, the print quality seems better, the on screen display is awful. 
 
What have people been doing to achieve a superior image quality in a PDF 
document with FOP for printing. 
 
Another thought was to try to create my images much bigger, than to scale them 
down to fit in the pdf. 
 
Any thoughts would be appreciated. 
 
Thank you. I will share my results on how I achieve this with the group when I 
hit the right answer. 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
Tired of spam? Get advanced junk mail protection with MSN 8.

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



reference-orientation

2003-03-03 Thread Peter Solberg
Is there a way to display text vertically? I see that reference-orientation is not implemented... Any other tricks?

Thanks

Pete SolbergMSN 8 with e-mail virus protection service:  2 months FREE*

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



Re: Doubt

2003-03-03 Thread Peter Solberg

fo:table-row fo:table-cell height=".1in"/fo:table-cell/fo:table-row

From: [EMAIL PROTECTED] 
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: Doubt 
Date: Mon, 3 Mar 2003 16:06:40 +0530 
 
 
Hi, 
 
Could someone tell me how to display a blank row in table. I am not 
able to display a row without any contents. But if I input something 
in any table cell, the row is displayed. 
 
Please advice. 
 
Warm Regards, 
Vipin Jose 
 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
MSN 8 with e-mail virus protection service:  2 months FREE*

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



Re: keep-together / blind tables

2003-03-03 Thread Peter Solberg

Try the :fo:table-header There are other examples in the FOP package.. However, if you want running headers such as fo:retrieve-marker, you cannot use this... you must put the fo:retrieve-marker in xsl:region-before.
Does that help?
Pete Solberg
xsl:template match="paragraphs"fo:table table-layout="fixed" width="100%" fo:table-column column-width="proportional-column-width(1)"/fo:table-header fo:table-row fo:table-cell xsl:apply-templates select="heading"/ /fo:table-cell /fo:table-row/fo:table-header
 fo:table-body fo:table-row fo:table-cell xsl:apply-templates select="paragraph"/ /fo:table-cell /fo:table-row 		 /fo:table-body/fo:table/xsl:template

From: Matthias Brunner <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Subject: keep-together / blind tables 
Date: Mon, 3 Mar 2003 19:24:35 +0100 
 
Hello, 
 
I know this is a FAQ but I did not find anything appropriate to my 
specific problem. 
I have paragraphs with a heading and, of course, I do not want the 
heading to be left alone on one page with the paragraphs being on 
the next one. 
 
---excerpt--- 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
---excerpt--- 
 
 
keep-with-next works, the heading is never left alone. 
But even if a paragraph is half a page in size it is not seperated 
any more thus leaving ugly blank spots on the pages. (strange ASCII 
art example attached below :) 
What can I do to allow the separation of this paragraph? 
 
 
Thanks in advance, 
Matthias 
 
 
Example: 
p1 
 
 
 
content 
content 
content 
 
EMPTY 
EMPTY 
EMPTY 
EMPTY 
--- 
p2 
 
 
 
content 
content 
content 
content 
content 
content 
content 
 
 
 
 
 
INSTEAD OF: 
p1 
 
 
 
content 
content 
content 
 
 
 
content 
content- 
--- 
p2 
 
content 
content 
content 
content 
content 
 
EMPTY 
EMPTY 
EMPTY 
EMPTY 
 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
The new MSN 8: smart spam protection and 2 months FREE* 

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



Re: cuts off words in FOP

2003-02-28 Thread Peter Solberg

encloose the text in block-container and then add the attribute keep-together="always". That will keep the text together... if it is enclosed by a fo:table-row, you can use the same thing.
Hope that helps
Pete Solberg

From: "Lucian Opris" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED] 
To: <[EMAIL PROTECTED]>
Subject: cuts off words in FOP 
Date: Fri, 28 Feb 2003 14:36:58 -0500 
 
 
Hi, 
When I'm using line-height in a block and the text flows on next page the first word that drop on the next page is cut off. DO you know any fix for that? 
Thanks a lot 
Lucian Opris 
 
 
 
 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
Add photos to your messages with  MSN 8.  Get 2 months FREE*.

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