Re: infinity character and PDF

2002-04-10 Thread Peter S. Housel

"J.Pietschmann" <[EMAIL PROTECTED]> wrote:
> Jens v. Pilgrim wrote:
> >The infinity character (Unicode: ∞ , HTML: ∞ ) is
> > rendered correctly by the AWT and Print renderers, but incorrectly by
> > the PDF renderer...(I've got a '#' there).
>
> Try ∞
>
> I think it's a problem with the character mapping tables. By
> default, FOP uses only a few standard fonts defined by Adobe
> for PDF generation, it does not use any Unicode fonts. If you
> get a "#", check in which font the glyph is and change to it.

The XSL spec allows the "font-family" to be a comma-separated list of font
families, and for the processor to choose the appropriate font for each
character when a "font-selection-strategy" of "character-by-character" is
given.  Unfortunately neither FOP nor XEP support the
"font-selection-strategy" property, so it is necessary to explicitly use
fo:inline to change the font for special characters.

Another alternative is to embed a TTF font that includes all of the
characters you need.

The docs/examples/fo/fonts.fo file lists all of the characters supported by
each of the default fonts in their standard encodings.

Cheers,
-Peter S. Housel-   [EMAIL PROTECTED]


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




Re: infinity character and PDF

2002-04-10 Thread J.Pietschmann

Jens v. Pilgrim wrote:
>The infinity character (Unicode: ∞ , HTML: ∞ ) is
> rendered correctly by the AWT and Print renderers, but incorrectly by
> the PDF renderer...(I've got a '#' there).

Try ∞

I think it's a problem with the character mapping tables. By
default, FOP uses only a few standard fonts defined by Adobe
for PDF generation, it does not use any Unicode fonts. If you
get a "#", check in which font the glyph is and change to it.

J.Pietschmann





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




Re: page-number

2002-04-10 Thread J.Pietschmann

Henrik Holle wrote:
> how can i count all pages in my document? i have different "page-sequence
> master-reference" but want to something like :" this document has 12 pages".
> is it possible?

Yes, you got some hints already.
Keep in mind that this will force FOP to keep all
pages in memory until the last page is rendered.
If you get a memory overflow exception, remove the
forward reference to the last page first.

J.Pietschmann




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




J2SE 1.4

2002-04-10 Thread Jim Urban

Is a J2SE 1.4 version of FOP available?

Jim Urban
Product Manager
Netsteps Inc.
Suite 295
500 Park Blvd.
Itasca, IL  60143
Voice:  (630) 250-3045 x106
Fax:  (630) 250-3046


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




RE: page-number

2002-04-10 Thread Louis . Masters


Here is my body flow from my main page sequence:


 
   


Reference it in your content as:


 Page  of 


Hope this helps.  I also think info on this is in the FAQ.

-Lou






[EMAIL PROTECTED] on 04/10/2002 10:03:48

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  RE: page-number


this tag must be right at the end of the doc 

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: AW: page-number


thx

it nearly works.

but i have e.g. 7 pages, but 
says 6 ??
Does ist start from 0 ? can i change it, or is something like
"fo:page-number-citation ref-id="endofdoc"/> + 1" possible ?


henrik


yup

Try this in the beginning of your xsl:


  /


And this somewhere close to the end.




-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different "page-sequence
master-reference" but want to something like :" this document has 12
pages".

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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









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




re: page-number

2002-04-10 Thread Henrik Holle

nice try ;)

 ist at the end !

on the first page i have 

and at the last page-sequence i have 

but fop forget to count 1 page





-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 10. April 2002 16:04
An: [EMAIL PROTECTED]
Betreff: RE: page-number



this tag must be right at the end of the doc 

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: AW: page-number


thx

it nearly works.

but i have e.g. 7 pages, but 
says 6 ??
Does ist start from 0 ? can i change it, or is something like
"fo:page-number-citation ref-id="endofdoc"/> + 1" possible ?


henrik


yup

Try this in the beginning of your xsl:


  /


And this somewhere close to the end.




-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different "page-sequence
master-reference" but want to something like :" this document has 12 pages".

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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




RE: page-number

2002-04-10 Thread Dudley . Butt


this tag must be right at the end of the doc 

-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: AW: page-number


thx

it nearly works.

but i have e.g. 7 pages, but 
says 6 ??
Does ist start from 0 ? can i change it, or is something like
"fo:page-number-citation ref-id="endofdoc"/> + 1" possible ?


henrik


yup

Try this in the beginning of your xsl:


  /


And this somewhere close to the end.




-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different "page-sequence
master-reference" but want to something like :" this document has 12 pages".

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine. 
 
Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone. 
 
Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.  



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




AW: page-number

2002-04-10 Thread Henrik Holle

thx

it nearly works.

but i have e.g. 7 pages, but 
says 6 ??
Does ist start from 0 ? can i change it, or is something like
"fo:page-number-citation ref-id="endofdoc"/> + 1" possible ?


henrik


yup

Try this in the beginning of your xsl:


  /


And this somewhere close to the end.




-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different "page-sequence
master-reference" but want to something like :" this document has 12 pages".

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine.

Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone.

Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.



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


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




infinity character and PDF

2002-04-10 Thread Jens v. Pilgrim

Hello,

  I've found a little bug in the PDF generator (or is it me - couldn't
be ;-) ).

   The infinity character (Unicode: ∞ , HTML: ∞ ) is
