Re: HTML to FO

2003-02-28 Thread Enrico Schnepel
Hi,

the url is
http://html2fo.sf.net

Enrico

Am Donnerstag, 27. Februar 2003 22:44 schrieb Ken Masters:
 Hi,

 Could you give some more information on where I can get hold of this tool.
 I did a search for htmlfo on Google and found a stylesheet that is in
 some other langauage to do with DSSSL.

 Ken

 there is a tool called htmlfo which does that..
 
 
 
 -Original Message-

 From: Swapan Golla [mailto:[EMAIL PROTECTED]

 Sent: Thursday, February 27, 2003 1:04 PM
 To: [EMAIL PROTECTED]
 Subject: HTML to FO
 
 
 I am having a need to convert html ( or xhtml ) to fo
 documents and then to pdf. Any suggestions on the best
 ways to achieve this ? I should be able to use/call
 this from my java program.
 
 Thanks in advance,
 Swapan.

 _
 Express yourself with cool emoticons http://messenger.msn.co.uk


 -
 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: Converting HTML Table to PDF

2002-07-02 Thread enrico . schnepel

hi,

I have developed the prog html2fo which is available at

http://sourceforge.net/projects/html2fo

it supports spannings as well as borders
I am currently preparing a new release.
if you are interrested in new sources / binarys i will send a pre release
version.

Enrico

 Hye, 
  
 I need to convert a complex HTML table 
 (with spannings, borders) to PDF.
 Does someone have a xsl-fo script to do this ?
 
 Thanks for help.
  
 Gilles Beaugeais.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

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


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




Re: Getting an error when using an XHTML file??

2002-05-07 Thread enrico . schnepel

Hello Chad,

I am programming html2fo. It is a converter which converts from HTML or
XHTML to XSL:FO. Primary goal is to generate a VALID XSL:FO file from almost any
HTML file, but you will get better result with than without tidy.

It is avilable from
http://sourceforge.net/projects/html2fo

Regards
Enrico

 Hello -
 
 I have an application that produces HTML as output. I used tidy to make
 the
 HTML well-formed and added the XML header and renamed the file to
 filename.xml from filename.html. I then use FOP to try and create a
 filename.pdf file. I get a / by zero exception. The problem is the
 pageCount variable in the StreamRender class isn't get incremented. Since
 it's initialized to zero, an Arithmetic exception is thrown when the log
 tries to write out the average time it took to render each page. Since
 XHTML is  XML, I would have expected this to work. Has anyone else come
 across this issue/exception??
 
 Thanks,
 Chad
 
 Chadford Hilton
 Web Integration
 PNC Financial Services
 v - 412-768-2395
 e - [EMAIL PROTECTED]
 

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


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




Re: background-image patch v0.03 in CVS

2002-04-26 Thread Enrico Schnepel

Sorry - forgot to attach

Enrico

Am Donnerstag, 25. April 2002 21:41 schrieben Sie:
 Hello Mike,

  image problem ...

 I am generating fo files from html. In html (as in fop web site the blue
 headings) images are often very small. Exist there a fo property which
 might not be implemented yet but is responsible for handling this behavior.

  Good question. I've encountered this before, but given I can't remember
  what caused it or what I did to make it go away, so it can't be too
  important.. 8)
 
  If you can send me a minimal test case, or (preferably) open a bug on
  this issue, assugn it to me and attach the test case to that, I'll take a
  look at it.

 I've attached the minimal test case. It can't be a smaller .fo file - only
 a table with nothing in it and a block - that's all.

 Thanks

 Enrico

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


fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
  fo:layout-master-set
fo:simple-page-master master-name=first
  fo:region-body /
/fo:simple-page-master
  /fo:layout-master-set

  fo:page-sequence master-reference=first
fo:flow flow-name=xsl-region-body
  fo:table table-layout=fixed
fo:table-column column-width=5cm /

fo:table-body
  fo:table-row
fo:table-cell
/fo:table-cell
  /fo:table-row
/fo:table-body
  /fo:table

  fo:blockIf the table or this paragraph is leaved out fop works ok./fo:block
/fo:flow
  /fo:page-sequence
/fo:root



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


Re: background-image patch v0.03 in CVS

2002-04-25 Thread Enrico Schnepel

Hello Mike,

 image problem ...

I am generating fo files from html. In html (as in fop web site the blue 
headings) images are often very small. Exist there a fo property which might 
not be implemented yet but is responsible for handling this behavior.

 Good question. I've encountered this before, but given I can't remember
 what caused it or what I did to make it go away, so it can't be too
 important.. 8)

 If you can send me a minimal test case, or (preferably) open a bug on this
 issue, assugn it to me and attach the test case to that, I'll take a look
 at it.

I've attached the minimal test case. It can't be a smaller .fo file - only a 
table with nothing in it and a block - that's all.

Thanks

Enrico

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




Re: background-image patch v0.03 in CVS

2002-04-24 Thread Enrico Schnepel

Would it be possible to implement background-image as one image containing 
the small image X times stacked side by side and top to bottom. The problem 
is if the image is very small it took a very long time to display it in 
acrobat reader.

On a second file I am getting the message:
[ERROR] BodyAreaContainer::getNextArea(): Span attribute messed up

