SVG rendering with FOP on Solaris

2002-04-22 Thread Cory McNeely


Hey folks,

We're trying to use FOP in a 'headless' environment on Solaris. I have read
in this group that because Batik requires a DISPLAY to do its SVG thing, one
has to cheat somewhat when using FOP. The two suggestions I have seen
include using Xvfb or PJA. Our application is using FOP in an embedded mode
serving back PDF through a servlet. Does anyone have a good reference or
example of the steps involved to make this work in a headless environment
with Solaris? Either the PJA or the Xvfb solution would be satisfactory,
although the PJA solution seems preferable. Has anyone gotten this to work
on Solaris?

Thanks!

C



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




Linebreaks inside of tables etc.

2002-04-03 Thread Cory McNeely

Hey gang,

I have a few potentially table related issues that I'm trying to work
through.

I seem to be having a problem getting some of the formatting tactics to work
with FOP 0.20.3.

1) How do I insert a blank line into a cell in a table object? I have tried
adding a new fo:block with no success, inserting a block, does seem to
terminate the existing line and start a newline, but in the case of no data
(or whitespace data) it seems to be ignored. So for instance if I have this:
1. fo:table width=8in table-layout=fixed
2.  fo:table-column column-number=1/
3.  fo:table-body
4.  fo:table-row
5.  fo:table-cell column-number=1
6.  fo:block
7.  Section 1: This is section 1 text.
8.  fo:block   /fo:block
9.  fo:block
10. Section 2: This is section 2 text.
11. /fo:block
12. /fo:block
13. /fo:table-cell
14. /fo:table-row
15. /fo:table-body
16. /fo:table


I get the following in my PDF

Section 1: This is section 1 text.
Section 2: This is section 2 text.

When I was hoping for :

Section 1: This is section 1 text.

Section 2: This is section 2 text.

2. How do I format text (bold etc) with different formats in a fo:block. For
instance if I want to make the sections of the previous example bold. I can
accomplish this by wrapping them in their own fo:blocks, but that generates
an unwanted newline.

Thanks all for your help!!

C



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




RE: Linebreaks inside of tables etc.

2002-04-03 Thread Cory McNeely

Thanks! Both worked flawlessly. :)

C

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 4:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Linebreaks inside of tables etc.


Cory McNeely wrote:
 1) How do I insert a blank line into a cell in a table object?
Use the space-before property or margin-top (the difference is that
space before will not be applied after a page break). For example:
  fo:block space-before=6ptSection 2: This is section 2 text./fo:block

 2. How do I format text (bold etc) with different formats in a fo:block.
For
 instance if I want to make the sections of the previous example bold. I
can
 accomplish this by wrapping them in their own fo:blocks, but that
generates
 an unwanted newline.

Use fo:inline. For example
fo:inline font-weight=boldBold stuff/fo:inline

J.Pietschmann




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



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