FOP: Font problems

2002-02-15 Thread Rachael Blank



Hello!

Thanks in advance 
forany and allassistance.

I defined 
manytables containing text in my stylesheet like the 
following:

fo:table font-family="Times 
Roman" 
font-size="12pt"fo:table-column 
column-width="1.5in"/fo:table-column 
column-width="6.0in"/ 
fo:table-body 
fo:table-row 
fo:table-cell 
fo:block
 
!--spacer-- 
/fo:block 
/fo:table-cellfo:table-cell 
fo:block 
text-align="start" 
xsl:value-of select="concat(lastname, ', ', firstname, 'middlename)" 
/ 
 
/fo:block 
/fo:table-cell
 
/fo:table-row
/fo:table-body
/fo:table

I have also tried 
font-family="serif"

In both cases, the 
text displays correctly (Times Roman 12pt) on many computers at my work site and 
some at remote sites.

BUT...There is one 
client location that displays this samepdf in 10pt Times Roman. She 
faxed us a copy of the printout to verify.
Our help desk asked 
her touse the text tool in Acrobat Reader to cut and paste text from the 
PDF into MS Word and it was 10pt.The client alsoclaims that 
this is happening on her home computer.

Does anyone have any 
idea why this is happening?

Thanks!

Rachael


FOP-XSL:dynamic external graphics

2002-01-04 Thread Rachael Blank

Hello and thanks in advance for your help!

Is there a way I can dynamically display images based on an xml tag that
I am given?

I receive the following xml:
client
   id/id
   ...
/client

I currently have the following uri specification and it works:
fo:external-graphic src=file:../default/tra-app/images/chclogo.gif/

I need the image name (chclogo.gif) to change depending on the
clientida number/id/client that I receive in the xml.

I thought something like this would work:
fo:table-cell
   fo:block
   white-space-collapse=true
   xsl:variable name=filepathValue 
   
select=concat('file:../default/tra-app/images/',client/id,'logo.gif')
/ 
   fo:external-graphic src=$filepathValue /
   xsl:value-of select=$filepathValue /!--Error checking--
   /fo:block
/fo:table-cell

I am receiving the following error with the above code:
Error while creating area : Invalid Image URL - error on relative URL :
java.lang.NullPointerException

I am sure that I have the correct path (because the $filepathValue
displays correctly on the screen via my value-of select statement), but
I am thinking it is not possible to pass a variable into the src element
of the fo:external-graphic statement.  I also made sure this image is
correctly named and in the appropriate directory.

Any thoughts or alternatives, anyone?

Thanks!

Rachael










Can I

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




FOP:Envelopes

2001-12-21 Thread Rachael Blank

Hello!

Has anyone generated envelopes?  Or, have any examples?  Any web sites
with information about generating envelopes in FO?

Thanks!

Rachael

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




FOP: Critical Problem

2001-11-02 Thread Rachael Blank

Hello!

I have seen many posts regarding the lack of support of the
linefeed-preserve tag.  Since August, I have been corresponding with one
of the FOP Independent Members of the Apache Software Foundation, Arved
Sandstrom, to get this problem resolved.

We have had no success to date.  We have a critical application that
relies on this functionality.  This will be used by over 5,000
Cariologists.  This is a fairly sophisticated application which enables
doctors to view, edit and then print a final copy of their
transcriptions.  It will enable the success of our company and also be a
great benchmark for the FOP technology. We are ready to roll out the
application once this is completed.

We would greatly appreciate any help to get this feature working.  Our
java programmers would be willing to work closely with your team to get
this issue resolved.

Thank you kindly,

Rachael Blank
Medical Archival Systems, Inc.





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