What does this mean?

Thanks Enrico

Am Mittwoch, 24. April 2002 00:34 schrieben Sie:
 What it says. It builds, and I ran a few simple tests.

 I'll be standing by to do any further fixup work or to add more related
 features.

 Regards,
 AHS
 __
 Arved Sandstrom
 Sr Software Developer
 Platform Products Group
 Halifax RD Office
 Hummingbird Ltd


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

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




[ANNOUNCE] html2fo 0.4.2 released

2002-04-21 Thread Enrico Schnepel

Hello all,

I've released the new version 0.4.2 of html2fo this week. It is more stable 
and the resulting PDF looks more like the original HTML file.

The main site at SourceForge is:

http://sourceforge.net/projects/html2fo/

The source code as well as binarys for several platforms could be downloaded 
from:

http://sourceforge.net/project/showfiles.php?group_id=27031

Enjoy

Enrico

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




Re: Nested Tables column-widths

2002-04-15 Thread enrico . schnepel

Hi,

Which converter prog did you used?

I am programming html2fo and it converts colspanned cells into the
corresponing widths within fo:table-column.

You could get it from:
http://sourceforge.net/projects/html2fo

the currently available version is 0.4.1 but I will try to release a new
version this week. Via CVS is a more recent version available.

Regards

Enrico

 Hi,
 
 I have been trying to convert html code to xsl:fo with a converter
 program.
 In html there are statements like -
 tr
   td width=20% colspan=3 class=qdtnl height=18Customer/td
   td width=30% colspan=3 class=qdtnd height=18:
 [~Customer~]/td
   td width=25% class=qdtnl height=18xyz/td
   td width=25% class=qdtndlc height=18: [~abc~] /td
 /tr
 I know I need to explicitely specify column widths in fo , like-
 
 fo:table
  fo:table-column column-width=2in/
  fo:table-column column-width=3in/ before the fo:table-body.
 I have some thoughts like..
   
  
  first- to see how many ' td .. /td statements exist between its 'tr
  
  /tr' in the html source code and then in fo code to create as many
 lines 
  of  'fo:table-column column-width=(20/100 * 8)in/'  before  the  
  
  'fo:table-body'. ( Here- 20% in html code is being 
  
  converted to inches in fo.)  
  
  next- to change 'colspan=2' etc. in the html source code to '
  
  number-columns-spanned=2 ' with in a  fo:table-cell
  
   
  
  Is this a good approach? or   if anybody has better sugestions please let
  
  me know..
  
   
  
  Further I don't have any idea to handle  attributes like class in the td
  
  ..  of source code for conversion into fo code. 
  
  If you dealt this issue already pl. let me know  
  
  thanks   
  
  Durga
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

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


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




Re: Triggering WH2FO from inside Word(R)

2002-03-19 Thread Enrico Schnepel

Hello Matthias,

I think it is a good idea to extend word with macros like this. The macro 
should be developed at least with word 97 for compatiblity and should be 
configureable that an other version or an other converter like html2fo runs 
to do the job. There should be an option for use htmltidy for preformating / 
correcting word 97 output.

Regards

Enrico

Am Montag, 18. März 2002 17:06 schrieben Sie:
 Would you think it a good idea to write a VB for Word(R) which:
 1) Finds out the path/name of the active file
 2) Automatically triggers WH2FO to transform the Word file

 As an extension of this idea, would you consider it useful to insert into
 the Word(R) menu a series of commands such as:
 - Generate XHTML file
 - Generate XML file
 - Extract XSL file
 - Generate XML and XSL files

 Matthias


 -
 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: no visual tool for FOP?

2001-11-30 Thread Enrico Schnepel

Like FOP html2fo is still under development. It is stable but not complete. 
You are welcome to send me a list of html tags you want to be supported - or 
even better a sample file where they are used.

Enrico

Am Donnerstag, 22. November 2001 19:43 schrieben Sie:
 I am interested in  most html2pdf, html2fo,  but after I tried
 any of them, i am frustrated. some very lame ones support only
 3 tags even.  so i am wondering this tool support all html
 tags specified in HTML 4.0 DTD?

 On Sat, 17 Nov 2001, Enrico Schnepel wrote:
  Hello
 
  I've developed a tool html2fo for conversion of .html files to .fo.
  http://html2fo.sourceforge.net
  A similar tool is
  WH2FO at
  http://www-uk.hpl.hp.com/people/fabgia/wh2fo/wh2fo.html
 
  WH2FO is optimized for Word 2000 html files - html2fo is more general.
 
  Enrico
 
  Am Freitag, 16. November 2001 21:45 schrieben Sie:
   XMLSpy 4.1 has FO transformation built in as an option under the XSL
   menu. All you have to do is point it to FOP.bat. I guess you could call
   this a visual tool. But I'm going to guess that what the original
   poster is looking for is some kind of a WYSIWIG PDF editor that
   manipulates the underlying FO? That would be a pretty intense project.
  
   Do you think Adobe will ever implement a built-in fop processor? The
   Acrobat plug-in could come to life any time the browser comes across a
   .fo file, just like it does now when it sees a .pdf. Any pages that
   require precise coloring, layout, pagination, etc. would be candidates
   for conversion from html to fo. Definitely some interesting
   possibilities here. I suppose people could be doing the same thing now
   if they have Exchange, but when you can make little changes through a
   text editor it's a lot more convenient.
  
  
   You'd think they'd be all for it since it could drastically increase
   PDF viewing on the web. Although I guess it could cut into sales of
   their full-version Acrobat (what used to be called Exchange). So what
   part of it would they sell? Hmmm. Can even they do this within the
   licensing rules of this project?
  
  
   -Matt
  
