Re: Please help, even if it's just a reply that it can't be done

2002-01-31 Thread Joerg Pietschmann

Scott Moore [EMAIL PROTECTED] wrote:
 I cross-posted this several days ago and didn't get a single reply.

Before i get to the meat, a net.cop note: Use meaningful subjects,
don't mention crossposting (even if it is justified in the first place),
don't bother the gurus in the dev lists, there are user lists.

 Is the problem in my XSL-FO?
 Is the problem in my SVG?
 Is the problem with Batik?
 Is the problem with FOP?

Well, ultimately the problem is caused by a somewhat unlucky choice
of the SVG standards group...

 An I/O error occured while processing the URI
 'file:D:/Projects/Dev/#PurpleToWhite' specified on the element circle

The url(#PurpleToWhite) in your circle element is a relative URL
which was resolved to the absolute URL in the error message above,
which, as it apparently represents a directory, is not a good source
for SVG gradients.
The reason why you got the absolute URL above depends on how you
invoked FOP and perhaps a few other circumstances. In any case it has
to point to a valid SVG file (or at least XML). This may be somewhat
problematic as you probably generate the SVG inline in the FO tree.

You could try
1. Have a separate SVG file and use it with fo:external-graphics
2. Have a separate SVG which contains only the gradient (and perhaps
   other SVG stuff you want to reference) and point an absolute URL
   to it:
 fill=url(file:///c:/refstuff/grad.svg#PurpleToWhite)
3. Same as above but use a relative URL
 fill=url(grad.svg#PurpleToWhite)
   This may be easier to deploy. Put the file in D:/Projects/Dev.
4. Let the URL refer to some location where the gradient could be
   retrieved, for example if the SVG code is embedded in your XSL,
   try fill=url(my.xsl#PurpleToWhite). Don't know whether this
   works, or whether this is even supposed to work.
Expect a performance hit in all cases.

Ultimately, both FOP and especially Batik should be fixed to make
your code work as expected, but this will not only take some time
but also some efford by a standard committee in order to make the
semantics of this kind of references in embedded SVG clearer.

HTH
J.Pietschmann

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




RE: Please help, even if it's just a reply that it can't be done

2002-01-31 Thread Joerg Pietschmann

Scott Moore [EMAIL PROTECTED] wrote:
 Sorry about the subject line, but my previous subject SVG Problem with FOP
 got no replies.
I read it but had real work to do.

 However, it still can't locate the
 gradient definition.  It gives the following error An I/O error occured
 while processing the URL 'file:C:/Projects/Dev/Gradient.svg#PurpleToWhite'

Try an absolute URL, with emphasis to the triple slash, as this is
the correct form for file URLs.
  file:///C:/Projects/Dev/Gradient.svg#PurpleToWhite
Check the location carefully. If this succeeds, you could try
to set the baseDir configuration parameter to
file:///C:/Projects/Dev/, search the FOP doc for how to do
this (presumably in the userconfig.xml).

 The exception generated by Batik now identifies the correct file, but still
 can't seem to locate the gradient definition.

The I/O-Error seems to indicate the generic problem of not
getting some or all of the content of the file. Changing the
content wont fix this. You may have to experiment a bit.
For example, try access a small GIF from this directory
as fo:external-graphic. If FOP gets an error with the GIF
file, it's the directory or the URL syntax or something 
more general. If the GIF shows up, it's your SVG file, perhaps
you should check well-formedness or SVG-validity or whatever.
I really can't help much further, you'll have to solve the
problem for yourself.

HTH
J.Pietschmann

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




Re: Please help...

2002-01-28 Thread ewitness - Ben Fowler

At 9:15 am + 23/1/02, Nick Winger wrote:
hi !


i have three questions using fop  ( with tables ):

1.  i want to generate a pdf dynamically using java. now first i write a
dynamically fo file (formatted objects):

on the pages there is always a text ( form start to the middle
of the page) and below ( the other half os the page) an image:
now when i write the text in java:
how can i recognize when i reach the half of the page ?
should i divide the half page points with the font-height and
count the rows ?

I don't think that FOP can do this. Would you get what you wanted if
you put the image in a footer. I doubt that counting the rows is the
way to go.

2.  is it possible to have two different font-sizes in one column of a
table?

Yes.

3.  can i turn the bottom cell line (border) of a cell off ?

I don't know.

Ben.

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




RE: Please help...

2002-01-28 Thread Sergei Timofejev

fo:static-content flow-name=xsl-region-after
fo:block  start-indent=12.5cm
fo:external-graphic src=lang.jpg/
/fo:block
/fo:static-content

-Original Message-
From: Nick Winger [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:26 PM
To: [EMAIL PROTECTED]
Subject: AW: Please help...



how do i get an image in the footer ? how is the footer and header
adressed
?


thanks
nick

-Ursprüngliche Nachricht-
Von: ewitness - Ben Fowler [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 28. Januar 2002 14:21
An: [EMAIL PROTECTED]
Betreff: Re: Please help...


At 9:15 am + 23/1/02, Nick Winger wrote:
hi !


i have three questions using fop  ( with tables ):

1.  i want to generate a pdf dynamically using java. now first i write
a
dynamically fo file (formatted objects):

on the pages there is always a text ( form start to the middle
of the page) and below ( the other half os the page) an image:
now when i write the text in java:
how can i recognize when i reach the half of the page ?
should i divide the half page points with the font-height and
count the rows ?

I don't think that FOP can do this. Would you get what you wanted if
you put the image in a footer. I doubt that counting the rows is the
way to go.

2.  is it possible to have two different font-sizes in one column of a
table?

Yes.

3.  can i turn the bottom cell line (border) of a cell off ?

I don't know.

Ben.

-
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: please help...PCL renderer not formatting properly

2002-01-09 Thread Dudley . Butt

ok, i did all that and got the cvs but now neither the pdf or pcl is being
rendered. I dont get any errors, no warnings, nothing, it just renders 0
pages and exits normally, any ideas?

-Original Message-
From: Art Welch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 7:10 PM
To: '[EMAIL PROTECTED]'
Subject: RE: please help...PCL renderer not formatting properly


This was a known problem. I believe that a fix has been committed to CVS,
but I do not think that it has been incorporated into a distribution. There
was talk of another distribution (last I heard it was planned for early in
the new year).

The fix should be in CVS, so if you can build from CVS you should be able to
get the tables to work correctly.

Art

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 6:10 AM
To: [EMAIL PROTECTED]
Subject: please help...PCL renderer not formatting properly


Has anyone else had any problems with the PCL renderer not formatting tables
and borders correctly?
In PDF the render works great, but as soon as i take the same .FO doc and
try transform to PCL, it messes up the borders on my tables...any ideas?




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

-
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 email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

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




RE: please help...PCL renderer not formatting properly

2002-01-09 Thread Dudley . Butt

does anyone know if a patch or fix has been made for the pcl problem?

-Original Message-
From: Art Welch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 7:10 PM
To: '[EMAIL PROTECTED]'
Subject: RE: please help...PCL renderer not formatting properly


This was a known problem. I believe that a fix has been committed to CVS,
but I do not think that it has been incorporated into a distribution. There
was talk of another distribution (last I heard it was planned for early in
the new year).

The fix should be in CVS, so if you can build from CVS you should be able to
get the tables to work correctly.

Art

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 6:10 AM
To: [EMAIL PROTECTED]
Subject: please help...PCL renderer not formatting properly


Has anyone else had any problems with the PCL renderer not formatting tables
and borders correctly?
In PDF the render works great, but as soon as i take the same .FO doc and
try transform to PCL, it messes up the borders on my tables...any ideas?




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

-
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 email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

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




Re: please help...PCL renderer not formatting properly

2002-01-09 Thread Jeremias Maerki

You have to make sure you check out with tag fop-0_20_2-maintain. The
version you got is the one where the redesign is in progress.


On Wed, 9 Jan 2002 11:06:28 +0200  Dudley.Butt wrote:
 ok, i did all that and got the cvs but now neither the pdf or pcl is being
 rendered. I dont get any errors, no warnings, nothing, it just renders 0
 pages and exits normally, any ideas?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

fop-0_20_2-maintainPostfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


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




RE: please help...PCL renderer not formatting properly

2002-01-09 Thread Dudley . Butt

hh ok, now that makes sense, great stuff my friends, thanx for
the help!

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: please help...PCL renderer not formatting properly


You have to make sure you check out with tag fop-0_20_2-maintain. The
version you got is the one where the redesign is in progress.


On Wed, 9 Jan 2002 11:06:28 +0200  Dudley.Butt wrote:
 ok, i did all that and got the cvs but now neither the pdf or pcl is being
 rendered. I dont get any errors, no warnings, nothing, it just renders 0
 pages and exits normally, any ideas?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

fop-0_20_2-maintainPostfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


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


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

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




RE: please help...PCL renderer not formatting properly

2002-01-09 Thread Dudley . Butt

ok, now we're going into something that i've never done before, i've had a
look and i see cvs is on linux, could u guys please assist me with the
checkout command to get this maintainance version with the tag
fop-0_20_2-maintain? Thanx, i would really appreciate it!

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: please help...PCL renderer not formatting properly


You have to make sure you check out with tag fop-0_20_2-maintain. The
version you got is the one where the redesign is in progress.


On Wed, 9 Jan 2002 11:06:28 +0200  Dudley.Butt wrote:
 ok, i did all that and got the cvs but now neither the pdf or pcl is being
 rendered. I dont get any errors, no warnings, nothing, it just renders 0
 pages and exits normally, any ideas?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

fop-0_20_2-maintainPostfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


-
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: please help...PCL renderer not formatting properly

2002-01-09 Thread Jeremias Maerki

Not sure, since I use WinCVS, but probably it is:

-r fop-0_20_2-maintain

At least that's what WinCVS is telling me.

On Wed, 9 Jan 2002 14:15:57 +0200  Dudley.Butt wrote:
 ok, now we're going into something that i've never done before, i've had a
 look and i see cvs is on linux, could u guys please assist me with the
 checkout command to get this maintainance version with the tag
 fop-0_20_2-maintain? Thanx, i would really appreciate it!
 
 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 09, 2002 12:01 PM
 To: [EMAIL PROTECTED]
 Subject: Re: please help...PCL renderer not formatting properly
 
 
 You have to make sure you check out with tag fop-0_20_2-maintain. The
 version you got is the one where the redesign is in progress.
 
 
 On Wed, 9 Jan 2002 11:06:28 +0200  Dudley.Butt wrote:
  ok, i did all that and got the cvs but now neither the pdf or pcl is being
  rendered. I dont get any errors, no warnings, nothing, it just renders 0
  pages and exits normally, any ideas?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


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




RE: please help...PCL renderer not formatting properly

2002-01-08 Thread Art Welch

This was a known problem. I believe that a fix has been committed to CVS,
but I do not think that it has been incorporated into a distribution. There
was talk of another distribution (last I heard it was planned for early in
the new year).

The fix should be in CVS, so if you can build from CVS you should be able to
get the tables to work correctly.

Art

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 6:10 AM
To: [EMAIL PROTECTED]
Subject: please help...PCL renderer not formatting properly


Has anyone else had any problems with the PCL renderer not formatting tables
and borders correctly?
In PDF the render works great, but as soon as i take the same .FO doc and
try transform to PCL, it messes up the borders on my tables...any ideas?




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

-
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: please help!!!

2001-08-19 Thread Karen Lease

Hi Eric,

Sorry if no one has answered your plea before now.
Unfortunately (or perhaps fortunately?) I don't have any problem with
the example you sent. I'm using the latest CVS, but if you are using an
earlier version of FOP, you probably should try with the latest release
which is 0.20.1.

I've attached the PDF I generated, using a simple A4 size page master. I
assume this is the result you want?

It's true that the overflow property isn't implemented yet in FOP, but
Yyou shouldn't need to use it here, since the text is just wrapping
normally in the table cell. Overflow is really meant for flow objects
which won't fit at all on the page and should be clipped. An example
would be a large graphic.

eric.deandrea wrote:
 
 I have a table with 4 columns. One of the cells has text in it that is
 bigger than the size of the column and the text is over-writing the text in
 the following cell. How do I stop this? I have this:
 
 fo:table
 fo:table-column column-width=2.625in/
 fo:table-column column-width=2.625in/
 fo:table-column column-width=2.625in/
 fo:table-column column-width=2.625in/
 fo:table-body
 fo:table-row
 fo:table-cell
 fo:block
 text-align=start
 font-size=10pt
 line-height=14pt
 overflow=hidden
 wrap-option=wrap
 This is some text in cell 1 that
 will over-write the text in cell 2.
 /fo:block
 /fo:table-cell
 fo:table-cell
 fo:block
 text-align=start
 font-size=10pt
 line-height=14pt
 overflow=hidden
 wrap-option=wrap
 This is some text in cell 2.
 /fo:block
 /fo:table-cell
 fo:table-cell
 fo:block
 text-align=start
 font-size=10pt
 line-height=14pt
 overflow=hidden
 wrap-option=wrap
 This is some text in cell 3.
 /fo:block
 /fo:table-cell
 fo:table-cell
 fo:block
 text-align=start
 font-size=10pt
 line-height=14pt
 overflow=hidden
 wrap-option=wrap
 This is some text in cell 4.
 /fo:block
 /fo:table-cell
 /fo:table-row
 /fo:table-body
 /fo:table
 
 -Eric
 
 
 Eric Deandrea
 Software Engineer  (978) 698-6351
 Inforonics, Inc.   [EMAIL PROTECTED]
 30 Porter Rd.
 Littleton, MA 01460
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 ericbug.pdf

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


Re: Please help with block breaks

2001-06-20 Thread Eric Dalquist

Unfortunately I do not think any of the keep-* attributes work. At least not
as of FOP 0.18.1 if you read the page:
http://xml.apache.org/fop/implemented.html
the only keep-* attribute listed is keep-with-next and it has (broken) next
to it. I have also tried these using the keep-* tags with no success. I hope
someone can back me up or prove me wrong on this.

-Eric Dalquist

- Original Message -
From: Heidi Gerken [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 2:58 PM
Subject: Please help with block breaks


 I implore any member of this list to give me an answer to my question.
Does
 keep-with-next, keep-with-previous, keep-together or
keep-together.within-page
 work with blocks or list-blocks? If so, how should it be implemented? I
have a
 series of 4 list blocks, like the one below, inside a parent block. I
would like
 all four list blocks within the block to be on the same page; if they
cannot
 fit, I want the entire block to move to the next page. Is this possible?
Would
 someone, please, tell me how I can do this. (I hope you sense the
desperation in
 my email, because I am truly losing my mind over this one.)

 fo:block font-size=10pt font-weight=normal
 keep-together.within-page=always
   fo:list-block space-before.optimum=4pt
 provisional-distance-between-starts=80pt
provisional-label-separation=0pt
 keep-together.within-page=always
   fo:list-item vertical-align=middle
   fo:list-item-label keep-with-next=always
   fo:block line-height=12pt
 keep-with-next=alwaysAbstract:/fo:block
   /fo:list-item-label

   fo:list-item-body keep-with-previous=always
   fo:block font-size=10pt line-height=12pt
 keep-with-previous=always
   xsl:apply-templates select=Abstract/
   /fo:block
   /fo:list-item
   /fo:list-block
 .
 .
 .
 /fo:block


 Thank you,
 Heidi Gerken
 KM Objects
 2200 Clarendon Blvd., Suite 1401
 Arlington, VA 22201
 703.841.4284
 [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]