rendered correctly by the AWT and Print renderers, but incorrectly by
the PDF renderer. In other words, this character is not written
correctly to PDF documents (I've got a '#' there).

  Is this really a bug of the PDF renderer or is it a problem of the
character sets. All applications (FOP, Acrobat) are running on the same computer,
that is all fonts are present.

Best regards,
  Jens  


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




pdf vs. awt

2002-04-10 Thread Henrik Holle

hi,


i have a xsl:fo document with large tables. In the awt preview, the tables
on the pages fit excactly to DIN A4, but the pdf build with the same fo has
to small tables. is there any fix ?


regards

henrik


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




need help xalan-J images

2002-04-10 Thread Torsten Erler

I'm using XALAN Java 2 to translate "xsl" stylesheets to "fo" and the result
to "pdf"
I have to insert a graphic using URL from xml file









This works fine, but all images are scaled to the specified height and
width.
If I remove this attributes, all images greater than page size
()
produce an infinite loop on translation.
I tried to use "max-height" and "max-width", but xalan ignores this and
tells me:
Warning: property - "max-height" is not implemented yet.
Warning: property - "max-width" is not implemented yet.

Can anyone tell me another solution to find out whether the image must be
scaled to fit the page size or not?

ThanX Torsten


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




Re: FopException:master reference for 'fo:page-sequence' matches

2002-04-10 Thread dbrahmandam


Hi,

You may refer the 'CHANGES' FILE UNDER  fop-0.20.3.
Change "master-name" to "master-reference" on fo:page-sequence,
  fo:single-page-master-reference, fo:repeatable-page-master-reference and
  fo:conditional-page-master-reference to comply with the latest XSL
recommendation.

Use 'master-reference' in place of 'master-name'

Durga



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




RE: page-number

2002-04-10 Thread Dudley . Butt

yup

Try this in the beginning of your xsl:


  /


And this somewhere close to the end.




-Original Message-
From: Henrik Holle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: page-number



hi,

how can i count all pages in my document? i have different "page-sequence
master-reference" but want to something like :" this document has 12 pages".

is it possible?


regards

henrik


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


This message contains information intended solely for the addressee,
which is confidential or private in nature and subject to legal privilege.
If you are not the intended recipient, you may not peruse, use,
disseminate, distribute or copy this message or any file attached to this
message. Any such unauthorised use is prohibited and may be unlawful. If
you have received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
original message from your machine. 
 
Furthermore, the information contained in this message, and any
attachments thereto, is for information purposes only and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of Dimension Data (South Africa) (Proprietary) Limited
or is subsidiaries and associated companies ("Dimension Data"). Dimension
Data therefore does not accept liability for any claims, loss or damages
of whatsoever nature, arising as a result of the reliance on such
information by anyone. 
 
Whilst all reasonable steps are taken to ensure the accuracy and
integrity of information transmitted electronically and to preserve the
confidentiality thereof, Dimension Data accepts no liability or
responsibility whatsoever if information or data is, for whatsoever
reason, incorrect, corrupted or does not reach its intended destination.  



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




DO NOT REPLY [Bug 7919] New: - problem to use attribute linefeed-treatment and line-stacking-strategy

2002-04-10 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7919

problem to use attribute linefeed-treatment and line-stacking-strategy

   Summary: problem to use attribute linefeed-treatment and line-
stacking-strategy
   Product: Fop
   Version: 0.20.3
  Platform: All
OS/Version: All
Status: NEW
  Severity: Critical
  Priority: Other
 Component: pdf renderer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


hi

I write à tutorial. So I insert code java like sample.
So I need to use linefeed-treatment attribute and line-stacking-strategy 
attribute in order to display in my pdf document code java indented. But this 
attribute is not implemented.
Can you doing something,please.
It's importante. 

Thanks
charly

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




page-number

2002-04-10 Thread Henrik Holle


hi,

how can i count all pages in my document? i have different "page-sequence
master-reference" but want to something like :" this document has 12 pages".

is it possible?


regards

henrik


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




SV: FopException:master reference for 'fo:page-sequence' matches

2002-04-10 Thread Klosa Uwe

Hi Susan,

you have to change 



to 



Regards

Uwe

-Ursprungligt meddelande-
Från: susan atmaja [mailto:[EMAIL PROTECTED]]
Skickat: den 10 april 2002 07:15
Till: [EMAIL PROTECTED]
Ämne: FopException:master reference for 'fo:page-sequence' matches


Hi,

I'm trying to convert xml and xsl file into pdf file, but the following 
exception was thrown :
Fop Exception - master reference for 'fo:page-sequence' matches no 
'simple-page-master' or 'page-sequence-master'

Please advise.

Note:
The xsl file that i'm using is inside the distributed jar file for fop 
0.20.3, as follows:

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


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














xsl:fo short reference - p.







   
xsl:fo short reference
 



 
Content
 

 





   
  
 
)
 
  
  
 

 
  
   


 


 
The explanation of the flow objects is based (mostly
verbatim) 
on the section
6.2 of the XSL W3C Candidate Recommendation 21 November
2000. 
More info at the beginning
of the file xslfoRef.xml.
 








   

   



   
 
   




   
 
   



   

   



   
   Content: 
   



   
  Properties:
   
   
 
   



   
 
   




   
 
   




   Values: 
   




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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



smime.p7s
Description: application/pkcs7-signature