Re: PNG question, and Link to cgi script that generates image example

2003-02-07 Thread Christian Geisert
J.Pietschmann wrote:
Rich Gibson wrote:
I've figured out how to link to a file that contains a gif or jpg image,
but not a png.
...
Exception on thread 'main' java.lang.NoClassDefFoundError:
javax/media/jai/PlanarImage
I assume that I have the wrong version of jimi, or I did something wrong
:-)  Any thoughts?
Hm. Maybe there is something wrong with the precompiled version of
FOP.
FOP 0.20.5rc should work with either Jimi or JAI without recompiling.
Christian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-07 Thread "Zieseniß, Markus"
I also do not understand the wrapper example to count all pages of a
document. Has anybody tested that and can explain how to implement?

greetings Markus

> -Ursprüngliche Nachricht-
> Von:  J.Pietschmann [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Mittwoch, 5. Februar 2003 22:32
> An:   [EMAIL PROTECTED]
> Betreff:  Re: Calculate number of pages without complete
> rendering-process was: Re: Counting the number of pages generated in the
> pdf file
> 
> alex elsholz wrote:
> > but thats not what i want.
> > 
> > I'm looking for an solution to calculate the number of pages without the
> > complete rendering process.
> 
> Great idea. If you tell me how to do it, I'll implement it.
> Note: In general, you can't know how many pages a text fills
> unless you actually filled the pages with the text.
> 
> > an own wrapper? why doesnt exists a default-wrapper? How could i
> implemet
> > this?
> I took the freedom to delete the code you generously pseudo-quoted
> from the FAQ and which does exactly what you described.
> 
> 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]



AW: gif or jpg to svg

2003-02-07 Thread Andrà Halama
> Is there a tool that converts raster file (gif, jpg etc) to svg 
> file on unix platform?

try http://autotrace.sourceforge.net/

a.


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



outputting .fo file

2003-02-07 Thread Xavier Prélat
Hi,

Is there any ways to access (edit,save,etc) the .fo file (generated by FOP?)
while printing (e.g:from command line : fop -xml file.xml -xsl file.xsl ...)
or should I have to use Xalan (or XSLT processor..) to do it ??

I guess Fop invokes Xalan to do this but can I get them directly???


regards.

Xavier



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



XSL_FO generator

2003-02-07 Thread Matthew Lancashire
Is there a nice simple graphical (and free) product that I can have my users
use to create fo stylesheetsfor use with FOP

Matthew Lancashire
IT Project Manager
Intitial Electronic Security Ltd

Tel: +44 1282 473554
Fax: +44 1254 267552


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



RE: XSL_FO generator

2003-02-07 Thread Steve Pitchford
I haven't found a nice one, let alone a free one, and I would imagine
that a product would have to become very sophisticated ( and hence very
likely to be expensive ) in order to allow a user to generate a
stylesheet effectively.

IMHO allowing users to create stylesheets is a can of worms and I would
consider myself better off leaving users to populate the xml source and
using a contractor/in-house designer to produce your stylesheets
separately.

Steve.

This message is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material. Any
review, retransmission, 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. If you receive this message
in error please contact the sender by return e-mail and delete the
message from your computer.

Any opinions contained in this message are those of the author and are
not given or endorsed by Metalogic PLC unless otherwise clearly
indicated in this message and the authority of the author to bind
Metalogic is duly verified.

Metalogic PLC accepts no liability for any errors or omissions in the
context of this message which arise as a result of internet
transmission.

-Original Message-
From: Matthew Lancashire [mailto:[EMAIL PROTECTED] 
Sent: 07 February 2003 10:48
To: Fop-User-Help (E-mail)
Subject: XSL_FO generator

Is there a nice simple graphical (and free) product that I can have my
users
use to create fo stylesheetsfor use with FOP

Matthew Lancashire
IT Project Manager
Intitial Electronic Security Ltd

Tel: +44 1282 473554
Fax: +44 1254 267552


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

2003-02-07 Thread Ben.Temperton
I'm trying to get page numbers to appear in a PDF document using the
following code:

http://www.w3.org/1999/XSL/Format";>











 Test - p.
 







But I keep getting the following warning:
WARNING: region-name 'xsl-region-after' doesn't exist in the
layout-master-set.

and no page numbers.

How and where do I add xsl-region-after to the  in
order to get it to work?


More importantly, is there a comprehensive tutorial on FOP anywhere which
explains what each of the elements and attributes do? So far I've only come
across examples and getting anything to work is a 3 hour exercise in banging
my head against the desk :)


Many thanks in advance,

Ben


__

CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the person 
or organisation to whom it is addressed.  Its contents are confidential and may 
be protected in law.  Unauthorised use, copying or disclosure of any of it may 
be unlawful.  If you are not the intended recipient, please contact us 
immediately.

The contents of any attachments in this e-mail may contain software viruses, 
which could damage your own computer system.  While Marlborough Stirling has 
taken every reasonable precaution to minimise this risk, we cannot accept 
liability for any damage which you sustain as a result of software viruses.  
You should carry out your own virus checking procedure before opening any 
attachment.

Marlborough Stirling plc, Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com

The following companies are subsidiaries of Marlborough Stirling plc and are 
registered in England and Wales at the above address:
Marlborough Stirling PLC, Registered No. 3008820
The Marlborough Stirling Group PLC, Registered No. 1855353
Marlborough Stirling Administration Limited, Registered No. 2341195
Metgem Limited, Registered No. 02341195


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



