Re: Is it true!!

2001-07-04 Thread Seshadri G.K.

html-doc , is an open src effort that converts html to pdf, and paginates
quite well. try it out. get it from http://www.easysw.com/htmldoc/

regards
seshadri


- Original Message -
From: Abdul Wahab <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 12:11 PM
Subject: Is it true!!


Hi

FOP can recognise only "fo" files.  Is it true?
My situation is, I want to convert HTML files to PDF.
So what are the steps I have to do.
Expecting ur advise.

Thanks
Wahab.



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




Re: bit OT but..streaming PDF to browsers

2001-07-04 Thread David Frankson

I get pdfs from servlets to work fine in IE, but I never have overcome
the 2 hits per pdf.  Is there a solution to this?


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 7:31 PM
Subject: bit OT but..streaming PDF to browsers


> Hi all,
>  i have been pulling my hair out trying to get my nicely created PDFs
> from FOP to IE4/5.5. Has anyone out there managed to bytestream a PDF to
> any version of IE. I can get it to work but the browser makes 2-3 hits to
> the server (presumably some bad hack by Bill based on the Expires Http
> header that i am sending) it all works fine in Netscape/Mozilla. As i
> cannot server a file due to security i really don't know wot else to do.
> Any help much appreciated :-)
> BTW i am serving via servlets & JSP, setting the content type to
> 'application/pdf'.
>
> cheers
> Dave
>
>
> Streamlink Pty Ltd, Level 5, 33 York Street, Sydney  NSW 2000 Australia
>
> Ph: +61 2 8243 1200   Fax: +61 2 8243 1210   Web: www.streamlink.com.au
>
> ***
> This email and any attachments is confidential and is the intellectual
> property of Streamlink Pty Ltd. If you are not the intended recipient
> you cannot use, distribute or copy this message or attachments. If this
> is the case, please notify the sender by return email immediately and
> erase all copies of the message and attachments, Thank you.
> ***
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


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




Can't build latest CVS

2001-07-04 Thread John Wyman
Title: Message



I 
get
    [javac] Compiling 638 
source files to C:\CVSRoot\xml-fop\build\classes    [javac] 
C:\CVSRoot\xml-fop\build\src\org\apache\fop\fo\flow\TableBody.java:40: Class org.apache.fop.fo.flow.RowSpanMgr not 
found.    [javac] RowSpanMgr 
rowSpanMgr; // manage information about spanning rows
 
Can't find a 
definition for Row Span Mgr, where is it declared ?
 
John
John H. Wyman5160 Darry LaneDublin, OH 
43016(614)-889-0698[EMAIL PROTECTED] Wyman 
Genealogy Site Francis Wyman Assoc 
email List http://groups.yahoo.com/group/FrancisWymanAssocWyman 
Family Genealogy Forum The 
Wyman Surname Message Board   

 


bit OT but..streaming PDF to browsers

2001-07-04 Thread dbirch

Hi all,
 i have been pulling my hair out trying to get my nicely created PDFs
from FOP to IE4/5.5. Has anyone out there managed to bytestream a PDF to
any version of IE. I can get it to work but the browser makes 2-3 hits to
the server (presumably some bad hack by Bill based on the Expires Http
header that i am sending) it all works fine in Netscape/Mozilla. As i
cannot server a file due to security i really don't know wot else to do.
Any help much appreciated :-)
BTW i am serving via servlets & JSP, setting the content type to
'application/pdf'.

cheers
Dave


Streamlink Pty Ltd, Level 5, 33 York Street, Sydney  NSW 2000 Australia

Ph: +61 2 8243 1200   Fax: +61 2 8243 1210   Web: www.streamlink.com.au

***
This email and any attachments is confidential and is the intellectual
property of Streamlink Pty Ltd. If you are not the intended recipient
you cannot use, distribute or copy this message or attachments. If this
is the case, please notify the sender by return email immediately and
erase all copies of the message and attachments, Thank you.
***


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




Re: border-style problem in tables

2001-07-04 Thread Karen Lease

Hi Weiqi,

There are some slight improvements in the current CVS.
border-collapse="collapse" is working better, at least in cases where
all the cells have the same size borders.