-Original Message-
From: Charles Palmer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 1:56 AM
To: [EMAIL PROTECTED]
Subject: RE: no visual tool for FOP?
   
   
Hi team
   
This is also something I am curious about. Here are two
embryonic ideas -
can anyone see any merit in them?
   
1   XMLSpy seems to have the ability to convert a Word
document to XML. Could
XSLT be used to transform this XML to FO, and thence to PDF?
Then Word could
be used as the visual tool.
   
2   Sun's new Star Office apparently saves files as XML (see
http://xml.coverpages.org/starOfficeXML.html ). Could the
word processor
from StarOffice be used as the visual tool?
   
By the way, XMLSpy mentions support or fop - does anyone have
experience
with this?
   
Regards -
Charles Palmer
   
Technical Director, DSP Design Ltd
email: [EMAIL PROTECTED]
7 Tapton Park Innovation Centre, Brimington Rd, Chesterfield
S41 0TZ, UK
ph: +44 (0) 1246 545 918
   
   
   
-
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]

 -
 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: Pre Formatted Text

2001-11-30 Thread Enrico Schnepel

Hello Jim,

try:

fo:block white-space-collapse=false
YOUR 
TEXT 
INCLUDING 
LF's
AND
SPACES
/fo:block

Regards

Enrico

Am Freitag, 30. November 2001 14:55 schrieben Sie:
 I am using FOP to generate PDFs on the fly from XML.  One of my XML
 elements contains a large (1K - 1M) preformatted (contains LFs) block of
 text.  When I display this field in HTML I use a PRE tag.  Is there a FO
 tag that FOP supports that functions similarly?

 Thanks,

 Jim Urban
 Product Manager
 Netsteps Inc.
 Suite 505E
 1 Pierce Pl.
 Itasca, IL  60143
 Voice:  (630) 250-3045 x2164
 Fax:  (630) 250-3046


Content-Type: application/ms-tnef; charset=iso-8859-1; name=winmail.dat
Content-Transfer-Encoding: base64
Content-Description: 



Content-Type: text/plain; charset=us-ascii; name=Anhang: 2
Content-Transfer-Encoding: 7bit
Content-Description: 


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




Re: no visual tool for FOP?

2001-11-18 Thread Enrico Schnepel

Hello

I've developed a tool html2fo for conversion of .html files to .fo.
http://html2fo.sourceforge.net
A similar tool is
WH2FO at
http://www-uk.hpl.hp.com/people/fabgia/wh2fo/wh2fo.html

WH2FO is optimized for Word 2000 html files - html2fo is more general.

Enrico

