Re: How to keep pagenumber over several page-sequences

2007-11-14 Thread Chris Bowditch
Michael Niemann wrote: hello, I've split up my document into several page-sequences for better performance. xsl:for-each select=documentContent/chapter fo:page-sequence master-reference=ContentPageMaster initial-page-number=1 force-page-count=no-force fo:static-content

The number of this PDFNumber must not be empty

2007-11-14 Thread altmax
Hello, i have a problem with apache fop 0.94. My os is windows xp , my application server oracle 9ias oc4j1.0.2.2.1, jdk1.3.1_09 with jre 1.3.1_09. Class java is: . import .. public class

Re: The number of this PDFNumber must not be empty

2007-11-14 Thread Jeremias Maerki
Not without the FO file to reproduce the problem, no. You can do some more testing yourself by running the same document on the command-line. It's probably a good idea to do such a test outside the Oracle server to make sure it's not something from Oracle interfering here. The Oracle server caused

Total page numbering example only for FOP 0.20.5

2007-11-14 Thread Gregan, Miroslav
Hi, I found a document that is not up to date: http://xmlgraphics.apache.org/fop/fo.html#fo-total-pages A new example like the following should be added for FOP 0.94 (or replace the current FOP 0.20.5) class rendtest { public static void main(File fo, File pdf) { OutputStream out =

Re: The number of this PDFNumber must not be empty

2007-11-14 Thread altmax
Sure oracle interfering with fop, but can i use it with this application server?? Where can i find this FO file?? Jeremias Maerki-2 wrote: Not without the FO file to reproduce the problem, no. You can do some more testing yourself by running the same document on the command-line. It's

Re: The number of this PDFNumber must not be empty

2007-11-14 Thread Jeremias Maerki
Yes, it's possible to use FOP inside Oracle, but if you run into certain problems (the one at hand is not normally one of them) you may need to replace the XML support bundled with Oracle with Apache Xerces/Xalan in order to avoid possible bugs in Oracle code. Please see the mailing list archives

Re: Problem generating PDF with FOP 0.20.5 and Latin Modern fonts

2007-11-14 Thread Daniel Rosenberg
Good! Modifying the flags worked fine. Thanks / Daniel On Tue, 2007-11-13 at 16:21 +0100, Jeremias Maerki wrote: This should now be fixed in FOP Trunk. On FOP 0.20.5 you can try setting flags34/flags in the XML metric file. Use flags98flags for the italic variants. Jeremias Maerki

Re: Capturing FOP logging message event in an embedded application using FOP 0.94

2007-11-14 Thread Michael Tracey Zellmann
Thanks for the response. I am trying to think of a way to still succeed. What I want to do is to send all logging messages from anything related to FOP to their own file. In the logging.properties, I tried: org.apache.fop.FileHandler = java.util.logging.FileHandler

RE: How to keep pagenumber over several page-sequences

2007-11-14 Thread Michael Niemann
That makes sense. By removing the initial pagenumber for the chapter block the count starts with the index page though. How can I make it start with 1 without setting it in the block? Puppala, Kumar (LNG-CON) [EMAIL PROTECTED] wrote:v\:* {behavior:url(#default#VML);} o\:*

Re: The number of this PDFNumber must not be empty

2007-11-14 Thread altmax
hi, the FO file is as follows: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master margin-right=2cm margin-left=2cm margin-bottom=2cm margin-top=2cm page-width=21cm page-height=29.7cm master-name=simpleA4 fo:region-body/

RE: How to keep pagenumber over several page-sequences

2007-11-14 Thread Puppala, Kumar (LNG-CON)
Let me try to understand your requirement. You have the following page-sequences in your document Page sequence for Index Page sequence for Chapter1 Page sequence for Chapter2 ... And you want the page number to start off from 1 on Chapter 1 instead of Index. If this is what you

Re: The number of this PDFNumber must not be empty

2007-11-14 Thread Jeremias Maerki
Bull I just remembered that we've had this before: http://fop-users.markmail.org/search/?q=PDFNumber+not+empty Back then it was suggested that it could be a multi-threading problem but looking at what the exception raises tells me it has nothing to do with the (still unsolved) issue with

RE: How to keep pagenumber over several page-sequences

2007-11-14 Thread MichaelNie
thanks. chris already posted the solution to my noobish problem. the chapters are generated through the same sequence template so I just had to insert the initial value during the first iteration. Puppala, Kumar (LNG-CON) wrote: Let me try to understand your requirement. You have the

Re: The number of this PDFNumber must not be empty

2007-11-14 Thread altmax
Already I read the previous mail, but i didn't solve my problem :( So I do not hope to use Apache FOP with Oracle 9ias Jeremias Maerki-2 wrote: Bull I just remembered that we've had this before: http://fop-users.markmail.org/search/?q=PDFNumber+not+empty Back then it was suggested

BreakingAlgorithm Problem

2007-11-14 Thread fma-001
Hi! I use FOP 0.93 and write some data in a table with several columns. In one column data can be broader than the column-width without any chance to hyphenate. FOP then logs message: WARN [BreakingAlgorithm] Line 1 of a paragraph overflows the available area. I tried to get rid of it with

RE: BreakingAlgorithm Problem

2007-11-14 Thread Puppala, Kumar (LNG-CON)
You could insert a Unicode Zero Width Space (#x200B;) after each character within your table-cell. That should enable the word to break properly without overflowing into the next cell. However, if the same logic is applied to some standard text (which can hyphenate) it will no longer hyphenate.

Attribute Extension

2007-11-14 Thread mckacl
In the current version of FOP, is there a mechanism to handle custom attributes? Thanks -- View this message in context: http://www.nabble.com/Attribute-Extension-tf4808374.html#a13757702 Sent from the FOP - Users mailing list archive at Nabble.com.

Re: Attribute Extension

2007-11-14 Thread Jeremias Maerki
Yes. If it's enough to handle your case, I don't know. What's your requirement? Jeremias Maerki On 14.11.2007 23:16:44 mckacl wrote: In the current version of FOP, is there a mechanism to handle custom attributes? Thanks -- View this message in context: