[DO NOT REPLY: Bug 3143] New: -

2001-08-16 Thread bugzilla

[0.20.1] Driver's ContentHandler is broken

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=3143

*** shadow/3143 Thu Aug 16 01:29:13 2001
--- shadow/3143.tmp.14067   Thu Aug 16 01:29:13 2001
***
*** 0 
--- 1,28 
+ ++
+ | [0.20.1] Driver's ContentHandler is broken |
+ ++
+ |Bug #: 3143Product: Fop |
+ |   Status: NEW Version: all |
+ |   Resolution:Platform: PC  |
+ | Severity: Critical OS/Version: Windows NT/2K   |
+ | Priority: Other Component: general |
+ ++
+ |  Assigned To: [EMAIL PROTECTED]   |
+ |  Reported By: [EMAIL PROTECTED]   |
+ |  CC list: Cc:  |
+ ++
+ |  URL:  |
+ ++
+ |  DESCRIPTION   |
+ In org.apache.fop.apps.Driver, getContentHandler() returns a useless
+ ContentHanlder, i.e. without any StreamRenderer configured.
+ 
+ Proposed fix: Move the following come from render(XMLReader, InputSource) to
+ getContentHandler():
+ StreamRenderer streamRenderer = new StreamRenderer(_stream, _renderer);
+ _treeBuilder.setStreamRenderer(streamRenderer);
+ And have render(XMLReader, InputSource) simply use:
+ parser.setContentHandler(getContentHandler());
+ 
+ Javadoc needs to be updated to warn that setOutputStream and setRenderer must be
+ called prior invoking getContentHandler().

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




unicode-bidi and FOP 2.0?

2001-08-16 Thread Tony Graham

In the fop-dev archive at marc.theaimsgroup.com, the references that I
can find to unicode-bidi amount to little more than an acknowledgement 
of its inclusion in the XSL spec.

Is there yet any indication whether unicode-bidi, or the Unicode
bidirectional algorithm, will be implemented as part of FOP 2.0?

Regards,


Tony Graham

Tony Graham   mailto:[EMAIL PROTECTED]
Sun Microsystems Ireland Ltd   Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3x(70)19708

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




cvs commit: xml-fop/docs/xml-docs/fop resources.xml

2001-08-16 Thread keiron

keiron  01/08/16 04:38:58

  Modified:docs/xml-docs/fop resources.xml
  Log:
  Submitted by: Weiqi Gao  [EMAIL PROTECTED]
  Updated link to Elliotte Rusty Harold's xml:fo chapter to the
  newer second edition.
  
  Revision  ChangesPath
  1.4   +1 -1  xml-fop/docs/xml-docs/fop/resources.xml
  
  Index: resources.xml
  ===
  RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/resources.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- resources.xml 2001/03/22 16:26:11 1.3
  +++ resources.xml 2001/08/16 11:38:58 1.4
  @@ -20,7 +20,7 @@
 /s2
 s2 title=Tutorials/Articles
   ul
  -  lijump 
href=http://www.ibiblio.org/xml/books/bible/updates/15.html;Elliotte Rusty Harold: 
Chapter 15 on xsl:fo from his excellent xml book/jump/li
  +  lijump 
href=http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html;Elliotte Rusty 
Harold: Chapter 18 on xsl:fo from his excellent book XML Bible, Second 
Edition/jump/li
 lijump href=http://www.sun.com/software/xml/developers/slides-dtd/;Paul 
Sandoz: Using formatting objects with the slides dtd/jump/li
 lijump href=http://www.xml.com/pub/a/2001/01/17/xsl-fo/index.html;J. 
David Eisenberg: Using XSL Formatting Objects/jump/li
 lijump 
href=http://zvon.org/xxl/xslfoReference/Output/index.html;Miloslav Nic: XSL FO 
reference/jump/li
  
  
  

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




Re: [Patch] Chapter 15 is now Chapter 18 in XML Bible, Second Edition, ...

2001-08-16 Thread Keiron Liddle

On Thu, 16 Aug 2001 13:35:25 Weiqi Gao wrote:
 ... and here's a patch to update the link in Resources.
fixed.

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




Re: Request: Imbedded Image Compression

2001-08-16 Thread Eric Dalquist

Thanks for the information. I'll look into making the changes to bypass the
decompression for jpegs and just embed the image, without breaking other
stuff hopefully. If it all works out well I'll post may changes.

-Eric Dalquist