The handling of border specifications on the rows is still not done: it
should be taken into account on the cells in the "collapse" style. The
next version of the XSL Specification (hopefully PR) should be clearer
about how this works. I know it's a pain, and I'll try to do something
soon (ie, without waiting for the PR).

Regards,
Karen

Weiqi Gao wrote:

> I had lot of problems with tables with borders in FOP 0.19.0.  The only
> thing that worked reliably for me is to specify the
> border-collapse="separate" property on the table, and use borders only
> on the table or table-cells, and never on table-rows or table-columns.
> Fortunately the effects I wanted are all achievable this way (through
> some wacky calculation in the stylesheets).
> 
> --
> Weiqi Gao
> [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]




NEW: spanning table rows

2001-07-04 Thread Karen Lease

Hello all,

I (finally!) have added spanning table row functionality. There are a
few things to notice:

1. If all cells in a row have rowspan > 1 or are covered by a span from
a previous row, it doesn't work right because it doesn't calculate a
height for the row.

2. FOP currently will never break a set of rows "linked" by spans. This
will be a problem (infinite pages...) if you span more rows than will
fit on a page.

There are probably other issues, but it sounds like this missing feature
was blocking lots of folks.

I will add some test files shortly.

PS: I got rid of the "space-before/space-after" props on table-row. We
agreed some time ago that these aren't in the CR and so now they are no
longer in FOP.

Regards,
Karen Lease

[EMAIL PROTECTED]
[EMAIL PROTECTED]

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




Re: Is it true!! - html2fo

2001-07-04 Thread Enrico Schnepel

hi

You may try http://sourceforge.net/projects/html2fo
Usings this tool You don't need valid XHTML.

Enrico

> Hi
>
> FOP can recognise only "fo" files.  Is it true?
> My situation is, I want to convert HTML files to PDF.
> So what are the steps I have to do.
> Expecting ur advise.
>
> Thanks
> Wahab.

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


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




cvs commit: xml-fop/docs/examples/tables headfoot.fo

2001-07-04 Thread klease

klease  01/07/04 14:19:01

  Modified:docs/examples/tables headfoot.fo
  Log:
  Fix spanning row example so it works
  
  Revision  ChangesPath
  1.2   +6 -10 xml-fop/docs/examples/tables/headfoot.fo
  
  Index: headfoot.fo
  ===
  RCS file: /home/cvs/xml-fop/docs/examples/tables/headfoot.fo,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- headfoot.fo   2000/12/29 04:17:36 1.1
  +++ headfoot.fo   2001/07/04 21:19:00 1.2
  @@ -950,6 +950,7 @@


  
  + 1

  + 2

 
  
  - 
  + 3

 
  
  - 
  - 
  + 4

 
  
  - 
  - 
  - 
  + 5

 
  
  - 
  - 
  - 
  - 
  + 6



cvs commit: xml-fop/src/org/apache/fop/fo/flow TableBody.java TableCell.java TableRow.java

2001-07-04 Thread klease

klease  01/07/04 14:16:02

  Modified:src/org/apache/fop/fo/flow TableBody.java TableCell.java