Am Freitag, 16. November 2001 21:45 schrieben Sie:
 XMLSpy 4.1 has FO transformation built in as an option under the XSL menu.
 All you have to do is point it to FOP.bat. I guess you could call this a
 visual tool. But I'm going to guess that what the original poster is
 looking for is some kind of a WYSIWIG PDF editor that manipulates the
 underlying FO? That would be a pretty intense project.

 Do you think Adobe will ever implement a built-in fop processor? The
 Acrobat plug-in could come to life any time the browser comes across a .fo
 file, just like it does now when it sees a .pdf. Any pages that require
 precise coloring, layout, pagination, etc. would be candidates for
 conversion from html to fo. Definitely some interesting possibilities here.
 I suppose people could be doing the same thing now if they have Exchange,
 but when you can make little changes through a text editor it's a lot more
 convenient.


 You'd think they'd be all for it since it could drastically increase PDF
 viewing on the web. Although I guess it could cut into sales of their
 full-version Acrobat (what used to be called Exchange). So what part of it
 would they sell? Hmmm. Can even they do this within the licensing rules of
 this project?


 -Matt

  -Original Message-
  From: Charles Palmer [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, November 13, 2001 1:56 AM
  To: [EMAIL PROTECTED]
  Subject: RE: no visual tool for FOP?
 
 
  Hi team
 
  This is also something I am curious about. Here are two
  embryonic ideas -
  can anyone see any merit in them?
 
  1   XMLSpy seems to have the ability to convert a Word
  document to XML. Could
  XSLT be used to transform this XML to FO, and thence to PDF?
  Then Word could
  be used as the visual tool.
 
  2   Sun's new Star Office apparently saves files as XML (see
  http://xml.coverpages.org/starOfficeXML.html ). Could the
  word processor
  from StarOffice be used as the visual tool?
 
  By the way, XMLSpy mentions support or fop - does anyone have
  experience
  with this?
 
  Regards -
  Charles Palmer
 
  Technical Director, DSP Design Ltd
  email: [EMAIL PROTECTED]
  7 Tapton Park Innovation Centre, Brimington Rd, Chesterfield
  S41 0TZ, UK
  ph: +44 (0) 1246 545 918
 
 
 
  -
  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: html2pdf, for god's sake

2001-11-12 Thread Enrico Schnepel

Hello Huaxin,

I've developed html2fo to convert from html to xsl:fo. Using FOP you will get 
a mostly well formated output. It is available from
http://sourceforge.net/projects/html2fo

it is not possible to create forms in pdf because there is no extention to 
fop which generate this.

if your html code is not well formed you will get a better output if you use 
HTML Tidy before html2fo.

Acrobat offers a free printing to pdf driver for windows. It is installed 
on my pc at work so I don't know where to get it.

regards

Enrico

Am Montag, 12. November 2001 18:56 schrieben Sie:
 I am new to this list. After searching for tools that
 is able to convert HTML to PDF (using a comand line,
 or some API), I got so frustrated. There are a whole
 bunch of lamed tools that doesn't recgonize table
 hr select even 


 Is there any
 tool that is able to transform HTML to PDF the
 same way as Acrobat Distiller does? (but Acrobat
 doesn't have a command line shell or an API for doing
 that).


 thanks



 -
 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: [vote] Merging JFor with FOP

2001-10-18 Thread Enrico Schnepel

I am not a committer but here is my unofficial vote:
+1
It's a great advantage for everyone.

Am Donnerstag, 18. Oktober 2001 14:58 schrieben Sie:
 Hi people,

 recently, some code was donated to the Apache Cocoon project in order to
 connect it with JFor (www.jfor.org) which is a FO-RTF processor.

 It appeared evident to me (and to others, as I discovered later) that
 jfor and FOP are doing different things but could be an advantage for
 both jfor developers, jfor users, FOP users and FO visibility in general
 to join forces.

 Bertrand, here attached, is the main developer behind the project and he
 already agreed on donating the code to the ASF.

 IMO, rather than creating another project, it would be best to merge
 jfor code with FOP to allow yet another (and widely used) binary format
 to render FO in.
 Technical details are not that important at the moment, but Bertrand
 already stated his flexibility in reshaping jfor code in order to make
 it easier/cleaner/more-manageable the merging.

 This said, in order for the donation to take place, I'm officially
 requesting a vote from the FOP developers community. The Apache XML PMC
 is already informed and will accept any position taken by the community.

 So, here it is, please vote on the following question:

 would you like to accept jfor code and give Bertand Delacretaz committer
 status in order to perform the merging on the FOP code following the
 technical directions that the FOP dev community will find more
 appropriate?

 I remind that only people with committer status are entitled to place a
 binding vote, but I suggest everybody on this list to express their vote
 and, in case of negative vote, explain their reasons so that we can
 properly deal with them.

 Thanks to all.

 Stefano.

 P.S. Sorry for the formality, people but this is legal stuff so I'm
 required to wear my ASF member hat :)


 -
 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: Performance

2001-10-12 Thread Enrico Schnepel

Hello Joerg

 FOP appears to be unable to split table cells, probably because it
 requires the content of a table cell wrapped in a single fo:block
 (some comments from the developers?)

FOP does split table cells. My experience is that this happens more than I 
want it to be happen. For example when putting 2 blocks in a cell and 
specifying the first one as keep-with-next. The blocks are splitted.

fo:table-cell requires at least one block-level child (block or image etc) or 
nothing.

regards,

Enrico

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




[Patch] bugs with hyphenation

2001-09-27 Thread Enrico Schnepel

There is still a problem with hypenation.

When a non letter character is derectly before a word with hyphens in the 
word, fop runs into a infinite loop
I've attached a Patch and the testfile. The testfile also includes a 
demonstration for some other bugs with hyphenation but I don't know how to 
resolve them.

Enrico




?xml version=1.0 encoding=ISO-8859-1 ?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
	fo:layout-master-set
		fo:simple-page-master master-name=first
   margin-top=1cm
   margin-left=1cm
   margin-right=1cm
   margin-bottom=1cm
   page-width=21cm
   page-height=29.7cm
			fo:region-body/
		/fo:simple-page-master
	/fo:layout-master-set
	fo:page-sequence master-name=first language=en hyphenate=true
		fo:flow flow-name=xsl-region-body
fo:block
	1. The first cell causes an infinite loop if there is a incorrect hyphenation function. With patch the result is still not correct but it runs through.
/fo:block
fo:block
2. The second cell is to show how special chars handleld with hypenation.
/fo:block
fo:block
3. The third cell is to demonstrate the inlinespace before the first hyphenated word in line.
/fo:block
fo:block
4. cell 1 and 3 should contain completly underlined blue text.
/fo:block
fo:block
4.1. within the first cell both properies are specified for lt;fo:inlinegt;.
The addWord function should set the underlined property.
/fo:block
fo:block
4.2. within the third cell both properies are specified for lt;fo:blockgt;.
The underlined property is not handled.
/fo:block
fo:table
fo:table-column column-width=3.5cm/
fo:table-body
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	fo:inline text-decoration=underline color=bluebeginning test-text-for-filling-three-lines/fo:inline
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	lt;testtextgt; lt;testtextgt; - lt;testtextgt; - lt;testtextgt; - lt;testtextgt;
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block font-size=14pt text-decoration=underline color=blue
 	   LongTextLongText LongTextLongText LongTextLongText LongTextLongText
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
fo:block
	The following table has the same content but full page width.
