RE: keep-with-next, orphans, widows

2001-11-26 Thread Michail Bikoulis

keep-with-next is implemented only for tables.

Take a look at docs\html-docs\implemented.html under the FOP home directory
to find out what is implemented.

Regards,

Mike

-Original Message-
From: Jörg Flotho [mailto:[EMAIL PROTECTED]]
Sent: 26. november 2001 14:33
To: [EMAIL PROTECTED]
Subject: keep-with-next, orphans, widows


fo:block space-after=3.0pt space-before=0.0pt text-align=start
text-indent=0.0pt line-height=1.2 orphans=1 widows=1
fo:inline font-family=Helvetica font-size=10pt
xsl:apply-templates/
/fo:inline
/fo:block

what's wrong with this?
there is no result, whatever which parameter is given in orphans ans widows.

The next problem is keep-with-next:
fo:block margin-left=0.0pt space-after=0.0pt
space-before=5.0pt
text-align=left text-indent=0.0pt
keep-with-next=true
fo:inline font-family=Helvetica font-size=11pt
font-weight=bold
font-style=italic
xsl:apply-templates/
/fo:inline
/fo:block
It doesn't work either.

Can anyone help please?

Jörg


-
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: FOP memory usage

2001-11-09 Thread Michail Bikoulis

You can read the following two related articles from the archives:

http://marc.theaimsgroup.com/?l=fop-devm=100034658526437w=2
http://marc.theaimsgroup.com/?l=fop-devm=100482704631972w=2

Your XML files sound huge, but if I remember correctly Mark Lillywhite has
had success with very large XML files.

Regards,

Mike

-Original Message-
From: Maring, Steve [mailto:[EMAIL PROTECTED]]
Sent: 9. november 2001 15:29
To: FOP dev list (E-mail)
Subject: FOP memory usage


I'm using fop-0.20.1.

I started with a 650KB XML file that I transformed into a 4MB XSL:FO file.
Running this file through FOP to generate a PDF used about 90MB of memory.

Initial heap size: 807Kb
Current heap size: 91637Kb
Total memory used: 90829Kb
  Memory use is indicative; no GC was performed
  These figures should not be used comparatively
Total time used: 31265ms
Pages rendererd: 17
Avg render time: 1839ms/page


I have XML files in excess of 15MB that need to be converted to PDF.
Assuming that a linear extrapolation is possible, it would suggest that the
JVM running the FOP process would need in excess of 2GB of memory for this
to avoid the dreaded java.lang.OutOfMemoryError.

Are there any optimizations that can be done to FOP?

Thanks.
-Steve Maring
Nielsen Media Research

-
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: How can i bring the borders in PDF format?

2001-09-11 Thread Michail Bikoulis

I define my cells in the following way in order to display their borders:

  fo:table-cell border-style=solid border-width=0.001pt

Take a look at http://www.w3.org/TR/2000/CR-xsl-20001121/xslspec.html for
more information on FO tags.

I hope that helps.

Mike

-Original Message-
From: sudhakar s sankar [mailto:[EMAIL PROTECTED]]
Sent: 11. september 2001 11:02
To: [EMAIL PROTECTED]
Subject: Re: How can i bring the borders in PDF format?


Hai,

I am getting the PDF formatted listing by using the FOP in cocoon 1.8. Here,
i am NOT getting the border for the tables. If any body knows, please advise
me

Thanks in advance.

Sudhakar Sankar




On Tue, 11 Sep 2001 sudhakar s sankar wrote :
Hai,

I am getting the PDF formatted listing by using the FOP 
in cocoon 1.8. Here, i am getting the border for the 
tables. If any body knows, please advise me

Thanks in advance.

Sudhakar Sankar

 




-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
rg
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]




FOP hangs after XML error

2001-09-10 Thread Michail Bikoulis

Hello.

I'm running FOP 0.20.1 on a W2K PC.

If there is an error in the input XML, FOP displays the error and hangs. I
have to press Ctrl-C to stop it.

This has never bothered me before, but now I'm running FOP many times in
batch during the night and I don't want it to stop if one of the XML files
is wrong.

I've looked in the source-code to try and fix this, but there is something I
don't understand:

If there is an error in the input XSL, FOP behaves differently: it displays
the error and stops. This happens in the XSLTInputHandler class, in the
getParser method, at line 109: throw new FOPException(ex).

I compare this code with the code the generates the exception when the input
XML is wrong: Driver class, render method, line 461: throw new
FOPException(e).

These two lines are exactly the same; why does FOP behave differently?

Thanks,

Mike

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




RE: how to keep together

2001-09-09 Thread Michail Bikoulis

What I do in cases like this is to define the preceding block as the first
row in the table and use keep-with-previous or keep-with-next for each row.

Mike

-Original Message-
From: Suhail Rashid [mailto:[EMAIL PROTECTED]]
Sent: 7. september 2001 19:33
To: [EMAIL PROTECTED]
Subject: how to keep together


Hi,

As keep-together is not supported in
FOP as of now how can i ensure that a table
and a preceding block appear together on the
same page..

Please pass on any ideas u have..

Thanks in advance,

Suhail


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 6:35 AM
To: [EMAIL PROTECTED]
Subject: Bug report for Fop [2001/09/04]


+---
+
| Bugzilla Bug ID
|
|
+-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned
|
| | OPN=ReopenedVER=Verified(Skipped
Closed/Resolved)   |
| |
+-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major
|
| |   |   MIN=Minor   NOR=Normal  EHN=Ehnancement
|
| |   |
+-+
| |   |   | Date Posted
|
| |   |   |
+--+
| |   |   |  | Description
|
| |   |   |  |
|
| 1312|New|Blk|2001-04-11|fo:external-graphics using 0.17.0 as well as
0.18.|
| 1391|New|Blk|2001-04-19|Bug in border-top-style
|
| 1773|New|Blk|2001-05-16|A table that is bigger than the page produces
an e|
| 2837|New|Blk|2001-07-26|Internal Servlet Error: NoClassDefFoundError
|
| 3037|New|Blk|2001-08-07|[FOP 0.19CVS] PDF /TXT write  fails when SVG
is us|
| 3279|New|Blk|2001-08-27|scaling SVG-images impossible
|
| 3302|New|Blk|2001-08-28|NoClassDefFoundError - org/apache/fop/apps/fop
|
| 1136|New|Cri|2001-03-27|Problems with UTF-8 hyphenation patterns
|
| 1531|New|Cri|2001-04-26|Cell Spacing
|
| 1952|New|Cri|2001-06-01|color attribute to table content overflowing
on ne|
| 2127|New|Cri|2001-06-12|Preserve the Line breaks
|
| 2153|New|Cri|2001-06-13|Borders are calculated incorrectly
|
| 2289|New|Cri|2001-06-22|Opening files with Adobe Acrobat Version 5
generat|
| 2460|New|Cri|2001-07-05|Mulitple boder lines between the colums in a
table|
| 2491|New|Cri|2001-07-06|footnote can't fit remaining space and crash
|
| 2532|New|Cri|2001-07-10|FOP 0.17 does not work with WebSphere V3.5
OS/390 |
| 3214|New|Cri|2001-08-21|Segfault when trying to build Fop sources
|
| 3414|New|Cri|2001-09-04|Multi-page tables overrun region-before and
region|
|  902|New|Maj|2001-03-08|line-height is not applied corectly when using
the|
| 1180|New|Maj|2001-04-02|Problem with monospaced font
|
| 1211|New|Maj|2001-04-04|Tables are not formatted properly.
|
| 1474|New|Maj|2001-04-24|fo:external-graphic rendered as block level
object|
| 1596|New|Maj|2001-05-02|Adobe Acrobat claims Fop output has bad page
conte|
| 1766|New|Maj|2001-05-15|Text matrix in svg get doubled when run thru
FOP  |
| 2085|New|Maj|2001-06-08|Out of memory error when building FO Tree
|
| 2207|New|Maj|2001-06-18|Embedding problems
|
| 2331|New|Maj|2001-06-26|fo:basic-link in fo:static-content throws an
excep|
| 2408|New|Maj|2001-06-30|Incorrect URL format
|
| 2740|New|Maj|2001-07-23|multi-page tables sometimes render badly
|
| 2880|New|Maj|2001-07-30|Incorrect rendering on non-ASCII machines
|
| 2909|New|Maj|2001-07-30|Gradient render error
|
| 2988|New|Maj|2001-08-03|0.19: list-item-label does not stick to
list-item-|
| 3044|New|Maj|2001-08-08|keep-together not functioning
|
| 3223|New|Maj|2001-08-22|table-row boder-... properties (0.20.1
version)   |
| 3329|New|Maj|2001-08-28|background-color not working within
fo:region-body|
|  626|New|Nor|2001-02-16|Negative number are shifted slightly towards
left.|
|  635|New|Nor|2001-02-18|Doesn't support id= attribute in
fo:page-sequence |
|  682|New|Nor|2001-02-22|Lists do not display correctly
|
|  684|New|Nor|2001-02-23|border width in tables adds up
|
|  808|New|Nor|2001-03-01|Batch processing xml files
|
|  839|New|Nor|2001-03-05|Positioning of blocks in a block section.
|
|  907|New|Nor|2001-03-08|first list-item dropped at very bottom of
page.   |
|  928|New|Nor|2001-03-10|Font metrics and setComponent
|
|  964|New|Nor|2001-03-13|FOP 0.17 throws exception with basic-link in
xsl-r|
| 1063|New|Nor|2001-03-21|fop does not handle large fo files
|
| 1130|New|Nor|2001-03-27|Alignment of page-number-citation inside a ToC
|
| 1154|New|Nor|2001-03-29|nested lists more than 3 level depth
|
| 1171|New|Nor|2001-03-30|small-caps in static content becomes all-caps
|
| 1231|New|Nor|2001-04-05|basic-link can't link to a page-sequence
element  |
| 1242|New|Nor|2001-04-06|Error in Font-Documentation
|
| 1261|New|Nor|2001-04-09|problem with rendering of external-graphic in
Fop-|
| 