AW: Page Numbers

2003-02-07 Thread "Zieseniß, Markus"
in your simple-page-master master-name="main" you have to insert
.

That should work.
Markus

> -Ursprüngliche Nachricht-
> Von:  [EMAIL PROTECTED]
> [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Freitag, 7. Februar 2003 12:13
> An:   [EMAIL PROTECTED]
> Betreff:  Page Numbers
> 
> I'm trying to get page numbers to appear in a PDF document using the
> following code:
> 
> http://www.w3.org/1999/XSL/Format";>
>   
>page-height="29.7cm" page-width="21cm" margin-top="2cm"
> margin-bottom="2cm"
> margin-left="2cm" margin-right="1.2cm">
>   
>   
>master-name="single">
>master-name="main"/>
>   
>   
>initial-page-number="1">
>   
>flow-name="xsl-region-after">
>font-size="10pt" font-family="serif" line-height="14pt"> Test - p.
>  
>   
>   
>   
>   
>   
>   
> 
> But I keep getting the following warning:
> WARNING: region-name 'xsl-region-after' doesn't exist in the
> layout-master-set.
> 
> and no page numbers.
> 
> How and where do I add xsl-region-after to the  in
> order to get it to work?
> 
> 
> More importantly, is there a comprehensive tutorial on FOP anywhere which
> explains what each of the elements and attributes do? So far I've only
> come
> across examples and getting anything to work is a 3 hour exercise in
> banging
> my head against the desk :)
> 
> 
> Many thanks in advance,
> 
> Ben
> 
> 
> __
> 
> CONFIDENTIALITY NOTICE
> This communication and the information it contains is intended for the
> person or organisation to whom it is addressed.  Its contents are
> confidential and may be protected in law.  Unauthorised use, copying or
> disclosure of any of it may be unlawful.  If you are not the intended
> recipient, please contact us immediately.
> 
> The contents of any attachments in this e-mail may contain software
> viruses, which could damage your own computer system.  While Marlborough
> Stirling has taken every reasonable precaution to minimise this risk, we
> cannot accept liability for any damage which you sustain as a result of
> software viruses.  You should carry out your own virus checking procedure
> before opening any attachment.
> 
> Marlborough Stirling plc, Registered No. 3008820,
> Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
> Tel: 01242 547000 Fax: 01242 547100
> http://www.marlborough-stirling.com
> 
> The following companies are subsidiaries of Marlborough Stirling plc and
> are registered in England and Wales at the above address:
> Marlborough Stirling PLC, Registered No. 3008820
> The Marlborough Stirling Group PLC, Registered No. 1855353
> Marlborough Stirling Administration Limited, Registered No. 2341195
> Metgem Limited, Registered No. 02341195
> 
> 
> -
> 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 Numbers

2003-02-07 Thread Steve Pitchford
I'm reading xsl-fo (Making XML Look Good in Print) by o'reilly
(http://www.oreilly.com/catalog/xslfo/ ) and so far, I have to say, it
is looking very good. It's the kind of book I wish I had when I first
started learning xsl-fo, you may find it usefull.

Steve.


This message is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material. Any
review, retransmission, 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. If you receive this message
in error please contact the sender by return e-mail and delete the
message from your computer.

Any opinions contained in this message are those of the author and are
not given or endorsed by Metalogic PLC unless otherwise clearly
indicated in this message and the authority of the author to bind
Metalogic is duly verified.

Metalogic PLC accepts no liability for any errors or omissions in the
context of this message which arise as a result of internet
transmission.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 07 February 2003 11:13
To: [EMAIL PROTECTED]
Subject: Page Numbers

I'm trying to get page numbers to appear in a PDF document using the
following code:

http://www.w3.org/1999/XSL/Format";>

.
.
.


More importantly, is there a comprehensive tutorial on FOP anywhere
which
explains what each of the elements and attributes do? So far I've only
come
across examples and getting anything to work is a 3 hour exercise in
banging
my head against the desk :)


Many thanks in advance,

Ben


__

CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the
person or organisation to whom it is addressed.  Its contents are
confidential and may be protected in law.  Unauthorised use, copying or
disclosure of any of it may be unlawful.  If you are not the intended
recipient, please contact us immediately.

The contents of any attachments in this e-mail may contain software
viruses, which could damage your own computer system.  While Marlborough
Stirling has taken every reasonable precaution to minimise this risk, we
cannot accept liability for any damage which you sustain as a result of
software viruses.  You should carry out your own virus checking
procedure before opening any attachment.

Marlborough Stirling plc, Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com

The following companies are subsidiaries of Marlborough Stirling plc and
are registered in England and Wales at the above address:
Marlborough Stirling PLC, Registered No. 3008820
The Marlborough Stirling Group PLC, Registered No. 1855353
Marlborough Stirling Administration Limited, Registered No. 2341195
Metgem Limited, Registered No. 02341195


-
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 Numbers - fixed

2003-02-07 Thread Ben.Temperton
Thanks for all the help, it's fixed now :)



__

CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the person 
or organisation to whom it is addressed.  Its contents are confidential and may 
be protected in law.  Unauthorised use, copying or disclosure of any of it may 
be unlawful.  If you are not the intended recipient, please contact us 
immediately.