/fo:block
fo:table
fo:table-column column-width=19cm/
fo:table-body
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	fo:inline text-decoration=underline color=bluebeginning test-text-for-filling-three-lines/fo:inline
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	lt;testtextgt; lt;testtextgt; - lt;testtextgt; - lt;testtextgt; - lt;testtextgt;
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block font-size=14pt text-decoration=underline color=blue
 	   LongTextLongText LongTextLongText LongTextLongText LongTextLongText
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
		/fo:flow
	/fo:page-sequence
/fo:root



? diff
? LineArea.java.diff
Index: LineArea.java
===
RCS file: 

[PATCH] BasicLink extends Inline the 2nd

2001-09-27 Thread Enrico Schnepel

Hello,

About one month ago I've send a patch to extend Basiclink from Inline and not 
from FObjMixed. There wasn't any reaction. The original email body was:

I have the problem that I want to specify other inline related properties 
than color ( like text-decoration=underline ) to basic-link. These are 
currently not supported by BasicLink. BasicLink currently extends FObjMixed. 
I have changed BasicLink to extends Inline and removed double code. This 
results in visual properties handled by Inline and the LinkSet is set up by 
BasicLink.

I have attached the patch

Enrico

The patch follows now

SNIP

Index: src/org/apache/fop/fo/flow/BasicLink.java
===
RCS file: /home/cvspublic/xml-fop/src/org/apache/fop/fo/flow/BasicLink.java,v
retrieving revision 1.8
diff -r1.8 BasicLink.java
23c23
 public static class Maker extends FObj.Maker {
---
 public static class Maker extends Inline.Maker {
44,78d43

 // Common Accessibility Properties
 AccessibilityProps mAccProps = propMgr.getAccessibilityProps();

 // Common Aural Properties
 AuralProps mAurProps = propMgr.getAuralProps();

 // Common Border, Padding, and Background Properties
 BorderAndPadding bap = propMgr.getBorderAndPadding();
 BackgroundProps bProps = propMgr.getBackgroundProps();

 // Common Margin Properties-Inline
 MarginInlineProps mProps = propMgr.getMarginInlineProps();

 // Common Relative Position Properties
 RelativePositionProps mRelProps = 
propMgr.getRelativePositionProps();

 // this.properties.get(alignment-adjust);
 // this.properties.get(alignment-baseline);
 // this.properties.get(baseline-shift);
 // this.properties.get(destination-place-offset);
 // this.properties.get(dominant-baseline);
 // this.properties.get(external-destination);
 // this.properties.get(id);
 // this.properties.get(indicate-destination);
 // this.properties.get(internal-destination);
 // this.properties.get(keep-together);
 // this.properties.get(keep-with-next);
 // this.properties.get(keep-with-previous);
 // this.properties.get(line-height);
 // this.properties.get(line-height-shift-adjustment);
 // this.properties.get(show-destination);
 // this.properties.get(target-processing-context);
 // this.properties.get(target-presentation-context);
 // this.properties.get(target-stylesheet);

SNIP



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




Re: colspan-type feature

2001-09-26 Thread Enrico Schnepel

number-rows-spanned is supported. I am already using it.

Enrico

Am Mittwoch, 26. September 2001 01:46 schrieben Sie:
 is this what you're after, Amit?

 fo:table-cell number-columns-spanned=3

 i don't think number-rows-spanned is supported though, but i could be
 wrong.


 mic.

 -Original Message-
 From: Amit [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 26 September 2001 7:37
 To: [EMAIL PROTECTED]
 Subject: colspan-type feature


 hi all
 In my xsl file I want to basically have a feature like html's
 colspan.
 Anybody know the syntax ..I have tried looking a few places and haven't
 been able to find it.
 Any help would be appreciated.

 Thanks
 Amit


 -
 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: [DO NOT REPLY: Bug 3007] broken basic-link when referencing a following page

2001-09-07 Thread Enrico Schnepel

It is commited into the current CVS-tree but not in the recent release 0.20.1.

Enrico

 01:50 --- + Am also experiencing similar difficulties.
 + I see there is a work around supplied but not added to the product. When
 is it + likely that the fix will be applied to the core product?
 Unfortunately I am not + competent enough in OpenSource development
 projects to achieve this myself yet, + otherwise obviously I would do so.

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




Re: [Patch] Re: Fw: hyphenation with table problem

2001-08-31 Thread Enrico Schnepel

I don't know if there was a problem. I have tested the patch with my
testfile (send to fop-dev on 2001-08-21).

There is a problem with small table-columns and hypenation if the word
starts with a '' or a '/'. I hope I have time to create a testfile and send it
and the patch this evening because I will be on holiday next week.
this bug caused an infinite loop and kept me from from rendering a 3,5 MB
document. The html version of the candidate recommendation of the fo
specification converted to fo using html2fo. the 279 page pdf is available at
http://html2fo.sourceforge.net/xslspec.pdf. rendering it was something like a stress
test ;-)
 
Enrico

 On Mon, 27 Aug 2001 21:34:41 Enrico Schnepel wrote:
  Hello Steve,
  
  The problem you are running into is known, resolved but not merged into 
  the cvs tree yet. I've already send a diff script which resolves
  hypenation 
  problems within LineArea to fop-dev one week ago. I've attached the diff
 
  script.
 
 This patch is committed.
 It seems to have fixed a problem with text with wrap-option of no-wrap?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

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



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




[Patch the 2nd] bugs with hyphenation

2001-08-31 Thread Enrico Schnepel

As I have said I created a testfile for a realy seldom situation: a non 
letter character before a word with hyphens in the word... the patch is also 
included.

The testfile also includes a demonstration for some other bugs with 
hyphenation but I don't know how to resolve them.

 There is a problem with small table-columns and hypenation if the word
 starts with a '' or a '/'. I hope I have time to create a testfile and
 send it and the patch this evening because I will be on holiday next week.
 this bug caused an infinite loop and kept me from from rendering a 3,5 MB
 document. The html version of the candidate recommendation of the fo
 specification converted to fo using html2fo. the 279 page pdf is available
 at http://html2fo.sourceforge.net/xslspec.pdf. rendering it was something
 like a stress test ;-)

Enrico


?xml version=1.0 encoding=ISO-8859-1 ?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
	fo:layout-master-set
		fo:simple-page-master master-name=first
   margin-top=1cm
   margin-left=1cm
   margin-right=1cm
   margin-bottom=1cm
   page-width=21cm
   page-height=29.7cm
			fo:region-body/
		/fo:simple-page-master
	/fo:layout-master-set
	fo:page-sequence master-name=first language=en hyphenate=true
		fo:flow flow-name=xsl-region-body
fo:block
	1. The first cell causes an infinite loop if there is a incorrect hyphenation function. With patch the result is still not correct but it runs through.
/fo:block
fo:block
2. The second cell is to show how special chars handleld with hypenation.
/fo:block
fo:block
3. The third cell is to demonstrate the inlinespace before the first hyphenated word in line.
/fo:block
fo:block
4. cell 1 and 3 should contain completly underlined blue text.
/fo:block
fo:block
4.1. within the first cell both properies are specified for lt;fo:inlinegt;.
The addWord function should set the underlined property.
/fo:block
fo:block
4.2. within the third cell both properies are specified for lt;fo:blockgt;.
The underlined property is not handled.
/fo:block
fo:table
fo:table-column column-width=3.5cm/
fo:table-body
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	fo:inline text-decoration=underline color=bluebeginning test-text-for-filling-three-lines/fo:inline
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	lt;testtextgt; lt;testtextgt; - lt;testtextgt; - lt;testtextgt; - lt;testtextgt;
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block font-size=14pt text-decoration=underline color=blue
 	   LongTextLongText LongTextLongText LongTextLongText LongTextLongText
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
fo:block
	The following table has the same content but full page width.
/fo:block
fo:table
fo:table-column column-width=19cm/
fo:table-body
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	fo:inline text-decoration=underline color=bluebeginning test-text-for-filling-three-lines/fo:inline
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block
	lt;testtextgt; lt;testtextgt; - lt;testtextgt; - lt;testtextgt; - lt;testtextgt;
/fo:block
/fo:table-cell
/fo:table-row
fo:table-row
fo:table-cell border-width=1pt border-style=solid
fo:block font-size=14pt text-decoration=underline 

Re: Merging Cells In Tables

2001-08-30 Thread Enrico Schnepel

Hello,

number-columns-spanned and number-rows-spanned
it should be the same behavior as in html

enrico

ps: if you have html documents you can convert them using the convertor 
html2fo available at http://sourceforge.net/projects/html2fo. the fo files 
are not perfect but you will get a basis where you could work with.

Am Donnerstag 30 August 2001 21:21 schrieben Sie:
 Hello,

 Has anyone been able to merge cells in an fo:table, much like how table
 cells in HTML are merged via COLSPAN and ROWSPAN?

 Thanks for any info you can share.

 Ken


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

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




BasicLink extends Inline

2001-08-29 Thread Enrico Schnepel

Hello Foppers,

I have the problem that I want to specify other inline related properties 
than color ( like text-decoration=underline ) to basic-link. These are 
currently not supported by BasicLink. BasicLink currently extends FObjMixed.

I have changed BasicLink to extends Inline and removed double code. This 
results in visual properties handled by Inline and the LinkSet is set up by 
BasicLink.

I have attached the complete file.

Enrico

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


/*
 * $Id: BasicLink.java,v 1.7 2001/08/06 09:12:59 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.
 */

package org.apache.fop.fo.flow;

// FOP
import org.apache.fop.fo.*;
import org.apache.fop.apps.FOPException;
import org.apache.fop.fo.properties.*;
import org.apache.fop.layout.*;
import org.apache.fop.datatypes.ColorType;

// Java
import java.util.Enumeration;
import java.awt.Rectangle;

public class BasicLink extends Inline {

public static class Maker extends Inline.Maker {
public FObj make(FObj parent,
 PropertyList propertyList) throws FOPException {
return new BasicLink(parent, propertyList);
}

}

public static FObj.Maker maker() {
return new BasicLink.Maker();
}

public BasicLink(FObj parent,
 PropertyList propertyList) throws FOPException {
super(parent, propertyList);
this.name = fo:basic-link;
}

public Status layout(Area area) throws FOPException {
String destination;
int linkType;

if (!(destination =
this.properties.get(internal-destination).getString()).equals()) {
linkType = LinkSet.INTERNAL;
} else if (!(destination =
this.properties.get(external-destination).getString()).equals()) {
linkType = LinkSet.EXTERNAL;
} else {
throw new FOPException(internal-destination or external-destination must 
be specified in basic-link);
}

if (this.marker == START) {
// initialize id
String id = this.properties.get(id).getString();
area.getIDReferences().initializeID(id, area);
this.marker = 0;
}

// new LinkedArea to gather up inlines
LinkSet ls = new LinkSet(destination, area, linkType);

Page p = area.getPage();

AreaContainer ac = p.getBody().getCurrentColumnArea();
if (ac == null) {
throw new FOPException(Couldn't get ancestor AreaContainer when 
processing basic-link);
}

int numChildren = this.children.size();
for (int i = this.marker; i  numChildren; i++) {
FONode fo = (FONode)children.elementAt(i);
fo.setLinkSet(ls);

Status status;
if ((status = fo.layout(area)).isIncomplete()) {
this.marker = i;
return status;
}
}

ls.applyAreaContainerOffsets(ac, area);

// pass on command line
String mergeLinks = System.getProperty(links.merge);
if ((null != mergeLinks) !mergeLinks.equalsIgnoreCase(no)) {
ls.mergeLinks();
}

p.addLinkSet(ls);

return new Status(Status.OK);
}

}


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


incorrect page scaling (was: Blocks aligned incorrectly in PDF)

2001-08-22 Thread Enrico Schnepel

Hello Joshua

 regarding the first problem: are you printing under windows
  with acrobat
  reader 4.0 and up? Try printing on a different printer. I
  have similar
  problems with WinNT and Acrobat Reader 4 an 5 when I am
  printing to a HP
  LaserJet 4M+.

 When using Acrobat reader, check that the 'Fit to page' option is not
 selected. I think this shrinks the page to fit within the printable area.

The activated option is the default and at work we have to use this option 
because we have landscape documents. With deactivated option these are not 
printed correctly. Acrobat Reader rotates the pages only with this option.

On a differnt printer the resulting page has its original and correct size.

Enrico

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




Re: [Bug 3208] New: Blocks aligned incorrectly in PDF

2001-08-21 Thread Enrico Schnepel

Hello Steve, Hello Foppers

I had the the same problem too and I have developed some test cases where I 
could test the problem mentioned here under 2). I have attached the diff (and 
the test cases) which should resolves the problem. I not a commiter so it 
would be grateful if someone merges the code.

