DO NOT REPLY [Bug 6954] New: - Can't compile FOP (current CVS)

2002-03-07 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6954.
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=6954

Can't compile FOP (current CVS)

   Summary: Can't compile FOP (current CVS)
   Product: Fop
   Version: 0.20.3
  Platform: PC
   URL: http://www.sebastian-bergmann.de/fop.txt
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Environment: Windows 2000, Java 2 SDK 1.4, fresh checkout of FOP from CVS
Build log: http://www.sebastian-bergmann.de/fop.txt

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




cvs commit: xml-fop/src/org/apache/fop/pdf PDFColor.java

2002-03-07 Thread keiron

keiron  02/03/07 04:22:11

  Modified:src/org/apache/fop/pdf PDFColor.java
  Log:
  removed excess spaces
  
  Revision  ChangesPath
  1.12  +9 -9  xml-fop/src/org/apache/fop/pdf/PDFColor.java
  
  Index: PDFColor.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/PDFColor.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- PDFColor.java 2 Nov 2001 11:06:07 -   1.11
  +++ PDFColor.java 7 Mar 2002 12:22:11 -   1.12
  @@ -1,5 +1,5 @@
   /*
  - * $Id: PDFColor.java,v 1.11 2001/11/02 11:06:07 keiron Exp $
  + * $Id: PDFColor.java,v 1.12 2002/03/07 12:22:11 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -175,8 +175,8 @@
   } else {
   p.append(PDFNumber.doubleOut(this.red) +  
+ PDFNumber.doubleOut(this.green) +  
  - + PDFNumber.doubleOut(this.blue) +  
  - +  rg \n);
  + + PDFNumber.doubleOut(this.blue)
  + +  rg\n);
   }
   } else {  // stroke/border
   if (same) {
  @@ -184,8 +184,8 @@
   } else {
   p.append(PDFNumber.doubleOut(this.red) +  
+ PDFNumber.doubleOut(this.green) +  
  - + PDFNumber.doubleOut(this.blue) +  
  - +  RG \n);
  + + PDFNumber.doubleOut(this.blue)
  + +  RG\n);
   }
   }
   } // end of output RGB
  @@ -196,12 +196,12 @@
   p.append(PDFNumber.doubleOut(this.cyan) +  
+ PDFNumber.doubleOut(this.magenta) +  
+ PDFNumber.doubleOut(this.yellow) +  
  - + PDFNumber.doubleOut(this.black) +  k \n);
  + + PDFNumber.doubleOut(this.black) +  k\n);
   } else {  // fill
   p.append(PDFNumber.doubleOut(this.cyan) +  
+ PDFNumber.doubleOut(this.magenta) +  
+ PDFNumber.doubleOut(this.yellow) +  
  - + PDFNumber.doubleOut(this.black) +  K \n);
  + + PDFNumber.doubleOut(this.black) +  K\n);
   }
   
   } // end of if CMYK
  @@ -209,9 +209,9 @@
   // assume we're in DeviceGray, because otherwise we're screwed.
   
   if (fillNotStroke) {
  -p.append(PDFNumber.doubleOut(this.black) +  g \n);
  +p.append(PDFNumber.doubleOut(this.black) +  g\n);
   } else {
  -p.append(PDFNumber.doubleOut(this.black) +  G \n);
  +p.append(PDFNumber.doubleOut(this.black) +  G\n);
   }
   
   }
  
  
  

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




Re: Sorry, Send mail again(vertical line between column and column)

2002-03-07 Thread Yuko Nakayama
Thank you , Mark!

But this way is not good.
Because when there are 3 columns in region-body, width of a column is
shorter than 2.I

I tryed this way, but center column's space is too long 

Width of a column cannot be changed, can you?
How do you change the width of column of center only ?

thanks.

Yuko.
- Original Message -
From: "Mark Bitz" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 1:05 AM
Subject: Re: Sorry, Send mail agein(vertical line between column and column)


 The only way I got this to work was to insert an image of a vertical line
 between the 2 column. So actually I made it 3 columns with the middle
column
 being really small. It's a quick fix and it worked for me.

 - Original Message -
 From: "Yuko Nakayama" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, March 06, 2002 10:52 AM
 Subject: Sorry, Send mail agein(vertical line between column and column)


  Hello.
 
  Sorry, I Send a mail agein.
 
  My FO have 2 columns in region-body.(column-gap is 0.25in)
  I want to draw vertical line, between column and column.
  Please tell me how to draw a vertical line.
 
  PS:
  vertical line's height equals region-body's height.
  Region-body's height changes dynamically.
 
  thanks.
 
  Yuko Nakayama
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 

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





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


java.util.HashMap to com.sun.java.util.collections.HashMap

2002-03-07 Thread David B. Bitton

Has it come up where anyone has attempted to use FOP w/ JDK 1.1.  The is no
HashMap class.  Sun has made available the collections classes for use in
1.1.  This requires changing every import of java.util.HashMap to
com.sun.java.util.collections.HashMap.  I plan on doing this on my copy of
the codebase, because I am rolling FOP up into a COM DLL for use from an ASP
page, and J++ (the only way to build a COM DLL, as far as I know) uses 1.1.

Any thoughts?

--

David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Diversa ab illis virtute valemus.


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




Re: java.util.HashMap to com.sun.java.util.collections.HashMap

2002-03-07 Thread Nicola Ken Barozzi

From: David B. Bitton [EMAIL PROTECTED]

 Has it come up where anyone has attempted to use FOP w/ JDK 1.1.  The is
no
 HashMap class.  Sun has made available the collections classes for use in
 1.1.  This requires changing every import of java.util.HashMap to
 com.sun.java.util.collections.HashMap.  I plan on doing this on my copy of
 the codebase, because I am rolling FOP up into a COM DLL for use from an
ASP
 page, and J++ (the only way to build a COM DLL, as far as I know) uses
1.1.

You can use also the java-plugin (IIRC) to make java objects used as OCXs.
There is also a project on IBM alphaworks, and one on Sun javasoft to make
EJBs used in such a way.

Maybe these can help.

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


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




Re: FAQ Answers please

2002-03-07 Thread Joerg Pietschmann

(Crossposted to both fop-dev and fop-user. fop-user subscribers, please
post follow-ups to fop-dev)

alex [EMAIL PROTECTED] wrote:
 Can anyone capture any important questions and answers which I should put
 into the FAQ?
Well questions are easy, answers somewhat less:

Here is my impression
1. FOP specific technical questions
 1.1 Using FOP in a servlet. Apparently, the servlet example in the
  distribution is not sufficient, but still a frist answer.
 1.2 Using FOP in a servlet with an XSLT transformation
  Many suboptimal answers are regulrly posted here and to the
  fop-user list.
  The canonical answers are, use XSLTInputHandler or TraxInputHandler
  if both XML and XSL are files, or a SAX event stream if some XML
  is generated on the fly or read from an network stream or such.
  Code can be copied from
   http://marc.theaimsgroup.com/?l=fop-devw=2r=1s=xsltinputhandlerq=b
  namely
   http://marc.theaimsgroup.com/?l=fop-devm=101232320408992w=2
  and 
   http://marc.theaimsgroup.com/?l=fop-devw=2r=1s=getContentHandlerq=b
  unfortunately, there are various neat snippets which would have to
  be combined in order to show all the possibilites.
   http://marc.theaimsgroup.com/?l=fop-devm=100583267306925w=2
   http://marc.theaimsgroup.com/?l=fop-devm=100703832007931w=2
 1.3 User supplied fonts
  While this is answered in the Docs, some expressive hints about what
  data are file names and what are file _URLs_ could be noted again.
 1.4 Embedding fonts when run from a servlet
  The usual code how to get the settings from userconfig.xml, as for
  example seen at
   http://marc.theaimsgroup.com/?l=fop-devm=101421597727050w=2
  This question needs to be indexed twice, obviously.
 1.5 Complaints about:
   1.5.1 files not found referenced in fo:external-graphics, user fonts etc.
   1.5.2 MalformedURLException, especially URIs starting with (null)
  It should be explained
   o The file names are URIs.
   o Users should be encouraged to get familar with URI syntax (quote
 web ressources, at least the RFCs).
   o The correct syntax for file URIs is file:///some/path/file.ext
 (on localhost, the usual case). Emphasize the triple slash.
   o The resolution mechanism for relative URIs should be explained,
 especially the role of baseDir.
   o Note that XSL transformations and JAXP transformers have their
 own mechanism for resolving relative URIs, could be redirected
 to the XSLT FAQ http://www.dpawson.co.uk/xsl/xslfaq.html
 1.6 Setting baseDir in userconfig.xml
 1.7 Setting baseDir in a servlet environment
  Either via userconfig.xml or the Configuration, code at
   http://marc.theaimsgroup.com/?l=fop-devm=101354604124258w=2
 1.8 New VFAQ: PNG images and other formats dont (no longer) work,
  Jimi library is missing
  Jimi is no longer in the distribution. Explain where to get it.
 1.9 NoClassDefFound (Command line)
  Explain again how to set the CLASSPATH. Explain the usage of the
  batch files and that they have to be started in the correct directory.
 1.10 NoClassDefFound (Servlet environment), getting FOP working
  for various servlet engines.
  Explain classpath issues, how jar files are gathered by various
  products, and possible conflicts with existing XML/XSLT libraries
  Subquestions
   o Tomcat 4
   o Tomcat 3
   o IBM Websphere
 Oh, i have this at hand:
Put a copy of a working parser in some directory where WebSphere can access
it,
for example, if /usr/webapps/yourapp/servlets is the classpath for your
servlets, copy the Xerces jar into it (any other direcotry would also be
fine)
Do not add the jar to the servlet classpath, but add it to the classpath
of the application server which contains your web application. In the
WebSphere
administration console, click on the environment button in the general
tab
(i have a german version so you may see different names). Fill CLASSPATH
in the varianble name box and /usr/webapps/yourapp/servlets/Xerces.jar
(or whatever your complete path is) in the value box, press OK, then
apply the change and restart the application server.
   o Others? The mail archive is not very responsive about this today.
 1.11 Method not found
  Explain possible incompatibilites (XML parsers, XSLT engines, Batik).
  Refer to previous question.
 1.12 FOP and multithreading
  FOP is not thread safe. Explain consequences.
 1.13 FOP memory consumption (should be higher in the list). OutOfMemoryException.
  Mention redesign effords
  Suggest using multiple page sequences if possible
2. Batik/SVG specific questions
 2.1 SVG text rendered in bad quality, how to put SVG text as text into PDF
  That's here
   http://marc.theaimsgroup.com/?l=fop-devm=100525846132084w=2
  Refer also to how to use userconfig in servlets
 2.2. Batik on headless servers
  Refer to Xvfb and PJA 
   http://marc.theaimsgroup.com/?l=fop-devm=101481782018662w=2
 2.3. FOP does not exit if a SVG 

Re: java.util.HashMap to com.sun.java.util.collections.HashMap

2002-03-07 Thread David B. Bitton

There are number of ways to make Java available across COM, but as far as i
can tell, they all use the local VM that's installed on the machine, and it
needs to be running.  This way, it's compiled into the DLL, along with _all_
of the other classes that are used (from xalan, etc.).  I just d/l'ed the
latest CVS snapshot, and the build breaks on:

[javac] E:\xml-fop\build\src\org\apache\fop\svg\PDFGraphics2D.java:1196:
nested class org.apache.fop.svg.PDFGraphics2D. PDFGraph
icsConfiguration is an abstract class. It can't be instantiated.
[javac] return new PDFGraphicsConfiguration();
[javac]^
[javac] E:\xml-fop\build\src\org\apache\fop\svg\PDFGraphics2D.java:1203:
nested class org.apache.fop.svg.PDFGraphics2D. PDFGraph
icsConfiguration must be declared abstract. It does not define
java.awt.image.VolatileImage createCompatibleVolatileImage(int, int)
from class java.awt.GraphicsConfiguration.
[javac] static class PDFGraphicsConfiguration extends
GraphicsConfiguration {
[javac]  ^
[javac] 2 errors, 1 warning

does anyone know why this is?  I am using all of the latest version of the
dependent libraries, Xalan, Xerces, etc.  I wanted to make sure I could
build the classes before I started the search and destroy mission to find
java.util.HashMap.  Help?

--

David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Diversa ab illis virtute valemus.
- Original Message -
From: Nicola Ken Barozzi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 12:08 PM
Subject: Re: java.util.HashMap to com.sun.java.util.collections.HashMap


 From: David B. Bitton [EMAIL PROTECTED]

  Has it come up where anyone has attempted to use FOP w/ JDK 1.1.  The is
 no
  HashMap class.  Sun has made available the collections classes for use
in
  1.1.  This requires changing every import of java.util.HashMap to
  com.sun.java.util.collections.HashMap.  I plan on doing this on my copy
of
  the codebase, because I am rolling FOP up into a COM DLL for use from an
 ASP
  page, and J++ (the only way to build a COM DLL, as far as I know) uses
 1.1.

 You can use also the java-plugin (IIRC) to make java objects used as OCXs.
 There is also a project on IBM alphaworks, and one on Sun javasoft to make
 EJBs used in such a way.

 Maybe these can help.

 --
 Nicola Ken Barozzi   [EMAIL PROTECTED]
 - verba volant, scripta manent -
(discussions get forgotten, just code remains)
 -


 -
 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: java.util.HashMap to com.sun.java.util.collections.HashMap

2002-03-07 Thread Art Welch

Prior versions of FOP used to support JDK 1.1 (with reduced functionality).
However some time back, JDK 1.1 support was dropped. I have not looked at
this in a while, but I suspect that HashMap may be the least of the
problems. I suspect that supporting JDK 1.1 with the current FOP would
require dropping image and SVG support as well as significant coding
changes.

FOP has come a long way since the last version that supported JDK 1.1, so it
would probably make a lot more sense to apply your efforts to getting a JDK
1.2+ environment for your COM DLL.

But if you are doing with FOP does not require the latest and greatest FOP.
There should be an old version of FOP around somewhere. I think (but am not
sure) that 0.19.1 may have been the last (or one of the last) versions to
support JDK 1.1. May require a rebuild. The build script had an option to
build for JDK 1.1 (IIRC it was package_jdk11 or something like that).

Art

-Original Message-
From: David B. Bitton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 11:43 AM
To: fop-dev
Subject: java.util.HashMap to com.sun.java.util.collections.HashMap


Has it come up where anyone has attempted to use FOP w/ JDK 1.1.  The is no
HashMap class.  Sun has made available the collections classes for use in
1.1.  This requires changing every import of java.util.HashMap to
com.sun.java.util.collections.HashMap.  I plan on doing this on my copy of
the codebase, because I am rolling FOP up into a COM DLL for use from an ASP
page, and J++ (the only way to build a COM DLL, as far as I know) uses 1.1.

Any thoughts?

--

David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Diversa ab illis virtute valemus.


-
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: java.util.HashMap to com.sun.java.util.collections.HashMap

2002-03-07 Thread David B. Bitton

Ok, idea be gone.  I'm going back to my original idea, SOAP.  Tx.
--

David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Diversa ab illis virtute valemus.
- Original Message -
From: Art Welch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 1:18 PM
Subject: RE: java.util.HashMap to com.sun.java.util.collections.HashMap


 Prior versions of FOP used to support JDK 1.1 (with reduced
functionality).
 However some time back, JDK 1.1 support was dropped. I have not looked at
 this in a while, but I suspect that HashMap may be the least of the
 problems. I suspect that supporting JDK 1.1 with the current FOP would
 require dropping image and SVG support as well as significant coding
 changes.

 FOP has come a long way since the last version that supported JDK 1.1, so
it
 would probably make a lot more sense to apply your efforts to getting a
JDK
 1.2+ environment for your COM DLL.

 But if you are doing with FOP does not require the latest and greatest
FOP.
 There should be an old version of FOP around somewhere. I think (but am
not
 sure) that 0.19.1 may have been the last (or one of the last) versions to
 support JDK 1.1. May require a rebuild. The build script had an option to
 build for JDK 1.1 (IIRC it was package_jdk11 or something like that).

 Art

 -Original Message-
 From: David B. Bitton [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 07, 2002 11:43 AM
 To: fop-dev
 Subject: java.util.HashMap to com.sun.java.util.collections.HashMap


 Has it come up where anyone has attempted to use FOP w/ JDK 1.1.  The is
no
 HashMap class.  Sun has made available the collections classes for use in
 1.1.  This requires changing every import of java.util.HashMap to
 com.sun.java.util.collections.HashMap.  I plan on doing this on my copy of
 the codebase, because I am rolling FOP up into a COM DLL for use from an
ASP
 page, and J++ (the only way to build a COM DLL, as far as I know) uses
1.1.

 Any thoughts?

 --

 David B. Bitton
 [EMAIL PROTECTED]
 www.codenoevil.com

 Diversa ab illis virtute valemus.


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

 -
 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: Web site update request

2002-03-07 Thread Savino, Matt C

There seem to be several approaches to this problem rather than one magic
bullet. I'd be glad to explain my solution and listen to others in the
processing of hammering out the FAQ entry. 


-Matt



 -Original Message-
 From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 07, 2002 5:45 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Web site update request
 
 
 
 Sure. I'll change that.
 
 Is there any chance that you could get together all the 
 information about 
 viewing pdf through IE so that we don't have to go through it 
 all again.
 
 On 2002.03.07 13:35 alex wrote:
  Pretty please can someone amend this page 
  http://xml.apache.org/fop/faq.html on the website / xdocs in cvs
  
  (I don't have CVS access otherwise I'd do it myself, 
 however I'm happy 
  to learn how to do a diff if someone says they will apply it.)
  
  
  Please change
  
  For up to date information or more details please visit the Fop FAQ 
  site. The site uses Jyve to provide an
  interactive FAQ: http://www.OWAL.co.uk:8090/
  
  to this
  
  For up to date information or more details please visit the 
 Fop FAQ site.
  http://www.OWAL.co.uk/cgi-bin/fopfaq.cgi
  Any problems with the FAQ itself or new answers for the FAQ 
 should be 
  mailed to [EMAIL PROTECTED]
  More general questions about FOP should be directed to one of the 
  mailing lists.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 


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




[Fwd: BUG? Row data breaks over a page within a column]

2002-03-07 Thread Matthew Mastracci

I posted this to the fop-user list, but I think it might be better to 
post it here.

---BeginMessage---

I think I mave have encountered a bug.  The attached XSL:FO file renders 
in what I think is an incorrect manner with FOP 0.20.3.

The column itself ends up being split across two pages.  The row, 
however, contains a column with number-rows-spanned.  I thought that a 
column with number-rows-spanned would be kept together across a page 
break- breaking in the middle of the row seems to be an error.  I've 
tried adding the keep-together=always attribute and it still seems not 
to work.

The column cells with borders are where I think the problem is.

Thanks!
Matt




?xml version=1.0 encoding=utf-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master margin-right=1.5cm margin-left=1.5cm 
margin-bottom=2cm margin-top=1cm page-width=11in page-height=8.5in 
master-name=first
fo:region-before extent=1cm/
fo:region-body margin-top=1cm/
fo:region-after extent=1cm/
/fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-reference=first
fo:flow flow-name=xsl-region-body
fo:table border-collapse=collapse
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-column column-width=20mm/
fo:table-header
fo:table-row
fo:table-cell font-weight=bold 
text-align=center display-align=center border-width=1pt border-color=white 
border-style=solid color=white background-color=navy number-rows-spanned=3 
number-columns-spanned=1
fo:blockTeam/fo:block
/fo:table-cell
fo:table-cell font-weight=bold 
text-align=center display-align=center border-width=1pt border-color=white 
border-style=solid color=white background-color=navy number-rows-spanned=3 
number-columns-spanned=1
fo:blockVersion/fo:block
/fo:table-cell
fo:table-cell font-weight=bold 
text-align=center display-align=center border-width=1pt border-color=white 
border-style=solid color=white background-color=navy number-rows-spanned=1 
number-columns-spanned=6
fo:block2001/fo:block
/fo:table-cell
fo:table-cell font-weight=bold 
text-align=center display-align=center border-width=1pt border-color=white 
border-style=solid color=white background-color=navy number-rows-spanned=2 
number-columns-spanned=2
fo:blockAverage/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell font-weight=bold 
text-align=center display-align=center border-width=1pt border-color=white 
border-style=solid color=white background-color=navy number-rows-spanned=1 
number-columns-spanned=2
fo:blockAugust/fo:block
/fo:table-cell
fo:table-cell font-weight=bold 
text-align=center display-align=center border-width=1pt border-color=white 
border-style=solid color=white background-color=navy number-rows-spanned=1 
number-columns-spanned=2
fo:blockSeptember/fo:block
/fo:table-cell
fo:table-cell font-weight=bold 
text-align=center display-align=center border-width=1pt border-color=white 
border-style=solid color=white background-color=navy number-rows-spanned=1 
number-columns-spanned=2
fo:blockOctober/fo:block

[Fwd: text-shadow and text-decoration]

2002-03-07 Thread Peter B. West



The editors,

7.16.5 text-shadow has offsets defined in terms of horizontal 
distance to the right and vertical distance below the text.

The section also specifies:
Inherited:  no, see prose

There is no mention of inheritance in the prose of section 7.16.5.

7.16.4 text-decoration, likewise, has:
Inherited:  no, see prose

It does discuss inheritance.

This property describes decorations that are added to the text of an 
element. If the property is specified for a block-level element, it 
affects all inline-level descendants of the element. If it is specified 
for (or affects) an inline-level element, it affects all boxes generated 
by the element. If the element has no content or no text content (e.g., 
the IMG element in HTML), user agents must ignore this property.

This is confusing because it seems to imply that the property *is* 
inherited.  Also, if the last sentence quoted is taken to mean, if the 
element has no text content user agents must ignore this property, how 
is this property to affect specified fo:character elements within its 
ambit?  Is it the intention that the property apply to all implicit and 
explicit fo:character elements descended from the element on which it is 
defined?  Is the complication here to do with the handling of 
inline-progression spacing?

Peter West



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




userconfig.xml

2002-03-07 Thread Polly Tsang

Hi all,

How can I use userconfig in embedding servlet programs?

I don't understand the following 2 statements that included in 
xml.apache.org web page. Could someone give a brief sample code about this?

 userConfigFile = new File(userConfig);
options = new Options(userConfigFile);

Thanks you so much!!!

Regards,
Polly

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




Re: userconfig.xml

2002-03-07 Thread Peter B. West

Polly,

You are not the first, nor will you be the last, to be thrown by this. 
 All of the work of the Options object is done in the constructor.  You 
don't have to do anything more with it.  It sets up a lot of static 
data, accessible by static methods, in a Configuration class.  Have a 
look at org.apache.fop.configuration.Configuration for the access 
methods.  Look at the example config.xml and userconfig.xml in 
xml-fop/conf to see what sort of data is stored in there.

Hmm  This seems to crop up a bit.  Maybe something like a static 
Options.configure() would be less confusing for an essentially static 
operation.

Peter

Polly Tsang wrote:

 Hi all,

 How can I use userconfig in embedding servlet programs?

 I don't understand the following 2 statements that included in 
 xml.apache.org web page. Could someone give a brief sample code about 
 this?

 userConfigFile = new File(userConfig);
options = new Options(userConfigFile);

 Thanks you so much!!!

 Regards,
 Polly

 -
 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: java.util.HashMap to com.sun.java.util.collections.HashMap

2002-03-07 Thread Keiron Liddle


This class will not compile with jdk1.4
The api has changed with a new class so it is not possible to make it 
compile with jdk1.4 AND jdk1.2 or jdk1.3
The method you need is in that class, simply uncomment it.

On 2002.03.07 18:38 David B. Bitton wrote:
 There are number of ways to make Java available across COM, but as far as
 i
 can tell, they all use the local VM that's installed on the machine, and
 it
 needs to be running.  This way, it's compiled into the DLL, along with
 _all_
 of the other classes that are used (from xalan, etc.).  I just d/l'ed the
 latest CVS snapshot, and the build breaks on:
 
 [javac] 
 E:\xml-fop\build\src\org\apache\fop\svg\PDFGraphics2D.java:1196:
 nested class org.apache.fop.svg.PDFGraphics2D. PDFGraph
 icsConfiguration is an abstract class. It can't be instantiated.
 [javac] return new PDFGraphicsConfiguration();
 [javac]^
 [javac] 
 E:\xml-fop\build\src\org\apache\fop\svg\PDFGraphics2D.java:1203:
 nested class org.apache.fop.svg.PDFGraphics2D. PDFGraph
 icsConfiguration must be declared abstract. It does not define
 java.awt.image.VolatileImage createCompatibleVolatileImage(int, int)
 from class java.awt.GraphicsConfiguration.
 [javac] static class PDFGraphicsConfiguration extends
 GraphicsConfiguration {
 [javac]  ^
 [javac] 2 errors, 1 warning
 
 does anyone know why this is?  I am using all of the latest version of
 the
 dependent libraries, Xalan, Xerces, etc.  I wanted to make sure I could
 build the classes before I started the search and destroy mission to find
 java.util.HashMap.  Help?

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




Re: FAQ Answers please

2002-03-07 Thread Keiron Liddle


A big Thanks for putting this together. Hopefully this will help everyone.

Some of these questions are also answered on the website.
http://xml.apache.org/fop/

On 2002.03.07 18:21 Joerg Pietschmann wrote:
 2. Batik/SVG specific questions
  2.1 SVG text rendered in bad quality, how to put SVG text as text into
 PDF
This isn't quite true: the svg text is rendered as shapes the Acrobat 
viewer displays it with bad quality unless you turn on smooth line art in 
the Acrobat preferences.

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