Re: xsl:choice

2001-12-07 Thread Matt Savino
Sorry, I didn't read the bottom. You can only include one as a child of . (There is no concept of a case switch or elsif in XSLT.) test="//eraname" returns true if there is an element anywhere in the document. To search only the children of the current node, take out the '//' part. To do wh

Re: xsl:choice

2001-12-07 Thread Matt Savino
Try xsl:choose. I'm available for consulting. > Edward Dowgiallo wrote: > > I seem to be not getting the intended use of xsl:choice. > > The following stylesheet segment causes fop to terminate with the > message: ...; Line 78 Column 25; [ERROR]: null > >text-align="end"> >

[PATCH] bug 4839 : leader gets start-indent at start and end

2001-12-07 Thread Rainer Garus
There exist an old patch sended on 2001-09-02, which solves bug 4839 (see http://marc.theaimsgroup.com/?l=fop-dev&m=99945422511048&w=2). The patch was not entered in CVS. It is possible to consider the patch for the maintanance release? Rainer Garus ---

Re: fo:inline error

2001-12-07 Thread spam_from_fop_dev
Ed, > Isn't fo:inline supposed to allow me to force part of the text to > the other end of the line? You can't do this with today's FOP; people have asked on this list before, and the only suggestion has been to use a table. Whether you are supposed to be able to do this using FO I'm not sure.

xsl:choice

2001-12-07 Thread Edward Dowgiallo
I seem to be not getting the intended use of xsl:choice.   The following stylesheet segment causes fop to terminate with the message: ...; Line 78 Column 25; [ERROR]: null                            

Re: Dictionary style pages

2001-12-07 Thread Arved Sandstrom
All *-page-master-references point at simple-page-masters. That means that one up to five regions get picked out, all of which can have user-specified names, using the 'region-name' property. There is nothing magic about names like 'xsl-region-before';they are only defaults. To associate a s

Re: whats FOP

2001-12-07 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 13:52 7-12-2001, Arved Sandstrom wrote: >Maybe you could write up a paragraph (or 2 or 3) that explains FOP early >history, and the origin of the name. That would be good stuff to put on the >site. See http://www.google.com/search?q=cache:FGXp6JW

Re: page-number-citation and formatting

2001-12-07 Thread Edward Dowgiallo
Philip, I don't have a work around, but I just reported this problem myself. It seems to be a general problem with fo:inline processing as I have experienced the same thing working with marker values as well as page number citations. -Ed - Original Message - From: "Phillip Harling" <

Re: Dictionary style pages

2001-12-07 Thread Arved Sandstrom
All *-page-master-references point at simple-page-masters. That means that one up to five regions get picked out, all of which can have user-specified names, using the 'region-name' property. There is nothing magic about names like 'xsl-region-before';they are only defaults. To associate a s

Bad marker message

2001-12-07 Thread Edward Dowgiallo
When using marker values with page scope in the xsl-region-before region, I get the warning message "Some static content could not fit in the area." if there are no markers of the appropriate class-name on the page. This is confusing as the problem is the marker values are empty. A more appr

[PATCH] metrik width of euro (bug 2105 and bug 4654)

2001-12-07 Thread Rainer Garus
Attached is a patch which enters the metrik value of the euro in the metrik files of the standard fonts. The patch is for the fop-0_20_2-maintain branch and the MAIN branch. Rainer Garus diff -au Fop-0.20.2RC/src/codegen/Courier-Bold.xml Fop/src/codegen/Courier-Bold.xml --- Fop-0.20.2RC/src/co

fo:inline error

2001-12-07 Thread Edward Dowgiallo
This may be an error or I may just not understand how this is supposed to work.   In the following segment from a stylesheet, the starting and ending marker values are concatenated together with no spacing between them and the whole thing is left justified. Isn't fo:inline supposed to allow

Re: whats FOP

2001-12-07 Thread Arved Sandstrom
Hey, Chris Maybe you could write up a paragraph (or 2 or 3) that explains FOP early history, and the origin of the name. That would be good stuff to put on the site. Arved - Original Message - From: "Christopher R. Maden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Decembe

Re: whats FOP

2001-12-07 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 12:16 7-12-2001, Alvan W. Plymire X4513 {sun11} wrote: >A while back, someone pointed out that Webster says: > >fop (n) same as DANDY And I believe that someone else also pointed out that that was entirely intentional. A fop is someone overly c

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread joseph . aloysius . gilvary
Sorry, I jumped into the middle of that thread and hadn't noticed the piece about IE 5.0 requiring the specific extension. Any possibility your user community will upgrade their browser for this (and other) considerations? Joe

Re: whats FOP

2001-12-07 Thread Alvan W. Plymire X4513 {sun11}
A while back, someone pointed out that Webster says: fop (n) same as DANDY > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > list-help: > list-unsubscribe: > list-post: > Delivered-To: mailing list [EMAIL P

Re: whats FOP

2001-12-07 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 03:55 7-12-2001, Suhail Rashid wrote: >What does FOP stand for ; >FOPrint formatter ??? or something else... Originally, FO-to-PDF, but now something unspecific but broader, like (as Bertrand suggests) FO Processor. >I tried the fop site but no

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Jim Urban
You are correct, we set the content type to PDF before sending anything back. The problem is how to invoke this servlet and use a .PDF extension when we don't know we are going to get a PDF back. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, Dec

RE: Bleeding / Hyphenation issues

2001-12-07 Thread Darrel Riekhof
Thanks for the tip, but we tried the hyphenate tag and we can't get it to work. Could some expand on the paragraph below. What are the other relevant attribs? What/Where is the database for my language (English)? Darrel -Original Message- From: Joerg Pietschmann [mailto:[EMAIL PROTECT

Re: Preserving Line Breaks

2001-12-07 Thread spam_from_fop_dev
Hi Kunal, > do linebreaks get preserved? They can be, but normally they are not; the default is similar to what HTML does. If you want the equivalent of HTML's element, you need to set a property on the block containing the data telling FOP how to treat them. I forget exactly what I did, but

Re: Preserving Line Breaks

2001-12-07 Thread spam-from-fop-dev
Hi Kunal, > do linebreaks get preserved? They can be, but normally they are not; the default is similar to what HTML does. If you want the equivalent of HTML's element, you need to set a property on the block containing the data telling FOP how to treat them. I forget exactly what I did, but

Re: Dictionary style pages

2001-12-07 Thread spam_from_fop_dev
Hi Ed, > Could someone point me to an example of producing a dictionary or > telephone book style page with fop? I'd like to put the earliest > name in the collating sequence that appears on the page on the left > hand top and latest name in the collating sequece on the right hand > top There

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Savino, Matt C
Jim, I've attached the servlet that we use to handle a simlar issue issue to what you describe. This serlvet handles both HTML and PDF requests and calls either method based on a parameter in the user's session (which could just as easily be in the request). Maybe it will help. > -Original Me

Re: Dictionary style pages

2001-12-07 Thread Edward Dowgiallo
Corinna,       For 2, markers are just what I was looking for. Thank you very much.   Ed - Original Message - From: Corinna Hischke To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 10:14 AM Subject: Re: Dictionary style pages Hi,   1. page number on

Re: Dictionary style pages

2001-12-07 Thread Edward Dowgiallo
Corrina,       The example (franklin_2pageseqs.fo) does not do what I am looking for. Although starting with page 7, it does alternate between odd and even masters, the page number is always on the right hand bottom. I want to know how to make it appear on right hand bottom for odd pages and

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread joseph . aloysius . gilvary
Do you write to the servlet response before you decide whether "this is a job for FOP" . (Sorry) If the response to the browser hasn't begun, I think you should be able to call setContentType("application/pdf") on the ServletResponse instance as soon as you find the XSL:FO file. It's up to the

RE: Preserving Line Breaks

2001-12-07 Thread Kunal Mittal
Title: Message Thanks Jim.     Kunal Mittal Senior Consultant, i R i s e Bus: (510) 757-6145 eFax: (413) 460-5823 [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message-From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 11:13 AMTo: [EMAIL PROTECTE

RE: Preserving Line Breaks

2001-12-07 Thread Jim Urban
Title: Preserving Line Breaks Depends on your FO. will maintain your line breaks, otherwise they are lost.   Jim -Original Message-From: Kunal Mittal [mailto:[EMAIL PROTECTED]]Sent: Friday, December 07, 2001 12:03 PMTo: [EMAIL PROTECTED]Subject: Preserving Line Breaks Hel

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Jim Urban
Here is the real problem. When the servlet is posted to, the browser has no knowledge of what type of data will be sent back. We have a single servlet which looks at the request and calls the appropriate class to process the request. The request then sends XML back to the servlet. Then based u

RE: page-number-citation and formatting

2001-12-07 Thread Vladimir Sneblic
Hi Phillip, I'm trying to generate a contents page myself, but since I'm quite new to FOP I have no idea as to how to make a reference to page numbers of pages in the document. It seams like you've solved this problem and I was wondering if you would be willing to share this information, or point

Preserving Line Breaks

2001-12-07 Thread Kunal Mittal
Title: Preserving Line Breaks Hello - I am using FOP to generate PDF files. The FOP code is generated through a Java Servlet. When I get the data from the database, do linebreaks in the data get preserved? Example - User enters text into a text field on a HTML (JSP page). This data is sto

page-number-citation and formatting

2001-12-07 Thread Phillip Harling
I'm having a small problem when using and formatting. I am generating a table of contents using a table, and wish to right align the page numbers. If the table of contents appears at the beginning of the document, the numbers don't get right-aligned, but if the table of contents appears at t

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Alex McLintock
--- Jim Urban <[EMAIL PROTECTED]> wrote: > > you also have to use an url with ".pdf" at the end > The url the client is posting to is a servlet which uses FOP to generate a > PDF and feed it back to the browser. If the client post a request to > myservlet.pdf the server will look for a file cal

Re: Specific footer on the last page

2001-12-07 Thread Thierry Gounelle
I tried the footnote trick but I have the following problem: if the footnote doesnt fit in the first page, it has to go on the second with the reference still on the first. I then have a nasty exception (it works fine if everything is on the first page): javax.xml.transform.TransformerException

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Cyril Rognon
That's the trick if you have to use .pdf ended url, use the query string like Jamestold you to. This is a particular IE5.0 pb, and some times it does not appear, the response content type may be enough. Cyril Rognon At 15:05 07/12/2001 +, you wrote: >Jim Urban wrote: > >So how do you

Re: Dictionary style pages

2001-12-07 Thread Corinna Hischke
Hi,   1. page number on the left/right for left/right pages: You have to set up two page-sequences, one for the odd and one for the even pages, say 'left_pages' and 'right_pages'. Each sequence must have a separate name for the region-after.   Tie them together in your page-sequence-master wi

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Smith, Paul
You should be able to create a directory to servlet mapping in your web server (usually in the web.xml file). Something like: MyServlet /MyServletDir MyServlet MyPdfGeneratingServlet Then the browser can call www.myserver.com/MyServletDir/filename.pdf Your servlet

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread James Richardson
Jim Urban wrote: So how do you use a url that ends > with .pdf when using servlets? > I think you can do http://any.url/servlets/Blah?stuff=.pdf but not certain James - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Jim Urban
> you also have to use an url with ".pdf" at the end The url the client is posting to is a servlet which uses FOP to generate a PDF and feed it back to the browser.  If the client post a request to myservlet.pdf the server will look for a file called myservlet.pdf and return a 403 when it c

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Matt Savino
All my urls are .jsp and I don't have a problem with IE 4-5-6 recognizing them as PDF--as long as I set the response contentType. I have a myriad of other problems with older verisons of IE, but this is not one of them. Cyril Rognon wrote: > > It has been reported many times that IE5.0 needs som

Re: Memory utilization

2001-12-07 Thread Edward Dowgiallo
Matthias,       I am willing to try this. My documents do contain a lot of section headers. Can you provide me with more detail? Perhaps a syntax example of a header of the "certain level."   Ed - Original Message - From: Matthias Fischer To: [EMAIL PROTECTED] Sent:

Re: Dictionary style pages

2001-12-07 Thread Edward Dowgiallo
Is there a way to do this? Again, it is a very common book format. Ed - Original Message - From: Edward Dowgiallo To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 12:49 PM Subject: Dictionary style pages Could someone point me to an example of producin

Re: Spanning columns with tables

2001-12-07 Thread Edward Dowgiallo
Is there a way to span a table across multi-column text and have text flow around it? This would seem to be a common format. Ed - Original Message - From: Edward Dowgiallo To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 12:52 PM Subject: Spanning columns

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Cyril Rognon
It has been reported many times that IE5.0 needs some strong mime type information  : not only you must set the content-type HTTP header to "application/pdf" but you also have to use an url with ".pdf" at the end... Cyril Rognon At 14:05 07/12/2001 +0100, you wrote:     I'm trying to see a pdf

Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Raúl Carazo
    I'm trying to see a pdf-report, created dinamically with an XML-XSL process. But if I try to see it with an IE 5.0, I see just a blank page with an icon. If I try it with an IE 5.5, I can see it with no problem.       Why is it? And there is a solution, because I cannot change the browse

RE: Automatic generation of cell size

2001-12-07 Thread "Buchtík, Michal"
Yes, it's maybe useful when you need exactly specify column width. But for our usage, there is not important, that the column with is 5.2 or 5.4 mm And, when you must parse metrics and kerning-tables for each table column, then will be increased processing time. Michal -Original Message-

Re: whats FOP

2001-12-07 Thread Bertrand Delacretaz
On Friday 07 December 2001 12:55, Suhail Rashid wrote: > What does FOP stand for ; Formatting Objects Processor - Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Bleeding / Hyphenation issues

2001-12-07 Thread Matthias Fischer
A week ago we tried to use and the thing didn't hyphenate at all. I asked for help in this list but I didn't get any response. Matthias -Original Message- From: Joerg Pietschmann [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 1:04 PM To: FOP List Subject: Re: Bleeding / Hyp

whats FOP

2001-12-07 Thread Suhail Rashid
hi, What does FOP stand for ; FOPrint formatter ??? or something else... I tried the fop site but no use... thanks, suhail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: Specific footer on the last page

2001-12-07 Thread Joerg Pietschmann
Thierry Gounelle <[EMAIL PROTECTED]> wrote: > Here is my problem: > I have a document that may have 1 to N pages. I would like to print > something on the footer of the last page (or at least on the bottom). This may be more tricky than it seems at a first glance. One possibility is to put the te

RE: Automatic generation of cell size !

2001-12-07 Thread "Buchtík, Michal"
for example http://www.w3.org/ http://www.zvon.org/ -Original Message- From: Kai Ulrich [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 11:18 AM To: [EMAIL PROTECTED] Subject: AW: Automatic generation of cell size ! It's my first intensiv contact XSLT stylesheet. Where can

Re: Bleeding / Hyphenation issues

2001-12-07 Thread Joerg Pietschmann
Darrel Riekhof <[EMAIL PROTECTED]> wrote: > We are having problems with our reports because FOP doesn't break on > hyphens. Well, i tried goiue sk kalks aki aks kallk kajas kals siensalks yadadadadadada- dadadadadadadadadadadadadadadadadadadadadadadadaadadoijefgjsdgfj- sdgfewhtcahtuehtcmeiuthao

Re: [PATCH] update FOP (maintenance branch) to REC syntax

2001-12-07 Thread Christian Geisert
Claus Nielsen wrote: > > Christian, > > When is page-position "last" correct implemented ? When someone sends a patch ;-) Seriously, I don't know anything about the current status of page-position "last". Maybe Arved can comment on it ? > Claus Christian ---

Re: encoding

2001-12-07 Thread Joerg Pietschmann
[EMAIL PROTECTED] wrote > I'm beginner in FOP. I have a problem with windows-1250 encoding, please help > me. My source XML documents looks like this: [...] > I use xsl-fo document to transform source document to plain text: > > > http://www.w3.org/1999/XSL/Transform"; > xmlns:fo

Re: Automatic generation of cell size

2001-12-07 Thread James Richardson
Although really you should use the font metrics & kerning tables... James Buchtík, Michal wrote: > > > It's not universal for all fonts, but > we know font which is used and the font-size > so we find a longest string in collumn > > column-width = longest_string_length * avg(charsizes_of_f

AW: Automatic generation of cell size

2001-12-07 Thread Kai Ulrich
How can I include it in the in a xsl-file ? -Ursprüngliche Nachricht- Von: Buchtík, Michal [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Dezember 2001 12:13 An: '[EMAIL PROTECTED]' Betreff: RE: Automatic generation of cell size It's not universal for all fonts, but we know font which

RE: Automatic generation of cell size

2001-12-07 Thread "Buchtík, Michal"
It's not universal for all fonts, but we know font which is used and the font-size so we find a longest string in collumn column-width = longest_string_length * avg(charsizes_of_font); -Original Message- From: Matthias Fischer [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 1

RE: Automatic generation of cell size

2001-12-07 Thread Matthias Fischer
What do you mean, you do the computing in XSLT? How do you know how much space a text in a certain font/character size takes, where it breaks etc? Matthias -Original Message- From: Buchtík, Michal [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 11:27 AM To: '[EMAIL PROTECTED]

AW: Automatic generation of cell size !

2001-12-07 Thread Kai Ulrich
It's my first intensiv contact XSLT stylesheet. Where can I find Informations about it ! kai -Ursprüngliche Nachricht- Von: Buchtík, Michal [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Dezember 2001 11:27 An: '[EMAIL PROTECTED]' Betreff: RE: Automatic generation of cell size ! We so

RE: Automatic generation of cell size !

2001-12-07 Thread "Buchtík, Michal"
We solve this problem by computing cell-widths in XSLT style sheet. Michal -Original Message- From: Kai Ulrich [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 11:09 AM To: [EMAIL PROTECTED] Subject: Automatic generation of cell size ! My problem ! How can I build a table in

Automatic generation of cell size !

2001-12-07 Thread Kai Ulrich
My problem ! How can I build a table in a pdf-document whose cell-widths and hights are generated dynamicly depending on the text of the cell ! kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [E

PDF Reports

2001-12-07 Thread Raúl Carazo
    I've seen the messages from november about it, and I tryied to make something like it, but  I'va got two problems...       This is my adaptation to the solution from Yuri Shkuro     // ---  // 1. Get a Source for XML document  // ---  XSLTInputHandler inputHandler = new XSLTInp

Re: [PATCH] update FOP (maintenance branch) to REC syntax

2001-12-07 Thread Claus Nielsen
Christian, When is page-position "last" correct implemented ? Claus Christian Geisert

Specific footer on the last page

2001-12-07 Thread Thierry Gounelle
Hi everybody, Here is my problem: I have a document that may have 1 to N pages. I would like to print something on the footer of the last page (or at least on the bottom). But, if there is only one page, the last page is also the first. I tried something like:

encoding

2001-12-07 Thread Kristian_KESELI
Hi, I'm beginner in FOP. I have a problem with windows-1250 encoding, please help me. My source XML documents looks like this: 7 3 4 12 15 16 122 2613233761 ... ... I use xsl-fo document to transform source document to plain text: http://www.w3.org/1999/XSL/Transform";

RE: Memory utilization

2001-12-07 Thread Matthias Fischer
Hi Ed,   we ran into a similar problem a couple of weeks ago. The most suitable solution that was offered then by our colleagues in the list was to portion the transformation process. FOP seems to hold its breath until it dives out of the waters of transformation at the other end of its page