regarding the first problem: are you printing under windows with acrobat 
reader 4.0 and up? Try printing on a different printer. I have similar 
problems with WinNT and Acrobat Reader 4 an 5 when I am printing to a HP 
LaserJet 4M+.

As a special effect: If the same file is printed via a DDE connection the 
resulting page is scaled in height to about 80 to 90 percent - it depents on 
the printer I am using ;-) This might be a problem within PDFDocument

Am Dienstag, 21. August 2001 18:58 schrieben Sie:
 PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
 ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
 AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
 DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
 BE LOST SOMEWHERE.

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

 *** shadow/3208   Tue Aug 21 09:58:18 2001
 --- shadow/3208.tmp.4288  Tue Aug 21 09:58:18 2001
 ***
 *** 0 
 --- 1,30 
 +
 +==
==+ + | Blocks aligned incorrectly in PDF   
   | +
 +--
--+ + |Bug #: 3208Product: Fop  
   | + |   Status: NEW Version: all 
| + |   Resolution:Platform: PC 
 | + | Severity: Normal   OS/Version:
 Windows 9x  | + | Priority: Other
 Component: pdf renderer| +
 +--
--+ + |  Assigned To: [EMAIL PROTECTED]
   | + |  Reported By: [EMAIL PROTECTED]
| + |  CC list: Cc: 
 | +
 +--