The contents of any attachments in this e-mail may contain software viruses, 
which could damage your own computer system.  While Marlborough Stirling has 
taken every reasonable precaution to minimise this risk, we cannot accept 
liability for any damage which you sustain as a result of software viruses.  
You should carry out your own virus checking procedure before opening any 
attachment.

Marlborough Stirling plc, Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com

The following companies are subsidiaries of Marlborough Stirling plc and are 
registered in England and Wales at the above address:
Marlborough Stirling PLC, Registered No. 3008820
The Marlborough Stirling Group PLC, Registered No. 1855353
Marlborough Stirling Administration Limited, Registered No. 2341195
Metgem Limited, Registered No. 02341195


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



RE: Page Numbers

2003-02-07 Thread Kielen, Agnes
I agree with that. I've used it to learn fop.

Agnes

-Original Message-
From: Steve Pitchford [mailto:[EMAIL PROTECTED]
Sent: vrijdag 7 februari 2003 12:42
To: [EMAIL PROTECTED]
Subject: RE: Page Numbers


I'm reading xsl-fo (Making XML Look Good in Print) by o'reilly
(http://www.oreilly.com/catalog/xslfo/ ) and so far, I have to say, it
is looking very good. It's the kind of book I wish I had when I first
started learning xsl-fo, you may find it usefull.

Steve.


This message is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material. Any
review, retransmission, 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. If you receive this message
in error please contact the sender by return e-mail and delete the
message from your computer.

Any opinions contained in this message are those of the author and are
not given or endorsed by Metalogic PLC unless otherwise clearly
indicated in this message and the authority of the author to bind
Metalogic is duly verified.

Metalogic PLC accepts no liability for any errors or omissions in the
context of this message which arise as a result of internet
transmission.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 07 February 2003 11:13
To: [EMAIL PROTECTED]
Subject: Page Numbers

I'm trying to get page numbers to appear in a PDF document using the
following code:

http://www.w3.org/1999/XSL/Format";>

.
.
.


More importantly, is there a comprehensive tutorial on FOP anywhere
which
explains what each of the elements and attributes do? So far I've only
come
across examples and getting anything to work is a 3 hour exercise in
banging
my head against the desk :)


Many thanks in advance,

Ben


__

CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the
person or organisation to whom it is addressed.  Its contents are
confidential and may be protected in law.  Unauthorised use, copying or
disclosure of any of it may be unlawful.  If you are not the intended
recipient, please contact us immediately.

The contents of any attachments in this e-mail may contain software
viruses, which could damage your own computer system.  While Marlborough
Stirling has taken every reasonable precaution to minimise this risk, we
cannot accept liability for any damage which you sustain as a result of
software viruses.  You should carry out your own virus checking
procedure before opening any attachment.

Marlborough Stirling plc, Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com

The following companies are subsidiaries of Marlborough Stirling plc and
are registered in England and Wales at the above address:
Marlborough Stirling PLC, Registered No. 3008820
The Marlborough Stirling Group PLC, Registered No. 1855353
Marlborough Stirling Administration Limited, Registered No. 2341195
Metgem Limited, Registered No. 02341195


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



Re: XSL_FO generator

2003-02-07 Thread Gian Piero Bottini
Hi all
Do somebody know how to integrate log4j and fop??
In my project I have 2 log files created with log4j and I would put  the fop
output in them.
The code should be like this..

Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
PatternFormatter formatter = new PatternFormatter(
   "[%{priority}]: %{message}\n%{throwable}" );

LogTarget target = null;
target = new StreamTarget(System.out, formatter);

hierarchy.setDefaultLogTarget(target);
log = hierarchy.getLoggerFor("fop");
log.setPriority(Priority.INFO);

driver.setLogger(??  )

but what do I have to put instead  of '??'   ?

Thanks a lot and sorry for my poor english and my ignorance

Gian Piero



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



Re: XSL_FO generator

2003-02-07 Thread Balaji Loganathan
Did you tried  
driver.setLogger(log);   ?


 --- Gian Piero Bottini <[EMAIL PROTECTED]>
wrote: > Hi all
> Do somebody know how to integrate log4j and fop??
> In my project I have 2 log files created with log4j
> and I would put  the fop
> output in them.
> The code should be like this..
> 
> Hierarchy hierarchy =
> Hierarchy.getDefaultHierarchy();
> PatternFormatter formatter = new
> PatternFormatter(
>"[%{priority}]: %{message}\n%{throwable}" );
> 
> LogTarget target = null;
> target = new StreamTarget(System.out,
> formatter);
> 
> hierarchy.setDefaultLogTarget(target);
> log = hierarchy.getLoggerFor("fop");
> log.setPriority(Priority.INFO);
> 
> driver.setLogger(??  )
> 
> but what do I have to put instead  of '??'   ?
> 
> Thanks a lot and sorry for my poor english and my
> ignorance
> 
> Gian Piero
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>  

http://greetings.yahoo.com.au - Yahoo! Greetings
- Send some online love this Valentine's Day.

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



string to domsource

2003-02-07 Thread Matthew Lancashire
I want to pass a string to FOP instead of a file
I can do this by putting my string into a domSource.

How do I do this though.

Matthew Lancashire
IT Project Manager
Intitial Electronic Security Ltd

Tel: +44 1282 473554
Fax: +44 1254 267552


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



Re: outputting .fo file

2003-02-07 Thread Chris Bowditch
Hi Xavier,
to generate the FO file from your xml and xsl files you currently have to 
run Xalan separately from FOP. Although there are plans to add a batch file 
to the FOP distribution to make this easier in future FOP releases. I 
believe FOP 0.20.5 will have it.


From: Xavier Prélat <[EMAIL PROTECTED]>
Hi,
Is there any ways to access (edit,save,etc) the .fo file (generated by 
FOP?)
while printing (e.g:from command line : fop -xml file.xml -xsl file.xsl 
...)
or should I have to use Xalan (or XSLT processor..) to do it ??

I guess Fop invokes Xalan to do this but can I get them directly???
regards.
Xavier

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

_
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: XSL_FO generator

2003-02-07 Thread Gian Piero Bottini
Oh I have made confusion..
Sorry
 I think that this code is ok for avalon.framework.Logger.
but not for log4j.This is correct??

Anybody know how to use fop with log4j??

Gian


- Original Message - 
From: "Balaji Loganathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 3:45 PM
Subject: Re: XSL_FO generator


> Did you tried  
> driver.setLogger(log);   ?
> 
> 
>  --- Gian Piero Bottini <[EMAIL PROTECTED]>
> wrote: > Hi all
> > Do somebody know how to integrate log4j and fop??
> > In my project I have 2 log files created with log4j
> > and I would put  the fop
> > output in them.
> > The code should be like this..
> > 
> > Hierarchy hierarchy =
> > Hierarchy.getDefaultHierarchy();
> > PatternFormatter formatter = new
> > PatternFormatter(
> >"[%{priority}]: %{message}\n%{throwable}" );
> > 
> > LogTarget target = null;
> > target = new StreamTarget(System.out,
> > formatter);
> > 
> > hierarchy.setDefaultLogTarget(target);
> > log = hierarchy.getLoggerFor("fop");
> > log.setPriority(Priority.INFO);
> > 
> > driver.setLogger(??  )
> > 
> > but what do I have to put instead  of '??'   ?
> > 
> > Thanks a lot and sorry for my poor english and my
> > ignorance
> > 
> > Gian Piero
> > 
> > 
> > 
> >
> -
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >  
> 
> http://greetings.yahoo.com.au - Yahoo! Greetings
> - Send some online love this Valentine's Day.
> 
> -
> 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: Postscript Error when RIPing document created with FOP

2003-02-07 Thread Victor Mote
Patrick Branley wrote:

> I have PDF document created with FOP that I sent to Xerox Docucolor 2060
> using a Scitex Spire RIP that failed with the following error:

...

> The printer has a workaround by first distilling the file in Acrobat and
> then resending it to the RIP, but this affects their workflow and
> we plan to
> send a large number of files to them per year so this isn't a
> viable option.

Hmmm. We're missing something here. When you say that your printer distilled
the file in Acrobat, where did the printer get the PostScript code to do
that job? Distiller is itself a PostScript device, so it should choke on the
file the same way that the RIP does. If both PostScript devices (Distiller &
your RIP) are using the same input, then the RIP PostScript implementation
is suspect. If they are using different input, then we need to know more
about the tools that are being used to convert the PDF to PostScript.

Victor Mote


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



Fop font issues with MDB EJBs

2003-02-07 Thread frederic . kieffer
Hi there!
I'm experiencing font problems using Message Driven EJBs.
These beans are instanciated/created each time a message is pushed into the
JMS queue these beans are bound to.
Messages contains objects which I build DOMs from, before being used by a
class which does the transformation and printing.
As several messages can be queued withing a second, several EJBs may take
care of the process.
In that case, some fonts are not displayed on the printed paper.
I'm using  embedded fonts, and after a few good prints (the very few first)
, FOP seems to fall back to the default font.My logs show :
[15:49:45,703,Default] Parsing of document complete, stopping renderer
[15:49:46,083,Default] [ERROR] 
[15:49:46,083,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,093,Default] [ERROR] 
[15:49:46,093,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,153,Default] [ERROR] 
[15:49:46,163,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,183,Default] [ERROR] 
[15:49:46,193,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,213,Default] [ERROR] 
[15:49:46,223,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,223,Default] [ERROR] 
[15:49:46,233,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,243,Default] [INFO] 
[15:49:46,253,Default] Parsing of document complete, stopping renderer
[15:49:46,304,Default] [INFO] 
[15:49:46,304,Default] Parsing of document complete, stopping renderer
[15:49:46,374,Default] [ERROR] 
[15:49:46,384,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,384,Default] [ERROR] 
[15:49:46,394,Default] unknown font GerlingSwift,normal,normal so defaulted
font to any
[15:49:46,414,Default] [INFO] 
[15:49:46,424,Default] Parsing of document complete, stopping renderer
[15:49:46,434,Default] [INFO] 
[15:49:46,444,Default] Parsing of document complete, stopping renderer
 
 
Maybe should I reuse the Driver to avoid this?
Thanks
Frédéric Kieffer

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



TTFReader problem

2003-02-07 Thread Gerard BUNEL
Hello,

I 've tried to use TTFReader to extract metrics from a font file from a
customer.
The process fail with the following exception:

D:\fop-0.20.4>java -cp build\fop.jar org.apache.fop.fonts.apps.TTFReader
D:\fop-
0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF ditimes.xml
TTF Reader v1.1.1

Reading D:\fop-0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF...

Number of glyphs in font: 170
Unicode cmap table not present
java.util.NoSuchElementException: Vector Enumeration
at java.util.Vector$1.nextElement(Vector.java:303)
at org.apache.fop.fonts.TTFFile.createCMaps(Unknown Source)
at org.apache.fop.fonts.TTFFile.readFont(Unknown Source)
at org.apache.fop.fonts.apps.TTFReader.loadTTF(Unknown Source)
at org.apache.fop.fonts.apps.TTFReader.main(Unknown Source)

I've also tried using evaluation version of XEP and everything is
correct with it.
Any Idea ?

--
[EMAIL PROTECTED] - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail:
[EMAIL PROTECTED]
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail:
[EMAIL PROTECTED]



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



Generating ASCII output

2003-02-07 Thread Illiano, Vincent
Hi List,

I've built a document-generation system around FOP to create both PDF and
ASCII text documents.  To create the ASCII text output file, I use the -txt
command line argument to FOP.  I have a couple of small problems with the
ASCII text output.  Every 30 lines or so in the generated output file, a
line of output is written over the previous output line. The next line,
instead of being written on a new line, is written again over the previous
line.  Visually, the 2nd line overlays the previous line.  Characters on the
previous line will show in the output if the next line contains a space at
that character position.

Another problem I'm seeing is that every so often, there is no space between
words in the text output.

So I'm wondering if I've defined my document correctly for ASCII output.  Am
I using the wrong font-family, font-size, line-height?  There is are my
current settings:
 
 


Thanks for any information on this.  -Vincent

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



RENDER_TXT

2003-02-07 Thread bhati001
I am using FOP for transforming xml to pdf and since it was so easy generate
txt just by changing the rendering, i did that too.

But I noticed something wierd, FOP while generating txt would occassionally,
without any pattern, join the top line with the bottom line and the bottom
line text would overwrite that upper line. It is difficult to explain but it
looked like the text was meshed. the pdf output was fine.

I am wondering whether anyone else noticed this. now i am using plain xslt
to output text.

B.

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



page border, not content border

2003-02-07 Thread Roger Roelofs
I'm new to fop, so I may have missed this somewhere, but I'm having 
trouble getting a border around my page.  I tried attaching the border 
to the region-body and to the root block, and in both cases the bottom 
of the border comes at the end of the content rather than at the bottom 
of the page.

What is the right way to do this?
Thanks!
Roger,
Roger Roelofs  Phone 616 574-0480 x246
Datacomp Appraisal ServicesFax   616 574-0486
3215 Eaglecrest Drive, NE  Suite 100   email [EMAIL PROTECTED]
Grand Rapids, MI  49525-4593   web   www.datacompusa.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: FO books (was RE: Page Numbers)

2003-02-07 Thread Clay Leeds
I agree that O'reilly's "XSL-FO: Making XML Look Good in Print" is a 
must read for the XSL-FO designer. In addition, I find the following 
invaluable:

O'Reilly's "XPath and XPointer: Locating Content in XML Documents" 
useful (along with its reference and tutorial for using the FREE (as in 
beer) and invaluable:

XPath Visualizer:
  http://www.vbxml.com/xpathvisualizer/
Wiley's "XSL Essentials" has my favorite, concise list of XSLT 
functions() with examples.

Elliotte Rusty Harold's XML Bible Gold Edition contains much of the 
content from all of these.

Web Maestro Clay
This message was intended for anyone in the whole darn world to read and 
disseminate in any manner they seem fit. Doggone it, this copy-left 
statement means you can pretty much do with it as you see fit. Enjoy! 
Darn it! Now, where're my socks? As I'm in the mood to darn things, I 
should start by darning something important, rather than darning all of 
these e-mail disclaimers which clog up my replies... Sheesh! I feel like 
Monk (an obsessive-complusive detective) having to delete the darn 
things from *my* replies all the time... :-)

Steve Pitchford wrote:
I'm reading xsl-fo (Making XML Look Good in Print) by o'reilly
(http://www.oreilly.com/catalog/xslfo/ ) and so far, I have to say, it
is looking very good. It's the kind of book I wish I had when I first
started learning xsl-fo, you may find it usefull.
Steve.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 07 February 2003 11:13
To: [EMAIL PROTECTED]
Subject: Page Numbers

I'm trying to get page numbers to appear in a PDF document using the
following code:
http://www.w3.org/1999/XSL/Format";>
More importantly, is there a comprehensive tutorial on FOP anywhere
which
explains what each of the elements and attributes do? So far I've only
come
across examples and getting anything to work is a 3 hour exercise in
banging
my head against the desk :)
Many thanks in advance,
Ben

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


RE: How to stop a render FOP ?

2003-02-07 Thread Patrick Dean Rusk
> How to stop a render FOP ?

Philippe,

I'm going to assume that you want a human or a program to stop a FOP run
that is embedded in a program that should otherwise remain running.  If you
mean the command line, you can, of course, use ^C or whatever interrupt
command is appropriate to your shell.

It would be preferable to be able to run FOP in a separate thread, and 
then
set some flag from the main thread that FOP would notice and abort on.  If
such a simple, programmatic mechanism for doing this exists, I don't know of
it.

I have been able to implement the following though

I wanted to put up a modal progress dialog that would indicate how many
pages have been rendered thus far.  I did this by creating
ProgressDialogLogger, an implementation of the
org.apache.avalon.framework.logger.Logger interface, and set it as the
logger for the rendering run.

Then, from the main thread I put up the modal progress dialog with an
initial message of "Initializing...".  Then I launch FOP in a separate
thread.

Every time FOP logs a message, particularly the INFO messages counting 
off
the rendered pages, I update the message in the progress dialog.  When FOP
finishes, the dialog is disposed of.

That all worked fine.  Then I wanted to put a "Cancel" button on the
dialog.

The Cancel button sets a flag on the ProgressDialogLogger.  The next 
time
that FOP attempts to log a message, the ProgressDialogLogger notices this
flag and throws a "CancelError", a subclass of Error.  I chose an Error
subclass on the assumption that FOP would not have any "catch (Error error)"
blocks, which appears correct.

Then, my background thread running FOP catches the CancelError, closes 
the
streams it opened for FOP, disposes of the progress dialog, and exits.

Hope this helps.

Patrick Rusk


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



Re: Generating ASCII output

2003-02-07 Thread Chris Bowditch
Hi Vincent,
in general terms an XSL Formatting engine is the wrong tool for generating 
Character Text output.

A XSL Formatting engine works with precise coordinates for formatting 
objects, i.e. the text and when this is translated by a Text Renderer, the 
coordinates must be rounded to the nearest line or character offset. Hence 
why some lines sit ontop of one another and spacing between characters is 
not right.

I recommend you write an XSL stylesheet that processes your XML directly to 
Text. Theres no need for an XSL Formatter to work out pre-cise coordinates 
for your text, only to convert these coordinates back to a character driven 
textual output.


From: "Illiano, Vincent" <[EMAIL PROTECTED]>
Hi List,
I've built a document-generation system around FOP to create both PDF and
ASCII text documents.  To create the ASCII text output file, I use the -txt
command line argument to FOP.  I have a couple of small problems with the
ASCII text output.  Every 30 lines or so in the generated output file, a
line of output is written over the previous output line. The next line,
instead of being written on a new line, is written again over the previous
line.  Visually, the 2nd line overlays the previous line.  Characters on 
the
previous line will show in the output if the next line contains a space at
that character position.

Another problem I'm seeing is that every so often, there is no space 
between
words in the text output.

So I'm wondering if I've defined my document correctly for ASCII output.  
Am
I using the wrong font-family, font-size, line-height?  There is are my
current settings:



Thanks for any information on this.  -Vincent
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RENDER_TXT

2003-02-07 Thread Chris Bowditch
Hi,
I have answered this question in the thread titled "Generating ASCII Text"

From: "bhati001" <[EMAIL PROTECTED]>
I am using FOP for transforming xml to pdf and since it was so easy 
generate
txt just by changing the rendering, i did that too.

But I noticed something wierd, FOP while generating txt would 
occassionally,
without any pattern, join the top line with the bottom line and the bottom
line text would overwrite that upper line. It is difficult to explain but 
it
looked like the text was meshed. the pdf output was fine.

I am wondering whether anyone else noticed this. now i am using plain xslt
to output text.
B.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_
Express yourself with cool emoticons http://messenger.msn.co.uk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Generating ASCII output

2003-02-07 Thread Fabrizio Tringali
you have to play with textCPI, textLPI and line-height values

hi





From: "Illiano, Vincent" <[EMAIL PROTECTED]>


> Hi List,
>
> I've built a document-generation system around FOP to create both PDF and
> ASCII text documents.  To create the ASCII text output file, I use
the -txt
> command line argument to FOP.  I have a couple of small problems with the
> ASCII text output.  Every 30 lines or so in the generated output file, a
> line of output is written over the previous output line. The next line,
> instead of being written on a new line, is written again over the previous
> line.  Visually, the 2nd line overlays the previous line.  Characters on
the
> previous line will show in the output if the next line contains a space at
> that character position.
>
> Another problem I'm seeing is that every so often, there is no space
between
> words in the text output.
>
> So I'm wondering if I've defined my document correctly for ASCII output.
Am
> I using the wrong font-family, font-size, line-height?  There is are my
> current settings:
>
>  line-height="10.4pt">
> 
>
> Thanks for any information on this.  -Vincent
>


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



Re: RENDER_TXT

2003-02-07 Thread Fabrizio Tringali
you have to play with textCPI, textLPI properties of renderer and with
line-height of rows
hi

From: "bhati001" <[EMAIL PROTECTED]>


> I am using FOP for transforming xml to pdf and since it was so easy
generate
> txt just by changing the rendering, i did that too.
>
> But I noticed something wierd, FOP while generating txt would
occassionally,
> without any pattern, join the top line with the bottom line and the bottom
> line text would overwrite that upper line. It is difficult to explain but
it
> looked like the text was meshed. the pdf output was fine.
>
> I am wondering whether anyone else noticed this. now i am using plain xslt
> to output text.
>
> B.


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



Re: string to domsource

2003-02-07 Thread Fabrizio Tringali
byte[] ret = null;
InputStream is;
String xsltSystemId = "file:///C:/someFile.xsl";
String xml = somMethodToCreateXML();
org.apache.fop.apps.Driver driver = new
org.apache.fop.apps.Driver();
//Setup Renderer (output format)
driver.setRenderer(org.apache.fop.apps.Driver.RENDER_PDF);
//Setup output
OutputStream out = new java.io.ByteArrayOutputStream();
driver.setOutputStream(out);
//Setup XSLT
TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer(new
StreamSource(xsltSystemId));
//Setup input for XSLT transformation
Source src = new StreamSource(new java.io.StringReader(xml));
//Resulting SAX events (the generated FO) must be piped through to
FOP
Result res = new SAXResult(driver.getContentHandler());
//Start XSLT transformation and FOP processing
transformer.transform(src, res);
ret = ((ByteArrayOutputStream)out).toByteArray();
out.close();

maybe can go
hi


From: "Matthew Lancashire" <[EMAIL PROTECTED]>


> I want to pass a string to FOP instead of a file
> I can do this by putting my string into a domSource.
>
> How do I do this though.


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



Re: PNG question, and Link to cgi script that generates image example

2003-02-07 Thread Christian Geisert
Christian Geisert wrote:
J.Pietschmann wrote:
[..]
Hm. Maybe there is something wrong with the precompiled version of
FOP.
FOP 0.20.5rc should work with either Jimi or JAI without recompiling.
Just tried it and it doesn't work. Will have a closer look at it.
Christian

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


RE: Generating ASCII output

2003-02-07 Thread Illiano, Vincent
Thanks for the tip.  I may indeed end up doing what you suggest - use Xalan
directly to get text output.  But before I take that plunge, some have
mentioned tweaking textCPI and textLPI.  How is this done?  In the
stylesheet?  If it requires modifying the FOP Java code, I'd rather not ;)

Thanks again, -Vincent


> --
> From: Chris Bowditch[SMTP:[EMAIL PROTECTED]
> Reply To: [EMAIL PROTECTED]
> Sent: Friday, February 07, 2003 12:16 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Generating ASCII output
> 
> Hi Vincent,
> 
> in general terms an XSL Formatting engine is the wrong tool for generating
> 
> Character Text output.
> 
> A XSL Formatting engine works with precise coordinates for formatting 
> objects, i.e. the text and when this is translated by a Text Renderer, the
> 
> coordinates must be rounded to the nearest line or character offset. Hence
> 
> why some lines sit ontop of one another and spacing between characters is 
> not right.
> 
> I recommend you write an XSL stylesheet that processes your XML directly
> to 
> Text. Theres no need for an XSL Formatter to work out pre-cise coordinates
> 
> for your text, only to convert these coordinates back to a character
> driven 
> textual output.
> 
> 
> >From: "Illiano, Vincent" <[EMAIL PROTECTED]>
> >
> >Hi List,
> >
> >I've built a document-generation system around FOP to create both PDF and
> >ASCII text documents.  To create the ASCII text output file, I use the
> -txt
> >command line argument to FOP.  I have a couple of small problems with the
> >ASCII text output.  Every 30 lines or so in the generated output file, a
> >line of output is written over the previous output line. The next line,
> >instead of being written on a new line, is written again over the
> previous
> >line.  Visually, the 2nd line overlays the previous line.  Characters on 
> >the
> >previous line will show in the output if the next line contains a space
> at
> >that character position.
> >
> >Another problem I'm seeing is that every so often, there is no space 
> >between
> >words in the text output.
> >
> >So I'm wondering if I've defined my document correctly for ASCII output.
> 
> >Am
> >I using the wrong font-family, font-size, line-height?  There is are my
> >current settings:
> >
> > >line-height="10.4pt">
> >
> >
> >Thanks for any information on this.  -Vincent
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
> 
> 
> -
> 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: outputting .fo file

2003-02-07 Thread J.Pietschmann
Xavier Prélat wrote:
Is there any ways to access (edit,save,etc) the .fo file (generated by FOP?)
while printing (e.g:from command line : fop -xml file.xml -xsl file.xsl ...)
or should I have to use Xalan (or XSLT processor..) to do it ??
I guess Fop invokes Xalan to do this but can I get them directly???
Download from the following URL (remove the line break)
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-fop/Attic/xalan.bat?
rev=1.1.2.1&only_with_tag=fop-0_20_2-maintain&content-type=text/plain
Run it as
 xalan -in foo.xml -xsl foo.xsl -out foo.fo
There is a xalan.sh as well if you are on Unix.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: page border, not content border

2003-02-07 Thread J.Pietschmann
Roger Roelofs wrote:
I'm new to fop, so I may have missed this somewhere, but I'm having 
trouble getting a border around my page.  I tried attaching the border 
to the region-body and to the root block, and in both cases the bottom 
of the border comes at the end of the content rather than at the bottom 
of the page.

What is the right way to do this?
See:
  http://marc.theaimsgroup.com/?l=fop-user&m=104344889515631&w=2
(Barely two weeks old. Are page border the topic of the month?)
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: page border, not content border

2003-02-07 Thread Roger Roelofs
Thanks,
I had discovered that very message about an hour ago.  Somehow I missed 
it on my first journey through the archives.

On Friday, February 7, 2003, at 03:24  PM, J.Pietschmann wrote:
Roger Roelofs wrote:
I'm new to fop, so I may have missed this somewhere, but I'm having 
trouble getting a border around my page.  I tried attaching the 
border to the region-body and to the root block, and in both cases 
the bottom of the border comes at the end of the content rather than 
at the bottom of the page.
What is the right way to do this?
See:
  http://marc.theaimsgroup.com/?l=fop-user&m=104344889515631&w=2
(Barely two weeks old. Are page border the topic of the month?)
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: AW: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-07 Thread J.Pietschmann
Zieseniß, Markus wrote:
I also do not understand the wrapper example to count all pages of a
document. Has anybody tested that and can explain how to implement?
I don't understand what's the problem.
1. Write an XML file, let's say foo.xml:
 
  
 
2. write an XSLT file which transforms this into a FO document.
Let's suppose we generate a page sequence for each page element.
Therefore foo.xsl:
http://www.w3.org/1999/XSL/Transform";
  xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  
  

  

  

  
  

  
  

  
Page 
   of 
  

  

3. Copy&paste the code from the FAQ into a file rendtest.java.
4. Compile the file.
5. Run it
 java -classpath .;lib/fop.jar;lib/xml-apis.jar;lib/xercesImpl-2.2.1.jar;
  lib/xalan-2.4.1.jar;lib/avalon-framework-cvs-20020806.jar;lib/batik.jar
  rendtest foo.xml foo.xsl foo.pdf
The PDF file should contain "Page 1 of 5", "Page 2 of 5" and so on.
How to adapt this to your specific problem, and how to optimize
this is another matter.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


page-number-citation and text-align="right"

2003-02-07 Thread Stuart McGrigor

 When using page-number-citation to build table of contents,
text-align="right"
 doesn't line up all the page numbers properly.

 At first I thought it was something wrong in fo:leader but changing to
 tables with border shows the problem is still there.

 Interestingly 0.20.5RC is less wrong than 0.20.4 - but it's still wrong.
 Is this a bug? or have I missed something?

--
Stuart McGrigor
Principal Consultant
Kintore Consulting Ltd.,
P O Box 81, Martinborough,
New Zealand


 

  






  



   
   
 

   
 
 
 
   
 
   
 Chapter
 
 
   
 
 
   
 
   
 
   
 
   
 
   


  
  +---+---+
  |Chapter 1:Fixups   | 3 |
  |Chapter 2:Store Groups | 5 |
  |Chapter 3:Item | 8 |
  |Chapter 4:Item Sub-Types   | 15|
  |Chapter 5:Rentals  | 23|
  |Chapter 6:Sales Tax| 42|
  +---+---+


  
  +---+-+
  |Chapter 1:Fixups   | 3
  |Chapter 2:Store Groups | 5
  |Chapter 3:Item | 8
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 1st digit
  |Chapter 6:Sales Tax| 42   ...
  +---+-+

  
  +---+--+
  |Chapter 1:Fixups   | 3|
  |Chapter 2:Store Groups | 5|
  |Chapter 3:Item | 8|
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 2nd digit
  |Chapter 6:Sales Tax| 42   ...
  +---+--+


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



FOP Logo Contest

2003-02-07 Thread Dave Biggar



FOPlogo.svg
 
Dave Biggar
<>-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: page-number-citation and text-align="right"

2003-02-07 Thread Clay Leeds
I think this has been covered before. As I understand it, right-aligning 
page-number stuff is buggy. It has to do with somehow trying to figure 
out how many digits are _going_ to be in the page-number. Because of 
this, it doesn't work perfectly. As a workaround, I'd recommend placing 
some non-breaking space characters ( ) to the right of your 
page-number-citation(s)--perhaps just one (if that works) or one for 
each digit (if you need more).

Hope this helps!
Stuart McGrigor wrote:
 When using page-number-citation to build table of contents,
text-align="right"
 doesn't line up all the page numbers properly.
 At first I thought it was something wrong in fo:leader but changing to
 tables with border shows the problem is still there.
 Interestingly 0.20.5RC is less wrong than 0.20.4 - but it's still wrong.
 Is this a bug? or have I missed something?
--
Stuart McGrigor
Principal Consultant
Kintore Consulting Ltd.,
P O Box 81, Martinborough,
New Zealand
 
  






  

   
   
 
   
 
 
 
   
 
   
 Chapter
 
 
   
 
 
   
 
   
 
   
 
   
 
   
  
  +---+---+
  |Chapter 1:Fixups   | 3 |
  |Chapter 2:Store Groups | 5 |
  |Chapter 3:Item | 8 |
  |Chapter 4:Item Sub-Types   | 15|
  |Chapter 5:Rentals  | 23|
  |Chapter 6:Sales Tax| 42|
  +---+---+
  
  +---+-+
  |Chapter 1:Fixups   | 3
  |Chapter 2:Store Groups | 5
  |Chapter 3:Item | 8
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 1st digit
  |Chapter 6:Sales Tax| 42   ...
  +---+-+
  
  +---+--+
  |Chapter 1:Fixups   | 3|
  |Chapter 2:Store Groups | 5|
  |Chapter 3:Item | 8|
  |Chapter 4:Item Sub-Types   | 15   Border line down the middle
  |Chapter 5:Rentals  | 23  of 2nd digit
  |Chapter 6:Sales Tax| 42   ...
  +---+--+
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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


Re: page-number-citation and text-align="right"

2003-02-07 Thread J.Pietschmann
Stuart McGrigor wrote:
 When using page-number-citation to build table of contents,
text-align="right"
 doesn't line up all the page numbers properly.
FAQ:
 http://xml.apache.org/fop/faq.html#faq-N10255
Also already registered on bugzilla #1130.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]