AW: AW: formatted numbers

2004-05-07 Thread Jan Kohnert
thanks a lot!

-Ursprüngliche Nachricht-
Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 7. Mai 2004 09:42
An: [EMAIL PROTECTED]
Betreff: Re: AW: formatted numbers


You can do that be putting the part before the decimal point in one
table cell, the rest in another, aligning them accordingly. Worked fine
for me.

On 07.05.2004 09:17:54 Jan Kohnert wrote:
> not exactly. I dont want to format the number, I want to format the output
> of the number. In my example (sorry, it was messed up) I wanted to show
> output centered by the point. I dont have to format currency output, but
> numbers that might have a different decippoint length. So the opportunity
to
> center the output on the point would be great. 
> Numbers lie "1", 1.00056", "77656.4" etc. may be part of the output.


Jeremias Maerki


-
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: formatted numbers

2004-05-07 Thread Jan Kohnert




-Ursprüngliche Nachricht-
Von: Clay Leeds [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. Mai 2004 18:09
An: [EMAIL PROTECTED]
Betreff: Re: formatted numbers
not exactly. I dont want to format the number, I want to format the output
of the number. In my example (sorry, it was messed up) I wanted to show
output centered by the point. I dont have to format currency output, but
numbers that might have a different decippoint length. So the opportunity to
center the output on the point would be great. 
Numbers lie "1", 1.00056", "77656.4" etc. may be part of the output.

Jan Kohnert wrote:
> Hello List,
> 
> is it possible to output formatted numbers using FOP?
> For Example centered by the decimalpoint?
> 
> like:
>78.00
>  123.00
>  0.99
This is more of an XSL question, but I think what you want is:

Currency ($) version we use:


   
 
   


Here's a link with more useful info I found on Google ("xsl format-number"):

http://www.w3schools.com/xsl/func_formatnumber.asp

Here's how I use format-number() to calculate the margin-top of 
fo:region-body (and extent of fo:region-before) to create a dynamically 
sized fo:region-before:



Hope this helps!

Web Maestro Clay

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



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



formatted numbers

2004-05-06 Thread Jan Kohnert
Hello List,

is it possible to output formatted numbers using FOP?
For Example centered by the decimalpoint?

like:
   78.00
 123.00
 0.99


etc..

Thanks!

Mit freundlichen Grüßen
Jan Kohnert

--
FREY Computersysteme GmbH   http://www.swisslab.de
Jan Kohnert <mailto:[EMAIL PROTECTED]>
Bergholzstr. 8  Hotline: +49 30 62601-101
D 12099 Berlin  HotFax:+49 30 62601-122
Tel. +49 30 62601-0


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



AW: Spaces when rendering PCL format

2004-04-07 Thread Jan Kohnert
add the white-space-collapse property into your block


bla bla



-Ursprüngliche Nachricht-
Von: Razvan Veina [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. April 2004 15:06
An: [EMAIL PROTECTED]
Betreff: Spaces when rendering PCL format


Hi everyone,

I'm having a strange problem when rendering PCL with FOP, and I wander if
anybody have an idea about this:
I have some kind of a table with some texts in it. The texts may contain one
ore more spaces inside. My problem is that some of the texts containing
spaces are displayed badly. And by badly I mean that the text after the
space is displayed over the ending of
the text before space. It's a little bit difficult to explain in words. It's
like instead of "Line no" I see "Lineno", with "no" starting at the middle
of the "e" character. I noticed that the problem seems to appear so far only
on the first column of my table...

The code that displays a cell with problems is trivial :


Line no


Any ideas ?
Thanx.


-
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: Landscape?

2004-04-05 Thread Jan Kohnert
hi,

sure. Just set the layout-master-set page-* attributes to landscape values.

Jan

-Ursprüngliche Nachricht-
Von: Razvan Veina [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 5. April 2004 11:03
An: [EMAIL PROTECTED]
Betreff: Landscape?


Hello, dear FOP users,

I have a simple question. Is it possible to create landscape pages with FOP
?

Thanx.


-
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: columns and images

2004-04-05 Thread Jan Kohnert
Hi,

if you want to span a table (table B) inside a table (Table A), you must set
the 's "number-columns-spanned" attribut of table A to a value
matching the number of columns you want to have spanned by table B.

Jan

-Ursprüngliche Nachricht-
Von: Enrique Rodriguez Lasterra [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 5. April 2004 03:13
An: [EMAIL PROTECTED]
Betreff: columns and images


Hi all,

I'm developing and xsl to render documents in two columns.

These documents usually have tables and i like to span they to see it 
better.

I'm wirting the table inside a block with the span="all" attribute, but 
the table still be attached to one column.

Does fop support this feature?

Regards, Enrique.

code:
.
.
.


.
.
.




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



Building a matrix (table) out of almost equal elements

2004-03-25 Thread Jan Kohnert
Hi List,

I m trying to set up a table out of elements which are all almost the same.
There are only two indicators to determine to which position in the table a
element fits.
1. All elements with the same value in  belong to one table. 
2. All elements with the same value in  belong to one row. 

Each element always belongs into the next cell following except it has an
different value in . So when the value  changes all following
elements shall be written into the next row until the value changes again.

I know that there are much smarter ways to set up rules for a table, but it
was not my decision...

The problem caused by this setup is, that i have to close and open a
 while processing the XML data with a XSLT Stylesheet. But as we
all probably know is something like:






everything else than proper XML.

I wonder how I can change a table-row while processing data.

Does anybody has an Idea?

Thanks in advance!

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



AW: Fop extension and OMR

2004-02-25 Thread Jan Kohnert
I m using the Krysalis Barcodes. They work pretty fine with FOP and support
a lot of different barcode types.
http://www.krysalis.org/barcode/

Mit freundlichen Grüßen
Jan Kohnert

--
FREY Computersysteme GmbH   http://www.swisslab.de
Jan Kohnert [EMAIL PROTECTED] 
Bergholzstr. 8  Hotline: +49 30 62601-101
D 12099 Berlin  HotFax:+49 30 62601-122
Tel. +49 30 62601-0


-Ursprüngliche Nachricht-
Von: ARDOIN JEAN-LUC [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Februar 2004 13:38
An: [EMAIL PROTECTED]
Betreff: Fop extension and OMR


Hi all,

Has anybody experienced writing OMR barcodes with FOp ?
-Is it possible without writing a FOP extension ?
-Are there fop OMR extensions available ? 
-What is the best solution ? 
If Fop extension is the best solution, is there any example of running
extension ?

TIA
JL

 



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



Table Header after Pagebreak

2004-02-19 Thread Jan Kohnert
Hello List,

I am creating PDF Files using FOP. 
I generate an table with an header. My problem is, that I dont want to have
the header on the next site after a page break. How can I avoid this
'floating header'?
Thanks in andvance!

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