--+ + |  URL:   
   | +
 +==
==+ + |  DESCRIPTION
   | + 1) The measurement of blocks both horizontally and vertically do
 not seem to + add up correctly (e.g. I have a block defined as 19cm wide,
 but it prints as + being  about 17.8 cms;  and a block 17cms in height only
 printed as around 16 + cms).
 +
 + Somebody else did a similar test (after raising the issue in fop-dev) and
 they + found that a 6inch column results in 5.625inches.
 +
 + 2) in a table definition (again using -pdf renderer) the contents of one
 column + are creeping to the left even though the end position is
 defined.  It seems + to occur when the contents of a previous column has
 little or no text.  (In my + test I had one column with lots of W's
 starting with 10-W's on row-1, reducing + to 1W on row-10; at row-8 with
 only 3-W's - the contents of the second column + start to get dragged over
 to the left.)

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


? LineArea.java.diff
Index: LineArea.java
===
RCS file: /home/cvspublic/xml-fop/src/org/apache/fop/layout/LineArea.java,v
retrieving revision 1.49
diff -u -r1.49 LineArea.java
--- LineArea.java	2001/08/02 19:38:08	1.49
+++ LineArea.java	2001/08/21 19:58:33
@@ -429,27 +429,42 @@
 wordWidth = 0;
 return i;
 }