RE: fill spaces

2001-08-17 Thread Michail Bikoulis

Well, you can always use the translate() function in XSLT to substitute
spaces with dots. You can see examples at
http://www.zvon.org/HTMLonly/XSLTutorial/Books/Book1/index.html

Regards,

Mike

-Original Message-
From: ivan demakov [mailto:[EMAIL PROTECTED]]
Sent: 17. august 2001 10:26
To: [EMAIL PROTECTED]
Subject: fill spaces



i need something like

  first name..value
  second name.value


ie, fill space between 2 columns with some symbol, can fop help me?

-- 
ivan

-
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: numbered/lettered lists

2001-08-10 Thread Michail Bikoulis

I think you're looking for the xsl:number tag. Check the examples at
http://www.zvon.org/HTMLonly/XSLTutorial/Books/Book1/index.html

Regards,

Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 10. august 2001 12:02
To: [EMAIL PROTECTED]
Subject: numbered/lettered lists


All, 

Is there a tag that will automatically increase the value of the bullet 
in a numbered/lettered list?

Eg, a) list item 1
b) list item 2
c) list item 3

if item b) was removed c) would automatically move up the list and be 
re-lettered as b)

Thanks for your help.

Vicki


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


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

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




whitespace does not scale

2001-08-08 Thread Michail Bikoulis

Hello.

I get an error when I try to enter a bug, so I'm sending it here instead.

Whitespace seems to have the same width irrespective of the font-size
property of the block. This can be annoying when trying to allign text using
the monospace font-family. I came accross this while working with tables so
the examples I attach are tables. The file table_ok.fo generates the pdf
file correctly, while the table_pb.fo generates the problem (the text in the
second row is not alligned with the text in the first row). The only
difference is that the table_pb.fo uses font-size=95%.

I am using the 20010807101644 FOP snapshot.

Regards,

Mike

 table_ok.fo  table_pb.fo 

 table_ok.fo
 table_pb.fo

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