- Original Message -
From: Jeremias Maerki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 14, 2001 4:27 PM
Subject: Re: Request: Imbedded Image Compression


  We have been using FOP in production to generate reports with Oracle's
XSQL
  servlet for about 1 month now and it has been working great. Our next
  project is a photo ID class roster. The system is pretty much set but
right
  now the main thing holding us back is the size of the resulting PDF
  document. An 8 page PDF with 30 1.5in x 1.13in jpegs on it is 7.18MB.
  Considering the 240 images used in this document only occupy 730KB this
is
  rather large. The only other data in the document is a header and each
  persons name. From what I have read on the FOP mailing list over the
past
  few months I seem to remember something about the cause of this being
the
  way Sun's JDK handled the images internally. I was also wondering if
anyone
  was working on incorporating some kind of image compression into FOP?

 Currently all images are decoded into memory as an uncompressed array of
 pixels which then get written (and compressed) to the target file. For
 PDF the compression is ZLib (Flate/Deflate). For JPEG this is very
 inefficient. Theoretically, PDF supports the embedding of native JPEG
 files. This is described in the PDF specs. The clue now would be to
 write code that bypasses the decompression/compression phases that
 happen at the moment. That will probably cause changes in the
 org.apache.fop.image and org.apache.fop.render.pdf packages.

 I've once started looking into it but never got enough time to really
 implement it. I'll be away on holidays the next two weeks so I'm not
 much of a help right now.

 I can only give some pointers, though:
 - The PDF spec contains information on how to implement JPEG-embedding.
 - JPEG-support in PDF is very similar to JPEG-support in PostScript.
 - And for PostScript there is a demo application on how to embed a JPEG
 image in a PostScript file. This can be easily adapted to PDF. See the
 link below.
 - There's a JPEGReader class that's already parsing the JPEG headers
 (org.apache.fop.image.analyser.JPEGReader).

 By the way, your request is already on the todo list.

 PDF specs at:
 http://partners.adobe.com/asn/developer/acrosdk/docs.html

 JPEG2PS at (in German):
 http://www.pdflib.com/jpeg2ps/

 Good luck!

 Jeremias Märki

 mailto:[EMAIL PROTECTED]

 OUTLINE AG
 Postfach 3954 - Rhynauerstr. 15 - 6002 Luzern
 Fon +41 (0)41 317 2020 - Fax +41 (0)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: QUERY: Why doesn't PrintRenderer use the addLine routines for borders.

2001-08-16 Thread Ralph LaChance

We will check whether any of the changes we made to AWTRenderer
(the -awt and -print options) should be reconsidered w/r/t/ the dashed
line style mentioned below.  I'm mostly on vacation and Andy is out of
town for the next week, so it'll be the Aug 25th before we can look at it.


At 09:27 AM 8/15/01 +1200, you wrote:

Instead it uses the fillRect routines.