-if (wordStart == start) {// if couldn't even fit
-// first word
-overrun = true;
-// if not at start of line, return word start
-// to try again on a new line
-if (finalWidth  0) {
-return wordStart;
-}
-} else if (this.wrapOption == WrapOption.WRAP) {
+
+if (this.wrapOption == WrapOption.WRAP) {
+
+int ret=wordStart;
+
 if (hyphProps.hyphenate == Hyphenate.TRUE) {
-return this.doHyphenation(dataCopy, i, wordStart,
-  this.getContentWidth()
-  - (finalWidth
- + spaceWidth
-   

Re: [Bug 3007] - broken basic-link when referencing a following page

2001-08-10 Thread Enrico Schnepel

Hi,

thank you for resolving the problem. Your files are working fine. I am
running into another problem now but I am still trying to locate and separate it.

Regards

Enrico

-- 
Aufgepasst - jetzt viele 11 New WebHosting Pakete ohne
Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a


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




Re: Getting number of rendered pages

2001-07-29 Thread Enrico Schnepel

Hi Erik

I am writing a 

fo:block keep-with-previous=always id=LastPage 
font-size=1pt/fo:block

before /fo:flow and display the page number with 

Page fo:page-number/ of fo:page-number-citation ref-id=LastPage/

within my region-before or region-after. This should result in

Page 1 of 3

I don't know wether this is the recomended way of getting the last page 
number but it's working fine.

Regards
Enrico


Am Sonntag, 29. Juli 2001 18:10 schrieben Sie:
 Hi all,

 does anybody know if it's possible to get the number of rendered pages? I
 searched the docs, but couldn't find anything about it.

 I think it should be possible, because the PDFRenderer prints the current
 page number to the message system.

 We have to print a book divided into several chapters and every chapter has
 to be rendered separately, but must begin with the right page number
 (information of every chapter is in a database table to keep track of
 chapter sequence and page numbering).

 Any help is greatly appreciated.

 
 Erik Rehrmann
 IOn AG - [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]




developed html to fo converter - mirroring FOP home page as PDF

2001-07-16 Thread Enrico Schnepel

Hello Fopper!
 
I developed a html to fo converter and version 0.3 is just released. It
converts the most used html tags and valid html should be correct processed. Non
malformed html is also processed but don't expect to much. Like the xslt
transformation, which was sometimes discussed here, it supports xhtml as input
too.
 
The project home page is available at:
http://html2fo.sourceforge.net
 
I want to mirror the FOP home page ( http://xml.apache.org/fop ) as
crosslinked pdf files which are automaticly converted and generated. ( I am using the
html sources from CVS )
This is to show what html2fo and FOP are able to do together.
So I want to know whether it is allowed to mirror the site as pdf.
I've put the pdf files in a non referenced directory for testing at
http://html2fo.sourceforge.net/fop
 
Cheers
 
Enrico

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

GMX Tipp:

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


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




error while executing build.bat

2001-07-02 Thread Enrico Schnepel

if there are spaces in the classpath I get a NoClassDefFoundError.

The command running Java must contain a '' arround %CLASPATH% and should
look like
%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
%LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
instead of
%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
%LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5

Thanks for merging

Enrico Schnepel

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

--
GMX Tipp:

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


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




Re: Re: error while executing build.bat

2001-07-02 Thread Enrico Schnepel

I am Using Win NT 4.0
with JDK 1.3.0

The error occours because the second part (aft the space) is recognices as
class to be run. and this class could not be found.

Enrico

 Which versions of Windows is this correct for? Win95/98/2000/NT/ ?

 PS IMHO anyone with spaces in filenames is asking for trouble...

 Alex

  --- Enrico Schnepel [EMAIL PROTECTED] wrote:
  if there are spaces in the classpath I get a NoClassDefFoundError.
 
  The command running Java must contain a '' arround %CLASPATH% and
should
  look like
  %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
  %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
  instead of
  %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
  %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
 
  Thanks for merging
 
  Enrico Schnepel


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

--
GMX Tipp:

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


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




Re: Re: error while executing build.bat

2001-07-02 Thread Enrico Schnepel

I am Using Win NT 4.0
with JDK 1.3.0

The error occours because the second part (aft the space) is recognices as
class to be run. and this class could not be found.

Enrico

 Which versions of Windows is this correct for? Win95/98/2000/NT/ ?

 PS IMHO anyone with spaces in filenames is asking for trouble...

 Alex

  --- Enrico Schnepel [EMAIL PROTECTED] wrote:
  if there are spaces in the classpath I get a NoClassDefFoundError.
 
  The command running Java must contain a '' arround %CLASPATH% and
should
  look like
  %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
  %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
  instead of
  %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
  %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
 
  Thanks for merging
 
  Enrico Schnepel


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

--
GMX Tipp:

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


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