TableRow.java
  Log:
  Implements spanning table rows
  
  Revision  ChangesPath
  1.36  +11 -30xml-fop/src/org/apache/fop/fo/flow/TableBody.java
  
  Index: TableBody.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableBody.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- TableBody.java2001/07/04 07:37:42 1.35
  +++ TableBody.java2001/07/04 21:16:02 1.36
  @@ -1,4 +1,4 @@
  -/*-- $Id: TableBody.java,v 1.35 2001/07/04 07:37:42 keiron Exp $ --
  +/*-- $Id: TableBody.java,v 1.36 2001/07/04 21:16:02 klease Exp $ --
*
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
  @@ -37,6 +37,7 @@
   String id;
   
   Vector columns;
  +RowSpanMgr rowSpanMgr; // manage information about spanning rows
   
   AreaContainer areaContainer;
   
  @@ -82,6 +83,10 @@
   area.end();
   }
   
  + if (rowSpanMgr == null) {
  + rowSpanMgr = new RowSpanMgr(columns.size());
  + }
  +
   //if (this.isInListBody) {
   //startIndent += bodyIndent + distanceBetweenStarts;
   //}
  @@ -131,6 +136,7 @@
   }
   TableRow row = (TableRow) child;
   
  +row.setRowSpanMgr(rowSpanMgr);
   row.setColumns(columns);
   row.doSetup(areaContainer);
   if (row.getKeepWithPrevious().getType() !=
  @@ -145,6 +151,7 @@
   
   Status status;
   if ((status = row.layout(areaContainer)).isIncomplete()) {
  + // BUG!!! don't 
distinguish between break-before and after!
   if (status.isPageBreak()) {
   this.marker = i;
   area.addChild(areaContainer);
  @@ -162,6 +169,7 @@
   return status;
   }
   if (keepWith.size() > 0) { // && status.getCode() == 
Status.AREA_FULL_NONE
  + // 
FIXME!!! Handle rows spans!!!
   row.removeLayout(areaContainer);
   for (Enumeration e = keepWith.elements();
   e.hasMoreElements();) {
  @@ -179,34 +187,6 @@
   (status.getCode() == Status.AREA_FULL_NONE)) {
   status = new Status(Status.AREA_FULL_SOME);
   }
  -//   if (i 
< widows && numChildren >= widows) {
  -//  
 resetMarker();
  -//  
 return new Status(Status.AREA_FULL_NONE);
  -//   }
  -//   if 
(numChildren <= orphans) {
  -//  
 resetMarker();
  -//  
 return new Status(Status.AREA_FULL_NONE);
  -//   }
  -//   if 
(numChildren - i < orphans && numChildren >= orphans) {
  -//  
 for (int count = i;
  -//  
 count > numChildren - orphans - 1; count--) {
  -//  
 row = (TableRow) children.elementAt(count);
  -//  
 row.removeLayout(areaContainer);
  -//  
 i--;
  -//  
 }
  -//  
 if (i < widows && numChildren >= widows) {
  -//  
 resetMarker();
  -//  
 

cvs commit: xml-fop/src/org/apache/fop/layout BlockArea.java

2001-07-04 Thread klease

klease  01/07/04 14:10:47

  Modified:src/org/apache/fop/layout BlockArea.java
  Log:
  Fix a bug which caused FOP to overestimate the space available for the first line of 
a Block
  
  Revision  ChangesPath
  1.29  +2 -2  xml-fop/src/org/apache/fop/layout/BlockArea.java
  
  Index: BlockArea.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/BlockArea.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- BlockArea.java2001/06/12 11:37:37 1.28
  +++ BlockArea.java2001/07/04 21:10:47 1.29
  @@ -1,4 +1,4 @@
  -/* $Id: BlockArea.java,v 1.28 2001/06/12 11:37:37 keiron Exp $
  +/* $Id: BlockArea.java,v 1.29 2001/07/04 21:10:47 klease 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.
  @@ -122,7 +122,7 @@
* @return the line area to be used to add inlie objects
*/
   public LineArea getCurrentLineArea() {
  -if (currentHeight + this.currentLineArea.getHeight() > maxHeight) {
  + if (currentHeight + lineHeight > maxHeight) {
   return null;
   }
   this.currentLineArea.changeHyphenation(hyphProps);
  
  
  

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




Text Decoration

2001-07-04 Thread John Wyman
Title: Message



It appears as if 
between .12 and the current cvs the last parameter for fontstate which was 
textdecoration in .12 is now only supporting text-variant and the 
text-decoration is lost as it is not passed through. Was this picked up 
somewhere else and I'm missing it ?
 
John
 
John H. Wyman5160 Darry LaneDublin, OH 
43016(614)-889-0698[EMAIL PROTECTED] Wyman 
Genealogy Site Francis Wyman Assoc 
email List http://groups.yahoo.com/group/FrancisWymanAssocWyman 
Family Genealogy Forum The 
Wyman Surname Message Board   

 


Re: border-style problem in tables

2001-07-04 Thread Weiqi Gao

On 04 Jul 2001 10:06:35 +0200, pascal Baptiste wrote:
> 
> I'd like to have a piece of help on an problem I have encountered
> with tables in Fop 0.17.
> 
> In fact I have a xsl stylesheet which contains xsl/fo instructions
> in order to generate pdf from an xml tree. In this stylesheet, I
> have a table and I want to have each row's bottom border visible
> in dashed style. So I use the attribute border-bottom-style of the
> fo:table-row  element with the value "dashed".  And it doesn't
> work.  In fact it seems to be interpreted by the Driver as if it
> had the value "solid" in state of  "dashed".  I have also tried
> with Fop 0.19 and borders are invisible, so it's worse.

FOP doesn't do dashed borders.  Since 0.19.0, you can't draw borders on
table-rows by specifying border properties on the table-row alone.  You
have to draw borders on individual cells, by specifying the border
properties on the table-cell elements.

I had lot of problems with tables with borders in FOP 0.19.0.  The only
thing that worked reliably for me is to specify the
border-collapse="separate" property on the table, and use borders only
on the table or table-cells, and never on table-rows or table-columns.
Fortunately the effects I wanted are all achievable this way (through
some wacky calculation in the stylesheets).

-- 
Weiqi Gao
[EMAIL PROTECTED]


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




cvs commit: xml-fop/src/org/apache/fop/tools TestConverter.java

2001-07-04 Thread keiron

keiron  01/07/04 06:55:29

  Modified:src/org/apache/fop/tools TestConverter.java
  Log:
  sets base dir for test, using xml path
  
  Revision  ChangesPath
  1.5   +9 -0  xml-fop/src/org/apache/fop/tools/TestConverter.java
  
  Index: TestConverter.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/tools/TestConverter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestConverter.java2001/06/21 13:27:11 1.4
  +++ TestConverter.java2001/07/04 13:55:28 1.5
  @@ -7,6 +7,7 @@
   package org.apache.fop.tools;
   
   import org.apache.fop.apps.*;
  +import org.apache.fop.configuration.*;
   
   import java.io.*;
   import java.util.*;
  @@ -188,6 +189,13 @@
   
   try {
   File xmlFile = new File(baseDir + "/" + xml);
  +
  +try {
  +Configuration.put("baseDir", 
xmlFile.getParentFile().toURL().toExternalForm());
  +} catch (Exception e) {
  +System.err.println("Error setting base directory");
  +}
  +
   InputHandler inputHandler = new XSLTInputHandler(xmlFile,
   new File(baseDir + "/" + xsl));
   
  @@ -214,6 +222,7 @@
   }
   driver.setOutputStream(
 new FileOutputStream(new File(destdir, outname + (outputPDF ? ".pdf" 
: ".at.xml";
  +System.out.println("ddir:" + destdir + " on:" + outname + ".pdf");
   driver.render();
   
   // check difference
  
  
  

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




cvs commit: xml-fop/src/org/apache/fop/apps Options.java

2001-07-04 Thread keiron

keiron  01/07/04 06:53:31

  Modified:src/org/apache/fop/apps Options.java
  Log:
  fixed error where configfile was not being set
  
  Revision  ChangesPath
  1.7   +91 -92xml-fop/src/org/apache/fop/apps/Options.java
  
  Index: Options.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/Options.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Options.java  2001/07/04 12:40:42 1.6
  +++ Options.java  2001/07/04 13:53:28 1.7
  @@ -1,10 +1,9 @@
  -/* 
  +/* $Id: Options.java,v 1.7 2001/07/04 13:53:28 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."
  + * For details on use and redistribution please refer to the
  + * LICENSE file included with these sources.
*/
   
  -
   package org.apache.fop.apps;
   
   //sax
  @@ -18,89 +17,88 @@
   import org.apache.fop.messaging.MessageHandler;
   import org.apache.fop.configuration.Configuration;
   import org.apache.fop.configuration.ConfigurationReader;
  - 
  +
   /**
  - *  Options handles loading of configuration files and 
  + *  Options handles loading of configuration files and
*  additional setting of commandline options
*/
   public class Options {
  - boolean errorDump = false;
  - 
  -public Options () 
  - throws FOPException
  -{
  - this.loadStandardConfiguration();
  - initOptions ();
  +boolean errorDump = false;
  +
  +public Options () throws FOPException {
  +this.loadStandardConfiguration();
  +initOptions ();
   }
  -
  -public Options (File userConfigFile) 
  - throws FOPException
  -{
  - this();
  - this.loadUserconfiguration(userConfigFile);
  +
  +public Options (File userConfigFile) throws FOPException {
  +this();
  +this.loadUserconfiguration(userConfigFile);
   }
  -
  -public Options (CommandLineOptions clOptions)
  - throws FOPException
   
  +public Options (CommandLineOptions clOptions) throws FOPException
   {
  - this();
  - this.setCommandLineOptions(clOptions);
  +this();
  +this.setCommandLineOptions(clOptions);
   }
  -
  -//initializing option settings   
  +
  +//initializing option settings
   void initOptions () {
  - if (Configuration.getBooleanValue("quiet").booleanValue()) {
  - MessageHandler.setQuiet(true);  
  - }
  - if (Configuration.getBooleanValue("debugMode").booleanValue()) {
  - errorDump = true;
  - }
  -if (Configuration.getBooleanValue("dumpConfiguration").booleanValue()) {
  - Configuration.put("dumpConfiguration","true");  
  - Configuration.dumpConfiguration();
  - }
  +if (Configuration.getBooleanValue("quiet").booleanValue()) {
  +MessageHandler.setQuiet(true);
  +}
  +if (Configuration.getBooleanValue("debugMode").booleanValue()) {
  +errorDump = true;
  +}
  +if (Configuration.getBooleanValue(
  +  "dumpConfiguration").booleanValue()) {
  +Configuration.put("dumpConfiguration","true");
  +Configuration.dumpConfiguration();
  +}
   }
  - 
  +
   //setting clOptions
   void setCommandLineOptions(CommandLineOptions clOptions) {
  - //load user configuration file,if there is one
  - File userConfigFile = clOptions.getUserConfigFile();
  +//load user configuration file,if there is one
  +File userConfigFile = clOptions.getUserConfigFile();
   if (userConfigFile != null) {
   this.loadUserconfiguration(userConfigFile);
   }
  -
  +
   //debug mode
  - if (clOptions.isDebugMode() != null) {
  - errorDump = clOptions.isDebugMode().booleanValue();
  - Configuration.put("debugMode",new Boolean(errorDump));
  - } 
  - 
  - //show configuration settings
  - boolean dumpConfiguration;
  - if (clOptions.dumpConfiguration() != null) {
  - dumpConfiguration = clOptions.dumpConfiguration().booleanValue();
  - } else {
  - dumpConfiguration = 
Configuration.getBooleanValue("dumpConfiguration").booleanValue();
  - }
  -if (dumpConfiguration) { 
  - Configuration.put("dumpConfiguration","true");  
  - Configuration.dumpConfiguration();
  +if (clOptions.isDebugMode() != null) {
  +errorDump = clOptions.isDebugMode().booleanValue();
  +Configuration.put("debugMode",new Boolean(errorDump));
  +}
  +
  +//show configuration settings
  +boolean dumpConfiguration;
  +if (

Re: Is it true!!

2001-07-04 Thread Weiqi Gao

On 04 Jul 2001 14:41:19 +0800, Abdul Wahab wrote:
> 
> FOP can recognise only "fo" files.  Is it true?

Yes.

> My situation is, I want to convert HTML files to PDF. 
> So what are the steps I have to do.

If your HTML files are also valid XHTML files, then you can write an
XSLT stylesheet to transform the XHTML into XSL-FO.  And then use FOP to
generate the PDF, PCL, etc.

Some XHTML tags are very easy to handle, for example, the  tag can be
directly transformed into a  element.  Some are harder or
impossible, e.g., the .

-- 
Weiqi Gao
[EMAIL PROTECTED]


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




Re: Drawing lines in PDF using FOP

2001-07-04 Thread Alex McLintock

 --- Ricardo Coutinho <[EMAIL PROTECTED]> wrote: > Hi all,
> 
> I have the requirement to draw shapes/lines (horizontal, vertical, diagonal)
> based on x/y coordinates passed on to me. Is this possible?

Well yes - that is what SVG is for. It is a way of describing graphics
in XML. Fop (in conjunction with Batik) can convert much of SVG (but not all)
to PDF. 


> I checked the xslfoRef.pdf that comes with FOP and there was no indication
> that this is possible. I have also searched the net and came up with no
> references/examples.

Eh?
 
> If someone has any ideas/examples, I would be grateful if you would pass
> them on to me.

Loads of SVG examples are downloadable from the website - you might find them
in docs/examples/svg in your downloaded  distribution. There is a small SVG
test suite available.  

Goodluck

Alex McLintock
(Just back from the Linux Expo in London )



=
Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
DR WHO COMPETITION: 
http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104
Get Your XML T-Shirt  at http://www.inversity.co.uk/


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

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




Drawing lines in PDF using FOP

2001-07-04 Thread Ricardo Coutinho

Hi all,

I have the requirement to draw shapes/lines (horizontal, vertical, diagonal)
based on x/y coordinates passed on to me. Is this possible?

I checked the xslfoRef.pdf that comes with FOP and there was no indication
that this is possible. I have also searched the net and came up with no
references/examples.

If someone has any ideas/examples, I would be grateful if you would pass
them on to me.

Ricardo Coutinho


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




RE: HTML to XSL FO

2001-07-04 Thread Michiel Verhoef

As HTML is just markup conversion from HTML to FO works similar to
XML to FO. Provided you HTML has start/end tags and atom elements
such as  are displayed as empty elements (in this case ).

Michiel

$ -Original Message-
$ From: Abdul Wahab [mailto:[EMAIL PROTECTED]]
$ Sent: woensdag 4 juli 2001 13:06
$ To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
$ Subject: HTML to XSL FO
$ 
$ 
$ Could you please explain(if possible with example) how to 
$ convert from HTML
$ to XSL FO using XSLT.
$ 
$ Thanks
$ Fahab.
$ 
$ - Original Message -
$ From: "Fredrik Omland" <[EMAIL PROTECTED]>
$ To: <[EMAIL PROTECTED]>; "Abdul Wahab" <[EMAIL PROTECTED]>
$ Sent: Wednesday, July 04, 2001 6:58 PM
$ Subject: Re: Is it true!!
$ 
$ 
$ > In order to convert HTML to PDF do the following:
$ >
$ > 1. Use XSLT to convert the HTML document to a XSL FO 
$ document. You can use
$ Xalan (it comes with FOP).
$ >
$ > 2. Convert the FO document to a PDF document using FOP.
$ >
$ > FOP also makes it possible to do this in 'one step'. Have a 
$ look at the
$ fop.sh or fop.bat script in your fop directory.
$ >
$ > -Fredrik
$ >
$ >  Abdul Wahab <[EMAIL PROTECTED]>:
$ >
$ > > Hi
$ > >
$ > > FOP can recognise only "fo" files.  Is it true?
$ > > My situation is, I want to convert HTML files to
$ > > PDF.
$ > > So what are the steps I have to do.
$ > > Expecting ur advise.
$ > >
$ > > Thanks
$ > > Wahab.
$ > >
$ >
$ >
$ > 
$ > Få din egen @start.no-adresse gratis på http://www.start.no/
$ >
$ > 
$ -
$ > 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: HTML to XSL FO

2001-07-04 Thread Williamson, James
Title: RE: HTML to XSL FO





I'm sorry to be such a whinger, but this is what frankly annoys me about so many newslists (gross laziness). Fahab, I suggest you actually go and read the documentation, look at the examples, to be succinct; RTFM!, rather than abusing people's goodwill. I admit I've posted a few times asking for help, but at least I actually made the effort to try every possible avenue open to me to solve my issue rather than your knee-jerk reaction, which appears to be bombarding (4 today) this list with questions (Or more likely asking people to do your work for you...)

Regards, 


James



-Original Message-
From: Abdul Wahab [mailto:[EMAIL PROTECTED]]
Sent: 04 July 2001 12:06
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: HTML to XSL FO



Could you please explain(if possible with example) how to convert from HTML
to XSL FO using XSLT.


Thanks
Fahab.


- Original Message -
From: "Fredrik Omland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Abdul Wahab" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 6:58 PM
Subject: Re: Is it true!!



> In order to convert HTML to PDF do the following:
>
> 1. Use XSLT to convert the HTML document to a XSL FO document. You can use
Xalan (it comes with FOP).
>
> 2. Convert the FO document to a PDF document using FOP.
>
> FOP also makes it possible to do this in 'one step'. Have a look at the
fop.sh or fop.bat script in your fop directory.
>
> -Fredrik
>
>  Abdul Wahab <[EMAIL PROTECTED]>:
>
> > Hi
> >
> > FOP can recognise only "fo" files.  Is it true?
> > My situation is, I want to convert HTML files to
> > PDF.
> > So what are the steps I have to do.
> > Expecting ur advise.
> >
> > Thanks
> > Wahab.
> >
>
>
> 
> Få din egen @start.no-adresse gratis på http://www.start.no/
>
> -
> 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 e-mail (including any documents which may accompany it) contains
information which is confidential and may also be privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s) please note that any form of
distribution, copying or use of this e-mail or the information in it
or attached to it is strictly prohibited and may be unlawful.
If you have received this e-mail in error please notify us immediately
by e-mail to [EMAIL PROTECTED] or telephone +44 (0)207 940 1200 and
delete the e-mail.
Please advise immediately if you or your employer do not consent to
Internet E-Mail for messages of this type.
Information or opinions in this message that do not relate to the
business of Windsor plc and/or subsidiary and/or associated companies
shall be treated as neither given or endorsed by it.
**



HTML to XSL FO

2001-07-04 Thread Abdul Wahab

Could you please explain(if possible with example) how to convert from HTML
to XSL FO using XSLT.

Thanks
Fahab.

- Original Message -
From: "Fredrik Omland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Abdul Wahab" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 6:58 PM
Subject: Re: Is it true!!


> In order to convert HTML to PDF do the following:
>
> 1. Use XSLT to convert the HTML document to a XSL FO document. You can use
Xalan (it comes with FOP).
>
> 2. Convert the FO document to a PDF document using FOP.
>
> FOP also makes it possible to do this in 'one step'. Have a look at the
fop.sh or fop.bat script in your fop directory.
>
> -Fredrik
>
>  Abdul Wahab <[EMAIL PROTECTED]>:
>
> > Hi
> >
> > FOP can recognise only "fo" files.  Is it true?
> > My situation is, I want to convert HTML files to
> > PDF.
> > So what are the steps I have to do.
> > Expecting ur advise.
> >
> > Thanks
> > Wahab.
> >
>
>
> 
> Få din egen @start.no-adresse gratis på http://www.start.no/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


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




problem with external graphic via http

2001-07-04 Thread Petr Andrs

Hi all,

when I try use fo:external-image with source of image on http I receive 
following error:

Error in XObject : Error while loading image
http://localhost:8090/xmlrep/ctrl/images?image_space=images&image=icoa.j
pg :
class java.lang.ClassCastException - sun.net.www.http.KeepAliveStream
Error in XObject : Error while loading image
http://localhost:8090/xmlrep/ctrl/images?image_space=images&image=logo.j
pg :
class java.lang.ClassCastException - sun.net.www.http.KeepAliveStream
Error in XObject : Error while loading image
http://localhost:8090/xmlrep/ctrl/images?image_space=images&image=icon.j
pg :
class java.lang.ClassCastException - sun.net.www.http.KeepAliveStream

Has anybody idea what's going wrong?

pa

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




RE: Is it true!!

2001-07-04 Thread Max Dunn

Since XSLT requires XML input, you may want to convert your HTML to XHTML
with something like Tidy:
http://www.w3.org/People/Raggett/tidy/

Also, there is an XHTML to FO stylesheet at:
http://www.antenna.co.jp/XML/downfree/Xhtml2fo.xsl


Max
http://www.siliconpublishing.org/


-Original Message-
From: Fredrik Omland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 04, 2001 3:59 AM
To: [EMAIL PROTECTED]; Abdul Wahab
Subject: Re: Is it true!!


In order to convert HTML to PDF do the following:

1. Use XSLT to convert the HTML document to a XSL FO document. You can use
Xalan (it comes with FOP).

2. Convert the FO document to a PDF document using FOP.

FOP also makes it possible to do this in 'one step'. Have a look at the
fop.sh or fop.bat script in your fop directory.

-Fredrik

 Abdul Wahab <[EMAIL PROTECTED]>:

> Hi >  > FOP can recognise only "fo" files.  Is it true? > My situation is,
I want to convert HTML files to
> PDF.  > So what are the steps I have to do. > Expecting ur advise. >  >
Thanks > Wahab. >



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




Path of font-metrics file

2001-07-04 Thread Hoang Nam



Hello,
 
When I run Fop, Fop does not fond the metric-font 
files that I generated  (In the userconfig.xml, I specified the path 
of the meric-font files). It works only if I put 
the metric-font files in the directory where I lauch FOP.
 
Could somebody tell me how  specifying the 
path of the metric-font files  ?
 
Thank you  for help !
 
Nam


Re: Is it true!!

2001-07-04 Thread Fredrik Omland

In order to convert HTML to PDF do the following:

1. Use XSLT to convert the HTML document to a XSL FO document. You can use Xalan (it 
comes with FOP).

2. Convert the FO document to a PDF document using FOP.

FOP also makes it possible to do this in 'one step'. Have a look at the fop.sh or 
fop.bat script in your fop directory.

-Fredrik

 Abdul Wahab <[EMAIL PROTECTED]>:

> Hi
> 
> FOP can recognise only "fo" files.  Is it true?
> My situation is, I want to convert HTML files to
> PDF. 
> So what are the steps I have to do.
> Expecting ur advise.
> 
> Thanks
> Wahab.
> 



Få din egen @start.no-adresse gratis på http://www.start.no/

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




Re: border-style problem in tables

2001-07-04 Thread pascal Baptiste



Sorry, I have forgotten to send you the xsl stylesheet.
So here it is in attachment.
Thanks.

 etablissements.pdf

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


border-style problem in tables

2001-07-04 Thread pascal Baptiste

Hi everybody,

I'd like to have a piece of help on an problem I have encountered with 
tables in Fop 0.17.
In fact I have a xsl stylesheet which contains xsl/fo instructions in 
order to generate pdf from an xml tree. In this stylesheet, I have a 
table and I want to have each row's bottom border visible in dashed 
style. So I use the attribute border-bottom-style of the fo:table-row 
element with the value "dashed".
And it doesn't work. In fact it seems to be interpreted by the Driver as 
if it had the value "solid" in state of  "dashed".
I have also tried with Fop 0.19 and borders are invisible, so it's worse.

Please help!
Thanks in advance.

PS: don't mind the mistakes because I'm french.


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




cvs commit: xml-fop/src/org/apache/fop/fo/flow TableBody.java

2001-07-04 Thread keiron

keiron  01/07/04 00:37:49

  Modified:src/org/apache/fop/fo/flow TableBody.java
  Log:
  fixed minor problem with footnote size changes
  
  Revision  ChangesPath
  1.35  +2 -1  xml-fop/src/org/apache/fop/fo/flow/TableBody.java
  
  Index: TableBody.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableBody.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- TableBody.java2001/05/16 10:24:52 1.34
  +++ TableBody.java2001/07/04 07:37:42 1.35
  @@ -1,4 +1,4 @@
  -/*-- $Id: TableBody.java,v 1.34 2001/05/16 10:24:52 keiron Exp $ --
  +/*-- $Id: TableBody.java,v 1.35 2001/07/04 07:37:42 keiron Exp $ --
*
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
  @@ -237,6 +237,7 @@
   
   if (spaceAfter != 0) {
   area.increaseHeight(spaceAfter);
  +area.setMaxHeight(area.getMaxHeight() - spaceAfter);
   }
   
   if (area instanceof BlockArea) {
  
  
  

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