Unfortunately, I needed to have a dashed border (in PDF's) and so put back
(well not exactly hence the query) the old ways. Which seems to work fine
(for me).

If the reason for the change was that some of the other renderers couldn't
cope, perhaps their addLine routines could be changed to redirect to the
fillRect ones.

In any case, could the other line styles please be restored to FOP-PDF.

Here is the diff of org.apache.fop.render.PrintRenderer of what I've done
(between the ''s):


364c364,365
 addFilledRect(rx, ry, w, top,
---
  addLine(rx, ry, rx + w, ry, top,
bp.getBorderStyle(BorderAndPadding.TOP),
365a367,369
  // addFilledRect(rx, ry, w, top,
  //   new
PDFColor(bp.getBorderColor(BorderAndPadding.TOP)));
 
367c371,372
 addFilledRect(rx - left, ry - h - bottom, left, h + top +
bottom,
---
  addLine(rx, ry - h, rx, ry, left,
bp.getBorderStyle(BorderAndPadding.LEFT),
368a374,376
  // addFilledRect(rx - left, ry - h - bottom, left, h + top +
bottom,
  //   new
PDFColor(bp.getBorderColor(BorderAndPadding.LEFT)));
 
370c378,379
 addFilledRect(rx + w, ry - h - bottom, right, h + top +
bottom,
---
  addLine(rx + w, ry - h, rx + w, ry, right,
bp.getBorderStyle(BorderAndPadding.RIGHT),
371a381,383
  // addFilledRect(rx + w, ry - h - bottom, right, h + top +
bottom,
  //   new
PDFColor(bp.getBorderColor(BorderAndPadding.RIGHT)));
 
373c385,386
 addFilledRect(rx, ry - h - bottom, w, bottom,
---
  addLine(rx, ry - h, rx + w, ry - h, bottom,
bp.getBorderStyle(BorderAndPadding.BOTTOM),
374a388,389
  // addFilledRect(rx, ry - h - bottom, w, bottom,
  //   new
PDFColor(bp.getBorderColor(BorderAndPadding.BOTTOM)));


TTFN

Struan Judd * And so it begins ...  ICQ: 4498196
http://neongraal.sf.org.nz
mailto:[EMAIL PROTECTED] Voicemail and Fax: +1 (201) 
305-1011 x1006


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


 ' Best,
 -Ralph LaChance



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




Re: How to monitor fop-dev without overloading my mailbox?

2001-08-16 Thread Alex McLintock

 --- Ralph LaChance [EMAIL PROTECTED] wrote:  At 09:03 AM 8/15/01 
+0100, you wrote:
 I think there is a need for a batched fop-dev email subscription so that you
 get one message a day with loads of messages inside it. I haven't seen the 
 method
 for doing this with this list though. If there is a way then perhaps that will
 help...
 
 Some of the Sun mailing lists (c.f. Java 2D) have a daily digest mode in 

Someone has already suggested this - it is a common feature of mailing lists.
I hadn't seen how to do it with this list but someone said it was possible so I 
read the signature attached to all messages on this list:

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


and then emailed [EMAIL PROTECTED]

Oooh - it isn't a proper email address - ezmlm (the mailing list software)
comes back with a helpful error message. It doesn't say anything about 
digests though.

So I am left as before - not aware of any means to get this list in digest
format.

PS the error message suggests that you can get the fop-dev-faq by mailing
[EMAIL PROTECTED] but when you do so you only get an error in return.
Is this fixable? Who should I contact about it or can I fix it myself since 
I have an account on one of the apache.org machines

Alex


=
Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ 
SF and Computing Book News and Reviews: http://news.diversebooks.com/
Get Your XML T-Shirt 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]




Re: How to monitor fop-dev without overloading my mailbox?

2001-08-16 Thread axel . spohr


just sendan empty mail to [EMAIL PROTECTED] 



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




Error running FOP

2001-08-16 Thread Vijayan,Jai Kumar

Hi,

  I downloaded the fop version Fop-0.20.1 from the site and tried to run
fop in Visual age, I have included batik, fop, xerces, xalan and jimi into
the package. 
 And when i tried to run fop bypassiging a xxx.fo as input and xxx.pdf as
output file to the main(). i received the following error.

ERROR: org.apache.xerces.parsers.SAXParser is not a SAX driver

i tried the same with fop-0.19 also and getting the same error.

  Please help me find a solution. Any help will be appretiated.

Thanks,
Jai

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




some more problems.

2001-08-16 Thread Vijayan,Jai Kumar

hi folks,

  In the fop package i created in visual age i also get this problem in
org.apache.fop.tools.anttasks:

  Superclass org.apache.tools.ant.task is missing 

and one more problem in org.apache.batik.script.rhino:

Interface org.mozilla.javascript.WrapHandler is missing.

Thanks,
Jai



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




Re: Page sequence/Layer/region... argll..

2001-08-16 Thread Ian Larner


Romain,
I think that the following properties of fo:block should help prevent a
block splitting at a page boundary, but I cannot seem to get them to do
what they should (with FOP 0.18)
   keep-together=always
   keep-with-next=always
   keep-with-previous=always

(You should not need to use them all.)  If anyone on fop-dev has successful
experience of using these, perhaps they can advise.

You can refine the properties with component qualifiers; for example:
   keep-together.within-page=always

For more information, see the examples directory of the FOP installation.

You can also force a page break before a block that spills over a page
(effectively preventing the spillage) with:
   break-before=page

Good luck!
Ian
P.S. I'm unplugged until 26th Sept, so I can't respond from now until
then.

Ian Larner
User Technologies, IBM Hursley Lab, England
Internal: 246440External: +44 1962 816440Fax: +44 9162 816151
Mailpoint 095 email: [EMAIL PROTECTED]

The credit belongs to the man ...in the arena,  (who) knowing there is no
effort without ...shortcomings, actually strives to do the deeds...
Theodore Roosevelt


   

Romain Bourgue 

Romain.Bourgue@SecurityKe   To: Ian Larner/UK/IBM@IBMGB   

epers.com   cc:   

 Subject: Re: Page 
sequence/Layer/region... argll..
08/16/2001 04:46 PM

Please respond to Romain   

Bourgue

   

   






Sorry for replying that late... I just come back from the HAL...

Thank you for your precious advice...

Thanks to your code I managed to find a walk throught for my paging issues.
Anyway, one issue remains :
Is it possible to avoid a page break into a block ?

I checked out the Web for a solution but it seems that many asked but few
answered...

Thanks for your help.

Romain




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




bug in FopServlet

2001-08-16 Thread Alex Greif

Hi,

the FopServlet example still uses the Driver.addPropertyList() method.
please update the Servlet.

I'm running fop 0.20.1

Alex.
___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de



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




Fonts and reporting classes

2001-08-16 Thread Spectron Caribe, Inc.

I have been using FOP for a few days and I have a few questions:

1. I know that in PDF files you can add a /FontDescriptor for a TrueType
font without actually embedding the font. What this does is if the font is
found in the system it uses it, if not it uses another font. Is there any
way I could do that with FOP?

2. There are a few reporting libraries floating around (itext, etymon-pj,
jpagelayout) and I think FOP could be used for reporting as well, after all
it renders to printer, postscript and pdf. Is anyone working in a reporting
library that uses FOP?

3. If I have a fo:block with a few fo:inline's with different font sizes is
there a way to make the line auto-size to the largest font in the line?

4. Just for curiosity, why isn't there a HTMLRenderer?

Faw


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




RE: unicode-bidi in FOP 2.0?

2001-08-16 Thread COFFMAN Steven

Seeing as how FOP 1.0 isn't expected before decemeber, FOP 2.0 is too far
off to make any plans. Core committers are more focussed on tables and such
right now, but some of the past patch contributors were interested in seeing
it happen, so I can't say.

-Steve
-Original Message-
From: Tony Graham [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 5:27 AM
To: [EMAIL PROTECTED]
Subject: unicode-bidi in FOP 2.0?


In the fop-dev archive at marc.theaimsgroup.com, the references that I
can find to unicode-bidi amount to little more than an acknowledgement 
of its inclusion in the XSL spec.

Is there yet any indication whether unicode-bidi, or the Unicode
bidirectional algorithm, will be implemented as part of FOP 2.0?

Regards,


Tony Graham

Tony Graham   mailto:[EMAIL PROTECTED]
Sun Microsystems Ireland Ltd   Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3x(70)19708


-
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: Fonts and reporting classes

2001-08-16 Thread Arved Sandstrom

At 03:28 PM 8/16/01 -0400, Spectron Caribe, Inc. wrote:
3. If I have a fo:block with a few fo:inline's with different font sizes is
there a way to make the line auto-size to the largest font in the line?

This is a major thing we need to do when we address line area improvements. 
Hopefully that is not far off.

4. Just for curiosity, why isn't there a HTMLRenderer?

Lack of interest? I wouldn't recommend production of HTML from FO myself.

Regards,
Arved Sandstrom

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




Problem reporting

2001-08-16 Thread Darren Munt

How do I report a problem that I have found in the latest FOP distribution?

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




Problem adding Non-English Font

2001-08-16 Thread Alex Amies

We have a problem adding a new font (a Chinese one) to 
fop.

We are trying to produce UTF-8 reports in Chinese using fop
from a servlet.  We have the reports going ok in English.
We have gotton a Chinese ttf font file and tried to follow
the instructions listed in the Font section of the fop
web site.

We ran the font metrics utility to produce the font metrics 
xml file and added the definition of the new font to the
userConfig.xml.  However, it is not clear where to place the
generated font metrics xml file.  We cannot find any similar files 
elsewhere in the directory structure.

Has anybody done this before or know where they should be located?

Also in the font instructions on the web site, it says to 
start fop with a -c command line option.  However, we are
doing this in a Servlet.  How do we invoke fop with this
option set from another Java class?

Alex Amies

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




Re: Problem reporting

2001-08-16 Thread Arved Sandstrom

At 10:22 AM 8/17/01 +1000, Darren Munt wrote:
How do I report a problem that I have found in the latest FOP distribution?

Right here, pretty much.

Regards,
AHS
Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




RE: Problem reporting

2001-08-16 Thread Darren Munt

I've tried that twice and been ignored twice, so I thought there must be
some other channel to be used. 

I've been trying to say that the leader-length attribute is ignored if it
has a percentage value instead of an explicit value. The leader.fo example
demonstrates this problem.

Strangely, I did a bit of a search and discovered that Huy Do also reported
this problem on August 2nd. He was ignored too :)

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Friday, 17 August 2001 10:57 
To: [EMAIL PROTECTED]
Subject: Re: Problem reporting


At 10:22 AM 8/17/01 +1000, Darren Munt wrote:
How do I report a problem that I have found in the latest FOP distribution?

Right here, pretty much.

Regards,
AHS
Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


-
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: Problem reporting

2001-08-16 Thread Darren Munt

Arved,

Thanks for the response :) 

I'm certainly not expecting people to drop whatever they're doing and fix
the problem, especially as there is a work around. I guess that coming from
the background I do, I feel uncomfortable with problem reporting and
resolution relying so much on someone taking an interest in a post to a
mailing list. I've seen messages posted from Bugzilla (whatever that is) and
wondered how to go about getting a problem report formalised so that it wont
get overlooked.

I really wish that I was Java-savvy. Unfortunately, this is not the case. I
find this very frustrating as (for once in my life) I am relegated to the
position of a dumb user and all I can do is say hey, it doesn't work. I do
believe that I am one of the few Windows-world users of FOP and so I can at
least contribute something by testing it out on that platform.

Cheers,
Darren

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Friday, 17 August 2001 12:10 
To: [EMAIL PROTECTED]
Subject: RE: Problem reporting


At 11:08 AM 8/17/01 +1000, Darren Munt wrote:
I've tried that twice and been ignored twice, so I thought there must be
some other channel to be used. 

I've been trying to say that the leader-length attribute is ignored if it
has a percentage value instead of an explicit value. The leader.fo example
demonstrates this problem.

Strangely, I did a bit of a search and discovered that Huy Do also reported
this problem on August 2nd. He was ignored too :)

Hi, Darren

I wouldn't say that you've been ignored. I read those emails, and I'm sure 
that others did too.

I am inclined not to reply, usually, unless I have something to add and/or I

can promise quick action. Neither of which was true in the case of the 
behaviour you report (although I can confirm it, and I do remember the 
percentages working before). I'm guessing the fix is pretty simple - if 
you've got some Java savvy you'll expedite your chances of getting a quick 
resolution by doing some code research. :-) Eventually it'll get fixed 
anyway, of course.

Regards,
AHS

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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

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




Property inheritance (space-before)

2001-08-16 Thread Joshua.Kuswadi

Hi there,

Sorry about the cross post, I just posted this to [EMAIL PROTECTED], but thought 
as the difference is in two versions of FOP, someone here could help me understand my 
problem.

I'm quite new to using XSL-FO and have got a question about what is correct syntax for 
XSL-FO regarding property inheritance. I recently upgraded from FOP 0.17 to FOP 0.20.1.

I have some XSL that generates the following snippet:
   fo:table-row space-before=12pt
  fo:table-cell
fo:blockSome block text/fo:block
  /fo:table-cell
   /fo:table-row

With FOP 0.17 this put a 12pt space between this row and the previous row, but with 
FOP 0.20.1 it doesn't.

From what I can find in the spec 7.9.5 [1], the space-before inherits from it's 
parent. The spec also mentions that inheritable properties 5.1.4 [2] can be put in 
any formatting object and subsequent children will pick up the property.

However, space-before isn't a valid property for a table-row.

So, I'm assuming it is incorrect to put the space-before attribute in the table-row 
element? Can someone explain how the inheritance thing works then?

Again, sorry about the cross post.

Thanks a lot,
Joshua

[1] http://www.w3.org/TR/xsl/slice7.html#space-before
[2] http://www.w3.org/TR/xsl/slice5.html#inheritance

--
This message and any attachment is confidential and may be privileged or otherwise 
protected from disclosure.  If you have received it by mistake please let us know by 
reply and then delete it from your system; you should not copy the message or disclose 
its contents to anyone.





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




More Leader Problems

2001-08-16 Thread Darren Munt

The table of contents example on page 2 of leader.fo isn't working now
either. It doesn't display the dots. I think this is related to the
percentage problem, because according to the doco, the default for
leader-length is 100%.

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




Re: bug in FopServlet

2001-08-16 Thread Keiron Liddle

On Thu, 16 Aug 2001 09:17:10 Alex Greif wrote:
 Hi,
 
 the FopServlet example still uses the Driver.addPropertyList() method.
 please update the Servlet.
 
 I'm running fop 0.20.1

Both the current cvs version (2001/08/10) and the previous version do not
have this method.
You must somehow have an old version??

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