RE: Question on table behavior

2001-07-20 Thread Michail Bikoulis

Take a look at
http://www.w3.org/TR/2000/CR-xsl-20001121/xslspec.html#section-N14029-Format
ting-Objects-for-Tables. It explains really well how you can create tables
using FO.

I've included below an example from my project where I have one XSL sample
that produces a table in HTML and another that produces the same table in
PDF.

Regards,

Mike

  xsl:template match=Databruk
TABLE BORDER=1
  TR
TH COLSPAN=2Item/THTHN#248;dvendig/TH
  /TR
  xsl:for-each select=Item
TR
  TDxsl:value-of select=Label//TD
  TDxsl:value-of select=Name//TD
  TD ALIGN=CENTERxsl:value-of select=Mandatory//TD
/TR
  /xsl:for-each
/TABLE
  /xsl:template

  xsl:template match=Databruk
fo:table space-before=12pt font-size=80%
  fo:table-column column-width=210pt/
  fo:table-column column-width=210pt/
  fo:table-column column-width=70pt/
  fo:table-body
fo:table-row
  fo:table-cell number-columns-spanned=2
 border-top-style=solid border-start-style=solid
 border-bottom-style=solid
border-end-style=solid
 border-top-width=thin border-start-width=thin
 border-bottom-width=thin border-end-width=thin

  
fo:block font-weight=bold text-align=center
  Item
/fo:block
  /fo:table-cell
  fo:table-cell border-top-style=solid border-start-style=solid
 border-bottom-style=solid
border-end-style=solid
 border-top-width=thin border-start-width=thin
 border-bottom-width=thin border-end-width=thin
  
fo:block font-weight=bold text-align=center
  N#248;dvendig
/fo:block
  /fo:table-cell
/fo:table-row
xsl:for-each select=Item
  fo:table-row keep-with-previous=always
fo:table-cell border-top-style=solid
border-start-style=solid
   border-bottom-style=solid
border-end-style=solid
   border-top-width=thin border-start-width=thin
   border-bottom-width=thin
border-end-width=thin

  fo:block margin-left=2pt
xsl:value-of select=Label/
  /fo:block
/fo:table-cell
fo:table-cell border-top-style=solid
border-start-style=solid
   border-bottom-style=solid
border-end-style=solid
   border-top-width=thin border-start-width=thin
   border-bottom-width=thin
border-end-width=thin

  fo:block margin-left=2pt
xsl:value-of select=Name/
  /fo:block
/fo:table-cell
fo:table-cell border-top-style=solid
border-start-style=solid
   border-bottom-style=solid
border-end-style=solid
   border-top-width=thin border-start-width=thin
   border-bottom-width=thin
border-end-width=thin

  fo:block text-align=center
xsl:value-of select=Mandatory/
  /fo:block
/fo:table-cell
  /fo:table-row
/xsl:for-each
  /fo:table-body
/fo:table
  /xsl:template

-Original Message-
From: Laurent FRANCOIS [mailto:[EMAIL PROTECTED]]
Sent: 19. juli 2001 18:09
To: [EMAIL PROTECTED]
Subject: Question on table behavior


I would like to use the same XML content which is used to be display on a 
browser to build a pdf file.

But i have a probleme with the tabletrtd behavior.

So my question is, how can i build table with FOP which looks like a table 
on a browser ?

Thanks.

Laurent


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

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




Running FOP - feedback from a beginner

2001-06-19 Thread Michail Bikoulis

Hello,

I have some comments regarding the Running FOP website at
http://xml.apache.org/fop/running.html:

Point a states that Java 1.1.x or later mey be used. I tried with JDK
1.1.8, but the script Fop.bat failed. Apparently this java version does not
understand the parameter -cp; -classpath has to be used.

Something that was unclear from this webpage was that one has to run the
Fop.bat script from the FOP root directory. This I think is because of the
contents of the -cp parameter. I tried adding the FOP root direcytory to the
PATH env. variable, but it didn't help.

These are of course minor things. The product is great, and I look forward
to using it in my project.

Kind regards,

Mike

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